Bug#832770: gnome-screenshot: hangs in region mode

Arturo Borrero Gonzalez arturo.borrero.glez at gmail.com
Thu Jul 28 16:56:38 UTC 2016


Package: gnome-screenshot
Version: 3.20.1-1
Severity: normal

Dear maintainers,

thanks for your work with this package. I use it a lot :-)

Today, gnome-screenshot was unable to take a region screenshot of
my google chrome browser.

When I start the program (via the desktop launcher or in the terminal),
I choose region screenshot, then I select the region and then the program
hangs (and has to be killed).

% gnome-screenshot --interactive
** Message: Unable to select area using GNOME Shell's builtin screenshot interface, resorting to fallback X11.
** Message: Unable to use GNOME Shell's builtin screenshot interface, resorting to fallback X11.

I tried to run strace to see I can identify the blocker (but nothing interesting
was shown).

Here is a gdb run:

% gdb gnome-screenshot
GNU gdb (Debian 7.11.1-2) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from gnome-screenshot...(no debugging symbols found)...done.
(gdb) r --interactive
Starting program: /usr/bin/gnome-screenshot --interactive
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffedfea700 (LWP 11507)]
[New Thread 0x7fffed7e9700 (LWP 11508)]
[New Thread 0x7fffe7fff700 (LWP 11509)]
[New Thread 0x7fffdbfff700 (LWP 11510)]
** Message: Unable to select area using GNOME Shell's builtin screenshot interface, resorting to fallback X11.
** Message: Unable to use GNOME Shell's builtin screenshot interface, resorting to fallback X11.
[New Thread 0x7fffdb7fe700 (LWP 11515)]
[New Thread 0x7fffdaffd700 (LWP 11516)]
[New Thread 0x7fffda7fc700 (LWP 11517)]
[New Thread 0x7fffd9ffb700 (LWP 11518)]
[New Thread 0x7fffd97fa700 (LWP 11519)]
[New Thread 0x7fffd8ff9700 (LWP 11520)]
[New Thread 0x7fffcbfff700 (LWP 11521)]
[Thread 0x7fffcbfff700 (LWP 11521) exited]
[Thread 0x7fffd9ffb700 (LWP 11518) exited]
[Thread 0x7fffd8ff9700 (LWP 11520) exited]
[Thread 0x7fffda7fc700 (LWP 11517) exited]
[Thread 0x7fffdaffd700 (LWP 11516) exited]
[Thread 0x7fffdbfff700 (LWP 11510) exited]
[Thread 0x7fffd97fa700 (LWP 11519) exited]
^C
Thread 1 "gnome-screensho" received signal SIGINT, Interrupt.
0x00007ffff65a0096 in ?? () from /usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0
(gdb) bt
#0  0x00007ffff65a0096 in ?? () from /usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0
#1  0x00007ffff65a0be4 in ?? () from /usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0
#2  0x00007ffff65987e9 in gdk_pixbuf_scale () from /usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0
#3  0x00007ffff6598da2 in gdk_pixbuf_scale_simple () from /usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0
#4  0x000000000040a9fa in ?? ()
#5  0x00007ffff6fbb48c in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#6  0x00007ffff5fbefa5 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#7  0x00007ffff5fd0fc1 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#8  0x00007ffff5fd97f9 in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#9  0x00007ffff5fda08f in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#10 0x00007ffff70fe3dc in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#11 0x00007ffff6f2f74f in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#12 0x00007ffff6f2f8bc in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#13 0x00007ffff5fbf1d4 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#14 0x00007ffff5fd99a6 in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#15 0x00007ffff5fda08f in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#16 0x00007ffff710d17e in gtk_widget_realize () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#17 0x00007ffff710d3f8 in gtk_widget_map () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#18 0x00007ffff6f6f5e0 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#19 0x00007ffff6ef9acf in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#20 0x00007ffff5fbf122 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#21 0x00007ffff5fd99a6 in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#22 0x00007ffff5fda08f in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#23 0x00007ffff710d3b0 in gtk_widget_map () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#24 0x00007ffff6ef9acf in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#25 0x00007ffff5fbf122 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#26 0x00007ffff5fd99a6 in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#27 0x00007ffff5fda08f in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#28 0x00007ffff710d3b0 in gtk_widget_map () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#29 0x00007ffff6f780c0 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#30 0x00007ffff6ef9acf in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#31 0x00007ffff5fbf122 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#32 0x00007ffff5fd99a6 in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#33 0x00007ffff5fda08f in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#34 0x00007ffff710d3b0 in gtk_widget_map () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#35 0x00007ffff7122a98 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#36 0x00007ffff5fbf1d4 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#37 0x00007ffff5fd99a6 in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#38 0x00007ffff5fda08f in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#39 0x00007ffff710d3b0 in gtk_widget_map () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#40 0x00007ffff711a59b in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
---Type <return> to continue, or q <return> to quit---
#41 0x00007ffff5fbefa5 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#42 0x00007ffff5fd0afc in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#43 0x00007ffff5fd9d5c in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#44 0x00007ffff5fda08f in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#45 0x00007ffff7106ee2 in gtk_widget_show () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#46 0x000000000040aeec in ?? ()
#47 0x0000000000408ded in ?? ()
#48 0x00007ffff6289b43 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#49 0x00007ffff6289b79 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#50 0x00007ffff5ce805a in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#51 0x00007ffff5ce8400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#52 0x00007ffff5ce84ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#53 0x00007ffff62afcdd in g_application_run () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#54 0x0000000000408155 in ?? ()
#55 0x00007ffff51e9730 in __libc_start_main (main=0x4080f0, argc=2, argv=0x7fffffffe298, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, 
    stack_end=0x7fffffffe288) at ../csu/libc-start.c:291
#56 0x0000000000408199 in ?? ()


thanks, best regards.


-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.6.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=es_ES.utf8, LC_CTYPE=es_ES.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gnome-screenshot depends on:
ii  dconf-gsettings-backend [gsettings-backend]  0.26.0-1
ii  libc6                                        2.23-2
ii  libcairo2                                    1.14.6-1+b1
ii  libcanberra-gtk3-0                           0.30-3
ii  libcanberra0                                 0.30-3
ii  libgdk-pixbuf2.0-0                           2.34.0-1
ii  libglib2.0-0                                 2.48.1-2
ii  libgtk-3-0                                   3.20.6-2
ii  libx11-6                                     2:1.6.3-1
ii  libxext6                                     2:1.3.3-1

gnome-screenshot recommends no packages.

gnome-screenshot suggests no packages.

-- no debconf information



More information about the pkg-gnome-maintainers mailing list