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 383623 - Window capturing ftview (ft2demo program), gnome-screenshot crashes
Window capturing ftview (ft2demo program), gnome-screenshot crashes
Status: RESOLVED OBSOLETE
Product: gnome-screenshot
Classification: Core
Component: general
git master
Other All
: Normal critical
: ---
Assigned To: gnome-screenshot-maint
gnome-screenshot-maint
: 433808 449959 498772 506820 511575 517163 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-12-08 05:43 UTC by sangu
Modified: 2012-01-26 22:29 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18



Description sangu 2006-12-08 05:43:23 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.

Thread NaN (LWP 29617)

  • #0 screenshot_get_pixbuf
    at screenshot-utils.c line 564
  • #1 prepare_screenshot
    at gnome-panel-screenshot.c line 312
  • #2 prepare_screenshot_timeout
    at gnome-panel-screenshot.c line 372
  • #3 g_timeout_dispatch
    at gmain.c line 3422
  • #4 IA__g_main_context_dispatch
    at gmain.c line 2045
  • #5 g_main_context_iterate
    at gmain.c line 2677
  • #6 IA__g_main_loop_run
    at gmain.c line 2881
  • #7 IA__gtk_main
    at gtkmain.c line 1001
  • #8 main
    at gnome-panel-screenshot.c line 487
  • #0 screenshot_get_pixbuf
    at screenshot-utils.c line 564
  • #1 prepare_screenshot
    at gnome-panel-screenshot.c line 312
  • #2 prepare_screenshot_timeout
    at gnome-panel-screenshot.c line 372
  • #3 g_timeout_dispatch
    at gmain.c line 3422
  • #4 IA__g_main_context_dispatch
    at gmain.c line 2045
  • #5 g_main_context_iterate
    at gmain.c line 2677
  • #6 IA__g_main_loop_run
    at gmain.c line 2881
  • #7 IA__gtk_main
    at gtkmain.c line 1001
  • #8 main
    at gnome-panel-screenshot.c line 487
    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)
Comment 1 André Klapper 2006-12-10 17:36:37 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.


*** This bug has been marked as a duplicate of 317116 ***
Comment 2 Sebastien Bacher 2007-01-28 14:36:37 UTC
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
..."
Comment 3 Áron Sisak 2007-08-25 09:55:01 UTC
Openbox 3.4.4 fixes this issue (and gnome-screenshot captures its windows fine). Not sure if no bug resides in gnome-screenshot, though.
Comment 4 Áron Sisak 2007-08-25 09:58:39 UTC
Tried to reproduce the orignal bug screnario (with ftview) as well and failed.
gnome-screenshot 2.19.90 (as also by the previous comment)
Comment 5 Sebastien Bacher 2007-09-27 11:41:53 UTC
*** Bug 433808 has been marked as a duplicate of this bug. ***
Comment 6 Josh Lee 2007-10-22 16:31:54 UTC
I'm getting an identical backtrace when snapping a window. Using xmonad 0.4 and gnome-utils HEAD.
Comment 7 Susana 2007-11-24 17:40:19 UTC
*** Bug 498772 has been marked as a duplicate of this bug. ***
Comment 8 Marc-Andre Lureau 2008-03-23 23:37:35 UTC
*** Bug 517163 has been marked as a duplicate of this bug. ***
Comment 9 Marc-Andre Lureau 2008-03-23 23:37:46 UTC
*** Bug 511575 has been marked as a duplicate of this bug. ***
Comment 10 Marc-Andre Lureau 2008-03-23 23:38:00 UTC
*** Bug 506820 has been marked as a duplicate of this bug. ***
Comment 11 Marc-Andre Lureau 2008-03-23 23:38:34 UTC
*** Bug 449959 has been marked as a duplicate of this bug. ***
Comment 12 Marc-Andre Lureau 2008-03-23 23:39:54 UTC
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.
Comment 13 Cosimo Cecchi 2012-01-26 22:29:35 UTC
This seems to have been working correctly for quite some time. Please reopen if you can reproduce with recent versions, thanks.