crashed on startup or registering

Ask for help regarding any technical issue or report any bug or OS independent issues.
Post Reply
deadcat
Peon
Peon
Posts: 2
Joined: 04 Jun 2006, 13:02

crashed on startup or registering

Post by deadcat »

when i use tmw,then appear the update window but quickly crashed with follow errors:

Code: Select all

Fatal signal: Segmentation Fault (SDL Parachute Deployed)
Xlib: unexpected async reply (sequence 0x2e)!
and when i use tmw --skipupdate then it worked and i just click to register,but when i typed name and passwd an then click register, then it just takes a long time and crashed again with follow errors

Code: Select all

Fatal signal: Segmentation Fault (SDL Parachute Deployed)
my system is LFS 5 and the enviroment is :

Code: Select all

Linux deadcat 2.6.8.1 #1 Fri May 13 14:55:22 EDT 2005 i686 GenuineIntel unknown GNU/Linux
gcc3.3.1
guichan-0.4.0
libxml2-2.6.11
physfs-1.0.1
sdl-1.2.8
tmw-0.0.19

SDL_image-1.2.3
i haven't install zlib because the system seems already have one:

Code: Select all

#whereis zlib
zlib: /usr/include/zlib.h
and when compiling tmw i got some error message like cant't find SDL_net.h and SDL_mixer.h

i just googled and download the ".h" files and copy them to the include-path,then i can compile and install


the log is(this log is crashed because register ) :

Code: Select all

[20:56:27] Using video driver: x11
[20:56:27] Possible to create hardware surfaces: no
[20:56:27] Window manager available: yes
[20:56:27] Accelerated hardware to hardware blits: no
[20:56:27] Accelerated hardware to hardware colorkey blits: no
[20:56:27] Accelerated hardware to hardware alpha blits: no
[20:56:27] Accelerated software to hardware blits: no
[20:56:27] Accelerated software to hardware colorkey blits: no
[20:56:27] Accelerated software to hardware alpha blits: no
[20:56:27] Accelerated color fills: no
[20:56:27] Available video memory: 0
[20:56:27] ResourceManager::get(graphics/sprites/player_male_base.png)
[20:56:27] ResourceManager::get(graphics/sprites/hairstyle1.png)
[20:56:27] ResourceManager::get(graphics/sprites/hairstyle2.png)
[20:56:27] ResourceManager::get(graphics/sprites/hairstyle3.png)
[20:56:27] ResourceManager::get(graphics/sprites/hairstyle4.png)
[20:56:27] ResourceManager::get(graphics/sprites/hairstyle5.png)
[20:56:27] ResourceManager::get(graphics/sprites/hairstyle6.png)
[20:56:27] ResourceManager::get(graphics/gui/mouse.png)
[20:56:27] Window::Window("Window")
[20:56:27] ResourceManager::get(graphics/gui/vscroll_grey.png)
[20:56:27] ResourceManager::get(graphics/gui/bg_quad_dis.png)
[20:56:27] ResourceManager::get(graphics/gui/resize.png)
[20:56:27] Sound::init() Initializing sound...
[20:56:27] Sound::info() SDL_mixer: 1.2.7 (compiled)
[20:56:27] Sound::info() SDL_mixer: 1.2.5 (linked)
[20:56:27] Sound::info() Driver: dsp
[20:56:27] Sound::info() Format: S16LSB
[20:56:27] Sound::info() Rate: 22050
[20:56:27] Sound::info() Channels: 2
[20:56:27] Sound::startMusic() Playing "/magic/lfsall//share/tmw/data/music/Magick - Real.ogg" -1 times
[20:56:27] Sound::startMusic() Warning: error loading file.
[20:56:27] ResourceManager::get(graphics/images/login_wallpaper.png)
[20:56:28] State: LOGIN
[20:56:28] Window::Window("Login")
[20:56:28] ResourceManager::get(graphics/gui/deepbox.png)
[20:56:28] ResourceManager::get(graphics/gui/checkbox.png)
[20:56:28] ResourceManager::get(graphics/gui/button.png)
[20:56:28] ResourceManager::get(graphics/gui/buttonhi.png)
[20:56:28] ResourceManager::get(graphics/gui/buttonpress.png)
[20:56:28] ResourceManager::get(graphics/gui/button_disabled.png)
[20:56:36] Window::~Window("Login")
[20:56:36] ResourceManager::release(graphics/gui/deepbox.png)
[20:56:36] ResourceManager::release(graphics/gui/checkbox.png)
[20:56:36] ResourceManager::release(graphics/gui/button.png)
[20:56:36] ResourceManager::release(graphics/gui/buttonhi.png)
[20:56:36] ResourceManager::release(graphics/gui/buttonpress.png)
[20:56:36] ResourceManager::release(graphics/gui/button_disabled.png)
[20:56:36] State: REGISTER
[20:56:36] Window::Window("Register")
[20:56:36] ResourceManager::get(graphics/gui/deepbox.png)
[20:56:36] ResourceManager::get(graphics/gui/radioout.png)
[20:56:36] ResourceManager::get(graphics/gui/radioin.png)
[20:56:36] ResourceManager::get(graphics/gui/button.png)
[20:56:36] ResourceManager::get(graphics/gui/buttonhi.png)
[20:56:36] ResourceManager::get(graphics/gui/buttonpress.png)
[20:56:36] ResourceManager::get(graphics/gui/button_disabled.png)
[20:56:45] RegisterDialog::register Username is deadcat
[20:56:45] Trying to connect to account server...
[20:56:45] Username is deadcat_M
[20:56:45] Network::Connecting to animesites.de:6901
[20:57:55] Network::Started session with 0.0.0.1:62746
and below log is crashed because update(it display the get news.txt 0% and crashed)

