! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
thunar crashes with sigsegv when ejecting a USB stick or iPod
Status:
RESOLVED: INVALID

Comments

Description Forest 2013-09-06 21:12:01 CEST
When clicking a USB stick's eject icon in Thunar's side pane, Thunar sometimes crashes.

More details are attached to this bug report:
https://bugs.launchpad.net/ubuntu/+source/thunar/+bug/1201987
(I tried to attach a core dump here, but the bugzilla server is resetting my connection during the upload.)

Segfault happened at: 0x7f89b6f92359:	mov    0x18(%rdi),%rax
PC (0x7f89b6f92359) ok
source "0x18(%rdi)" (0x00000018) not located in a known VMA region (needed readable region)!
destination "%rax" ok

Disassembly:
=> 0x7f89b6f92359:	mov    0x18(%rdi),%rax
   0x7f89b6f9235d:	test   %rax,%rax
   0x7f89b6f92360:	je     0x7f89b6f92385
   0x7f89b6f92362:	mov    (%rax),%r8
   0x7f89b6f92365:	xor    %edi,%edi
   0x7f89b6f92367:	cmp    %rsi,0x40(%r8)
   0x7f89b6f9236b:	jne    0x7f89b6f92379
   0x7f89b6f9236d:	jmp    0x7f89b6f92390
   0x7f89b6f9236f:	nop
   0x7f89b6f92370:	mov    (%rax),%r8
   0x7f89b6f92373:	cmp    %rsi,0x40(%r8)
   0x7f89b6f92377:	je     0x7f89b6f92390
   0x7f89b6f92379:	mov    0x8(%rax),%rax
   0x7f89b6f9237d:	add    $0x1,%edi
   0x7f89b6f92380:	test   %rax,%rax
   0x7f89b6f92383:	jne    0x7f89b6f92370

ThreadStacktrace:
.
Thread 4 (Thread 0x7f89ab768700 (LWP 25706)):
#0  0x00007f89b35bd3cd in poll () at ../sysdeps/unix/syscall-template.S:81
No locals.
#1  0x00007f89b3afe1dc in g_main_context_poll (n_fds=1, fds=0x7f899c0008c0, timeout=4978, context=0x7f89b87c73c0, priority=<optimized out>) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3995
        poll_func = 0x7f89b3b0c560 <g_poll>
#2  g_main_context_iterate (context=context@entry=0x7f89b87c73c0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3696
        max_priority = 2147483647
        timeout = 4978
        some_ready = <optimized out>
        allocated_nfds = <optimized out>
        fds = 0x7f899c0008c0
        nfds = 1
#3  0x00007f89b3afe304 in g_main_context_iteration (context=0x7f89b87c73c0, may_block=may_block@entry=1) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3762
        retval = <optimized out>
#4  0x00007f89b3afe361 in glib_worker_main (data=<optimized out>) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:5427
No locals.
#5  0x00007f89b3b21eb5 in g_thread_proxy (data=0x7f89b87c02d0) at /build/buildd/glib2.0-2.36.0/./glib/gthread.c:798
        thread = 0x7f89b87c02d0
