Page 1 of 1

Beta Crashes on RedHat 7.1

Posted: Thu Nov 29, 2001 1:05 pm
by Karl
I installed the Redhat 7.2 RPM on my RedHat 7.1 machine at home with no problems, but when I launched it, it crashed almost immediately after showing the start screen for a split second. Thinking it was due to a incompatibility due to different library versions, I tried rebuilding the source RPM, but got an error while it was compiling (it's at home, so I don't have the error in front of me).

Now, the funny thing is, I was able to install and run the 7.2 RPM version on a different RedHat 7.1 box here at work, and was also able to recompile the source RPM.

So, anyone have any suggestions for me on how to figure out why it is crashing on my home machine? I tried deleting my old .exult.cfg in case that was the cuplrit.


-Karl

Re: Beta Crashes on RedHat 7.1

Posted: Thu Nov 29, 2001 1:12 pm
by wjp
Any errors on stdout/stderr? What SDL version do you have? Anything else you can think of that might help to diagnose the issue?

(P.S. Deleting .exult.cfg most likely won't help. It will just prevent exult from finding where you installed U7 and/or SI)

Re: Beta Crashes on RedHat 7.1

Posted: Thu Nov 29, 2001 11:56 pm
by nadir
Ok, I am the culprit for the RedHat RPMs.

Apart from hat wjp asks for, post a dump of "rpm -q -R exult"

Re: Beta Crashes on RedHat 7.1

Posted: Fri Nov 30, 2001 2:32 am
by nadir
Another thing: I just discovered that on my machine, RPM decided to compile Exult with i686 switches, so if you have a i586 you may have problems

Tristan

Re: Beta Crashes on RedHat 7.1

Posted: Fri Nov 30, 2001 12:50 pm
by Karl Garrison
Okay, here are the messages I got on the terminal window before it crashed:

Exult V0.96beta1.
Data path = /usr/share/games/exult
Internal cheapass forked timidity synthesiser
is_installed: ./static/endgame.dat
is_installed: ./static/sispeech.spc
Fatal signal: Segmentation Fault (SDL Parachute Deployed)

I am using SDL 1.2.2, and have an Athlon CPU, so I don't think the i686 optimizations are likely the problem.

The output of rpm -q -R exult is as follows:

/sbin/install-info
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
ld-linux.so.2
libc.so.6
libdl.so.2
libm.so.6
libpthread.so.0
libSDL-1.2.so.0
libstdc++-libc6.2-2.so.3
libX11.so.6
libXext.so.6
libz.so.1
libc.so.6(GLIBC_2.0)
libc.so.6(GLIBC_2.1)
libc.so.6(GLIBC_2.1.3)
libm.so.6(GLIBC_2.0)
libpthread.so.0(GLIBC_2.0)
libpthread.so.0(GLIBC_2.1)
rpmlib(CompressedFileNames) <= 3.0.4-1

Also, some system specs in case that helps:

RedHat Linux 7.1 running 2.4.7 kernel
256 MB RAM
XFree86 4.1.0
Matrox G400 Max video card
ReiserFS on all partitions

Re: Beta Crashes on RedHat 7.1

Posted: Fri Nov 30, 2001 12:51 pm
by Karl Garrison
Also, here's the output of strace right before it crashes, all the way to the end:

open("/usr/share/games/exult/exult.flx", O_RDONLY|O_LARGEFILE) = 9
fstat64(9, {st_mode=S_IFREG|0644, st_size=126035, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0
x40074000
_llseek(9, 0, [0], SEEK_SET) = 0
read(9, "Exult Archive\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 84) = 84
read(9, "8\0\0\0\314\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096) = 40
96
write(1, "is_installed: ./static/endgame.d"..., 35is_installed: ./static/endgame
.dat
) = 35
stat64("./static/endgame.dat", 0xbfffea30) = -1 ENOENT (No such file or director
y)
stat64("./static/ENDGAME.DAT", 0xbfffea30) = -1 ENOENT (No such file or director
y)
stat64("./STATIC/ENDGAME.DAT", 0xbfffea30) = -1 ENOENT (No such file or director
y)
stat64("./STATIC/ENDGAME.DAT", 0xbfffea30) = -1 ENOENT (No such file or director
y)
write(1, "is_installed: ./static/sispeech."..., 36is_installed: ./static/sispeec
h.spc
) = 36
stat64("./static/sispeech.spc", 0xbfffea30) = -1 ENOENT (No such file or directo
ry)
stat64("./static/SISPEECH.SPC", 0xbfffea30) = -1 ENOENT (No such file or directo
ry)
stat64("./STATIC/SISPEECH.SPC", 0xbfffea30) = -1 ENOENT (No such file or directo
ry)
stat64("./STATIC/SISPEECH.SPC", 0xbfffea30) = -1 ENOENT (No such file or directo
ry)
open("/usr/share/games/exult/exult.flx", O_RDONLY) = 10
fstat64(10, {st_mode=S_IFREG|0644, st_size=126035, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0
x40075000
_llseek(10, 20480, [20480], SEEK_SET) = 0
read(10, "+\'\0\341\0\236\0\',g\0L\0\237\0g,\37\0\207\0\237\0\37"..., 99) = 99
read(10, "\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) = 4
096
close(10) = 0
munmap(0x40075000, 4096) = 0
--- SIGSEGV (Segmentation fault) ---
rt_sigaction(SIGSEGV, {SIG_DFL}, {0x41eb15ec, [SEGV], SA_RESTART|0x4000000}, 8)
= 0
write(2, "Fatal signal: ", 14Fatal signal: ) = 14
write(2, "Segmentation Fault", 18Segmentation Fault) = 18
write(2, " (SDL Parachute Deployed)\n", 26 (SDL Parachute Deployed)
) = 26
rt_sigprocmask(SIG_SETMASK, NULL, [SEGV RT_0], 8) = 0
rt_sigsuspend([SEGV]
--- SIGRT_0 (Real-time signal 0) ---
) = -1 EINTR (Interrupted system call)
sigreturn() = ? (mask now [SEGV])
write(6, "\340\245\353A\1\0\0\0\2\4\0\0>3\353\1
--- SIGRT_0 (Real-time signal 0) ---
) = -1 EINTR (Interrupted system call)
sigreturn() = ? (mask now [SEGV])
write(6, "\340\245\353A\1\0\0\0\3\10\0\0\214_\1A9g\213\0019g\213"..., 148) = 148
close(7) = 0
write(3, "_\0\2\0\v\0`\2+\0\1\0", 12) = 12
read(3, "\34\0v\0\3\0`\2\n\1\0\0\345\240?\177\0\0\0\0\0\0\0\0\0"..., 32) = 32
read(3, 0xbfffe580, 32) = -1 EAGAIN (Resource temporarily unavai
lable)
select(4, [3], NULL, NULL, NULL) = 1 (in [3])
read(3, "\1\1x\0\0\0\0\0\3\0`\2\0\0\0\0\0\0\0\0\0\0\0\0\320>\271"..., 32) = 32
write(3, "\33\0\2\0\0\0\0\0 \0\2\0\0\0\0\0+\0\1\0", 20) = 20
read(3, 0xbfffe550, 32) = -1 EAGAIN (Resource temporarily unavai
lable)
select(4, [3], NULL, NULL, NULL) = 1 (in [3])
read(3, "\1\1{\0\0\0\0\0\3\0`\2\0\0\0\0\0\0\0\0\0\0\0\0\320>\271"..., 32) = 32
write(3, "\210\2\2\0\0\0\0\0+\0\1\0", 12) = 12
read(3, 0xbfffe4f0, 32) = -1 EAGAIN (Resource temporarily unavai
lable)
select(4, [3], NULL, NULL, NULL) = 1 (in [3])
read(3, "\1\1}\0\0\0\0\0\3\0`\2\0\0\0\0\0\0\0\0\0\0\0\0\320>\271"..., 32) = 32
write(4, "+\3\1\0", 4) = 4
read(4, 0xbfffe5c0, 32) = -1 EAGAIN (Resource temporarily unavai
lable)
select(5, [4], NULL, NULL, NULL) = 1 (in [4])
read(4, "\1\1\16\0\0\0\0\0\3\0`\2\0\0\0\0\1\0\0\0\0\0\0\0\3202\262"..., 32) = 32
write(3, "\221\2\2\0\17\0`\2+\0\1\0", 12) = 12
read(3, 0xbfffe590, 32) = -1 EAGAIN (Resource temporarily unavai
lable)
select(4, [3], NULL, NULL, NULL) = 1 (in [3])
read(3, "\1\1\177\0\0\0\0\0\3\0`\2\0\0\0\0\0\0\0\0\0\0\0\0\320>"..., 32) = 32
shmdt(0x40216000) = 0
write(3, "\n\2\2\0\3\0`\2\7\0\4\0\r\0`\2\3\0`\2\0\0\0\0\206\0\1\0"..., 28) = 28
read(3, 0xbfffe460, 32) = -1 EAGAIN (Resource temporarily unavai
lable)
select(4, [3], NULL, NULL, NULL) = 1 (in [3])
read(3, "\22\0\200\0\3\0`\2\3\0`\2\0\0\0\0\0\0\0\0\0\0\0\0\250\367"..., 32) = 32
read(3, "\n\3\200\0\3\0`\2\0\0\0\0\177\340:\0\0\0\10\0\0\0\0\0H"..., 32) = 32
read(3, "\10\0\201\0U\242?\177=\0\0\0\r\0`\2\0\0\0\0@\1\360\0@\1"..., 32) = 32
read(3, "\1\243\202\0\0\0\0\0\2\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\320"..., 32) = 32
write(3, "\206\16\2\0\2\0\1\0\206\1\2\0\0\0`\2", 16) = 16
read(3, 0xbfffe4f0, 32) = -1 EAGAIN (Resource temporarily unavai
lable)
select(4, [3], NULL, NULL, NULL) = 1 (in [3])
read(3, "\34\0\202\0\3\0`\2b\0\0\0^\242?\177\0\0\0\0\3\0`\2\0\0"..., 32) = 32
read(3, "\34\367\202\0\3\0`\2\r\1\0\0^\242?\177\1\0\0\0^\242?\177"..., 32) = 32
read(3, "\226\22\202\0\3\0`\2\3\0`\2\0\0\0\0\4\0\24\0\200\2\220"..., 32) = 32
read(3, "\25\0\202\0\3\0`\2\3\0`\2=\0\0\0\0\0\0\0\0\367\377\277"..., 32) = 32
read(3, 0xbfffe4f0, 32) = -1 EAGAIN (Resource temporarily unavai
lable)
select(4, [3], NULL, NULL, NULL) = 1 (in [3])
read(3, "\1\313\204\0\5\0\0\0\240\214\0\0\200\2\270\2\360\2@\3\0"..., 32) = 32
read(3, "\n\0\0\0n\0\0\0\340\313|\10\270\243\270\10\0\0\0\0", 20) = 20
write(3, "\206\0\1\0", 4) = 4
read(3, 0xbfffe4e0, 32) = -1 EAGAIN (Resource temporarily unavai
lable)
select(4, [3], NULL, NULL, NULL) = 1 (in [3])
read(3, "\1\0\205\0\0\0\0\0\2\0\1\0\0\0\0\0\1\0\0\0\0\0\0\0\320"..., 32) = 32
ioctl(3, FIONREAD, [0]) = 0
write(3, "\206\16\2\0\2\0\1\0\206\n\r\0\0\0\0\0\370$\1\0\0\4\30\4"..., 76) = 76
read(3, 0xbfffdcb0, 32) = -1 EAGAIN (Resource temporarily unavai
lable)
select(4, [3], NULL, NULL, NULL) = 1 (in [3])
read(3, "\22h\211\0\2\0`\2\2\0`\2\0\243\270\10\2\0`\2\300\367\377"..., 32) = 32
write(3, "+\16\1\0", 4) = 4
read(3, 0xbfffe570, 32) = -1 EAGAIN (Resource temporarily unavai
lable)
select(4, [3], NULL, NULL, NULL) = 1 (in [3])
read(3, "\1\1\212\0\0\0\0\0B\0\200\2\0\0\0\0\1\0\0\0\0\0\0\0\320"..., 32) = 32
write(3, "\33\16\2\0\0\0\0\0 \n\2\0\0\0\0\0+$\1\0", 20) = 20
read(3, 0xbfffe540, 32) = -1 EAGAIN (Resource temporarily unavai
lable)
select(4, [3], NULL, NULL, NULL) = 1 (in [3])
read(3, "\1\1\215\0\0\0\0\0B\0\200\2\0\0\0\0\0\0\0\0\0\0\0\0\320"..., 32) = 32
write(3, "\4\16\2\0\r\0`\2
--- SIGRT_0 (Real-time signal 0) ---
) = -1 EINTR (Interrupted system call)
sigreturn() = ? (mask now [SEGV])
wait4(13781, NULL, __WCLONE, NULL) = 13781
munmap(0x40072000, 4096) = 0
_exit(-11) = ?

Any suggestions?

Posted: Sun Dec 02, 2001 8:43 am
by Karl Garrison
I've given the requested info as well as the tail end of strace output. Does anyone have any suggestions on how I can get this to work on my system? Am I the only one having problems?


-Karl

Re: Any suggestions?

Posted: Sun Dec 02, 2001 11:07 pm
by drcode
Sorry. I'd help if I could, but my system still runs SuSE 6.2.

Re: Any suggestions?

Posted: Mon Dec 03, 2001 12:16 am
by nadir
The only thing I can understand from your log is that Exult is not finding any of the static files. Make sure exult.cfg points to the right directories...

stat64("./static/endgame.dat", 0xbfffea30) = -1 ENOENT (No such file or director
y)
stat64("./static/ENDGAME.DAT", 0xbfffea30) = -1 ENOENT (No such file or director
y)
stat64("./STATIC/ENDGAME.DAT", 0xbfffea30) = -1 ENOENT (No such file or director
y)
stat64("./STATIC/ENDGAME.DAT", 0xbfffea30) = -1 ENOENT (No such file or director
y)
write(1, "is_installed: ./static/sispeech."..., 36is_installed: ./static/sispeec
h.spc
) = 36
stat64("./static/sispeech.spc", 0xbfffea30) = -1 ENOENT (No such file or directo
ry)
stat64("./static/SISPEECH.SPC", 0xbfffea30) = -1 ENOENT (No such file or directo
ry)
stat64("./STATIC/SISPEECH.SPC", 0xbfffea30) = -1 ENOENT (No such file or directo
ry)
stat64("./STATIC/SISPEECH.SPC", 0xbfffea30) = -1 ENOENT (No such file or directo
ry)

Re: Any suggestions?

Posted: Mon Dec 03, 2001 4:36 am
by Karlos
I'll try that when I get home, but I should note that I had previously renamed my existing .exult.cfg file, which should have caused Exult to come up with a screen stating that it couldn't find BG or SI, rather than causing a crash. It's certainly worth a try, though.


-Karl