LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   floating point error, processes killed by SIGFPE (https://www.linuxquestions.org/questions/slackware-14/floating-point-error-processes-killed-by-sigfpe-695307/)

tdos20 01-06-2009 06:26 AM

floating point error, processes killed by SIGFPE [SOLVED]
 
I'm pretty sure this isn't slackware specific but I'm hoping someone can help, I have problems starting many programs in my 12.1 install. I've attached the output of strace for some of them, the problem is the harddrive is blocking when it shouldn't be, the part of the strace which leads me to that conclusion is:
Code:

-1 EAGAIN (Resource temporarily unavailable)
I was hoping someone had a clue what might be causing this - I've tried reinstalling qt4 and some other software, also tried recompiling my kernel with various different configs but still no joy. This is the strace for amarok:
http://www.tdos.co.uk/straceamarok.txt
and for smplayer:
http://www.tdos.co.uk/stracesmplayer.txt
and for amdcccle:
http://www.tdos.co.uk/straceamdcccle.txt
finally qtconfig
http://www.tdos.co.uk/straceqtconfig.txt
Other things such as firefox work fine, really any hints or even sensible guesses would be a help at this point - I'm v close to a reinstall.
Thanks
Toby
More info - Having had a look I'm pretty certain its something to do with:
Code:

socket(PF_FILE, SOCK_STREAM, 0)        = 3
connect(3, {sa_family=AF_FILE, path="/tmp/.X11-unix/X0"}, 110) = 0
getpeername(3, {sa_family=AF_FILE, path="/tmp/.X11-unix/X0"}, [20]) = 0

as this is always the resource which is unavailable:
Code:

read(3, "\1\0d\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096) = 32
read(3, 0x8f0e970, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
--- SIGFPE (Floating point exception) @ 0 (0) ---
+++ killed by SIGFPE +++

still not sure why

H_TeXMeX_H 01-06-2009 06:44 AM

Slackware 12.1 comes with qt3 and kde3. I'm assuming you installed qt4 yourself, but where ? From the straces, it looks like some of the programs are looking for qt3, some for qt4 and finding neither. How did you install there programs ? yourself or using a Slackbuild ?

tdos20 01-06-2009 06:46 AM

Thanks for the swift response, I installed qt4 from source to try and fix the problem, the others are slackbuild - I should also let you know I'm running gnome 2.24, but I'm now back to thinking its a dodgy kernel config as this looks like a socket issue.
qt4 in installed in its default /usr/local/Trolltech directory and then symlinked to opt.
I don't believe its a qt3 issue as the amdcccle strace makes no mention of the qt libs but does have the same issue. I tried deleting the contents of /tmp but that has made no difference. I know there are kernel options for sockets but I think mine are ok - the internet works fine and I have a loopback address.

tdos20 01-06-2009 12:30 PM

ok I have some more news on this one - its something to do with fglrx - the proprietary ati driver, when I switched to a vesa config it went away.

H_TeXMeX_H 01-06-2009 12:52 PM

That's interesting that fglrx might cause it.

I would like to clear something up. So, this is a stock install of 12.1, and this happened even before you installed qt4 ?

It might have something to do with the filesystem if you use ext3, at least that's what it says when I google it.

tdos20 01-06-2009 01:25 PM

http://www.thinkwiki.org/wiki/Proble...various_X_apps
ok I found out the problem - the ati driver doesn't use the screens geometry in the xorg.conf - so some apps were looking for it and coming up with 0 > floating point exception, I just had to add the geometry to the xorg.conf and it works! easier than a reinstall I guess - still took 6 hours or so to find that! thanks for your help texmex, hopefully the next victim will find this post and save themselves a day or so


All times are GMT -5. The time now is 07:29 AM.