#6  0x00007f89b389ff8e in start_thread (arg=0x7f89ab768700) at pthread_create.c:311
        __res = <optimized out>
        pd = 0x7f89ab768700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140229263918848, 1988689193858416643, 0, 140229456584800, 140737458808896, 4096, -1978654024354316285, -1978670839063068669}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = 0
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#7  0x00007f89b35c9e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
No locals.
.
Thread 3 (Thread 0x7f8991288700 (LWP 26579)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
No locals.
#1  0x00007f89b3b3d935 in g_cond_wait_until (cond=cond@entry=0x7f89b8903548, mutex=mutex@entry=0x7f89b8903540, end_time=end_time@entry=240496392853) at /build/buildd/glib2.0-2.36.0/./glib/gthread-posix.c:865
        ts = {tv_sec = 240496, tv_nsec = 392853000}
        status = <optimized out>
#2  0x00007f89b3ad3b81 in g_async_queue_pop_intern_unlocked (queue=queue@entry=0x7f89b8903540, wait=wait@entry=1, end_time=end_time@entry=240496392853) at /build/buildd/glib2.0-2.36.0/./glib/gasyncqueue.c:424
        retval = <optimized out>
        __PRETTY_FUNCTION__ = "g_async_queue_pop_intern_unlocked"
#3  0x00007f89b3ad41ca in g_async_queue_timeout_pop (queue=0x7f89b8903540, timeout=timeout@entry=15000000) at /build/buildd/glib2.0-2.36.0/./glib/gasyncqueue.c:545
        end_time = 240496392853
        retval = <optimized out>
#4  0x00007f89b3b226b2 in g_thread_pool_wait_for_new_pool () at /build/buildd/glib2.0-2.36.0/./glib/gthreadpool.c:169
        pool = <optimized out>
        local_max_idle_time = 15000
        local_wakeup_thread_serial = <optimized out>
        local_max_unused_threads = 2
        last_wakeup_thread_serial = 0
        have_relayed_thread_marker = 0
#5  g_thread_pool_thread_proxy (data=<optimized out>) at /build/buildd/glib2.0-2.36.0/./glib/gthreadpool.c:366
        free_pool = <optimized out>
        task = 0x2
        pool = <optimized out>
#6  0x00007f89b3b21eb5 in g_thread_proxy (data=0x7f898c009ca0) at /build/buildd/glib2.0-2.36.0/./glib/gthread.c:798
        thread = 0x7f898c009ca0
#7  0x00007f89b389ff8e in start_thread (arg=0x7f8991288700) at pthread_create.c:311
        __res = <optimized out>
        pd = 0x7f8991288700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140228822599424, 1988689193858416643, 0, 140229139628896, 140737458798928, 19, -1978738188533448701, -1978670839063068669}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = 0
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#8  0x00007f89b35c9e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
No locals.
.
Thread 2 (Thread 0x7f89abf69700 (LWP 25705)):
#0  0x00007f89b35bd3cd in poll () at ../sysdeps/unix/syscall-template.S:81
No locals.
#1  0x00007f89b3afe1dc in g_main_context_poll (n_fds=7, fds=0x7f89a40179a0, timeout=-1, context=0x7f89b87be540, priority=<optimized out>) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3995
        poll_func = 0x7f89b3b0c560 <g_poll>
#2  g_main_context_iterate (context=0x7f89b87be540, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3696
        max_priority = 2147483647
        timeout = -1
        some_ready = <optimized out>
        allocated_nfds = <optimized out>
        fds = 0x7f89a40179a0
        nfds = 7
#3  0x00007f89b3afe6ba in g_main_loop_run (loop=0x7f89b87be4d0) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3895
        __PRETTY_FUNCTION__ = "g_main_loop_run"
#4  0x00007f89b40d04f6 in gdbus_shared_thread_func (user_data=0x7f89b87be510) at /build/buildd/glib2.0-2.36.0/./gio/gdbusprivate.c:278
        data = 0x7f89b87be510
#5  0x00007f89b3b21eb5 in g_thread_proxy (data=0x7f89b87b9770) at /build/buildd/glib2.0-2.36.0/./glib/gthread.c:798
        thread = 0x7f89b87b9770
#6  0x00007f89b389ff8e in start_thread (arg=0x7f89abf69700) at pthread_create.c:311
        __res = <optimized out>
        pd = 0x7f89abf69700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140229272311552, 1988689193858416643, 0, 140229456584800, 140737458808576, 4096, -1978652932895752189, -1978670839063068669}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = 0
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#7  0x00007f89b35c9e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
No locals.
.
Thread 1 (Thread 0x7f89b6ee49c0 (LWP 25704)):
#0  0x00007f89b6f92359 in ?? ()
No symbol table info available.
#1  0x00007f89b6f95e5d in ?? ()
No symbol table info available.
#2  0x00007f89b6f5f05e in ?? ()
No symbol table info available.
#3  0x00007f89b40711d7 in g_simple_async_result_complete (simple=0x7f89b8b05e70) at /build/buildd/glib2.0-2.36.0/./gio/gsimpleasyncresult.c:777
        current_source = 0x7f89a40e6e50
        current_context = 0x0
        __PRETTY_FUNCTION__ = "g_simple_async_result_complete"
#4  0x00007f89aab26f41 in eject_cb (proxy=<optimized out>, res=<optimized out>, user_data=0x7f89b8ad0a20) at gproxydrive.c:599
        simple = 0x7f89b8b05e70
        data = 0x7f89b8ad0a20
        error = 0x0
