URL:
<http://gna.org/bugs/?17902>
Summary: Crasher: "assertion failed: (r == n_visible_rows)"
when saving *after* FileChooserDialog is shown for the first time
Project: MyPaint
Submitted by: achadwick
Submitted on: Tue Mar 15 21:20:43 2011
Severity: 4 - Important
Priority: 7 - High
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 45b1088857fc161907899ef032ecdf36f5019ad9
Planned Release: None
Operating System: Linux (Ubuntu 10.10, amd64)
_______________________________________________________
Details:
The following crash occurs sometimes when saving files (using
filehandling.save_file()) at any time after displaying the FileChooserDialog.
This seems to have crept into master during my attempts to fix #17650, but it
looks like we're triggering a GTK bug. Note that the exception is the same as
the earlier Windows-specfic bug #17613.
0.392s save_ora total
Saved to /home/andrewc/Desktop/tmp/foo.ora
Rendered thumbnail in 0.00229001045227 seconds.
save_ora:
**
Gtk:ERROR:/build/buildd/gtk+2.0-2.22.0/gtk/gtkfilesystemmodel.c:746:gtk_file_system_model_sort:
assertion failed: (r == n_visible_rows)
Aborted
It seems to be related to fs changes (or rather, changes to the dialogs view
of the fs) in the bit of the filesystem that the dialog's pointing at, which
happens when we save and then generate a thumbnail, say. Or perhaps when Gimp
does something similar in the same area. Anyway, that's all speculation; to
reproduce (with 45b1088857fc161907899ef032ecdf36f5019ad9):
1. Open an existing file you don't need much. I used a copy of a .ora
file.
2. Press Ctrl+Shift+S to open the _Save As_ dialog. You can just cancel it
or hit escape; all you need to to is cause it to be inited.
3. Repeatedly press Ctrl+S to save the file back under its old name,
allowing the save to finish properly every time. Give it a few seconds between
each save to be sure. At some point during this process, MyPaint will crash
(for me it happens after about 2 to 5 saves...)
The save location can be something random without any other program observing
it, /tmp say.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?17902>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Mypaint-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/mypaint-bugs