-
Notifications
You must be signed in to change notification settings - Fork 217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kde4systrayicon crashing on USB device plugging #132
Comments
(by germar) |
(by mauromol) Now I've applied your latest patch in comment #1 and this evening I could attach the USB device and see BIT tray icon + backup process start without any crash! Well done! |
(by germar) |
(by mauromol) Here is the new backtrace: |
(by germar) Please add this patch, too (keep the old one). This should catch the exception and exit the Systray Icon cleanly instead. Please monitor your /var/log/syslog for this string in the next days: This should give a more meaningful response of the error. |
(by mauromol) Please note this: when I connect the USB device, BIT is triggered (I know because the tray icon crashes!), but the filesystem is not yet mounted (it should mount automatically, but I don't know why this does not always work, at least with BTRFS disks). Could be this the problem (i.e.: BIT fails to do something because the device is plugged in but the target filesystem is not yet available)? |
(by germar) Do you mean the meassage "Can't find snapshots folder. If it is on a removable drive please plug it."? Which BIT version do you use right now? Please upgrade to 1.0.38 from PPA as I changed take_snapshot to always wait for the HDD to come up in that version (it could have failed before). Don't forget to apply the patches again after upgrading. |
(by mauromol) |
(by germar) I assume it crashes because KApplication is trying to use DBus session bus but couldn't connect to. In 1.1 series I recently found out, that the session bus is already initialised during first import of any dependency which it self imports dbus library. But as the environ variable 'DBUS_SESSION_BUS_ADDRESS' is not set in that early state it will fail and won't work in the whole process. During writing this lines I realised that the last patch will also not solve the issue :-D Forget about the last patch and try this one instead please. |
(by germar) But that also mean again that kde4systrayicon4.diff does not help :-( But the good news is, I now have something to play with. |
(by mauromol) |
(by germar) 1.1.0 is not finished yet but it is running stable. You can install it from ppa:bit-team/testing I'd really like to go on to finish 1.1.0 instead of duck-taping 1.0.38 ;-) Regards, |
(by mauromol) |
(by caco3) |
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://pastebin.ubuntu.com/8575852/
This issue was originally discussed as part of: https://answers.launchpad.net/backintime/+question/254140 (see from comment #7 on).
Things tried so far:
python
sudo -H python
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.
Imported from Launchpad using lp2gh.
The text was updated successfully, but these errors were encountered: