Crash on startup

Ask for help regarding any technical issue or report any bug or OS independent issues.
Post Reply
BHensley
Peon
Peon
Posts: 5
Joined: 09 Oct 2005, 00:58

Crash on startup

Post by BHensley » 09 Oct 2005, 01:24

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.
Last edited by BHensley on 09 Oct 2005, 14:07, edited 1 time in total.
User avatar
Crush
TMW Adviser
TMW Adviser
Posts: 8046
Joined: 25 Aug 2005, 17:08
Location: Germany

Post by Crush » 09 Oct 2005, 01:40

BHensley
Peon
Peon
Posts: 5
Joined: 09 Oct 2005, 00:58

Post by BHensley » 10 Oct 2005, 16:34

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.
User avatar
ElvenProgrammer
TMW Adviser
TMW Adviser
Posts: 2526
Joined: 13 Apr 2004, 20:11
Location: Italy
Contact:

Post by ElvenProgrammer » 10 Oct 2005, 17:46

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.
BHensley
Peon
Peon
Posts: 5
Joined: 09 Oct 2005, 00:58

Post by BHensley » 10 Oct 2005, 18:48

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.
User avatar
maci
Warrior
Warrior
Posts: 507
Joined: 05 Dec 2004, 21:01
Location: Germany
Contact:

Post by maci » 10 Oct 2005, 21:56

the log file is supposed to be in ~/.tmw/
ElvenProgrammer wrote:Maci: don't be rude, we're here to help people ;)
BHensley
Peon
Peon
Posts: 5
Joined: 09 Oct 2005, 00:58

Post by BHensley » 10 Oct 2005, 23:06

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).
User avatar
maci
Warrior
Warrior
Posts: 507
Joined: 05 Dec 2004, 21:01
Location: Germany
Contact:

Post by maci » 11 Oct 2005, 00:07

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?
ElvenProgrammer wrote:Maci: don't be rude, we're here to help people ;)
BHensley
Peon
Peon
Posts: 5
Joined: 09 Oct 2005, 00:58

Post by BHensley » 11 Oct 2005, 00:11

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
khandy
Peon
Peon
Posts: 24
Joined: 28 Aug 2005, 21:21

Post by khandy » 11 Oct 2005, 02:53

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.
User avatar
maci
Warrior
Warrior
Posts: 507
Joined: 05 Dec 2004, 21:01
Location: Germany
Contact:

Post by maci » 11 Oct 2005, 07:44

1.0.0 is supposed to work
ElvenProgrammer wrote:Maci: don't be rude, we're here to help people ;)
User avatar
Bjørn
TMW Adviser
TMW Adviser
Posts: 1430
Joined: 09 Dec 2004, 19:50
Location: North Rhine-Westphalia, Germany
Contact:

Post by Bjørn » 11 Oct 2005, 10:37

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.
User avatar
Bjørn
TMW Adviser
TMW Adviser
Posts: 1430
Joined: 09 Dec 2004, 19:50
Location: North Rhine-Westphalia, Germany
Contact:

Post by Bjørn » 30 Dec 2005, 16:32

BHensley, do you still get the problem with 0.0.18.1?
Post Reply