Page 1 of 1

Equipping trousers leads to segfault

Posted: May 26th, 2010, 4:58 pm
by Wolverine
Hi

When I try to equip my new trousers (Iron chain leggings) the game crashes. Other trousers are working without problems.
I'm using a 64bit gentoo.

Re: Equipping trousers leads to segfault

Posted: May 26th, 2010, 5:13 pm
by BasiliskWrangler
Could you post a saved-game with this?

Re: Equipping trousers leads to segfault

Posted: May 26th, 2010, 5:18 pm
by Wolverine
for sure... I assume just taring the complete directory does the trick?

Re: Equipping trousers leads to segfault

Posted: May 26th, 2010, 6:35 pm
by BasiliskWrangler
Hmmm. Doesn't crash for me.

When you equip the chain leggings, it plays a sound and updates the in-game sprite of the character. For you, the game must be crashing when it tries to access one of these resources.

Is there any way to get more info from your system about this crash?

Re: Equipping trousers leads to segfault

Posted: May 26th, 2010, 6:39 pm
by sirdilznik
If you run 'eschalon_book_2' from the command prompt does it spit out anything after the crash in the terminal window?

Re: Equipping trousers leads to segfault

Posted: May 27th, 2010, 3:48 am
by Wolverine
sirdilznik wrote:If you run 'eschalon_book_2' from the command prompt does it spit out anything after the crash in the terminal window?
Just "segmentation fault".

The informations I get are very poor.
Starting eschalon with gdb just leads to the following:

0x0815fd1c in ?? ()
(gdb) bt
#0 0x0815fd1c in ?? ()
#1 0x0811371c in ?? ()
#2 0x0810362d in ?? ()
#3 0x080d289d in ?? ()
#4 0x080ce2e5 in ?? ()
#5 0x0804d0c4 in ?? ()
#6 0xf7a5fbb6 in __libc_start_main () from /lib32/libc.so.6
#7 0x0804cfe1 in ?? ()


Dmesg states:
eschalon_book_2[3528]: segfault at 34 ip 000000000815fd1c sp 00000000ff9cc4d8 error 4 in eschalon_book_2[8048000+131000]

Perhaps recompiling my system with -ggdb as an additional CFLAG could help getting more detailed information. But this would take some time...
If anyone here has some ideas how to get more informations about the crashing process - just tell me ;)

Re: Equipping trousers leads to segfault

Posted: May 27th, 2010, 9:18 am
by obiwan
I got the same problem with these trousers.

Re: Equipping trousers leads to segfault

Posted: May 27th, 2010, 10:51 am
by obiwan
Actually, my trousers are bronze. And I think I can still hear the heavy armor sound playing before it segfaults.

without a non-stripped binary eschalon it is difficult to debug further:(

It could be interaction with the opengl driver. I am on the OS ati driver. Wolverine?

Re: Equipping trousers leads to segfault

Posted: May 27th, 2010, 11:20 am
by sirdilznik
I had the same thing happen to me trying to put on trousers. I also couldn't get more of an error message than 'segmentation fault (core dumped)'. At first I figured it might be the sound, knowing the unfortunately jumbled mess that is audio in Linux, but changing between FreeAudio, OpenAL, and even null made no difference. Changing from full screen to windowed made no difference either.

This is on Fedora 13 x86_64
nVidia GTX260
nvidia driver 195.36.24

I guess I'll just have to go commando-style for now :wink: :lol:

Re: Equipping trousers leads to segfault

Posted: May 27th, 2010, 11:36 am
by Wolverine
obiwan wrote:It could be interaction with the opengl driver. I am on the OS ati driver. Wolverine?
Maybe...some of my system details:
xorg-server 1.8.1-r1
nvidia-drivers 195.36.24
glibc 2.11.1
Linux 2.6.32-gentoo-r5.wolvnet

Re: Equipping trousers leads to segfault

Posted: May 27th, 2010, 2:45 pm
by BasiliskWrangler
Ah! I found the problem.

No worries on your end, it's not a driver issue. I'll fix it up.

Re: Equipping trousers leads to segfault

Posted: May 27th, 2010, 3:01 pm
by BasiliskWrangler

Re: Equipping trousers leads to segfault

Posted: May 27th, 2010, 3:37 pm
by Wolverine
Another problem solved. Thanks ;)

Re: Equipping trousers leads to segfault

Posted: May 27th, 2010, 5:42 pm
by sirdilznik
Awesome job fixing the issue so quickly BW! Much appreciated.

Edit: Now I don't have to run around Mistfell bare ass nekkid no more:

Image

:lol: