game crashes with seg. fault

Ask for help regarding any technical issue or report any bug or OS independent issues.
Locked
Zajka
Peon
Peon
Posts: 1
Joined: 17 Aug 2007, 21:18

game crashes with seg. fault

Post by Zajka »

Version 0.0.23
Login: Zajka
System: gentoo, kernel 2.6.20, guichan version 0.6.1
After selecting any character and pressing "ok" games tries to connect to the map server and crashes with Segmentation fault.
I cleared ~/.tmw/ directory but it didn't help.
Earlier I could connect to the server and play. I didn't update any libraries from the last successive playing.
Below is the tail of tmw.log file:
-------------------------------------------

Code: Select all

[21:38:58.05] Trying to connect to char server...
[21:38:58.05] Network::Connecting to 81.161.192.4:6122
[21:38:58.46] Network::Started session with 81.161.192.4:59927
[21:39:04.50] CharServerHandler: Packet ID: 6b, Length: 342
[21:39:04.50] Loaded /home/bunny//.tmw/updates/sprites-3126.zip/graphics/sprites/emotions.png
[21:39:04.51] Loaded /home/bunny//.tmw/updates/sprites-3126.zip/graphics/sprites/player_female_base.xml
[21:39:04.51] Loaded /home/bunny//.tmw/updates/sprites-3126.zip/graphics/sprites/player_female_base.png
[21:39:04.54] Loaded /home/bunny//.tmw/updates/sprites-3126.zip/graphics/sprites/weapon-dagger.xml
[21:39:04.54] Loaded /home/bunny//.tmw/updates/sprites-3126.zip/graphics/sprites/weapon0.png
[21:39:04.55] Loaded /home/bunny//.tmw/updates/sprites-3126.zip/graphics/sprites/leg-cotton-female.xml
[21:39:04.55] Loaded /home/bunny//.tmw/updates/sprites-3126.zip/graphics/sprites/leg-cotton-female.png
[21:39:04.58] Loaded /home/bunny//.tmw/updates/sprites-3126.zip/graphics/sprites/item006.xml
[21:39:04.58] Loaded /home/bunny//.tmw/updates/sprites-3126.zip/graphics/sprites/item006.png
[21:39:04.58] Loaded /home/bunny//.tmw/updates/sprites-3126.zip/graphics/sprites/chest-leather-female.xml
[21:39:04.58] Loaded /home/bunny//.tmw/updates/sprites-3126.zip/graphics/sprites/chest-leather-female.png
[21:39:04.61] Loaded /home/bunny//.tmw/updates/sprites-3126.zip/graphics/sprites/hairstyle5.xml
[21:39:04.61] Loaded /home/bunny//.tmw/updates/sprites-3126.zip/graphics/sprites/hairstyle5.png
[21:39:04.62] CharServer: Player: HelloWorld! (0)
[21:39:04.62] Loaded /home/bunny//.tmw/updates/sprites-3126.zip/graphics/sprites/chest-cotton-female.xml
[21:39:04.62] Loaded /home/bunny//.tmw/updates/update-3126-3266.zip/graphics/sprites/chest-cotton-female.png
[21:39:04.65] Loaded /home/bunny//.tmw/updates/sprites-3126.zip/graphics/sprites/hairstyle1.xml
[21:39:04.65] Loaded /home/bunny//.tmw/updates/sprites-3126.zip/graphics/sprites/hairstyle1.png
[21:39:04.66] CharServer: Player: Zajka (2)
[21:39:04.66] Loaded /home/bunny//.tmw/updates/sprites-3126.zip/graphics/sprites/hairstyle4.xml
[21:39:04.66] Loaded /home/bunny//.tmw/updates/sprites-3126.zip/graphics/sprites/hairstyle4.png
[21:39:04.67] CharServer: Player: Python (1)
[21:39:04.67] Window::~Window("Select Server")
[21:39:04.67] ResourceManager::release(graphics/gui/deepbox.png)
[21:39:04.67] ResourceManager::release(graphics/gui/vscroll_up_default.png)
[21:39:04.67] ResourceManager::release(graphics/gui/vscroll_up_pressed.png)
[21:39:04.67] ResourceManager::release(graphics/gui/vscroll_down_default.png)
[21:39:04.67] ResourceManager::release(graphics/gui/vscroll_down_pressed.png)
[21:39:04.67] ResourceManager::release(graphics/gui/hscroll_left_default.png)
[21:39:04.67] ResourceManager::release(graphics/gui/hscroll_left_pressed.png)
[21:39:04.67] ResourceManager::release(graphics/gui/hscroll_right_default.png)
[21:39:04.67] ResourceManager::release(graphics/gui/hscroll_right_pressed.png)
[21:39:04.67] ResourceManager::release(graphics/gui/button.png)
[21:39:04.67] ResourceManager::release(graphics/gui/buttonhi.png)
[21:39:04.67] ResourceManager::release(graphics/gui/buttonpress.png)
[21:39:04.67] ResourceManager::release(graphics/gui/button_disabled.png)
[21:39:04.67] State: CHAR_SELECT
[21:39:04.67] Window::Window("Select Character")
[21:39:04.67] Loaded /usr/share/games/tmw/data/graphics/gui/button.png
[21:39:04.67] Loaded /usr/share/games/tmw/data/graphics/gui/buttonhi.png
[21:39:04.68] Loaded /usr/share/games/tmw/data/graphics/gui/buttonpress.png
[21:39:04.68] Loaded /usr/share/games/tmw/data/graphics/gui/button_disabled.png
[21:39:04.68] Loaded /usr/share/games/tmw/data/graphics/gui/deepbox.png
[21:39:11.32] CharServerHandler: Packet ID: 71, Length: 28
[21:39:11.32] ResourceManager::release(graphics/sprites/leg-cotton-female.xml[0])
[21:39:11.32] ResourceManager::release(graphics/sprites/leg-cotton-female.png[64x64])
[21:39:11.32] ResourceManager::release(graphics/sprites/leg-cotton-female.png)
[21:39:11.32] ResourceManager::release(graphics/sprites/chest-leather-female.xml[0])
[21:39:11.32] ResourceManager::release(graphics/sprites/chest-leather-female.png[64x64])
[21:39:11.32] ResourceManager::release(graphics/sprites/chest-leather-female.png)
[21:39:11.32] ResourceManager::release(graphics/sprites/hairstyle5.xml[6])
[21:39:11.32] ResourceManager::release(graphics/sprites/hairstyle5.png[40x40])
[21:39:11.32] ResourceManager::release(graphics/sprites/hairstyle5.png)
[21:39:11.32] ResourceManager::release(graphics/sprites/item006.xml[0])
[21:39:11.32] ResourceManager::release(graphics/sprites/item006.png[40x40])
[21:39:11.32] ResourceManager::release(graphics/sprites/item006.png)
[21:39:11.32] ResourceManager::release(graphics/sprites/chest-cotton-female.xml[0])
[21:39:11.32] ResourceManager::release(graphics/sprites/chest-cotton-female.png[64x64])
[21:39:11.32] ResourceManager::release(graphics/sprites/chest-cotton-female.png)
[21:39:11.32] ResourceManager::release(graphics/sprites/hairstyle1.xml[5])
[21:39:11.32] ResourceManager::release(graphics/sprites/hairstyle1.png[40x40])
[21:39:11.32] ResourceManager::release(graphics/sprites/hairstyle1.png)
[21:39:11.81] Window::~Window("Select Character")
[21:39:11.81] ResourceManager::release(graphics/gui/deepbox.png)
[21:39:11.81] ResourceManager::release(graphics/gui/button.png)
[21:39:11.81] ResourceManager::release(graphics/gui/buttonhi.png)
[21:39:11.81] ResourceManager::release(graphics/gui/buttonpress.png)
[21:39:11.81] ResourceManager::release(graphics/gui/button_disabled.png)
[21:39:11.81] State: CONNECTING
[21:39:11.81] Memorizing selected character Python
[21:39:11.81] Trying to connect to map server...
[21:39:11.81] Map: new_3-1.gat
[21:39:11.81] Network::Connecting to 81.161.192.4:5122
[21:39:12.23] Network::Started session with 81.161.192.4:532
[21:39:22.17] Protocol: Player start position: (29, 28), Direction: 1
[21:39:22.17] Unhandled packet: b0
[21:39:22.17] Unhandled packet: b0
[21:39:22.17] Unhandled packet: b0
[21:39:22.17] Unhandled packet: b0
[21:39:22.17] Unhandled packet: b0
[21:39:22.17] Unhandled packet: 8e
[21:39:22.18] Sound::fadeOutMusic() Fading-out (1000 ms)
[21:39:23.24] ResourceManager::release(graphics/images/login_wallpaper.png)
[21:39:23.24] State: GAME
[21:39:23.24] Window::Window("")
[21:39:23.24] Loaded /usr/share/games/tmw/data/graphics/gui/resize.png
[21:39:23.24] Loaded /usr/share/games/tmw/data/graphics/gui/deepbox.png
[21:39:23.24] Loaded /usr/share/games/tmw/data/graphics/gui/vscroll_up_default.png
[21:39:23.24] Loaded /usr/share/games/tmw/data/graphics/gui/vscroll_down_default.png
[21:39:23.24] Loaded /usr/share/games/tmw/data/graphics/gui/hscroll_left_default.png
[21:39:23.24] Loaded /usr/share/games/tmw/data/graphics/gui/hscroll_right_default.png
[21:39:23.24] Loaded /usr/share/games/tmw/data/graphics/gui/vscroll_up_pressed.png
[21:39:23.25] Loaded /usr/share/games/tmw/data/graphics/gui/vscroll_down_pressed.png
[21:39:23.25] Loaded /usr/share/games/tmw/data/graphics/gui/hscroll_left_pressed.png
[21:39:23.25] Loaded /usr/share/games/tmw/data/graphics/gui/hscroll_right_pressed.png
[21:39:23.25] Window::Window("")
[21:39:23.25] Loaded /usr/share/games/tmw/data/graphics/gui/button.png
[21:39:23.25] Loaded /usr/share/games/tmw/data/graphics/gui/buttonhi.png
[21:39:23.25] Loaded /usr/share/games/tmw/data/graphics/gui/buttonpress.png
[21:39:23.26] Loaded /usr/share/games/tmw/data/graphics/gui/button_disabled.png
[21:39:23.26] Window::Window("Python")
[21:39:23.26] Window::Window("")
[21:39:23.26] Window::Window("Buy")
[21:39:23.26] Loaded /usr/share/games/tmw/data/graphics/gui/slider.png
[21:39:23.26] Window::Window("Sell")
[21:39:23.26] Window::Window("Shop")
[21:39:23.26] Window::Window("Inventory")
[21:39:23.26] Loaded /usr/share/games/tmw/data/graphics/gui/selection.png
[21:39:23.26] Window::Window("NPC")
[21:39:23.26] Window::Window("NPC")
[21:39:23.26] Window::Window("Skills")
[21:39:23.26] Window::Window("Setup")
[21:39:23.26] Loaded /usr/share/games/tmw/data/graphics/gui/checkbox.png
[21:39:23.26] Window::Window("Map")
[21:39:23.26] Window::Window("Equipment")
[21:39:23.26] Window::Window("Trade: You")
[21:39:23.26] Window::Window("Help")
[21:39:23.26] Window::Window("Debug")
[21:39:23.26] Particle engine set up
[21:39:23.26] Loaded /home/bunny//.tmw/updates/update-3313-3473.zip/maps/new_3-1.tmx.gz
[21:39:23.27] Loaded /usr/share/games/tmw/data/graphics/tiles/desert1.png
[21:39:23.32] Loaded /usr/share/games/tmw/data/graphics/tiles/desert2.png
[21:39:23.36] Loaded /usr/share/games/tmw/data/graphics/tiles/collision.png
[21:39:23.36] Loaded /usr/share/games/tmw/data/graphics/tiles/desert_x2.png
[21:39:23.37] Loaded /usr/share/games/tmw/data/graphics/tiles/desert_x3.png
[21:39:23.37] - Loading layer 0
[21:39:23.39] - Loading layer 1
[21:39:23.40] - Loading layer 2
[21:39:23.41] - Loading layer 3
[21:39:23.42] - Loading object name: graphics/particles/colorful-orbits.particle.xml type: PARTICLE_EFFECT at 944:930
[21:39:23.42] Loaded /home/bunny//.tmw/updates/minimaps-2935.zip/graphics/images/minimap_new_3-1.png
[21:39:23.43] Loaded /home/bunny//.tmw/updates/update-3313-3473.zip/graphics/particles/colorful-orbits.particle.xml
[21:39:23.43] Loaded /home/bunny//.tmw/updates/particles-3313.zip/graphics/particles/orb-medium-blue.png
[21:39:23.43] Loaded /home/bunny//.tmw/updates/particles-3313.zip/graphics/particles/star-small-blue.png
[21:39:23.43] ResourceManager::release(graphics/particles/star-small-blue.png)
[21:39:23.43] Loaded /home/bunny//.tmw/updates/particles-3313.zip/graphics/particles/orb-medium-yellow.png
[21:39:23.43] Loaded /home/bunny//.tmw/updates/particles-3313.zip/graphics/particles/star-small-yellow.png
[21:39:23.43] ResourceManager::release(graphics/particles/star-small-yellow.png)
[21:39:23.43] Loaded /home/bunny//.tmw/updates/particles-3313.zip/graphics/particles/orb-medium-green.png
[21:39:23.43] Loaded /home/bunny//.tmw/updates/particles-3313.zip/graphics/particles/star-small-green.png
[21:39:23.44] ResourceManager::release(graphics/particles/star-small-green.png)
[21:39:23.44] Loaded /home/bunny//.tmw/updates/particles-3313.zip/graphics/particles/orb-medium-magenta.png
[21:39:23.44] Loaded /home/bunny//.tmw/updates/particles-3313.zip/graphics/particles/star-small-magenta.png
[21:39:23.44] ResourceManager::release(graphics/particles/star-small-magenta.png)
[21:39:23.44] Loaded /home/bunny//.tmw/updates/particles-3313.zip/graphics/particles/orb-medium-red.png
[21:39:23.44] Loaded /home/bunny//.tmw/updates/particles-3313.zip/graphics/particles/star-small-red.png
[21:39:23.44] ResourceManager::release(graphics/particles/star-small-red.png)
[21:39:23.44] Loaded /home/bunny//.tmw/updates/particles-3313.zip/graphics/particles/orb-medium-cyan.png
[21:39:23.44] Loaded /home/bunny//.tmw/updates/particles-3313.zip/graphics/particles/star-small-cyan.png
[21:39:23.44] ResourceManager::release(graphics/particles/star-small-cyan.png)
[21:39:23.44] Sound::startMusic() Playing "/usr/share/games/tmw/data/music/Faith.ogg" -1 times
[21:39:23.45] 0 joysticks/gamepads found
---------------------------------------
Config.xml:

