gkrellm crashes upon start with "floating point exception"

Bug #329330 reported by Jan Rüegg
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gkrellm (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: gkrellm

I have no idea what changed, but since the last boot, gkrellm crashes upon starting with the message:

"gkrellm floating point exception: (initializing)" in the console and in a xmessage window.

strangely, starting it with "gkrellm --demo" works fine.

With debugging output:

jan@MacBuntu:~$ gkrellm -d 3
--- GKrellM 2.3.1 ---
diskstats=1 partition_stats=0 sysfs_stats=0
gkrellm floating point exception: (initializing)
Aborted

I'm using a 64-bit Ubuntu 8.10 with backports enabled.

Revision history for this message
Richard Cavell (richardcavell) wrote :

I confirm this bug. I'm running 640bit 9.10 alpha 3. I've used gkrellm for ages on Jaunty and after upgrading to Karmic, it started doing this. I confirm that gkrellm --demo works for me. I'm also on a MacBook.

Revision history for this message
Richard Cavell (richardcavell) wrote :

I meant to say 64-bit, of course.

Revision history for this message
Moræus (moraus) wrote :

I had this problem, and solved it by making sure I was getting measurements from the battery. I think there is an issue with gkrellm when battery status is zero. This was on a macbookPro 2.2, and by resetting the power management in hardware, gkrellm fired up normally. To reset the pwr mgn: shut down -> remove battery and power cable -> press and hold the pwr button for 5 seconds.

Revision history for this message
vontrapp (von-fugal) wrote :

I can confirm it's a battery problem. The floating point exception is a divide by zero when the total battery charge is 0 (current charge / total charge). Here is a patch that fixes it.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.