! 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 when the tray icon has been displayed with awesome WM
Status:
RESOLVED: INVALID

Comments

Description bob 2014-07-22 14:44:57 CEST
The bug was first described in:
https://bugzilla.redhat.com/show_bug.cgi?id=986868
Then reported to the awesomeWM maintainers:


When using Awesome window manager (confirmed in version 3.5.5), Thunar crashes if an operation showing the systray icon has been done before. It seems Thunar is trying to access some information from the tray icon whereas it does not exist anymore.

Procedure to reproduce the bug:

1) run awesome as your window manager
2) open Thunar
3) open new tab in Thunar with Ctrl-T
4) do some copying operation that displays the "File Operation Progress" popup and a tray icon (this is required, the bug doesn't appear when the operation is quick and without the popup/tray icon)
5) wait for the operation to finish or just cancel it
6) try switching to the other Thunar tab - crash should happen 

Thunar also crashes when we try to open a menu or to copy files.
Comment 1 bob 2014-12-12 13:57:07 CET
Any advancement on this bug?

Regards
Comment 2 Harald Judt editbugs 2015-04-17 20:57:53 CEST
*** Bug 9960 has been marked as a duplicate of this bug. ***
Comment 3 Harald Judt editbugs 2015-04-17 21:07:31 CEST
*** Bug 9821 has been marked as a duplicate of this bug. ***
Comment 4 David Mohr 2015-06-23 20:21:47 CEST
Created attachment 6332 
gdb backtrace
Comment 5 David Mohr 2015-06-23 20:22:27 CEST
I think I can confirm this issue. Also with awesome, but I couldn't reproduce the bug as described below. What I did was (may not be minimal):

1) go to my music, copy a folder
2) go to my sd card, paste it
3) go back to the previous folder, copy another folder
4) back to my sd card, paste it
5) delete some other folder
6) crash

I've had this several times now, and I think it has only when deleting an item.
Comment 6 David Mohr 2015-06-23 20:27:46 CEST
Yeah, I have to copy twice, otherwise it doesn't crash. This is with thunar 1.6.10 on Debian sid (xfce 4.12).
Comment 7 David Mohr 2015-06-23 20:28:23 CEST
Created attachment 6333 
gdb thread apply all bt
Comment 8 David Mohr 2015-07-28 00:08:50 CEST
Created attachment 6400 
valgrind log

valgrind log showing invalid reads
Comment 9 Hugo Chargois 2015-08-11 14:16:44 CEST
Upstream bug, including patch: https://bugzilla.gnome.org/show_bug.cgi?id=747280
Comment 10 David Mohr 2015-08-11 19:02:42 CEST
Awesome, thanks for the notice Hugo! I will test and reply upstream.
Comment 11 alexxcons editbugs 2018-02-01 13:23:58 CET
Cannot do much here, still waiting for the bug in gtk2 to be fixed. Thanks for the link Hugo!

Does this bug still happen for gtk3 applications ?  Thunar master got ported to gtk3 ( dev. release 1.7.0 features as well gtk3 )
Comment 12 Andre Miranda editbugs 2018-11-20 02:23:11 CET
Please try thunar 1.8.0+ which is gtk3-based.
Let us know if this bug is still valid (and reopen).

Bug #11035

Reported by:
bob
Reported on: 2014-07-22
Last modified on: 2018-11-20
Duplicates (2):
  • 9821 Crash with shift+delete in gtkstatusicon backend
  • 9960 Segmentation fault in libgtk-x11

People

Assignee:
Jannis Pohlmann
CC List:
8 users

Version

Attachments

gdb backtrace (26.86 KB, application/octet-stream)
2015-06-23 20:21 CEST , David Mohr
no flags
gdb thread apply all bt (15.04 KB, application/octet-stream)
2015-06-23 20:28 CEST , David Mohr
no flags
valgrind log (20.03 KB, text/plain)
2015-07-28 00:08 CEST , David Mohr
no flags

Additional information