Hi, Whatpulse is crashing several times/day and I have no clue which event is at the base of it. I reported another issue a while ago where, when switching network adapter (wired to wireless for example) or disconnecting Whatpulse would crash.
Now I noticed that it crashes on other times of the day too. When running through a terminal, I noticed the following exception in the logs:
Application crashed with signal 11!
0 [/home/dimitri/whatpulse/whatpulse(_ZN11Application14backupFinishedEv+0x36) [0x483a16]]
1 [/home/dimitri/whatpulse/whatpulse() [0x59b975]]
2 [/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN11QMetaObject8activateEP7QObjectPKS_iPPv+0x2b1) [0x7fd3d87ed281]]
3 [/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN18QFutureWatcherBase5eventEP6QEvent+0x87) [0x7fd3d86ca2f7]]
4 [/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0xb4) [0x7fd3d9048894]]
5 [/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x113) [0x7fd3d904d713]]
6 [/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0x8c) [0x7fd3d87d8e9c]]
7 [/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData+0x46a) [0x7fd3d87dcc6a]]
Aborted (core dumped)
I have no clue what this means (looks very cryptic), but I also noticed the following error message when starting up Whatpulse:
Error opening file for reading: Permission denied
02-09-2013 13:03:13.150 WARN Failed to open: "/sys/class/net/vmnet1/device/vendor" or "/sys/class/net/vmnet1/device/device"
I have no idea if these are related or not.
The crashes are really annoying, since Whatpulse doesn’t run most of the day (unless I notice it crashed) so almost none of my stats are being tracked.
Lol! While writing this message Whatpulse crashed again, now I had this message (there was no stacktrace, weird):02-09-2013 13:03:12.669 DEBUG WhatPulse has started
Error opening file for reading: Permission denied
02-09-2013 13:03:13.150 WARN Failed to open: "/sys/class/net/vmnet1/device/vendor" or "/sys/class/net/vmnet1/device/device"
02-09-2013 13:03:22.781 WARN Unable to find videocard in our database with vendor "10DE" , device "0DF4" and subsys "104D9089"
02-09-2013 13:03:22.836 WARN QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout
02-09-2013 13:04:25.771 WARN QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout
02-09-2013 13:08:12.142 DEBUG Starting backup of database to: "/home/dimitri/.local/share/data/WhatPulse/whatpulse.db.backup"
02-09-2013 13:13:12.142 DEBUG Created database backup in 300000 ms
Application crashed with signal 11!
0 [[0xcabf4a]]
Aborted (core dumped)
I found nothing better than to write a script which loops execution infinitly so when one instance crashes another one pops up.