amd64/170410: gvfs-hal-volume-monitor crashes when new media with invalid encoding characters are plugged in.

Giacomo Strangolino delleceste at gmail.com
Mon Aug 6 08:10:03 UTC 2012


>Number:         170410
>Category:       amd64
>Synopsis:       gvfs-hal-volume-monitor crashes when new media with invalid encoding characters are plugged in.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-amd64
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 06 08:10:02 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Giacomo Strangolino
>Release:        9.0
>Organization:
Elettra Sincrotrone Trieste
>Environment:
FreeBSD woody 9.0-RELEASE FreeBSD 9.0-RELEASE
>Description:
- Plug in a media (USB Stick or CDROM) where a name of file or folder contains characters with invalid encoding.

- /usr/local/libexec/gvfs-hal-volume-monitor immediately crashes.

Backtrace:

[giacomo at woody ~]$ gdb /usr/local/libexec/gvfs-hal-volume-monitor gvfs-hal-volume-mon.core 
GNU gdb 6.1.1 [FreeBSD]
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 "amd64-marcel-freebsd"...(no debugging symbols found)...

warning: core file may not match specified executable file.
Core was generated by `gvfs-hal-volume-mon'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/local/lib/libhal.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libhal.so.1
Reading symbols from /usr/local/lib/libgvfscommon.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libgvfscommon.so.0
Reading symbols from /usr/local/lib/libdbus-1.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libdbus-1.so.3
Reading symbols from /usr/local/lib/libgio-2.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libgio-2.0.so.0
Reading symbols from /lib/libz.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libz.so.6
Reading symbols from /usr/local/lib/libgobject-2.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libgobject-2.0.so.0
Reading symbols from /usr/local/lib/libgmodule-2.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libgmodule-2.0.so.0
Reading symbols from /usr/local/lib/libgthread-2.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libgthread-2.0.so.0
Reading symbols from /usr/local/lib/libglib-2.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libglib-2.0.so.0
Reading symbols from /usr/local/lib/libintl.so.9...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libintl.so.9
Reading symbols from /usr/local/lib/libiconv.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libiconv.so.3
Reading symbols from /usr/local/lib/libpcre.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libpcre.so.1
Reading symbols from /usr/local/lib/libexpat.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libexpat.so.6
Reading symbols from /lib/libutil.so.9...(no debugging symbols found)...done.
Loaded symbols for /lib/libutil.so.9
Reading symbols from /lib/libthr.so.3...(no debugging symbols found)...done.
Loaded symbols for /lib/libthr.so.3
Reading symbols from /lib/libc.so.7...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /usr/local/lib/gio/modules/libgvfsdbus.so...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/gio/modules/libgvfsdbus.so
Reading symbols from /usr/local/lib/gio/modules/libgiofam.so...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/gio/modules/libgiofam.so
Reading symbols from /usr/local/lib/libfam.so.0...done.
Loaded symbols for /usr/local/lib/libfam.so.0
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x0000000802bf9ad7 in strlen () from /lib/libc.so.7
[New Thread 80300b400 (LWP 145853/gvfs-hal-volume-mon)]
[New Thread 80300d000 (LWP 146372/gvfs-hal-volume-mon)]
[New Thread 80300cc00 (LWP 146371/gvfs-hal-volume-mon)]
[New Thread 803007400 (LWP 136463/gvfs-hal-volume-mon)]
(gdb) bt
#0  0x0000000802bf9ad7 in strlen () from /lib/libc.so.7
#1  0x0000000801ad7bfc in g_utf8_collate_key () from /usr/local/lib/libglib-2.0.so.0
#2  0x0000000000000000 in ?? ()
#3  0x0000000000000000 in ?? ()
#4  0x0000000000000000 in ?? ()
#5  0x00000008030460a8 in ?? ()
#6  0x0000000803d3c6a0 in ?? ()
#7  0x0000000803180250 in ?? ()
#8  0x0000000000000000 in ?? ()
#9  0x0000000000000000 in ?? ()
#10 0x0000000000000000 in ?? ()
#11 0x0000000800f0dbe5 in g_cancellable_source_new () from /usr/local/lib/libgio-2.0.so.0
#12 0x0000000803da8240 in ?? ()
#13 0x000000080317cd20 in ?? ()
#14 0x000000080317cd20 in ?? ()
#15 0x000000080313a8c0 in ?? ()
#16 0x0000000803d35180 in ?? ()
#17 0x0000000803180250 in ?? ()
#18 0x0000000803d35180 in ?? ()
#19 0x0000000803046e78 in ?? ()
#20 0x000000080311dd20 in ?? ()
#21 0x000000080309b620 in ?? ()
#22 0x0000000800fab500 in .rodata () from /usr/local/lib/libgio-2.0.so.0
#23 0x0000000800f0ddd5 in g_cancellable_source_new () from /usr/local/lib/libgio-2.0.so.0
#24 0x0000000800f0f8e7 in g_content_type_guess_for_tree () from /usr/local/lib/libgio-2.0.so.0
#25 0x000000000040c326 in ?? ()
#26 0x000000000040e764 in ?? ()
#27 0x000000000040ed4c in ?? ()
#28 0x000000080142178e in g_closure_invoke () from /usr/local/lib/libgobject-2.0.so.0
#29 0x0000000000000000 in ?? ()
#30 0x000000080142170f in g_closure_invoke () from /usr/local/lib/libgobject-2.0.so.0
..
et cetera...

Gnome is configured through PolicyKit.conf in order to auto mount pluggable media.

gvfs info:

PORTNAME=	gvfs
PORTVERSION=	1.6.6
PORTREVISION=	3


>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-amd64 mailing list