Page 1 of 1

Crash on startup

Posted: 09 Oct 2005, 00:24
by BHensley
I just installed The Mana World (0.0.16) with absolutely no errors coming up during the make/make install process. However, when I typed "tmw" at the terminal to start the game I was given an error:

[root@cpe-61-65-287-126 tmw-0.0.16]# tmw
Fatal signal: Segmentation Fault (SDL Parachute Deployed)


I've deleted the files installed and done a remake, etc. but the same thing continues to plague me. Here are my system details:

OS: Fedora Core 4
SDL: 1.2.8
SDL_mixer: 1.2.6
SDL_image: 1.2.4
Physfs: 1.0.0

As for libxml2 and zlib, I have them, but I'm unsure of the version numbers. I've also tried installing with the OpenGL option, but that proved to have the same fate.

Help is appreciated.

Posted: 09 Oct 2005, 00:40
by Crush

Posted: 10 Oct 2005, 15:34
by BHensley
Crush wrote:Does this thread help you?

http://forums.themanaworld.org/viewtopic.php?t=890
No, it doesn't. I tried the gdb, but it returns "No stack."

[root@cpe-55-55-55-55 tmw-0.0.16]# gdb /usr/local/bin/tmw
GNU gdb Red Hat Linux (6.3.0.0-1.21rh)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) bt
No stack.

Posted: 10 Oct 2005, 16:46
by ElvenProgrammer
The window doesn't even display?
It created the log file? If so can you show the content of it?
Try to run with the --skipupdate option.

Posted: 10 Oct 2005, 17:48
by BHensley
ElvenProgrammer wrote:The window doesn't even display?
It created the log file? If so can you show the content of it?
Try to run with the --skipupdate option.
If I run tmw through the terminal then no window displays. However, if I run it from the KMenu a window does appear, but closes very quickly and before any image is loaded (stays black).

Where would the log be found? Not sure if it created one, nothing's in my root directory, and no log files are in the TMW directory (/usr/local/share/tmw).

I ran tmw with the --skipupdate, but to no avail. From both the terminal and the menu, the same exact thing happens.

Posted: 10 Oct 2005, 20:56
by maci
the log file is supposed to be in ~/.tmw/

Posted: 10 Oct 2005, 22:06
by BHensley
Odd, now I'm receiving a different error.
[root@cpe-55-55-55-55 ~]# /usr/local/share/tmw/data/tmw
Error: Couldn't load login_wallpaper.png
And, here's my log:
[22:02:09] Using video driver: x11
[22:02:09] Possible to create hardware surfaces: no
[22:02:09] Window manager available: yes
[22:02:09] Accelerated hardware to hardware blits: no
[22:02:09] Accelerated hardware to hardware colorkey blits: no
[22:02:09] Accelerated hardware to hardware alpha blits: no
[22:02:09] Accelerated software to hardware blits: no
[22:02:09] Accelerated software to hardware colorkey blits: no
[22:02:09] Accelerated software to hardware alpha blits: no
[22:02:09] Accelerated color fills: no
[22:02:09] Available video memory: 0
[22:02:09] ResourceManager::get(graphics/images/login_wallpaper.png)
[22:02:09] Error, image load failed
[22:02:09] ResourceManager::get(graphics/sprites/player_male_base.png)
[22:02:09] Error, image load failed
[22:02:09] ResourceManager::get(graphics/sprites/player_male_hair.png)
[22:02:09] Error, image load failed
[22:02:09] Error: Couldn't load login_wallpaper.png
[22:02:09] Sound::close() Shutting down sound...
All of the images noted in the log do exist, have appropriate permissions (rw-r--r--), and don't seem to be corrupted at all (I can view them in Konqueror).

Posted: 10 Oct 2005, 23:07
by maci
seems very lot like a problem with paths

a few questions.
what prefixes did you use for compiling tmw?
from what dir did you start tmw ?
where are all the tmw related files are actually located?

Posted: 10 Oct 2005, 23:11
by BHensley
maci wrote:seems very lot like a problem with paths

a few questions.
what prefixes did you use for compiling tmw?
from what dir did you start tmw ?
where are all the tmw related files are actually located?
1. I didn't specify a prefix, I kept the default (so, /usr/local/share I'd assume)

2. Assuming you mean the directory my terminal was changed to when typing the "tmw" command -> ~. Though, I did a cd to /usr/local/share/tmw/data, and did "tmw" again, same thing.

3. /usr/local/share/tmw

Posted: 11 Oct 2005, 01:53
by khandy
BHensley wrote:Odd, now I'm receiving a different error.
[root@cpe-55-55-55-55 ~]# /usr/local/share/tmw/data/tmw
Error: Couldn't load login_wallpaper.png
Is this the "You must use physfs v 1.0.1" error? I know that 1.1.0
will generate this error, but I'm not sure if 1.0.0 will also.

Posted: 11 Oct 2005, 06:44
by maci
1.0.0 is supposed to work

Posted: 11 Oct 2005, 09:37
by Bjørn
BHensley wrote:I tried the gdb, but it returns "No stack."

[root@cpe-55-55-55-55 tmw-0.0.16]# gdb /usr/local/bin/tmw
GNU gdb Red Hat Linux (6.3.0.0-1.21rh)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) bt
No stack.
There is no stack because you didn't run the program, which you'd need to do using "run". You'd only use "bt" when the program actually crashed.

Anyway the image load failed error could also be related to libpng support missing from SDL_image or something. I know a lot (all?) of Slackware users had this problem.

Posted: 30 Dec 2005, 15:32
by Bjørn
BHensley, do you still get the problem with 0.0.18.1?