gnome-screenshot crashed with signal 5 in _XError()

Bug #532842 reported by Thibaut Brandscheid
114
This bug affects 23 people
Affects Status Importance Assigned to Milestone
gnome-utils (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Binary package hint: gnome-utils

I just tried to take a screenshot with the gnome-screenshot tool within the VirtualBox.
After clicking "Take Screenshot" the program crashed.

Settings:
-Grab the current window
- Grab after a delay of: 0
- Include the window border
Apply effect: Drop shadow

Thats all.

By the way, this is my first bug report :)

ProblemType: Crash
Architecture: i386
Date: Fri Mar 5 19:40:04 2010
DistroRelease: Ubuntu 10.04
ExecutablePath: /usr/bin/gnome-screenshot
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha i386 (20100113)
Package: gnome-utils 2.29.5-0ubuntu2
ProcCmdline: gnome-screenshot --interactive
ProcEnviron:
 LANGUAGE=en
 LANG=de_DE.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-15.22-generic
Signal: 5
SourcePackage: gnome-utils
StacktraceTop:
 ?? () from /usr/lib/libgdk-x11-2.0.so.0
 _XError () from /usr/lib/libX11.so.6
 _XReply () from /usr/lib/libX11.so.6
 XQueryTree () from /usr/lib/libX11.so.6
 screenshot_get_pixbuf ()
Title: gnome-screenshot crashed with signal 5 in _XError()
Uname: Linux 2.6.32-15-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
XsessionErrors:
 (polkit-gnome-authentication-agent-1:1970): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
 (Do:1980): Gtk-CRITICAL **: gtk_window_get_position: assertion `GTK_IS_WINDOW (window)' failed
 (Do:1980): Gtk-CRITICAL **: gtk_window_get_size: assertion `GTK_IS_WINDOW (window)' failed
 (Do:1980): Gtk-CRITICAL **: gtk_window_get_screen: assertion `GTK_IS_WINDOW (window)' failed
 (Do:1980): Gtk-CRITICAL **: gtk_window_get_screen: assertion `GTK_IS_WINDOW (window)' failed

Revision history for this message
Thibaut Brandscheid (k1au3-is-37) wrote :
visibility: private → public
Revision history for this message
Thibaut Brandscheid (k1au3-is-37) wrote :
Revision history for this message
Victor Vargas (kamus) wrote :

