Whatpulse 2.1.1 often crashes on Ubuntu

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.

I was going to suggest upgrading to the beta version, but sadly it seems that the most recent versions are only available on Windows and OSX and a linux version has not yet been added. I believe the beta for 2.2 is almost coming to an end however as the latest beta has not had any issues at all that I can find, meaning a 2.2 release is imminent at which time I expect a Linux version will become available for you to upgrade to, hopefully solving your problem.

Hmm, too bad. It’s really strange, I had nearly no problems with the Whatpulse 2.0.x series, but since then it became worse.
To give you an idea, I just wrote a script that restarts whatpulse the moment it crashes. Whatpulse already restarted at: 13:20, 13:41, 13:51, 14:01, 14:11, 14:36, 14:46 and 15:11 GMT+1 (older than that I cannot see since it’s out of my terminal history). The last hour however, no crash occured (weird).

That is a lot of restarts, but it is hard to see exactly what is causing it. It may be worth locating a less recent version somewhere and using that as a stable version for now until the new version is available after the beta has ended.

No such problem here, MSI Z68A-G45 - Intel i5-2400 - DDR3 2x2GB 1600MHz - GeForce GTS450 Palit - WD 1TB 64MB SATA - Win7 Pro/64 SP1 / Saucy Xfce AMD64 (and it was - mostly - fine on Raring and Quantal, too)

Edit: 2.2 is out and it’s finally counting traffic on my network adapter, w00t!

WhatPulse 2.2.1 solved my problem(s). WhatPulse is running smooth again.