Code: Select all

<?xml version="1.0"?>
<configuration>
 <option name="customcursor" value="1"/>
 <option name="fpslimit" value="60"/>
 <option name="guialpha" value="0.8"/>
 <option name="homeDir" value="/home/bunny//.tmw"/>
 <option name="host" value="server.themanaworld.org"/>
 <option name="hwaccel" value="0"/>
 <option name="musicVolume" value="60"/>
 <option name="opengl" value="0"/>
 <option name="port" value="6901"/>
 <option name="remember" value="1"/>
 <option name="screen" value="0"/>
 <option name="sfxVolume" value="100"/>
 <option name="sound" value="1"/>
 <option name="updatehost" value="http://updates.themanaworld.org"/>
 <option name="windowWinX" value="287"/>
 <option name="windowWinY" value="238"/>
</configuration>
Jarod
Peon
Peon
Posts: 3
Joined: 24 Jul 2007, 23:55

Post by Jarod »

I have the exact same problem, same log reading too (paths are different, but thats expected)
goes to the gamepad bit, then segfaults.
it downloaded update-3313-3473.zip when i started the first time, i got ingame (i was in the mines) so i started working my way out, then it segfaulted when i got to the entrance. and now when i start tmw it logs me in, i select server, then my character, then it goes to connect to the map server, then segfaults.

EDIT: fixed (as in horrifically hacked around)
remove that latest update file, then run with the do not update flag (i think its -u) or cancel the download before it finishes, then it plays ok (but is not up to date)

Jarod
User avatar
Bjørn
Manasource
Manasource
Posts: 1438
Joined: 09 Dec 2004, 18:50
Location: North Rhine-Westphalia, Germany
Contact:

Post by Bjørn »

Locked