Log in

View Full Version : Core Dumping When Running World or Zone


IAlynis00
04-23-2003, 05:49 AM
Hey, whenever I try running ./world or ./zone in console it crashes with a "Illegal instruction (core dumped)" error. I am 99% sure my *.ini files are correct, and I am also 99% sure I have mySQL set up correctly.

Anyone out there able to help? I have also searched this forum and google with no avail. :(

Thanks

Trumpcard
04-23-2003, 06:33 AM
run gdb against the corefile and tell us what's in there...

Do you have a database loaded? items,npcs, etc?

IAlynis00
04-23-2003, 10:26 AM
Using database 'eq' at localhost
[Status] CURRENT_WORLD_VERSION:EQEMu 0.4.4-DR1
[Error] CURRENT_WORLD_VERSION:EQEMu 0.4.4-DR1
Loading Variables, zone names & items...

Program received signal SIG32, Real-time event 32.
0x40187c82 in sigsuspend () from /lib/libc.so.6
(gdb) c
Continuing.

Program received signal SIG32, Real-time event 32.
0x40187c82 in sigsuspend () from /lib/libc.so.6
(gdb) c
Continuing.

Program received signal SIGILL, Illegal instruction.
0x0806b696 in MakeAnyLenString(char**, char const*, ...) (ret=0xbffff32c,
format=0x808b5c0 "SELECT varname, value, unix_timestamp() FROM variables where unix_timestamp(ts) >= %d") at ../common/MiscFunctions.cpp:120
120 if (chars == -1)


Not sure if this is right, only data I could figure out how to output with gdb... :(

kathgar
04-24-2003, 06:55 AM
zlimit 60000
when it crashes, do gdb <world/zone>
core <corefile>
backtrace

paste that here

IAlynis00
04-24-2003, 07:43 AM
(gdb) core /Emu/core.15073
Core was generated by `./world'.
Program terminated with signal 4, Illegal instruction.
Reading symbols from /usr/lib/libstdc++.so.5...expanding to full symbols...
done.
Loaded symbols for /usr/lib/libstdc++.so.5
Reading symbols from /lib/libm.so.6...expanding to full symbols...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libz.so.1...expanding to full symbols...done.
Loaded symbols for /lib/libz.so.1
Reading symbols from /usr/lib/libmysqlclient.so.10...
expanding to full symbols...done.
Loaded symbols for /usr/lib/libmysqlclient.so.10
Reading symbols from /lib/libdl.so.2...expanding to full symbols...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libpthread.so.0...expanding to full symbols...done.
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /lib/libc.so.6...expanding to full symbols...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/libgcc_s.so.1...expanding to full symbols...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /lib/libcrypt.so.1...expanding to full symbols...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /lib/libnsl.so.1...expanding to full symbols...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/ld-linux.so.2...expanding to full symbols...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libnss_files.so.2...expanding to full symbols...done.
Loaded symbols for /lib/libnss_files.so.2
#0 0x0806b84e in MakeAnyLenString(char**, char const*, ...) (ret=0xbffff37c,
format=0x808b780 "SELECT varname, value, unix_timestamp() FROM variables where unix_timestamp(ts) >= %d") at ../common/MiscFunctions.cpp:120
120 if (chars == -1)
(gdb)

Someone in IRC said it might be my hardware....although this server has been flawless for about 2 years now :(