! 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_mutex_lock()


Description LAZA 2019-03-21 13:32:09 CET
Created attachment 8349 
journalctl crash report

Thunar is crashing permanently and reproducible on one drive:

Comment 1 alexxcons editbugs 2019-03-22 14:21:33 CET
Same as for Bug #15212. Please provide a backtrace with debug symbols, and/or some more details on the use case .. what exactly you were doing in Thunar while it crashed ? Which view is used ? Which side-pane ?
Comment 2 LAZA 2019-03-22 18:24:58 CET
I was searching for a file which contains a number at the beginning. 

- detailled view
- tree
- tool style (?)
Comment 3 Theo Linkspfeifer editbugs 2020-03-08 01:00:22 CET
Launchpad report with proper backtrace:
Comment 4 Theo Linkspfeifer editbugs 2020-04-24 16:51:43 CEST
Created attachment 9788 
test diff

With this change I get the crash when browsing a folder with image files.
Comment 5 Andre Miranda editbugs 2020-04-25 21:16:07 CEST
(In reply to Theo Linkspfeifer from comment #4)
> Created attachment 9788 
> test diff
> With this change I get the crash when browsing a folder with image files.

It seems like thumbnailer gets free'd before thunar_thumbnailer_queue_async_reply is run.
However I don't think that's a valid reproducer and we can't just return if thumbnailer is NULL.
It would be much better if you (or OP) could find a reliable way to reproduce the crash.
Comment 6 Theo Linkspfeifer editbugs 2020-04-26 11:47:51 CEST
I found a similar occurrence of this bug:

#0  0x00007f876295cce9 in g_mutex_lock (mutex=mutex@entry=0x40) at ../glib/gthread-posix.c:1354
        _g_boolean_var_ = <optimized out>
#1  0x00007f8761210ba5 in xfconf_cache_set_property_reply_handler (proxy=0x5639b6ad6bb0 [GDBusProxy], res=0x5639b6aa68f0, user_data=user_data@entry=0x7f8754017c10) at xfconf-cache.c:608
        cache = 0x0
        old_item = 0x7f8754017c10
        item = <optimized out>
        error = 0x0
        result = <optimized out>

Source: https://bugzilla.redhat.com/show_bug.cgi?id=1722851
Comment 7 Theo Linkspfeifer editbugs 2020-04-26 23:10:14 CEST
Other variant of the Thunar crash:

#0  0x00007fe6d3f996ba in g_type_check_instance_cast (type_instance=0x1, iface_type=94349881536000) at ../gobject/gtype.c:4050
No locals.
#1  0x000055cf8acd997a in thunar_thumbnailer_queue_async_reply (proxy=0x55cf8b066950, res=0x55cf8b44e990, user_data=user_data@entry=0x55cf8b057e60) at thunar-thumbnailer.c:340
        job = 0x55cf8b057e60
        thumbnailer = <optimized out>
        error = 0x0
        handle = 32742

Source: https://bugzilla.redhat.com/show_bug.cgi?id=1748063
Comment 8 Git Bot editbugs 2020-05-26 23:42:24 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/thunar/-/issues/238.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #15211

Reported by:
Reported on: 2019-03-21
Last modified on: 2020-05-26


Xfce Bug Triage
CC List:
5 users



journalctl crash report (7.15 KB, text/plain)
2019-03-21 13:32 CET , LAZA
no flags
test diff (484 bytes, patch)
2020-04-24 16:51 CEST , Theo Linkspfeifer
no flags

Additional information