GNOME Bugzilla – Bug 383623
Window capturing ftview (ft2demo program), gnome-screenshot crashes
Last modified: 2012-01-26 22:29:35 UTC
Steps to reproduce: 1. $ftview ppoem ~/.fonts/foobar.ttf 2. $gnome-screenshot --window --delay=2 3. Click ftview window Stack trace: (gdb) r --window --delay=2 Starting program: /usr/bin/gnome-screenshot --window --delay=2 [Thread debugging using libthread_db enabled] [New Thread -1209059632 (LWP 29617)] Program received signal SIGSEGV, Segmentation fault.
+ Trace 92490
Thread NaN (LWP 29617)
arg_description = 0x0}, {long_name = 0x805161f "include-border", short_name = 0 '\0', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0xbf9ea920, description = 0x80514bc "Include the window border with the screenshot", arg_description = 0x0}, {long_name = 0x805162e "delay", short_name = 0 '\0', flags = 0, arg = G_OPTION_ARG_INT, arg_data = 0xbf9ea918, description = 0x80514ec "Take screenshot after specified delay [in seconds]", arg_description = 0x8051634 "seconds"}, { long_name = 0x805163c "border-effect", short_name = 0 '\0', flags = 0, arg = G_OPTION_ARG_STRING, arg_data = 0xbf9ea91c, description = 0x805164a "Effect to add to the border", arg_description = 0x8051643 "effect"}, {long_name = 0x0, short_name = 0 '\0', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x0, description = 0x0, arg_description = 0x0}} Other information: OS : Fedora development (rawhide 20061208) gnome-utils-2.17.0-1.fc7 freetype-demos-2.2.1-16.fc6 (ftview)
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 317116 ***
Doesn't look like a duplicate, they don't crash on the same code line and the descriptions don't match Ubuntu bug similar to that crash: https://launchpad.net/ubuntu/+source/gnome-utils/+bug/81817 "Binary package hint: gnome-utils In Feisty x86 gnome-screenshot crashes if I want to take a screenshot of a window, with gnome-screenshot -w Full-screen gnome-screenshot works perfectly. This only happens in openbox (not in metacity). http://librarian.launchpad.net/5908013/gdb-gnome-screenshot.txt ..."
Openbox 3.4.4 fixes this issue (and gnome-screenshot captures its windows fine). Not sure if no bug resides in gnome-screenshot, though.
Tried to reproduce the orignal bug screnario (with ftview) as well and failed. gnome-screenshot 2.19.90 (as also by the previous comment)
*** Bug 433808 has been marked as a duplicate of this bug. ***
I'm getting an identical backtrace when snapping a window. Using xmonad 0.4 and gnome-utils HEAD.
*** Bug 498772 has been marked as a duplicate of this bug. ***
*** Bug 517163 has been marked as a duplicate of this bug. ***
*** Bug 511575 has been marked as a duplicate of this bug. ***
*** Bug 506820 has been marked as a duplicate of this bug. ***
*** Bug 449959 has been marked as a duplicate of this bug. ***
From bug 506820: This happens only when xterm of uxterm window is active. It seems that one can not take a screenshot of xterm or uxterm window. I have the default compiz/beryl(?) setup that came with the F7 installation. I'm running it with the open source Xorg 'radeon' driver that also came with F7, if that's of any relevance.
This seems to have been working correctly for quite some time. Please reopen if you can reproduce with recent versions, thanks.