GNOME Bugzilla – Bug 144736
crash in GtkFileSel,"Glib-ERROR **:gmem.c:140: failed to allocate 2147483649 bytes"
Last modified: 2004-12-22 21:47:04 UTC
Any app involved GtkFileSelection in gtkmm(or gtk_file_selection in gtk) will crash when the file selection window opens. This bug still exists in gtk2.4.3 win32(the binary package downloaded from www.gimp.org/win32) ports. Take gimp(2.0.1 on windows 2003, Simplified Chinese edtion) as an example to reproduce the bug: 1)Launch GIMP 2)In the menu select file->open, then a windows opens, then changed into a directory contains files whose name is written in Chinese, it will complain that "Glib-ERROR **:gmem.c:140: failed to allocate 2147483649 bytes aborting ...", and the GIMP ended. I'm sure this is a bug in gtk_file_selection.
I confirm. Running Gimp on a Japanese Windwos XP. If you browse to a directory containg filenames in Japanese it will crash similarly to what Shixin Xeng said. I have also tried to use pygtk and the following program in pygtk crashes in a totally similar way: import gtk x=gtk.FileSelection() x.run() GLib-ERROR **: gmem.c:140 failed to allocate 2147483649 bytes aborting It seems this issue is known in the Japanese circles for ages (if you look for the above error message in google.co.jp, you find many occurences dating as far as mid-March). Why nobody has been posting bug reports in bgo is a mistery? This is a high priority issue for Far-East users.
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. Also, if you could help provide any information requested in bug 141124, that would be helpful. *** This bug has been marked as a duplicate of 141124 ***