Code: Select all

[21:17:41] Using video driver: x11
[21:17:41] Possible to create hardware surfaces: no
[21:17:41] Window manager available: yes
[21:17:41] Accelerated hardware to hardware blits: no
[21:17:41] Accelerated hardware to hardware colorkey blits: no
[21:17:41] Accelerated hardware to hardware alpha blits: no
[21:17:41] Accelerated software to hardware blits: no
[21:17:41] Accelerated software to hardware colorkey blits: no
[21:17:41] Accelerated software to hardware alpha blits: no
[21:17:41] Accelerated color fills: no
[21:17:41] Available video memory: 0
[21:17:41] ResourceManager::get(graphics/sprites/player_male_base.png)
[21:17:41] ResourceManager::get(graphics/sprites/hairstyle1.png)
[21:17:41] ResourceManager::get(graphics/sprites/hairstyle2.png)
[21:17:41] ResourceManager::get(graphics/sprites/hairstyle3.png)
[21:17:41] ResourceManager::get(graphics/sprites/hairstyle4.png)
[21:17:41] ResourceManager::get(graphics/sprites/hairstyle5.png)
[21:17:41] ResourceManager::get(graphics/sprites/hairstyle6.png)
[21:17:42] ResourceManager::get(graphics/gui/mouse.png)
[21:17:42] Window::Window("Window")
[21:17:42] ResourceManager::get(graphics/gui/vscroll_grey.png)
[21:17:42] ResourceManager::get(graphics/gui/bg_quad_dis.png)
[21:17:42] ResourceManager::get(graphics/gui/resize.png)
[21:17:42] Sound::init() Initializing sound...
[21:17:42] Sound::info() SDL_mixer: 1.2.7 (compiled)
[21:17:42] Sound::info() SDL_mixer: 1.2.5 (linked)
[21:17:42] Sound::info() Driver: dsp
[21:17:42] Sound::info() Format: S16LSB
[21:17:42] Sound::info() Rate: 22050
[21:17:42] Sound::info() Channels: 2
[21:17:42] Sound::startMusic() Playing "/magic/lfsall//share/tmw/data/music/Magick - Real.ogg" -1 times
[21:17:42] Sound::startMusic() Warning: error loading file.
[21:17:42] ResourceManager::get(graphics/images/login_wallpaper.png)
[21:17:42] State: UPDATE
[21:17:42] Window::Window("Updating...")
[21:17:42] ResourceManager::get(graphics/gui/button.png)
[21:17:42] ResourceManager::get(graphics/gui/buttonhi.png)
[21:17:42] ResourceManager::get(graphics/gui/buttonpress.png)
[21:17:42] ResourceManager::get(graphics/gui/button_disabled.png)
[21:17:42] ResourceManager::get(graphics/gui/deepbox.png)
[21:17:42] ResourceManager::get(graphics/gui/vscroll_up_default.png)
[21:17:42] ResourceManager::get(graphics/gui/vscroll_down_default.png)
[21:17:42] ResourceManager::get(graphics/gui/hscroll_left_default.png)
[21:17:42] ResourceManager::get(graphics/gui/hscroll_right_default.png)
[21:17:42] ResourceManager::get(graphics/gui/vscroll_up_pressed.png)
[21:17:42] ResourceManager::get(graphics/gui/vscroll_down_pressed.png)
[21:17:42] ResourceManager::get(graphics/gui/hscroll_left_pressed.png)
[21:17:42] ResourceManager::get(graphics/gui/hscroll_right_pressed.png)

