! 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 crashed with SIGSEGV in g_main_context_dispatch() when deleting files
Status:
RESOLVED: FIXED

Comments

Description charlie-tca 2010-02-10 17:29:20 CET
Created attachment 2844 
Reporters .xsession-errors log

This bug was reported to Ubuntu Launchpad as:
https://bugs.launchpad.net/bugs/519219

appened when i deleted two files, after previously deleted one file in the same folder. When i restarted Thunar the 2 files were deleted.

This error occurs for second time, though i have no idea how to reproduce it.

ProblemType: Crash
Architecture: amd64
CrashCounter: 1
Date: Tue Feb  9 11:52:31 2010
DistroRelease: Ubuntu 10.04
ExecutablePath: /usr/bin/Thunar
InstallationMedia: Xubuntu 10.04 "Lucid Lynx" - Alpha amd64 (20100113)
NonfreeKernelModules: nvidia
Package: thunar 1.0.1-2ubuntu4
ProcCmdline: Thunar --daemon
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-12.17-generic
SegvAnalysis:
 Segfault happened at: 0x7f094bc83599:	mov    (%rbx),%rdx
 PC (0x7f094bc83599) ok
 source "(%rbx)" (0x00000000) not located in a known VMA region (needed readable region)!
 destination "%rdx" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: thunar
StacktraceTop:
 ?? () from /usr/lib/libthunar-vfs-1.so.2
 g_main_context_dispatch ()
 ?? () from /lib/libglib-2.0.so.0
 g_main_loop_run () from /lib/libglib-2.0.so.0
 gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
Title: Thunar crashed with SIGSEGV in g_main_context_dispatch()
Uname: Linux 2.6.32-12-generic x86_64
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
Comment 1 charlie-tca 2010-02-10 17:30:42 CET
Created attachment 2845 
reporter s stracktrace
Comment 2 Giacomo Ferrari 2012-11-18 06:26:38 CET
+1 here, except I crash further down, in gtk_tray_icon_manager_filter. Attaching gdb log showing some details. Also attaching core dump.

I don't have a solid repro down... all I know is that this happens almost exclusively when I'm deleting stuff from my video archives (= most files have thumbnails, and are either JPG or MOV). I can get a 100% repro from a certain set of personal files, so it's not random AFAICT.
Comment 3 Giacomo Ferrari 2012-11-18 06:27:29 CET
Created attachment 4739 
gferrari's debug log
Comment 4 Giacomo Ferrari 2012-11-18 06:28:10 CET
Created attachment 4740 
gferrari's core dump
Comment 5 Giacomo Ferrari 2012-11-18 06:33:42 CET
Shoot, forgot some vital stats: Gentoo/x64. Thunar 1.4.0, built from source. Using gtk 2.24.12 (also have 3.4.4 installed).
Comment 6 Nick Schermer editbugs 2012-11-18 19:29:48 CET
I'm pretty sure this is a bug in other software, because it also suddenly appears on my pc's. What glib versions do you guys have?
Comment 7 Giacomo Ferrari 2012-11-18 21:32:45 CET
Nick- 2.32.4
Comment 8 Nick Schermer editbugs 2012-11-21 09:22:49 CET
Probably caused by this bug-fix: https://bugzilla.gnome.org/show_bug.cgi?id=646957

I think I can work around it in exo by manually implementing g_simple_async_result_complete_in_idle + g_simple_async_result_complete since the proper thread handling for this is in Thunar.
Comment 9 Nick Schermer editbugs 2012-11-21 20:54:05 CET
Fixed in c266471.

Bug #6222

Reported by:
charlie-tca
Reported on: 2010-02-10
Last modified on: 2012-11-21

People

Assignee:
Nick Schermer
CC List:
4 users

Version

Attachments

Reporters .xsession-errors log (3.14 KB, text/plain)
2010-02-10 17:29 CET , charlie-tca
no flags
reporter s stracktrace (1.05 KB, text/plain)
2010-02-10 17:30 CET , charlie-tca
no flags
gferrari's debug log (6.66 KB, text/plain)
2012-11-18 06:27 CET , Giacomo Ferrari
no flags
gferrari's core dump (9.43 MB, application/x-xz)
2012-11-18 06:28 CET , Giacomo Ferrari
no flags

Additional information