[Xfce-bugs] [Bug 14509] Thunar dumps core SEGV when user logs out of xfce session while file manager window is open

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Thu Oct 11 23:16:22 CEST 2018


https://bugzilla.xfce.org/show_bug.cgi?id=14509

--- Comment #15 from alexxcons <alexxcons at xfce.org> ---
Finally I can reproduce the bug .. but I need to do some hacks for that, and I
dont know yet if it tells me something at all.

- It is possible to pass "--sm-client-id=<something>" to thunar to restore a
session
- When nothing is passed, a new session is created in $HOME/.cache/sessions,
named Thunar-<SomeHExNumber>. This file will be removed when thunar is closed.

So here what I did:
- copy the session file to "Thunar-debug.session" so that it will not be
removed on close
- pass some random session id into the argument "--sm-client-id" (no idea how
to find a sane value)
- hard-code path of "Thunar-debug.session" into "thunar_session_client_restore"
, so that it will be used instead of whatever
--> This will result in the same backtrace

I first should get a better understanding of session-id management   ... will
further debug when I find time.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Xfce-bugs mailing list