#5  0x00007f89b40711d7 in g_simple_async_result_complete (simple=0x7f89b89b9a30) at /build/buildd/glib2.0-2.36.0/./gio/gsimpleasyncresult.c:777
        current_source = 0x7f89a40e6e50
        current_context = 0x0
        __PRETTY_FUNCTION__ = "g_simple_async_result_complete"
#6  0x00007f89b40cc43a in reply_cb (connection=<optimized out>, res=<optimized out>, user_data=0x7f89b89b9a30) at /build/buildd/glib2.0-2.36.0/./gio/gdbusproxy.c:2632
        simple = 0x7f89b89b9a30
        value = <optimized out>
        error = 0x0
        fd_list = 0x0
#7  0x00007f89b40711d7 in g_simple_async_result_complete (simple=0x7f89b89c3d50) at /build/buildd/glib2.0-2.36.0/./gio/gsimpleasyncresult.c:777
        current_source = 0x7f89a40e6e50
        current_context = 0x0
        __PRETTY_FUNCTION__ = "g_simple_async_result_complete"
#8  0x00007f89b40c28a2 in g_dbus_connection_call_done (source=<optimized out>, result=<optimized out>, user_data=0x7f89a400a130) at /build/buildd/glib2.0-2.36.0/./gio/gdbusconnection.c:5339
        simple = 0x7f89b89c3d50
        connection = <optimized out>
        state = 0x7f89a400a130
        error = 0x0
        reply = 0x7f89b8a4cf20
#9  0x00007f89b40711d7 in g_simple_async_result_complete (simple=0x7f89b89b9800) at /build/buildd/glib2.0-2.36.0/./gio/gsimpleasyncresult.c:777
        current_source = 0x7f89a40e6e50
        current_context = 0x0
        __PRETTY_FUNCTION__ = "g_simple_async_result_complete"
#10 0x00007f89b40712d9 in complete_in_idle_cb (data=<optimized out>) at /build/buildd/glib2.0-2.36.0/./gio/gsimpleasyncresult.c:789
        simple = <optimized out>
#11 0x00007f89b3afdf05 in g_main_dispatch (context=0x7f89b87993c0) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3054
        dispatch = 0x7f89b3afaca0 <g_idle_dispatch>
        was_in_call = 0
        user_data = 0x7f89b89b9800
        callback = 0x7f89b40712d0 <complete_in_idle_cb>
        cb_funcs = 0x7f89b3dafa00 <g_source_callback_funcs>
        cb_data = 0x7f89a40e8530
        current_source_link = {data = 0x7f89a40e6e50, next = 0x0}
        need_destroy = <optimized out>
        source = 0x7f89a40e6e50
        current = 0x7f89b87bcb40
        i = <optimized out>
#12 g_main_context_dispatch (context=context@entry=0x7f89b87993c0) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3630
No locals.
#13 0x00007f89b3afe248 in g_main_context_iterate (context=0x7f89b87993c0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3701
        max_priority = 0
        timeout = 0
        some_ready = 1
        allocated_nfds = <optimized out>
        fds = 0x7f89b8a3e010
        nfds = <optimized out>
#14 0x00007f89b3afe6ba in g_main_loop_run (loop=0x7f89b8a3dd20) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3895
        __PRETTY_FUNCTION__ = "g_main_loop_run"
#15 0x00007f89b595dfe7 in IA__gtk_main () at /build/buildd/gtk+2.0-2.24.17/gtk/gtkmain.c:1271
        tmp_list = 0x0
        functions = 0x0
        init = <optimized out>
        loop = 0x7f89b8a3dd20
#16 0x00007f89b6f4ba45 in main ()
No symbol table info available.
Comment 1 Harald Judt editbugs 2015-02-21 12:01:32 CET
I remember suffering from that too. This may be a gtk or glib problem. Try to fix it by updating them to more recent versions, reopen if it still exists. Closing invalid because of a configuration problem.

Bug #10341

Reported by:
Forest
Reported on: 2013-09-06
Last modified on: 2015-02-21

People

Assignee:
Jannis Pohlmann
CC List:
2 users

Version

Attachments

Additional information