SegFault

Ask for help regarding any technical issue or report any bug or OS independent issues.
Post Reply
User avatar
Jaxad0127
TMW Adviser
TMW Adviser
Posts: 4209
Joined: Thu Nov 01, 2007 6:35 pm
Location: Internet

SegFault

Post by Jaxad0127 » Mon Nov 26, 2007 12:21 am

I keep getting a segfault when I click the play button. GDB give this info on it:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb76906e0 (LWP 5421)]
0xb7cf57b6 in glDeleteTextures () from /usr/lib/libGL.so.1

The last entry in the log is:

[22:38:29.04] ResourceManager::release(graphics/images/login_wallpaper.png)

I'm trying to run the game under Arch Linux.
User avatar
Falcata
Novice
Novice
Posts: 137
Joined: Fri Nov 10, 2006 2:55 am
Location: Michiana
Contact:

Post by Falcata » Mon Nov 26, 2007 1:34 am

Looks like another OpenGL problem to me. Why don't you check the game logs? The folder it is in should be in your home folder, but you'll have to enable the "View Hidden Files" option to find it. Or just direct konqueror/nautilus/thunar to the folder /home/your_user_name/.tmw
I'm a proud member of the Online Campaign for Real English, a movement for those who believe in capital letters, correct spelling, and good sentence structure.
User avatar
Jaxad0127
TMW Adviser
TMW Adviser
Posts: 4209
Joined: Thu Nov 01, 2007 6:35 pm
Location: Internet

Post by Jaxad0127 » Mon Nov 26, 2007 4:20 am

I've checked it. No obvious problems. The last line is in my first post.
User avatar
ElvenProgrammer
TMW Adviser
TMW Adviser
Posts: 2526
Joined: Tue Apr 13, 2004 8:11 pm
Location: Italy
Contact:

Post by ElvenProgrammer » Mon Nov 26, 2007 2:12 pm

Usually the last line doesn't describe the actual problem but only what tmw does just before exiting. Please provide the full content of your tmw log.

In the meanwhile if it's a opengl problem you can just turn it off by changing the opengl option in config.xml to 0.
User avatar
Jaxad0127
TMW Adviser
TMW Adviser
Posts: 4209
Joined: Thu Nov 01, 2007 6:35 pm
Location: Internet

Post by Jaxad0127 » Mon Nov 26, 2007 4:53 pm

I don't have access to that computer right now and I've already tried turning OpenGL off in the config file, no effect.
User avatar
Jaxad0127
TMW Adviser
TMW Adviser
Posts: 4209
Joined: Thu Nov 01, 2007 6:35 pm
Location: Internet

Post by Jaxad0127 » Tue Nov 27, 2007 4:51 am

