gvfs-udisks2-volume-monitor crashed with SIGSEGV in malloc_consolidate()

Bug #1088265 reported by Felix Möller
76
This bug affects 14 people
Affects Status Importance Assigned to Milestone
gvfs (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

ejecting a dvd

ProblemType: Crash
DistroRelease: Ubuntu 12.10
Package: gvfs-daemons 1.14.0-0ubuntu6
ProcVersionSignature: Ubuntu 3.5.0-20.31-generic 3.5.7.1
Uname: Linux 3.5.0-20-generic x86_64
ApportVersion: 2.6.1-0ubuntu9
Architecture: amd64
Date: Sun Dec 9 23:11:03 2012
ExecutablePath: /usr/lib/gvfs/gvfs-udisks2-volume-monitor
InstallationDate: Installed on 2012-03-31 (253 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120331)
MarkForUpload: True
ProcCmdline: /usr/lib/gvfs/gvfs-udisks2-volume-monitor
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=de_DE.UTF-8
SegvAnalysis:
 Segfault happened at: 0x7f43dc99ae20: cmp 0x18(%rdx),%rbx
 PC (0x7f43dc99ae20) ok
 source "0x18(%rdx)" (0x00000018) not located in a known VMA region (needed readable region)!
 destination "%rbx" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: gvfs
StacktraceTop:
 ?? () from /lib/x86_64-linux-gnu/libc.so.6
 ?? () from /lib/x86_64-linux-gnu/libc.so.6
 calloc () from /lib/x86_64-linux-gnu/libc.so.6
 ?? () from /lib64/ld-linux-x86-64.so.2
 ?? () from /lib64/ld-linux-x86-64.so.2
Title: gvfs-udisks2-volume-monitor crashed with SIGSEGV in calloc()
UpgradeStatus: Upgraded to quantal on 2012-08-02 (128 days ago)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

Revision history for this message
Felix Möller (felix-derklecks) wrote :
information type: Private → Public
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 malloc_consolidate (av=0x7f43dccd4740) at malloc.c:4246
 malloc_consolidate (av=0x7f43dccd4740) at malloc.c:4215
 _int_malloc (av=0x7f43dccd4740, bytes=1174) at malloc.c:3532
 __libc_calloc (n=<optimized out>, elem_size=<optimized out>) at malloc.c:3274
 ?? () from /tmp/tmpfoV3KW/lib64/ld-linux-x86-64.so.2

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : StacktraceSource.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in gvfs (Ubuntu):
importance: Undecided → Medium
summary: - gvfs-udisks2-volume-monitor crashed with SIGSEGV in calloc()
+ gvfs-udisks2-volume-monitor crashed with SIGSEGV in malloc_consolidate()
tags: removed: need-amd64-retrace
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gvfs (Ubuntu):
status: New → Confirmed
Revision history for this message
Gerhard Bogner (bogi788) wrote :

This crash occurred on my system after ejecting a btrfs volume and unplugging the USB drive.

Revision history for this message
Elfy (elfy) wrote :

Trusty - unmounting a partition where a file was still active. Closed active app with file from partition. Crash followed.

Revision history for this message
Sebastien Bacher (seb128) wrote :
Download full text (6.0 KiB)

got that under valgrind

==29286== Invalid read of size 1
==29286== at 0x433B79A: g_str_hash (ghash.c:1792)
==29286== by 0x433A309: g_hash_table_remove_internal (ghash.c:367)
==29286== by 0x805D729: on_name_owner_vanished (gvfsproxyvolumemonitordaemon.c:491)
==29286== by 0x420AA56: actually_do_call (gdbusnamewatching.c:162)
==29286== by 0x420ABCB: do_call (gdbusnamewatching.c:214)
==29286== by 0x420B182: on_name_owner_changed (gdbusnamewatching.c:305)
==29286== by 0x41FAC85: emit_signal_instance_in_idle_cb (gdbusconnection.c:3738)
==29286== by 0x43489FF: g_idle_dispatch (gmain.c:5280)
==29286== by 0x434BE66: g_main_context_dispatch (gmain.c:3065)
==29286== by 0x434C227: g_main_context_iterate.isra.23 (gmain.c:3711)
==29286== by 0x434C52A: g_main_loop_run (gmain.c:3905)
==29286== by 0x805F288: g_vfs_proxy_volume_monitor_daemon_main (gvfsproxyvolumemonitordaemon.c:2009)
==29286== by 0x804F9DC: main (udisks2volumemonitordaemon.c:42)
==29286== Address 0x6f0afa8 is 0 bytes inside a block of size 7 free'd
==29286== at 0x402AD58: free (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==29286== by 0x4351AAF: g_free (gmem.c:190)
==29286== by 0x420AC17: client_unref (gdbusnamewatching.c:102)
==29286== by 0x805D717: on_name_owner_vanished (gvfsproxyvolumemonitordaemon.c:488)
==29286== by 0x420AA56: actually_do_call (gdbusnamewatching.c:162)
==29286== by 0x420ABCB: do_call (gdbusnamewatching.c:214)
==29286== by 0x420B182: on_name_owner_changed (gdbusnamewatching.c:305)
==29286== by 0x41FAC85: emit_signal_instance_in_idle_cb (gdbusconnection.c:3738)
==29286== by 0x43489FF: g_idle_dispatch (gmain.c:5280)
==29286== by 0x434BE66: g_main_context_dispatch (gmain.c:3065)
==29286== by 0x434C227: g_main_context_iterate.isra.23 (gmain.c:3711)
==29286== by 0x434C52A: g_main_loop_run (gmain.c:3905)
==29286== by 0x805F288: g_vfs_proxy_volume_monitor_daemon_main (gvfsproxyvolumemonitordaemon.c:2009)
==29286== by 0x804F9DC: main (udisks2volumemonitordaemon.c:42)
==29286==
==29286== Invalid read of size 1
==29286== at 0x433B7B4: g_str_hash (ghash.c:1792)
==29286== by 0x433A309: g_hash_table_remove_internal (ghash.c:367)
==29286== by 0x805D729: on_name_owner_vanished (gvfsproxyvolumemonitordaemon.c:491)
==29286== by 0x420AA56: actually_do_call (gdbusnamewatching.c:162)
==29286== by 0x420ABCB: do_call (gdbusnamewatching.c:214)
==29286== by 0x420B182: on_name_owner_changed (gdbusnamewatching.c:305)
==29286== by 0x41FAC85: emit_signal_instance_in_idle_cb (gdbusconnection.c:3738)
==29286== by 0x43489FF: g_idle_dispatch (gmain.c:5280)
==29286== by 0x434BE66: g_main_context_dispatch (gmain.c:3065)
==29286== by 0x434C227: g_main_context_iterate.isra.23 (gmain.c:3711)
==29286== by 0x434C52A: g_main_loop_run (gmain.c:3905)
==29286== by 0x805F288: g_vfs_proxy_volume_monitor_daemon_main (gvfsproxyvolumemonitordaemon.c:2009)
==29286== by 0x804F9DC: main (udisks2volumemonitordaemon.c:42)
==29286== Address 0x6f0afa9 is 1 bytes inside a block of size 7 free'd
==29286== at 0x402AD58: free (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==29286== by...

Read more...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.