i got this from gdb (bt) when it crashed for update

Code: Select all

#0  0x4002d12c in SDL_BlitCopy (info=0xc80) at SDL_blit.c:199
#1  0x4002d0b1 in SDL_SoftBlit (src=0x81c7ed8, srcrect=0xbffff948, 
    dst=0x81776b8, dstrect=0xbffff988) at SDL_blit.c:104
#2  0x400445b2 in SDL_LowerBlit (src=0x81c7ed8, srcrect=0xbffff948, 
    dst=0x81776b8, dstrect=0xbffff988) at SDL_surface.c:438
#3  0x400447fd in SDL_UpperBlit (src=0x81c7ed8, srcrect=0x409a4300, 
    dst=0x81776b8, dstrect=0xbffff988) at SDL_surface.c:528
#4  0x080d6031 in Graphics::drawImage (this=0x8190b70, image=0x81c8de0, 
    srcX=0, srcY=0, dstX=0, dstY=0, width=3200, height=3200)
    at graphics.cpp:147
#5  0x080d5f39 in Graphics::drawImage (this=0x191, image=0x409a4300, x=3200, 
    y=3200) at graphics.cpp:125
#6  0x080db84c in main (argc=3200, argv=0x81889a8) at main.cpp:594

thanks very much for any futher reply!
User avatar
knivey
Novice
Novice
Posts: 187
Joined: 05 Mar 2006, 03:01

Post by knivey »

Its possible the header files you downloaded don't match the version of the library on your system.
All your base are belong to us.
User avatar
ElvenProgrammer
Founder
Founder
Posts: 2526
Joined: 13 Apr 2004, 19:11
Location: Italy
Contact:

Post by ElvenProgrammer »

As knivey noticed at least SDL_mixer is confilicting, and that's probably why you were able to compile only by copying the headers. It seems the libs were there and the headers no. I suggest you to do a clean install: it means uninstalling previous versions first and then reinstall new ones.
deadcat
Peon
Peon
Posts: 2
Joined: 04 Jun 2006, 13:02

Post by deadcat »

ElvenProgrammer wrote:As knivey noticed at least SDL_mixer is confilicting, and that's probably why you were able to compile only by copying the headers. It seems the libs were there and the headers no. I suggest you to do a clean install: it means uninstalling previous versions first and then reinstall new ones.
yes got that!

still can't update,but now i can login an play :)

i don't know why but maybe there is some network problem with my network before

thank you all
:wink:
Post Reply