Re: gkrellm: Floating point exception during startup

"Malte J. Wetz" <[email protected]>
Newsgroups gmane.comp.gnome.apps.gkrellm
Message-ID <[email protected]>
Bill Wilson schrieb:
> On Sun, 22 Feb 2009 11:04:33 +0100
> "Malte J. Wetz" <[email protected]> wrote:
> 
>> I was using gkrellm on my new netbook (Lenovo Ideapad S10) for a few
>> days without problems but lately, it refuses to start and instead
>> displays a xmessage:
>>
>> 	gkrellm floating point exception: (initializing)
>>
 >
> It would help if you can get a stack trace from a gkrellm compiled with debugging
> symbols. 

Thanks for your answer. I downloaded gkrellm-2.3.2 and built it from 
source according to your description.

Here's the log from my gdb session:


<---------------- snip ----------------->
(gdb) run
Starting program: /home/mjw/downloads/gkrellm-2.3.2/src/gkrellm
[Thread debugging using libthread_db enabled]
[New Thread 0xb754b700 (LWP 10348)]

Program received signal SIGFPE, Arithmetic exception.
[Switching to Thread 0xb754b700 (LWP 10348)]
0x080c1ee1 in __udivdi3 ()
Current language:  auto; currently asm
(gdb) bt full
#0  0x080c1ee1 in __udivdi3 ()
No locals.
#1  0x080ba62b in gkrellm_sys_battery_read_data () at sysdeps/linux.c:1876
         list = (GList *) 0x8222900
#2  0x08063c7d in gkrellm_init_battery_monitor () at battery.c:1295
No locals.
#3  0x0805e07d in main (argc=Cannot access memory at address 0x0
) at main.c:1961
         i = <value optimized out>
         s = (gchar *) 0xb78a8979 "\201{\003"
(gdb) quit
<---------------- snap ----------------->

Hope it helps.

Greetings,
   Malte

______________________________________________
Gkrellm mailing list
[email protected]
Read archives-join-leave-set RSS feed:
http://archive.lists.netservicesgroup.com
This service is provided by The Network Services Group:
http://www.netservicesgroup.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.