Page 1 of 1

Crash - No idea sterr.txt is empty

Posted: Fri May 14, 2010 6:20 am
by Canderel
I would assume that in case of a crash, I'll find useful data in sterr.txt, but nothing :-(

I'll attach the last bit of the stout.txt
stdout.rar
(6.44 KiB) Downloaded 201 times
file (since I've entered the wilderness).

The crash happened when I (way too early level) walked into the old forest. The dungeon loaded, but as I gave my first step it crashed.

Hmmmm... Admins? I get "you don't have permissions to view the attachment" so I can't click on it. Can anyone else view it?

Re: Crash - No idea sterr.txt is empty

Posted: Fri May 14, 2010 2:16 pm
by Shoob
I cant view it either, hmmm...

do you know how to run gdb? If you could run tome through that and then try the same steps something might show up.

Re: Crash - No idea sterr.txt is empty

Posted: Fri May 14, 2010 2:52 pm
by darkgod
I can see it, but yes no help :/
GRmf

Re: Crash - No idea sterr.txt is empty

Posted: Fri May 14, 2010 3:32 pm
by Canderel
It is definitely related to the music files not being there. (Or the one that was assigned to the old forest I've removed)

So as reported by someone else, if the song doesn't exist, or the filename in zones.lua is not correct (dunno about case sensitivity) then it crashes and isn't robust. :cry:

Re: Crash - No idea sterr.txt is empty

Posted: Fri May 14, 2010 4:55 pm
by darkgod
But it should be ...
Maybe there is some kind of leak

Re: Crash - No idea sterr.txt is empty

Posted: Fri May 14, 2010 10:42 pm
by Canderel
I gave a couple of steps (jnto the old forest - about 5), so the crash is not immediate. But it is reproducible and consistant, but I am not knowledgeable enough to even get the lua output to show, nevermind understand whats happening.

Re: Crash - No idea sterr.txt is empty

Posted: Sat May 15, 2010 1:05 am
by madmonk
So if it is reproducible what are you doing...

I want to have a go!

Re: Crash - No idea sterr.txt is empty

Posted: Sat May 15, 2010 8:13 am
by Canderel
I deleted the music file (6_19.ogg - which isn't bad, but only 1:20, and the guitar notes I know will work on my nerves). That's all.
Ok, not deleted, I moved it to a new folder inside the music folder.

At this stage it crashes...

Then I changed the zones.lua file in the old_forest zone folder, to reflect a different .ogg file, that is in fact in the music folder, and then the crash doesn't occur.

Re: Crash - No idea sterr.txt is empty

Posted: Sat May 15, 2010 2:32 pm
by darkgod
Ok then I can try to fix it :) Thanks!

Re: Crash - No idea sterr.txt is empty

Posted: Sun May 16, 2010 6:08 pm
by darkgod
Found & fixed I believe !
Thanks: