Thread: [Idesk-users] floating point exception
Status: Beta
Brought to you by:
aavelar
From: niels v. h. <kr...@us...> - 2004-01-12 15:07:38
|
hi, i'm fairly new to idesk, but i can already say it's a great addition to my windowmanager (kahakai). i've encountered an error from time to time however. i use some icons to control xmms playback (forward, rewind, .. the basics) but sometimes i get a floating point exception after pressing one of those icons, after which idesk exits. can somebody tell me what's causing this? or is this already a known bug? i'm running Fedora Core 1 (x86) and as mentioned, i'm using kahakai (kahakai.sourceforge.net) as my window manager. i've set idesk to start in my .xsession, before starting up kahakai. regards, -- niels np Insekt - Knock me Down http://soylence.org :: |
From: Tim F. <ti...@ti...> - 2004-01-12 16:15:35
|
Could you tell me what version of idesk you are running? Is this happening to all your icons, or just a few specific ones? Could you post one of the infringing icon files? Tim On Mon, 2004-01-12 at 10:07, niels van hee wrote: > hi, > > i'm fairly new to idesk, but i can already say it's a great addition to > my windowmanager (kahakai). i've encountered an error from time to time > however. i use some icons to control xmms playback (forward, rewind, .. > the basics) but sometimes i get a floating point exception after > pressing one of those icons, after which idesk exits. > > can somebody tell me what's causing this? or is this already a known > bug? i'm running Fedora Core 1 (x86) and as mentioned, i'm using > kahakai (kahakai.sourceforge.net) as my window manager. i've set idesk > to start in my .xsession, before starting up kahakai. > > regards, |
From: niels v. h. <kr...@us...> - 2004-01-12 16:48:27
|
hi, > Could you tell me what version of idesk you are running? Is this > happening to all your icons, or just a few specific ones? Could you post > one of the infringing icon files? the xmms "control" icons are all similar to this: table Icon Caption: Command: xmms -p Icon: /home/niels/.icons/play.png X: 956 Y: 751 end i haven't had this error with the other icons, but i've only got two others (so far), for rebooting and shutting down, so i don't use those that much. and i'm running idesk 0.5.5, made from source. thanks for the soon reply! -- niels np http://soylence.org :: |
From: Thorsten S. <ts...@gm...> - 2004-01-12 22:18:24
|
Hi, * niels van hee <kr...@us...> [2004-01-12 16:07]: | i'm fairly new to idesk, but i can already say it's a great addition to= =20 | my windowmanager (kahakai). i've encountered an error from time to time= =20 | however. i use some icons to control xmms playback (forward, rewind, ..= =20 | the basics) but sometimes i get a floating point exception after=20 | pressing one of those icons, after which idesk exits. |=20 | can somebody tell me what's causing this? or is this already a known=20 | bug? i'm running Fedora Core 1 (x86) and as mentioned, i'm using=20 | kahakai (kahakai.sourceforge.net) as my window manager. i've set idesk= =20 | to start in my .xsession, before starting up kahakai. maybe you can start it under control of gdb (building with debugging code) and then provide backtrace, core file and strace output. I guess this would help, to track down the problem. Bye Thorsten |
From: niels v. h. <kr...@us...> - 2004-01-14 15:15:10
Attachments:
backtrace
|
hello again.. > maybe you can start it under control of gdb (building with debugging > code) and then provide backtrace, core file and strace output. i've done so, and here's the backtrace (attached). i assume i've done it correctly (the backtrace part at least), as i'm not familiar with gdb. if more information is needed, i'd be more than willing to provide it if someone could explain me on how to get it. regards, and thanks for the help .. -- niels np http://soylence.org :: |
From: Tim F. <ti...@ti...> - 2004-01-14 17:37:49
|
Ok, thanks for that. It looks like if you have a SnapWidth or SnapHeight of 0, then you can get this error. Whats happening is that you are modding (the modulus operator something by zero, which causes a divide by 0). Do you have those options set in you config file? Let me know if the problem is fixed by having those options be set to non-zero values. I'll make sure to patch this for next release, if it ever gets finished :(. Tim On Wed, 2004-01-14 at 10:15, niels van hee wrote: > hello again.. > > > maybe you can start it under control of gdb (building with debugging > > code) and then provide backtrace, core file and strace output. > > i've done so, and here's the backtrace (attached). i assume i've done > it correctly (the backtrace part at least), as i'm not familiar with > gdb. if more information is needed, i'd be more than willing to provide > it if someone could explain me on how to get it. > > regards, and thanks for the help .. |
From: niels v. h. <kr...@us...> - 2004-01-15 20:27:10
|
Tim Finley wrote On 01/14/04 18:37: > Ok, thanks for that. It looks like if you have a SnapWidth or SnapHeight > of 0, then you can get this error. Whats happening is that you are > modding (the modulus operator something by zero, which causes a divide > by 0). Do you have those options set in you config file? Let me know if > the problem is fixed by having those options be set to non-zero values. indeed, they both had values of 0. i'll let you know if idesk crashes again with non-nil values! thanks for the help! -- niels np http://soylence.org :: |