Myrtille crash during project load

Bug #217370 reported by NicoInattendu
2
Affects Status Importance Assigned to Milestone
Myrtille
Fix Released
High
NicoInattendu

Bug Description

When trying to load a project, myrtille crash, the project is not completely loaded, and myrtille is unusable after.

Revision history for this message
NicoInattendu (nico-inattendu) wrote :

The project crash because there is a discrepancy between images to load in project xml file, and images in disk. An image is discribed in project but not present on disk --> crash.

Find why this occurs. Is a problem on xml project file management ? Robustness needed to not crash in that case but put an indication on project corrupt.

Changed in myrtille:
assignee: nobody → nico-inattendu
importance: Undecided → High
Revision history for this message
NicoInattendu (nico-inattendu) wrote :

The project file corruption was due to non copy of the first image when action MoveToChrono is set.
The treeview and project file(xml) was correctly updated, but image wasn't copied.

The fix is :
- in class MyrtilleGtkTreeViewChrono , in MovetoChrono add copy from capture to chrono
and remove the copy in the insert method
- in myrtille_project during project load check if file exists.

Changed in myrtille:
status: New → Confirmed
Changed in myrtille:
status: Confirmed → Fix Committed
Revision history for this message
NicoInattendu (nico-inattendu) wrote :

released in version 0.5.14

Changed in myrtille:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.