Gnome2::VFS segfaults



The attached script will always segfault when provided with certain
kinds of files - it's OK with something like /etc/motd, but not with PDF
or text files.

Backtrace looks like this:

[gavin scimitar ~]$ gdb /usr/bin/perl
GNU gdb Red Hat Linux (6.3.0.0-1.21rh)
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 "i386-redhat-linux-gnu"...(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) run /home/gavin/gnomevfs-crasher.pl /usr/share/icons/gnome/48x48/mimetypes/gnome-mime-application.png
Starting program: /usr/bin/perl /home/gavin/gnomevfs-crasher.pl 
/usr/share/icons/gnome/48x48/mimetypes/gnome-mime-application.png
Reading symbols from shared object read from target memory...(no debugging symbols found)...done.
Loaded system supplied DSO at 0x256000
(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 -1209010496 (LWP 4451)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
$VAR1 = bless( {
                 'requires_terminal' => 0,
                 'expects_uris' => 'paths',
                 'name' => 'eog',
                 'id' => 'eog.desktop',
                 'can_open_multiple_files' => 0,
                 'command' => 'eog'
               }, 'Gnome2::VFS::Mime::Application' );

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1209010496 (LWP 4451)]
0x06ba99b9 in gnome_vfs_mime_application_launch_with_env (app=0x978bc20, uris=0x970d1f8, envp=0x0) at 
gnome-vfs-mime-handlers.c:1317
1317            g_return_val_if_fail (uris != NULL, GNOME_VFS_ERROR_BAD_PARAMETERS);
(gdb) bt
#0  0x06ba99b9 in gnome_vfs_mime_application_launch_with_env (app=0x978bc20, uris=0x970d1f8, envp=0x0) at 
gnome-vfs-mime-handlers.c:1317
#1  0x06ba9d14 in gnome_vfs_mime_application_launch (app=0x0, uris=0x0) at gnome-vfs-mime-handlers.c:1294
#2  0x00135236 in XS_Gnome2__VFS__Mime__Application_launch () from 
/usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi/auto/Gnome2/VFS/VFS.so
#3  0x069a498c in Perl_pp_entersub () from /usr/lib/perl5/5.8.6/i386-linux-thread-multi/CORE/libperl.so
#4  0x069866e1 in Perl_runops_debug () from /usr/lib/perl5/5.8.6/i386-linux-thread-multi/CORE/libperl.so
#5  0x06938fe1 in perl_run () from /usr/lib/perl5/5.8.6/i386-linux-thread-multi/CORE/libperl.so
#6  0x080493f4 in main ()

This is on an Intel machine running Fedora Core 4 (glibc-2.3.5-10.3,
gtk2-2.6.7-4, gnome-vfs2-2.10.0-5, perl-Gnome2-VFS-1.011-1 with)
-debuginfo packages installed.

Gavin.

-- 
Gavin Brown
e: gavin brown uk com
w: http://jodrell.net/

Attachment: gnomevfs-crasher.pl
Description: Perl program



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]