GNOME Bugzilla – Bug 468021
Print dialog box segfaults (64 bit)
Last modified: 2008-10-30 19:57:15 UTC
The print dialog box segfaults: /opt/gimp-2.4/lib/gimp/2.0/plug-ins/print: fatal error: Segmentation fault This is the only information given. Gimp itself does not crash. 64 bit Linux Kernel: 2.6.22 GCC: 4.2.1 Binutils: 2.17 GlibC: 2.6.1 Gimp was compiled with only the --prefix flag.
Thanks for taking the time to report this bug. Without a stack trace from the crash it's very hard to determine what caused it. Can you get us a stack trace? Please see http://live.gnome.org/GettingTraces for more information on how to do so. Thanks in advance! I suspect this is a duplicate of bug #467643.
(gimp-2.4:27794): Gtk-WARNING **: Debug: missing action debug-menu /opt/gimp-2.4/lib/gimp/2.0/plug-ins/print: fatal error: Segmentation f ault /opt/gimp-2.4/lib/gimp/2.0/plug-ins/script-fu terminated: Interrupt Program received signal SIGINT, Interrupt. [Switching to Thread 47031770698928 (LWP 27794)] 0x00002ac66ed8cc86 in poll () from /lib/libc.so.6 (gdb) thread apply all bt
+ Trace 156240
Seems like a different issue, we should look into this before 2.4.
This was mentioned on the developers mailing list: https://lists.xcf.berkeley.edu/lists/gimp-developer/2007-August/018506.html There is no print dialog box on my build, so it's definitely not the problem posted in the link above. Other people that are using Arch Linux are not seeing this. If you're not familiar with Arch, it's a rolling release distro. So, with the exception of custom built packages, most of us have more or less the same software. One of the big differences of course is 64 bit vs. 32 bit. I'm going to cross reference this discussion with a forum post at Arch to see if I can draw in more information. I'll also check into this thread frequently to provide any information or support I can. And, I'll gladly patch and rebuild Gimp any time you need me to. This is critical. It needs to be done before 2.4. http://bbs.archlinux.org/viewtopic.php?pid=274391#p274391
it also segfaults for me on a 32-bit computer using windows and the automated installer for Jernej Simončič. I was using the gimp 2.3.19 from that same automated installer so far and it wasn't crashing when asking to print. But now that I upgraded on 2.4.0rc1 it is crashing instantly when I click "File->print..." Note that I was using gimp 2.2 & 2.4 in parallel on that computer, installing 2.4rc1 uninstalled gimp 2.2 and set itself up in the 2.2 location. maybe related...
OK I actually created a new bug for that windows crash, since it might be something completely different, it's bug #468407. So you can ignore this here. sorry for the noise.
I'm also seeing this problem on a 32 bit machine running Slackware 12 plus gtk+ 2.10.14 and glib 2.14.0. Program received signal SIGSEGV, Segmentation fault. 0xb7bb416c in gtk_page_setup_get_paper_width () from /usr/lib/libgtk-x11-2.0.so.0 Backtrace from print plugin:
+ Trace 157304
Tracing through print_size_info_get_page_dimensions() it looks as though the call to gtk_print_operation_get_default_page_setup() returns NULL which then triggers the segfault in gtk_page_setup_get_paper_width()
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. *** This bug has been marked as a duplicate of 467643 ***