Description of problem: Fresh install of Fedora 20 with gimp. Version-Release number of selected component (if applicable): gimp-2.8.10-4.fc20.x86_64 xsane-gimp-0.999-7.fc20.x86_64 glib2-2.38.2-2.fc20.x86_64 How reproducible: Always Steps to Reproduce: 1. Fresh install of Fedora 20 with gimp 2. rm -rf ~/.gimp-2.8 3. gdb gimp 4. Scan 600dpi image 5. Edit (rotage, crop, filter, ...) 6. Eventually gimp complains, dies and gdb reports Actual results: gimp complains, dies and gdb reports (gimp-2.8:8458): GLib-ERROR **: gmem.c:110: failed to allocate 16384 bytes Program received signal SIGTRAP, Trace/breakpoint trap. 0x00007ffff37834e9 in g_logv () from /lib64/libglib-2.0.so.0 Expected results: No problem Additional info:
Hi Ross, can you reproduce that without too much effort? If yes, please do that and once GIMP produces its segfault handler (it does this with you, right?), grab a copy of the memory map of the process (/proc/<pid of GIMP process>/maps) and attach it here. Thanks!
Sorry for the late response - I had to find some time to beat on this. ps -v PID TTY STAT TIME MAJFL TRS DRS RSS %MEM COMMAND 2610 pts/0 Ss 0:00 0 881 115282 2660 0.0 bash 2667 pts/0 S+ 0:00 59 6025 296210 98796 0.3 gdb gimp 2669 pts/0 tl 6:34 315 5720 3440443 1588432 4.8 /usr/bin/gimp-2.8 2683 pts/0 Sl 0:00 6 153 353422 8408 0.0 /usr/lib64/gimp/2.0/plug-ins/script-fu -gimp 13 12 -run 0 2954 pts/0 Sl 0:14 104 606 540889 29412 0.0 /usr/lib64/gimp/2.0/plug-ins/xsane -gimp 17 16 -run 0 See copy of /proc/2669/maps attached
Created attachment 852070 [details] /proc/<gimp>/maps at the time of SIGTRAP
Created attachment 852074 [details] /proc/<gimp>/maps at the time of SIGTRAP (2) (gimp-2.8:4356): GLib-ERROR **: gmem.c:110: failed to allocate 16384 bytes Program received signal SIGTRAP, Trace/breakpoint trap. 0x00007ffff37834e9 in g_logv () from /lib64/libglib-2.0.so.0 (gdb) where #0 0x00007ffff37834e9 in g_logv () from /lib64/libglib-2.0.so.0 #1 0x00007ffff378363f in g_log () from /lib64/libglib-2.0.so.0 #2 0x00007ffff3781eac in g_malloc () from /lib64/libglib-2.0.so.0 #3 0x000055555591b6e9 in tile_alloc () #4 0x000055555591b658 in tile_lock () #5 0x000055555591c315 in tile_manager_get () #6 0x0000555555917056 in pixel_regions_configure () #7 0x0000555555906f0d in copy_region () #8 0x000055555584c20a in gimp_drawable_resize () #9 0x0000555555895ef5 in gimp_layer_resize () #10 0x000055555588e7e7 in gimp_item_resize () #11 0x000055555587813f in gimp_image_crop () #12 0x00005555556603bc in gimp_crop_tool_execute () #13 0x0000555555684dcc in gimp_rectangle_tool_execute () #14 0x0000555555686541 in gimp_rectangle_tool_button_release () #15 0x00005555556606bc in gimp_crop_tool_button_release () #16 0x000055555569804c in gimp_tool_button_release () #17 0x00005555556d6cff in gimp_display_shell_canvas_tool_events () #18 0x00007ffff75675bc in _gtk_marshal_BOOLEAN__BOXED () from /lib64/libgtk-x11-2.0.so.0 #19 0x00007ffff3c71298 in g_closure_invoke () from /lib64/libgobject-2.0.so.0 #20 0x00007ffff3c8335d in signal_emit_unlocked_R () from /lib64/libgobject-2.0.so.0 #21 0x00007ffff3c8addd in g_signal_emit_valist () from /lib64/libgobject-2.0.so.0 #22 0x00007ffff3c8b3af in g_signal_emit () from /lib64/libgobject-2.0.so.0 #23 0x00007ffff7696994 in gtk_widget_event_internal () from /lib64/libgtk-x11-2.0.so.0 #24 0x00007ffff75657e4 in gtk_propagate_event () from /lib64/libgtk-x11-2.0.so.0 #25 0x00007ffff7565bdb in gtk_main_do_event () from /lib64/libgtk-x11-2.0.so.0 #26 0x00007ffff71be46c in gdk_event_dispatch () from /lib64/libgdk-x11-2.0.so.0 #27 0x00007ffff377c2a6 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0 #28 0x00007ffff377c628 in g_main_context_iterate.isra.24 () from /lib64/libglib-2.0.so.0 #29 0x00007ffff377ca3a in g_main_loop_run () from /lib64/libglib-2.0.so.0 #30 0x000055555560dcec in app_run () #31 0x000055555560d776 in main () ps -v PID TTY STAT TIME MAJFL TRS DRS RSS %MEM COMMAND 2610 pts/0 Ss 0:00 0 881 115282 2664 0.0 bash 4354 pts/0 S+ 0:00 0 6025 294270 96968 0.2 gdb gimp 4356 pts/0 tl 1:11 0 5720 3175175 1528292 4.6 /usr/bin/gimp-2.8 4370 pts/0 Sl 0:00 0 153 353418 8408 0.0 /usr/lib64/gimp/2.0/plu 4379 pts/0 Sl 0:03 0 606 540713 29232 0.0 /usr/lib64/gimp/2.0/pl
*** This bug has been marked as a duplicate of bug 1030624 ***