After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 144736 - crash in GtkFileSel,"Glib-ERROR **:gmem.c:140: failed to allocate 2147483649 bytes"
crash in GtkFileSel,"Glib-ERROR **:gmem.c:140: failed to allocate 2147483649 ...
Status: RESOLVED DUPLICATE of bug 141124
Product: gtk+
Classification: Platform
Component: Backend: Win32
2.4.x
Other Windows
: High critical
: ---
Assigned To: gtk-win32 maintainers
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2004-06-21 05:44 UTC by Shixin Zeng
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Shixin Zeng 2004-06-21 05:44:46 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.
Comment 1 Guillaume Proux 2004-06-24 01:08:18 UTC
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.
Comment 2 Elijah Newren 2004-06-28 15:40:03 UTC
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 ***