Page 1 of 1

segmentation fault

Posted: 27 Dec 2007, 00:48
by lost_soul
I keep getting a segmentation fault error. The game randomly crashes and the command line reads "Segmentation fault"

not sure how to get more debug info.




cheers
lost

Posted: 27 Dec 2007, 01:18
by Crush
You could show us the logfile. You can find it in ~/.tmw/tmw.log

Posted: 27 Dec 2007, 01:44
by lost_soul
I was going to post the log file, but i think the problem has ceased, I think it may have been something to do with the major over-population of monsters, but the server has since been restarted, and I no longer seem to be having the issue.

Posted: 27 Dec 2007, 05:09
by Rotonen
Actually if a high enough amount of entities on screen segfaults the client, that is quite alarming.

We should look into this.

Posted: 27 Dec 2007, 05:30
by Crush
I doubt that it was just the number of objects on-screen that caused the segmentation fault. Not only the monsters but all scripts were executed twice like warps triggers or npcs. Something of this might have caused the problem.

But like every bug: When you can't reproduce it we can't fix it.

Segmentation Fault

Posted: 16 Jan 2008, 20:54
by omegamormegil
I keep getting it too, today. Here's the end of my log file:

[20:46:14.23] Loaded /home/nate//.tmw/updates/hairstyle-compat.zip/graphics/sprites/hairstyle1.xml
[20:46:14.23] Loaded /home/nate//.tmw/updates/hairstyle-compat.zip/graphics/sprites/hairstyle1.png
[20:46:14.24] Loaded /home/nate//.tmw/updates/sprites-3714.zip/graphics/sprites/leg-jeans-male.xml
[20:46:14.24] Loaded /home/nate//.tmw/updates/sprites-3714.zip/graphics/sprites/leg-jeans-male.png
[20:46:14.27] Loaded /home/nate//.tmw/updates/update-3700-3782-3.zip/graphics/sprites/head-funkywinter.xml
[20:46:14.27] Loaded /home/nate//.tmw/updates/update-3700-3782-3.zip/graphics/sprites/head-funkywinter.png
[20:46:14.27] Loaded /home/nate//.tmw/updates/sprites-3714.zip/graphics/sprites/item002.xml
[20:46:14.27] Loaded /home/nate//.tmw/updates/sprites-3714.zip/graphics/sprites/item002.png
[20:46:14.53] Loaded /home/nate//.tmw/updates/hairstyles-3820.zip/graphics/sprites/hairstyle0.xml
[20:46:14.53] Warning: no action "1" defined!

Segmentation Fault

Posted: 16 Jan 2008, 20:58
by omegamormegil
I'm getting Seg Faults rapidly (3 seconds) after logging in. The end of my log says:

[20:56:13.64] Warning: no action "1" defined!
[20:56:13.64] ResourceManager::release(graphics/sprites/hairstyle1.xml[1])
[20:56:13.64] ResourceManager::release(graphics/sprites/hairstyle1.png[40x40])
[20:56:13.64] ResourceManager::release(graphics/sprites/hairstyle1.png)
[20:56:13.64] Warning: no action "1" defined!
[20:56:13.64] Warning: no action "1" defined!
[20:56:13.64] Warning: no action "1" defined!
[20:56:13.64] Warning: no action "1" defined!
[20:56:13.64] Warning: no action "2" defined!


I don't know if it's my character, or something else. If you want to test it, you could try logging in as me.

Posted: 16 Jan 2008, 21:21
by Crush
You are still using 0.0.23. Update to 0.0.24 or take one of the hairstyle*.xml files from the updates, rename it to hairstyle0.xml and put it into The Mana World/data/graphics/sprites.