Bug 170410 - devel/gvfs: gvfs-hal-volume-monitor crashes when new media with invalid encoding characters are plugged in.
Summary: devel/gvfs: gvfs-hal-volume-monitor crashes when new media with invalid encod...
Status: Closed Feedback Timeout
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-06 09:10 UTC by delleceste
Modified: 2015-09-16 23:40 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description delleceste 2012-08-06 09:10:02 UTC
- 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@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
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2012-12-03 04:57:10 UTC
Responsible Changed
From-To: freebsd-amd64->freebsd-ports-bugs

ports PR.
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2012-12-03 04:58:41 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gnome

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 3 Carlo Strub freebsd_committer freebsd_triage 2014-08-29 22:23:48 UTC
back to pool