You are not logged in.

#1 2015-06-18 03:50:19

Cromulent
Member
From: United Kingdom
Registered: 2011-08-28
Posts: 52
Website

Thunar and LibreOffice crash on open (no errors shown in journalctl)

My system is completely up to date. I'm running XFCE with a custom theme. I'm not sure if that is the problem.

Basically when I try and open Thunar and LibreOffice it closes all the open applications and kicks me out to the login screen (using lightdm with the gtk2 greeter IIRC).

I'm stumped about this. I can't find any errors in journalctl at all.

The thing is this system has been running well for ages and it is only recently that I have started having problems. I've been able to use Thunar and LibreOffice in the past just fine. The problems started reasonably recently and I can't work out when the problems started.

Can anyone offer any advice on how to debug this problem please? Thanks.

Offline

#2 2015-06-18 07:02:29

mpan
Member
Registered: 2012-08-01
Posts: 1,680
Website

Re: Thunar and LibreOffice crash on open (no errors shown in journalctl)

Post ~/.xsession-errors contents. Preferably just after starting a system to avoid unneccessary clutter and leaking your private data.

Last edited by mpan (2015-06-18 07:03:43)

Offline

#3 2015-06-18 07:15:09

Cromulent
Member
From: United Kingdom
Registered: 2011-08-28
Posts: 52
Website

Re: Thunar and LibreOffice crash on open (no errors shown in journalctl)

mpan wrote:

Post ~/.xsession-errors contents. Preferably just after starting a system to avoid unneccessary clutter and leaking your private data.

Thanks for the response. I deleted my old xsession-errors file and restarted Thunar to see what it dumped when it crashed and this is what I've got (yeah I know I need to fix the Dropbox thing as well - I'll get around to that once I've fixed this issue).

Here is the output:

/home/<user>/.xprofile: line 1: dropboxd: command not found
gpg-agent: a gpg-agent is already running - not starting a new one

(xfce4-session:11794): xfce4-session-WARNING **: gpg-agent returned no PID in the variables

(polkit-gnome-authentication-agent-1:11904): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:2769:41: Expected a valid selector
"sni-qt/11903" WARN  08:12:15.345 void StatusNotifierItemFactory::connectToSnw() Invalid interface to SNW_SERVICE 

Last edited by Cromulent (2015-06-18 07:15:22)

Offline

#4 2015-06-18 07:36:33

mpan
Member
Registered: 2012-08-01
Posts: 1,680
Website

Re: Thunar and LibreOffice crash on open (no errors shown in journalctl)

(no need to quote a message just above your own until you're planning to quote just a part of it and refer to that part)

I've emphasized a part of my sentence for a good reason. Deleting your ~/.xsession-errors when something uses it will not do what you're expecting it to do. This just removes a name from the filesystem, but does not remove the file itself and does not close a descriptor used by applications to write to the file. So restart the system, optionally¹ remove the file and only after that start X, your desktop environment etc. and start Thunar or LibreOffice. If you can't restart the system because you don't want to interrupt some service, at least make sure X is no longer running.

Alternatively you may just run Thunar or LibO from terminal and see what it prints. Maybe it will give you some clue. Redirecting the output to some file may be a good idea, since if everything crashes, you'll not see the output anyway. But if the effect is that whole DE goes down, then the error message will most probably go from something higher in process tree and you'll not see it in the terminal.
____
¹ The way redirection is made in most cases causes ~/.xsession-errors to be trimmed anyway, hence the step is optional. Just make sure it's fresh and doesn't contain your private data from previous session.

Offline

#5 2015-06-18 11:33:26

Cromulent
Member
From: United Kingdom
Registered: 2011-08-28
Posts: 52
Website

Re: Thunar and LibreOffice crash on open (no errors shown in journalctl)

OK. Removed both .xsession-errors and xsession-errors.old and restarted the system and this is what I get.

~/.xsession-errors

/home/<user>/.xprofile: line 1: dropboxd: command not found
gpg-agent: a gpg-agent is already running - not starting a new one

(xfce4-session:1125): xfce4-session-WARNING **: gpg-agent returned no PID in the variables

(polkit-gnome-authentication-agent-1:1234): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:2769:41: Expected a valid selector
"sni-qt/1233" WARN  12:29:08.225 void StatusNotifierItemFactory::connectToSnw() Invalid interface to SNW_SERVICE 

~/.xsession-errors.old

/home/<user>/.xprofile: line 1: dropboxd: command not found

(xfce4-session:767): xfce4-session-WARNING **: gpg-agent returned no PID in the variables

(polkit-gnome-authentication-agent-1:907): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:2769:41: Expected a valid selector
"sni-qt/903" WARN  12:28:22.049 void StatusNotifierItemFactory::connectToSnw() Invalid interface to SNW_SERVICE 
xfwm4: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
Thunar: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
xfce4-session: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
xfsettingsd: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
xfce4-panel: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
SpiderOak: Fatal IO error: client killed
wrapper-1.0: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
wrapper-1.0: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.

(polkit-gnome-authentication-agent-1:907): Gdk-WARNING **: polkit-gnome-authentication-agent-1: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.

wrapper-1.0: Fatal IO error 104 (Connection reset by peer) on X server :0.0.
wrapper-1.0: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.

Edit:

No output (even when redirecting to a file) when run from the command line (either Thunar or LibreOffice).

Last edited by Cromulent (2015-06-18 11:35:44)

Offline

#6 2015-06-18 12:18:30

mpan
Member
Registered: 2012-08-01
Posts: 1,680
Website

Re: Thunar and LibreOffice crash on open (no errors shown in journalctl)

Suprisingly it's ~/.xsession-errors.old which contains the errors. A bit bizarre, but let's ignore that.

What's clear is that your xorg dies — hence apps can't talk to it and flood stderr with "Fatal IO error…" messages. So the next question: what's in /var/log/Xorg.0.log just after crashing? Since it seems something has started a new ~/.xsession-errors, possibly the same happened to xorg log, so you may also want to check /var/log/Xorg.0.log.old.

Offline

#7 2015-06-20 07:56:34

Cromulent
Member
From: United Kingdom
Registered: 2011-08-28
Posts: 52
Website

Re: Thunar and LibreOffice crash on open (no errors shown in journalctl)

I've read through /var/log/Xorg.0.log and /var/log/X.org.0.old but don't see anything that looks like a major issue. The file is quite long making it hard to post here. Can you give me a clue about what I should be grepping for in the file and then I can post that?

Offline

#8 2015-07-07 22:39:22

ms
Member
From: Bandung, Indonesia
Registered: 2010-07-28
Posts: 88
Website

Re: Thunar and LibreOffice crash on open (no errors shown in journalctl)

I have the same problem. Did you have AMD graphic card too using ATI open source driver?

Last edited by ms (2015-07-07 22:39:56)

Offline

Board footer

Powered by FluxBB