gnome-screenshot crashed with signal 5 in gdk_x_error()

Bug #335432 reported by Nick
280
This bug affects 61 people
Affects Status Importance Assigned to Milestone
gnome-utils
Expired
Critical
gnome-utils (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Binary package hint: gnome-utils

Happened after clicking Take Screenshot

ProblemType: Crash
Architecture: amd64
DistroRelease: Ubuntu 9.04
ExecutablePath: /usr/bin/gnome-screenshot
NonfreeKernelModules: nvidia
Package: gnome-utils 2.25.90-0ubuntu1
ProcCmdline: gnome-screenshot --interactive
ProcEnviron:
 PATH=(custom, user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
Signal: 5
SourcePackage: gnome-utils
StacktraceTop:
 gdk_x_error (display=<value optimized out>,
 _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 gdk_x_error()
Uname: Linux 2.6.28-8-generic x86_64
UserGroups: adm admin audio cdrom dialout dip floppy fuse lpadmin plugdev vboxusers video www-data

Revision history for this message
Nick (nicky-nick-nickleton) wrote :
Revision history for this message
Apport retracing service (apport) wrote : Symbolic stack trace

StacktraceTop:gdk_x_error (display=<value optimized out>,
_XError (dpy=0x14e4eb0, rep=0x7f9138029d90)
_XReply (dpy=0x14e4eb0, rep=0x7fff51c54f10,
XQueryTree (dpy=0x14e4eb0, w=67108867,
screenshot_get_pixbuf (window=0x173b810,

Revision history for this message
Apport retracing service (apport) wrote : Symbolic threaded stack trace
Changed in gnome-utils:
importance: Undecided → Medium
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, the stracktrace is similar to http://bugzilla.gnome.org/show_bug.cgi?id=559532, do you get the issue every time? What did you do exactly?

Changed in gnome-utils:
assignee: nobody → desktop-bugs
status: New → Incomplete
Revision history for this message
Nick (nicky-nick-nickleton) wrote :

Don't think it's the same as the bug linked as it's not on startup, it's when taking a screenshot. I thought I couldn't reproduce it, but I can if I:

Click "Grab the current window"
Click on Firefox 3.0.6 to focus it (can reproduce with any window though, like a terminal)
Click on the Take Screenshot button (the window is not behind anything so I can click straight on the button)

Whole-window screenshots are always fine, and it doesn't crash if I uncheck the "Window border" checkbox... but I've noticed that if I do that, it doesn't actually take a screenshot of the Firefox window, it takes a shot of the top left 296x284 px of the screen. It is given the filename Screenshot-Untitled Window.png.

If I put a 1 second delay on the capture, then it always works; though it doesn't have a window border.

I'm running Compiz with TwinView. It feels like Compiz could be the cause - when it captures a small box in the top-left, it looks roughly the size of the screenshot dialog, as if it's using that as the current window, which might explain why the 1 second delay fixes it (allowing the Compiz close animation to finish and transfer focus).

Hope that helps.

Revision history for this message
Sebastian "Nait" Kacprzak (naicik) wrote :

I can reproduce it by clicking "Grab the current window" and clicking Take Screenshot button (without changing window). I know that such a screenshot don't make sense, but it may help you track it:D
It happens only when I take screenshot with window border(combo box with effects or cursor don't matter).
Ubuntu 9.04 32 alpha 5 with current updates, without compiz(I test it on vmplayer)

Changed in gnome-utils (Ubuntu):
status: Incomplete → New
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for your bug report. This bug has been reported to the developers of the software. You can track it and make comments here: http://bugzilla.gnome.org/show_bug.cgi?id=579828

Changed in gnome-utils (Ubuntu):
status: New → Triaged
Changed in gnome-utils:
status: Unknown → New
tags: removed: amd64
tags: added: bugpattern-needed
tags: added: bugpattern-written
removed: bugpattern-needed
Changed in gnome-utils:
status: New → Invalid
Revision history for this message
Martin Mai (mrkanister-deactivatedaccount-deactivatedaccount) wrote :

Upstream bug has been marked as duplicate of bug https://bugzilla.gnome.org/show_bug.cgi?id=559752

Changed in gnome-utils:
status: Invalid → Unknown
Changed in gnome-utils:
status: Unknown → New
Changed in gnome-utils:
importance: Unknown → Critical
Revision history for this message
Sebastien Bacher (seb128) wrote :

is that still an issue in recent versions?

Changed in gnome-utils (Ubuntu):
assignee: Ubuntu Desktop Bugs (desktop-bugs) → nobody
status: Triaged → Incomplete
Revision history for this message
Francis Bolduc (fbolduc) wrote : Re: [Bug 335432] Re: gnome-screenshot crashed with signal 5 in gdk_x_error()

No.
On Jan 26, 2012 5:56 PM, "Sebastien Bacher" <email address hidden> wrote:

> is that still an issue in recent versions?
>
> ** Changed in: gnome-utils (Ubuntu)
> Status: Triaged => Incomplete
>
> ** Changed in: gnome-utils (Ubuntu)
> Assignee: Ubuntu Desktop Bugs (desktop-bugs) => (unassigned)
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (529567).
> https://bugs.launchpad.net/bugs/335432
>
> Title:
> gnome-screenshot crashed with signal 5 in gdk_x_error()
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/gnome-utils/+bug/335432/+subscriptions
>

Changed in gnome-utils:
status: New → Expired
Revision history for this message
Jeremy Bícha (jbicha) wrote :

Closing since it doesn't seem to be an issue in currently supported releases. See this document for currently supported Ubuntu releases: https://wiki.ubuntu.com/Releases

Changed in gnome-utils (Ubuntu):
status: Incomplete → Invalid
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.