Issue460

Title Crash in load_texture_atlas @ start-up
Priority bug Status resolved
Assigned To joseph Keywords
Linked issues Watchers joseph

Submitted on 2011-09-04 17h55 by CB8, last changed by ahuillet.

Files
File name Uploaded Type Edit Remove
CrashFreedroid.odt CB8, 2011-09-04.17:55:29 application/vnd.oasis.opendocument.text
Messages
Author: CB8 Date: 2011-09-04   17h55
gdb --args freedroidRPG -wqr1 

GNU gdb (GDB) 7.1-ubuntu

Copyright (C) 2010 Free Software Foundation, Inc.

License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software: you are free to change and redistribute it.

There is NO WARRANTY, to the extent permitted by law.  Type "show copying"

and "show warranty" for details.

This GDB was configured as "i486-linux-gnu".

For bug reporting instructions, please see:

<http://www.gnu.org/software/gdb/bugs/>...

Reading symbols from /usr/games/freedroidRPG...(no debugging symbols found)...done.

(gdb) run

Starting program: /usr/games/freedroidRPG -wqr1

[Thread debugging using libthread_db enabled]



Hello, this is FreedroidRPG, version 0.12.1.

This seems to be a 'stable' release, so no exit on floating point exceptions.

-Signal Handling------------------------------------------------------

Setting up signal handlers for internal backtrace:

Now catching SIGSEGV: YES

Now catching FPE (if raised, that is!): YES



[New Thread 0xb7fddb70 (LWP 1690)]



Video system type: x11.

Using screen resolution 800 x 600.

Testing if color depth 32 bits is available... YES.



video mode set (bpp=24 RGBA=8880 depth=24)

-OpenGL-------------------------------------------------------

Vendor     : VA Linux Systems, Inc.

Renderer   : Mesa DRI Rage 128 20051027 AGP 1x x86/MMX+/3DNow!+/SSE

Version    : 1.2 Mesa 7.7.1





----------------------------------------------------------------------

Freedroid has encountered a problem:

In Function: load_texture_atlas.

FreedroidRPG package and version number: freedroidrpg 0.12.1.

Your system only supports 1024x1024 textures. Atlas floor_tiles/atlas.txt is
1024x2048 and therefore will not be used.

The problem mentionned above is not fatal, we continue the execution.

----------------------------------------------------------------------



Program received signal SIGSEGV, Segmentation fault.

0x00d19685 in ?? () from /usr/lib/dri/r128_dri.so

(gdb) bt full

#0  0x00d19685 in ?? () from /usr/lib/dri/r128_dri.so

No symbol table info available.

#1  0x00d1b6e1 in ?? () from /usr/lib/dri/r128_dri.so

No symbol table info available.

#2  0x00c80940 in _mesa_CopyTexImage2D () from /usr/lib/dri/r128_dri.so

No symbol table info available.

#3  0x080b4ea5 in StoreMenuBackground ()

No symbol table info available.

#4  0x080616de in DoMenuSelection ()

No symbol table info available.

#5  0x0806232c in ?? ()

No symbol table info available.

#6  0x080627a8 in ?? ()

No symbol table info available.

#7  0x080a395f in main ()

No symbol table info available.

(gdb)

Attached CrashFreedroid.odt.
Author: matthiaskrgr Date: 2011-09-04   18h22
Hi CB8,
There is something very strange.
The error output says you were running freedroidRPG 0.12.1 (which is more than 2
years old by now) however floor tile atlases were introduced in the development
(svn) version of the game.

How did you install the game?
Author: ahuillet Date: 2011-09-04   18h45
Matthias - floor tiles atlases were introduced much earlier than that, probably
in 0.12.1 indeed.

At any rate, CB8, your graphics card is unfortunately not supported by
FreedroidRPG as it stands. We require support for 2048-sized textures.
However the game should be able to fall back properly to non-atlas mode, so this
is an actual bug to be fixed.

Thanks a lot for the report.

Joseph, would you please look at this? Thanks!
Author: CB8 Date: 2011-09-05   16h36
I installed Freedroid from the Ubuntu Software Center (Ubuntu 10.04). I'm
running Ubuntu on a pretty old machine (10 years old). Please contact Canonical
so that they keep their repository up to date. I installed FreedroidRPG on a
younger machine, and it runs fine
Author: matthiaskrgr Date: 2011-09-05   16h39
You can get the latest official release of FreedroidRPG for Ubuntu at Playdeb

http://www.playdeb.net/software/Freedroid%20RPG
Author: matthiaskrgr Date: 2011-09-06   20h55
Should be fixed in r5033
Thanks for reporting!
Author: ahuillet Date: 2011-09-07   05h52
Can you please test and confirm that r5033 makes the game work with your Rage 128?

Thanks
History
Date User Action Args
2011-09-07 05:52:20ahuilletsetmessages: + msg1608
2011-09-06 20:55:37matthiaskrgrsetstatus: open -> resolved
messages: + msg1607
2011-09-05 16:39:38matthiaskrgrsetmessages: + msg1605
2011-09-05 16:36:37CB8setmessages: + msg1604
2011-09-04 18:45:14ahuilletsetassignedto: joseph
messages: + msg1603
nosy: + joseph
2011-09-04 18:22:42matthiaskrgrsetmessages: + msg1602
2011-09-04 17:55:29CB8create