Here's the full file:
[03:45:34.88] Initializing SDL...
[03:45:35.79] Initializing resource manager...
[03:45:35.79] Adding to PhysicsFS: /home/jared//.tmw
[03:45:35.88] Adding to PhysicsFS: data
[03:45:35.88] Adding to PhysicsFS: /usr/share/tmw/data
[03:45:35.90] Initializing configuration...
[03:45:36.37] Setting video mode 800x600 windowed
[03:45:36.73] Using video driver: x11
[03:45:36.73] Possible to create hardware surfaces: no
[03:45:36.73] Window manager available: yes
[03:45:36.73] Accelerated hardware to hardware blits: no
[03:45:36.73] Accelerated hardware to hardware colorkey blits: no
[03:45:36.73] Accelerated hardware to hardware alpha blits: no
[03:45:36.73] Accelerated software to hardware blits: no
[03:45:36.73] Accelerated software to hardware colorkey blits: no
[03:45:36.73] Accelerated software to hardware alpha blits: no
[03:45:36.73] Accelerated color fills: no
[03:45:36.73] Available video memory: 0
[03:45:36.75] Initializing GUI...
[03:45:36.80] Loaded /usr/share/tmw/data/graphics/gui/sansserif8.png
[03:45:36.85] Loaded /usr/share/tmw/data/graphics/gui/rpgfont_wider.png
[03:45:36.95] Loaded /usr/share/tmw/data/graphics/gui/hits_red.png
[03:45:37.07] Loaded /usr/share/tmw/data/graphics/gui/hits_blue.png
[03:45:37.13] Loaded /usr/share/tmw/data/graphics/gui/hits_yellow.png
[03:45:37.18] Loaded /usr/share/tmw/data/graphics/gui/mouse.png
[03:45:37.24] Window::Window("Window")
[03:45:37.24] Loaded /usr/share/tmw/data/graphics/gui/vscroll_grey.png
[03:45:37.30] Loaded /usr/share/tmw/data/graphics/gui/bg_quad_dis.png
[03:45:37.33] Loaded /usr/share/tmw/data/graphics/gui/target-cursor-blue-s.png
[03:45:37.36] Loaded /usr/share/tmw/data/graphics/gui/target-cursor-red-s.png
[03:45:37.39] Loaded /usr/share/tmw/data/graphics/gui/target-cursor-blue-m.png
[03:45:37.43] Loaded /usr/share/tmw/data/graphics/gui/target-cursor-red-m.png
[03:45:37.47] Loaded /usr/share/tmw/data/graphics/gui/target-cursor-blue-l.png
[03:45:37.50] Loaded /usr/share/tmw/data/graphics/gui/target-cursor-red-l.png
[03:45:37.57] Sound::init() Initializing sound...
[03:45:37.96] Sound::info() SDL_mixer: 1.2.7 (compiled)
[03:45:37.96] Sound::info() SDL_mixer: 1.2.8 (linked)
[03:45:37.96] Sound::info() Driver: alsa
[03:45:37.96] Sound::info() Format: S16LSB
[03:45:37.96] Sound::info() Rate: 22050
[03:45:37.96] Sound::info() Channels: 2
[03:45:37.96] Sound::startMusic() Playing "/usr/share/tmw/data/music/Magick - Real.ogg" -1 times
[03:45:37.96] Sound::startMusic() Warning: error loading file.
[03:45:38.00] Loaded /usr/share/tmw/data/graphics/images/login_wallpaper.png
[03:45:38.33] State: UPDATE
[03:45:38.33] Window::Window("Updating...")
[03:45:38.36] Loaded /usr/share/tmw/data/graphics/gui/deepbox.png
[03:45:38.39] Loaded /usr/share/tmw/data/graphics/gui/vscroll_up_default.png
[03:45:38.43] Loaded /usr/share/tmw/data/graphics/gui/vscroll_down_default.png
[03:45:38.45] Loaded /usr/share/tmw/data/graphics/gui/hscroll_left_default.png
[03:45:38.49] Loaded /usr/share/tmw/data/graphics/gui/hscroll_right_default.png
[03:45:38.51] Loaded /usr/share/tmw/data/graphics/gui/vscroll_up_pressed.png
[03:45:38.54] Loaded /usr/share/tmw/data/graphics/gui/vscroll_down_pressed.png
[03:45:38.57] Loaded /usr/share/tmw/data/graphics/gui/hscroll_left_pressed.png
[03:45:38.59] Loaded /usr/share/tmw/data/graphics/gui/hscroll_right_pressed.png
[03:45:38.66] Loaded /usr/share/tmw/data/graphics/gui/button.png
[03:45:38.69] Loaded /usr/share/tmw/data/graphics/gui/buttonhi.png
[03:45:38.71] Loaded /usr/share/tmw/data/graphics/gui/buttonpress.png
[03:45:38.74] Loaded /usr/share/tmw/data/graphics/gui/button_disabled.png
[03:45:39.06] Downloading: http://updates.themanaworld.org/news.txt
[03:45:40.47] Downloading: http://updates.themanaworld.org/resources2.txt
[03:45:41.32] Loaded /home/jared//.tmw/updates/resources2.txt
[03:45:41.37] items-3700.zip already here
[03:45:41.41] minimaps-2935.zip already here
[03:45:41.44] sounds-2935.zip already here
[03:45:41.47] update-2940-3040.zip already here
[03:45:41.50] sprites-3700.zip already here
[03:45:41.53] maps-3126.zip already here
[03:45:41.56] update-3051-3126.zip already here
[03:45:41.60] update-3126-3266.zip already here
[03:45:41.63] particles-3313.zip already here
[03:45:41.66] update-3266-3313.zip already here
[03:45:41.69] update-3313-3473-2.zip already here
[03:45:41.72] database-3700.zip already here
[03:45:48.82] Loaded /home/jared//.tmw/updates/resources2.txt
[03:45:48.82] Adding to PhysicsFS: /home/jared//.tmw/updates/items-3700.zip
[03:45:48.87] Adding to PhysicsFS: /home/jared//.tmw/updates/minimaps-2935.zip
[03:45:48.88] Adding to PhysicsFS: /home/jared//.tmw/updates/sounds-2935.zip
[03:45:48.90] Adding to PhysicsFS: /home/jared//.tmw/updates/update-2940-3040.zip
[03:45:48.91] Adding to PhysicsFS: /home/jared//.tmw/updates/sprites-3700.zip
[03:45:48.93] Adding to PhysicsFS: /home/jared//.tmw/updates/maps-3126.zip
[03:45:48.95] Adding to PhysicsFS: /home/jared//.tmw/updates/update-3051-3126.zip
[03:45:48.95] Adding to PhysicsFS: /home/jared//.tmw/updates/update-3126-3266.zip
[03:45:48.97] Adding to PhysicsFS: /home/jared//.tmw/updates/particles-3313.zip
[03:45:48.97] Adding to PhysicsFS: /home/jared//.tmw/updates/update-3266-3313.zip
[03:45:48.98] Adding to PhysicsFS: /home/jared//.tmw/updates/update-3313-3473-2.zip
[03:45:48.99] Adding to PhysicsFS: /home/jared//.tmw/updates/database-3700.zip
[03:45:48.99] ResourceManager::release(graphics/images/login_wallpaper.png)
EDIT:
I'm no longer having this problem in 0.24.
Post Reply