GNOME Bugzilla – Bug 343140
Crash while starting up
Last modified: 2008-01-15 14:06:50 UTC
While the startup window for GIMP says "Looking for data files," the application crashes when it gets to brushes. This happens every time I try to run GIMP, but it worked fine on startup twice before this. I made my own brushes and inserted them into the brushes folder of GIMP prior to the crashes. Maybe this has something to do with it?
Update: This still happens after multiple uninstalls / reinstalls.
Another update: The GIMP console gives me the following debug message : <gimp-console-2.3.exe:696>: Gimp-Core-CRITICAL **: gimp_brush_generated_new: assertion '*name != '\0'' failed Anybody else get this bug? I already tried restarting and reinstalling.
Can you please have a look at the personal brushes folder and look for .vbr files. You can have a look at the file using a text editor. The name of the brush is in the third line. Perhaps one of the files is corrupt? We should definitely make the brush loader more robust. So if you find a corrupt brush file in your brushes folder, please attach it to this bug-report so that we can adapt the loader not to crash.
Created attachment 66413 [details] one of the .vbr files in the folder maybe this is the one that is corrupt, as it has no file name but the extention .vbr.
Yes, looks as if we need to tell the brush loader to ignore files that don't include a name. And we should fix the brush saving code to always require a name.
2006-05-29 Sven Neumann <sven@gimp.org> * app/core/gimpbrushgenerated.c (gimp_brush_generated_load): don't choke on brush files with empty names (bug #343140). (gimp_brush_generated_save): warn about brushes with empty names.
Related fix: 2006-05-30 Michael Natterer <mitch@gimp.org> * app/widgets/gimpdataeditor.c (gimp_data_editor_name_activate) * app/widgets/gimpdatafactoryview.c (gimp_data_factory_view_tree_name_edited): strip the newly entered name from whitespace and reject empty names.