gnome-screenshot crash

Bug #3118 reported by shaggy
6
Affects Status Importance Assigned to Milestone
gnome-utils (Ubuntu)
Fix Released
Medium
Ubuntu GNOME

Bug Description

if i try making a screenshot with alt+print from a gnome-torrent window gnome-screenshot crashes.

bug details created with bug-buddy:
From: <>
To: <email address hidden>
X-Mailer: bug-buddy 2.12.1
Subject: screenshot of the bittorrent window with alt-print -> crash

Distribution: Ubuntu 5.10 (breezy)
Package: gnome-utils
Severity: normal
Version: GNOME2.12.1 unspecified
Gnome-Distributor: Ubuntu
Synopsis: screenshot of the bittorrent window with alt-print -> crash
Bugzilla-Product: gnome-utils
Bugzilla-Component: general
Bugzilla-Version: unspecified
BugBuddy-GnomeVersion: 2.0 (2.12.0)
Description:
Description of the crash:

run a bittorrent download,
try makeing a screenshot only from that window with alt-print -> crash

Debugging Information:

Backtrace was generated from '/usr/bin/gnome-screenshot'

(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(no debugging symbols found)
`system-supplied DSO at 0xffffe000' has disappeared; keeping its
symbols.
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1223076160 (LWP 12561)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
0xffffe410 in __kernel_vsyscall ()
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb74ea483 in __waitpid_nocancel ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb7ed0508 in libgnomeui_module_info_get ()
   from /usr/lib/libgnomeui-2.so.0
#3 <signal handler called>
#4 0xb7d49eac in gnome_vfs_uri_to_string () from
/usr/lib/libgnomevfs-2.so.0
#5 0x0804d514 in screenshot_dialog_new ()
#6 0x0804cbc6 in _start ()
#7 0x080e02c0 in ?? ()
#8 0x080d9cf0 in ?? ()
#9 0x00000001 in ?? ()
#10 0xb759b96c in g_type_check_instance_is_a ()
   from /usr/lib/libgobject-2.0.so.0
#11 0x0804d1f2 in main ()

Thread 1 (Thread -1223076160 (LWP 12561)):
#0 0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1 0xb74ea483 in __waitpid_nocancel ()
   from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#2 0xb7ed0508 in libgnomeui_module_info_get ()
   from /usr/lib/libgnomeui-2.so.0
No symbol table info available.
#3 <signal handler called>
No symbol table info available.
#4 0xb7d49eac in gnome_vfs_uri_to_string () from
/usr/lib/libgnomevfs-2.so.0
No symbol table info available.
#5 0x0804d514 in screenshot_dialog_new ()
No symbol table info available.
#6 0x0804cbc6 in _start ()
No symbol table info available.
#7 0x080e02c0 in ?? ()
No symbol table info available.
#8 0x080d9cf0 in ?? ()
No symbol table info available.
#9 0x00000001 in ?? ()
No symbol table info available.
#10 0xb759b96c in g_type_check_instance_is_a ()
   from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#11 0x0804d1f2 in main ()
No symbol table info available.
#0 0xffffe410 in __kernel_vsyscall ()

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

Thanks for your bug. Could you get a backtrace with libgnomevfs2-0-dbg and maybe a gnome-utils debug package (https://wiki.ubuntu.com/DebuggingProgramCrash) installed?

Changed in gnome-utils:
assignee: nobody → gnome
Revision history for this message
shaggy (slimshaggy) wrote :

It looks like there is a problem with the filename thats beeing created from the windows name, to long or to much bad characters (URI in URI problem?)

sven-tek@desktu:~$ sleep 2 && gdb gnome-screenshot --window
GNU gdb 6.3-debian
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".

(gdb) run --window
Starting program: /usr/bin/gnome-screenshot --window
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1222986048 (LWP 9423)]

(gnome-screenshot:9423): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale.

(gnome-screenshot:9423): Gdk-WARNING **: locale not supported by C library
resutlt: 13

** (gnome-screenshot:9423): WARNING **: ERR:file:///home/sven-tek/mypics/Screens hot-0% of file:---tmp-ubuntu-5.10-live-i386.iso.torrent.png:Invalid URI

resutlt: 13

** (gnome-screenshot:9423): WARNING **: ERR:/home/sven-tek/Desktop/Screenshot-0% of file:---tmp-ubuntu-5.10-live-i386.iso.torrent.png:Invalid URI

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1222986048 (LWP 9423)]
0xb7d5feac in gnome_vfs_uri_to_string (uri=0x0,
    hide_options=GNOME_VFS_URI_HIDE_NONE) at gnome-vfs-uri.c:1160
1160 gnome-vfs-uri.c: No such file or directory.
        in gnome-vfs-uri.c
(gdb) thread apply all bt

Thread 1 (Thread -1222986048 (LWP 9423)):
#0 0xb7d5feac in gnome_vfs_uri_to_string (uri=0x0,
    hide_options=GNOME_VFS_URI_HIDE_NONE) at gnome-vfs-uri.c:1160
#1 0x0804d514 in screenshot_dialog_new ()
#2 0x0804cbc6 in _start ()
#3 0x080d60b0 in ?? ()
#4 0x080d4328 in ?? ()
#5 0x00000001 in ?? ()
#6 0xb75b196c in g_type_check_instance_is_a ()
   from /usr/lib/libgobject-2.0.so.0
#7 0x0804d1f2 in main ()
(gdb)

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

Thanks for the comment. The crash is due to the "%" from the filename. I've forwarded the bug upstream: http://bugzilla.gnome.org/show_bug.cgi?id=319188 and made a patch for it

Changed in gnome-utils:
status: New → PendingUpload
Changed in gnome-utils:
status: Fix Committed → Fix Released
Revision history for this message
Sebastien Bacher (seb128) wrote :

fixed with dapper

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.