kde4systrayicon crashing on USB device plugging
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Back In Time |
Fix Released
|
Medium
|
Germar |
Bug Description
I have a BTRFS multi-volume (two partitions) file system on the same hard drive connected to the system through a USB docking station. This file system is used as the target device for backups. Backups are scheduled to be run at most once per day when the device is plugged in.
Often (not always) BIT systray icon crashes as soon as I plug in the USB device. Backups are started successfully though.
Here is the last backtrace I took, after installing the debug symbols my Linux Mint 17 (based on Ubuntu 14.04) could retrieve:
http://
This issue was originally discussed as part of: https:/
Things tried so far:
- apparently no useful output on /var/log/syslog when the crash occurs (comment #11 on the other discussion)
- seems not to be bug #1332126. (I'm still experiencing this in 1.0.38 - see comment #11 on the other dicussion)
- tried the following:
# python
>>> import os, sys, subprocess
>>> cmd = [ sys.executable, '/usr/share/
>>> p = subprocess.Popen( cmd, env = {'HOME': os.environ['HOME']} )
>>> Fontconfig warning: "/etc/fonts/
INFO: [kde4systrayicon] begin loop
>>>p.terminate()
# sudo -H python
>>> import os, sys, subprocess
>>> cmd = [ sys.executable, '/usr/share/
>>> p = subprocess.Popen( cmd, env = {'HOME': os.environ['HOME']} )
>>> No protocol specified
kde4systrayicon.py: cannot connect to X server :0.0
>>> p.terminate()
Additional information:
My configuration is particular: the use of two volumes for the same BTRFS file system caused the issue described in question #254140, which was fixed only after applying your patch mentioned in comment #17 of that question.
I have to try again to see if the crash occurs after applying that patch, because I'm not sure the last time it occurred was before or after having applied that patch. I will let you know.
Also, it might be useful to know that I have two different profiles (one for my normal user, "mauro", and one for root) both scheduled to be executed on USB device connection, both writing to that BTRFS volume (on different target folders, of course). I don't know if they may interfere with each on other and cause the KDE systray icon to crash.
The problem does not happen always, but most of the times.
Changed in backintime: | |
status: | Fix Committed → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → Germar (germar) |
Changed in backintime: | |
milestone: | 1.0.40 → 1.1.0 |
status: | In Progress → Fix Committed |
Changed in backintime: | |
status: | Fix Committed → Fix Released |
Please try out the attached patch with 'sudo patch /usr/share/ backintime/ kde4/kde4systra yicon.py < kde4systrayicon .diff'