@Klau3, please could you include a backtrace for this crash (check at https://wiki.ubuntu.com/Backtrace for get all instructions)? Probably this issue could be a regresion of bug 335432, but any way I am able to confirm this issue in a Lucid fully updated, Thanks!

Changed in gnome-utils (Ubuntu):
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
Victor Vargas (kamus) wrote :

argg dam .. I lost all that I wrote.. I said that this issue could be a regresion of bug 335432. Please could you include a Backtrace for this application and attach to your report (chech at https://wiki.ubuntu.com/Backtrace for getting all details)?Thanks!

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

The reporter doesn't need to provide a backtrace yet. The retracer hasn't even processed this bug report yet

Revision history for this message
Thibaut Brandscheid (k1au3-is-37) wrote :

Tried to run this cmd "gdb gnome-screenshot --interactive 2>&1 | tee ~/gdb-gnome-screenshot.txt", but it doesn't work.

gdb: unrecognized option '--interactive'

What should I do?

Revision history for this message
ubuntosaure (ubuntosaure) wrote :

Such:
ubuntu@ubuntu:~$ gdb gnome-screenshot --interactive 2>&1 | tee ~/gdb-gnome-screenshot.txt
gdb: unrecognized option '--interactive'
Use `gdb --help' for a complete list of options.
ubuntu@ubuntu:~$

Revision history for this message
Sebastien Bacher (seb128) wrote :

you don't use gdb correctly either do:
- gdb gnome-screenshot
(gdb) run --interactive

or

- gdb --args gnome-screenshot --interactive

Revision history for this message
Ricardo Pérez López (ricardo) wrote :

I have the same problem, too (using fully updated Lucid).

Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 g_queue_foreach () from /lib/libglib-2.0.so.0
 g_queue_remove_all () from /lib/libglib-2.0.so.0
 IA__gdk_font_equal (fonta=0x0, fontb=0x18b56b)
 _XError (dpy=0x9e82250, rep=0x9fcafc0)
 _XReply (dpy=0x9e82250, rep=0xbf9d9f00, extra=0, discard=0)

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
tags: removed: need-i386-retrace
Revision history for this message
DrC (drcowsley) wrote :

Screen shot target was current window.
First try at a screen shot was unsatisfactory due transparency issues not visible on the original. The unwelcome shadows were from the screen shot dialogue which had overlapped the original window.

Second try involved moving the target to the extreme bottom left, renaming the first try, then trying again with the screen shot dialogue fairly high up on the right hand side - then bingo - the crash.

Environment was Dell Dimension 4700 with only 512k of RAM, live CD to test Ubuntu, not install it. I had three text documents (852 bytes, 14.7Kb and 35.4Kb) already on the desktop, and the first screen shot was 96.4k - as would the second have been.

For what it's worth (and so as not to lose it, because I may have limited storage here) all this current desktop content is attached. The .tgz is another 100k on the desktop so it looks as though the problem is not one of available storage.

Revision history for this message
DrC (drcowsley) wrote :

Oops - beta version. Forgot to say. Can't get to details at the moment but ask me later if necessary.

Revision history for this message
DrC (drcowsley) wrote :

OK - did a bit of an experiment. Taking care to keep all windows within the screen boundary and a smaller target window -

Next try - crashed again.

Then thought - I hadn't actually clicked in the target window to make it current. Did so, then inadvertently did a full screen screen shot - which worked.

Then tried again, set the targeet window as current, screen shot just the current window, it worked.

So does the problem occur if there is not a current window defined? (eg when what was the current window has been closed)

I'm really sorry but I'm having to get some work done, so I have to pass this one over for now. I'll come back later and move it on again if it is still here.

Revision history for this message
André Schnabel (thefrogs) wrote :

same problem here. using up to date maverick meerkat.

Bernhard (b.a.koenig)
Changed in gnome-utils (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Alex Mayorga (alex-mayorga) wrote :

Crashed too.

alex-mayorga@VPCCW1FFXL:~$ uname -a
Linux VPCCW1FFXL 2.6.35-20-generic #29-Ubuntu SMP Fri Sep 3 14:55:28 UTC 2010 x86_64 GNU/Linux
alex-mayorga@VPCCW1FFXL:~$ aptitude show gnome-screenshot
Package: gnome-screenshot
New: yes
State: installed
Automatically installed: yes
Version: 2.31.1-0ubuntu1
Priority: optional
Section: gnome
Maintainer: Ubuntu Desktop Team <email address hidden>
Uncompressed Size: 242k
Depends: libatk1.0-0 (>= 1.29.3), libc6 (>= 2.7), libcairo2 (>= 1.2.4),
         libcanberra-gtk0 (>= 0.4), libcanberra0 (>= 0.2), libfontconfig1 (>=
         2.8.0), libfreetype6 (>= 2.2.1), libgconf2-4 (>= 2.31.1),
         libgdk-pixbuf2.0-0 (>= 2.21.6), libglib2.0-0 (>= 2.20.0), libgtk2.0-0
         (>= 2.20), liblaunchpad-integration1 (>= 0.1.17), libpango1.0-0 (>=
         1.14.0), libx11-6, libxext6, gconf2 (>= 2.28.1-2), gnome-utils-common
         (>= 2.31), gnome-utils-common (< 2.32)
Conflicts: gnome-utils (< 2.30.0-2)
Replaces: gnome-utils (< 2.30.0-2)
Description: screenshot application for GNOME
 This tool takes a picture of the desktop or of a window and saves it into a
 file.
Homepage: http://live.gnome.org/GnomeUtils

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.