PDA

View Full Version : Floating Point Exception



SmilingMarcus
02-11-2005, 02:32 PM
I have been using SEQ for quite a while now, and have been very happy with it and would like to say thanks to all the programmers who make it possible.

I downloaded, compiled and installed the lastest CVS release successfully, but I can not run the program. I also tried the RPMs from http://gibbled.com/seq with the same results. I am running SEQ on an AMD 1.1 ghz computer with 512 MB RAM and Fedora Core 3. Here is what shows up in my terminal when I try to run SEQ:

[root@localhost ~]# showeq
ShowEQ 5.0.0.17, released under the GPL.
SINS 0.5, released under the GPL.
All ShowEQ source code is Copyright (C) 2000-2004 by the respective ShowEQ Developers
ShowEQ comes with NO WARRANTY.

You may redistribute copies of ShowEQ under the terms of
The GNU General Public License.
See: http://www.gnu.org/copyleft/gpl.html for more details...

For updates and information, please visit http://seq.sourceforge.net/
ShowEQ 5.0.0.17, Built from 'main.cpp' on Feb 11 2005 at 14:39:19
CVS: @(#) $Id: main.cpp,v 1.33.6.5 2004/09/24 04:25:53 dohpaz Exp $ $Name: pre_5_0_beta $
Using GCC version: 3.4.2
Using glibc version: 2.3
Using Qt version: 3.3.3
Using headers from linux version: 2.4.20
Using EQItemDB: @(#) $Id: itemdb.cpp,v 1.10.6.4 2004/11/07 23:10:04 dohpaz Exp $ $Name: pre_5_0_beta $
Using GDBM: This is GDBM version 1.8.0, as of May 19, 1999.
Running on Linux release 2.6.10-1.760_FC3 for processor i686

Using config file '/root/.showeq/showeq.xml'
Loaded preferences file: /usr/local/share/showeq/seqdef.xml!
Unable to open file: /root/.showeq/showeq.xml!
Warning: Warning: Unknown payload typename 'utf8' for opcode '4fc1
Info: Listening for first client seen.
Info: Initializing Packet Capture Thread:
Info: Filtering packets on device eth0, searching for EQ client...
Warning: Spells: Failed to open: '/usr/local/share/showeq/spells_us.txt'
Warning: GuildMgr: Could not load guildsfile, /root/.showeq/tmp/guilds2.dat
Debug: ItemDB: Disabled
Info: Loading Filters from '/root/.showeq/filters/global.xml'
Info: Loading Zone Filter File: /root/.showeq/filters/unknown.xml
Info: Loading Zone Filter File: /root/.showeq/filters/unknown.xml
Info: Categories Reloaded
Info: No Map found for zone 'unknown'!
Info: Checked for all variants of 'unknown.map', 'unknown.txt', and 'unknown_1.txt'
Info: in directories '/root/.showeq/maps' and '/usr/local/share/showeq/maps'!
Floating point exception

Any help would be greatly appreciated.

purple
02-11-2005, 04:18 PM
First, put your eqstr_us.txt and spells_us.txt into your /usr/local/share/showeq directly so seq can see them.

Second, I don't think anyone is gonna help you with so little information. I'd go back and rerun configure with --enable-debug, make install, then gdb showeq. When it crashes, type bt and cut and paste what it says in here.

You don't happen to play on test do you?

SmilingMarcus
02-11-2005, 06:24 PM
OK, I did as Purple suggested and here are the results.

Info: Checked for all variants of 'unknown.map', 'unknown.txt', and 'unknown_1.txt'
Info: in directories '/root/.showeq/maps' and '/usr/local/share/showeq/maps'!

Program received signal SIGFPE, Arithmetic exception.
0x050e1042 in QDesktopWidget::availableGeometry () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
(gdb) bt
#0 0x050e1042 in QDesktopWidget::availableGeometry () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#1 0x80052378 in ?? ()
#2 0x000a23a4 in ?? ()
#3 0xb3000000 in ?? ()
#4 0x180518d9 in ?? ()
#5 0x480a3c0f in ?? ()
#6 0x000a3c30 in ?? ()
#7 0x58000000 in ?? ()
#8 0x8abfed3b in ?? ()
#9 0xe0051c5d in ?? ()
#10 0x180a35c8 in ?? ()
#11 0x230a3c0f in ?? ()
#12 0xb00518d9 in ?? ()
#13 0x18055c3f in ?? ()
#14 0xc00a3c0f in ?? ()
#15 0x08bfed3d in ?? ()
#16 0x2bbfed3b in ?? ()
#17 0x180518da in ?? ()
#18 0xc00a3c0f in ?? ()
#19 0xc5bfed3d in ?? ()
#20 0xb0052377 in ?? ()
#21 0xc0055c3f in ?? ()
#22 0x18bfed3d in ?? ()
#23 0x980a3c0f in ?? ()
#24 0x57bfed3b in ?? ()
#25 0x18051c60 in ?? ()
#26 0xc00a3c0f in ?? ()
#27 0x00bfed3d in ?? ()
#28 0x00000000 in ?? ()

SmilingMarcus
02-11-2005, 07:09 PM
Thanks for your help Purple. After looking at the error message and doing some searching on the internet, I upgraded qt, qt-devel and qt-designer from 3.3.3-8 to 3.3.4-2 and that solved my problem. Once again, thanks to everybody involved, this is a great program!

CeleSEQ
02-12-2005, 02:05 AM
Hmm, something interesting was going on here, because qt-3.3.3-8 runs fine on my FC3 box and on my build FC3 box at work which is pretty much stock + updates. qt-3.3.4 is not a released component for FC3, so I'd rather not make the rpms require 3.3.4 unnecessarily. Is it possible that you had unusual window size or position information in your .showeq directory, and that qt 3.3.4 has some better handling routines for dealing with that sort of issue?

Yeah, ok, that sounds kinda like it's grasping at straws, but qt-3.3.4 is definitely not required normally on FC3.

purple
02-12-2005, 08:28 AM
It's good that upgrading qt worked for you. You're using a newer gcc than I am and also it looks like your kernel is 2.6 but your kernel headers are 2.4. But I don't know if that's a problem or just how Fedora Core works. But the important part is things are working now!

SmilingMarcus
02-12-2005, 11:26 AM
It's a stock install of FC3 which I then ran up2date on. I had to uninstall automake and install 1.8.3-1 instead of 1.9.2-3 to get it to work, but the only thing this computer does is SEQ. I was running fine after applying the 02072005.patch.gz.txt patch. I tried to apply the 02082005.patch.gz.txt patch, but got a lot of errors and failed hunks and could not compile. I then read the thread "Fix for CVS build system build issue" and decided to delete all directories associated with SEQ and did a new install using CVS, so I did not have anything set already. At that point, I was unable to get SEQ to run at all until I upgraded QT.

Maybe something happened to my installed version of QT? If I had reinstalled QT 3.3.3 it might have solved the problem as well.

Thanks again everyone.