sear Segmentation fault in Edgy

Bug #56732 reported by Zingo Andersen
4
Affects Status Importance Assigned to Milestone
Debian
Fix Released
Unknown
sdl-image1.2 (Ubuntu)
Fix Released
Medium
StefanPotyra

Bug Description

Binary package hint: sear

I run AMD64 Edgy

I get this output:
--------------------------------------------
zingo@dual:~$ sear-bin
Sprite compass_case has no filename defined
Sprite compass_needle has no filename defined
Sprite compass_needle_shadow has no filename defined
Error: Varconf Error:
Varconf Error: could not open configuration file "/home/zingo/.sear//general.cfg" for input.

Error: Error processing /home/zingo/.sear//bindings.cfg
reading sprite config at /usr/share/sear/sear-media-0.6//sprites.cfg
Segmentation fault
--------------------------------------------
To get some more info I tried to use GDB
--------------------------------------------
zingo@dual:~$ gdb sear-bin
GNU gdb 6.4.90-debian
Copyright (C) 2006 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 "x86_64-linux-gnu"...(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) run
Starting program: /usr/games/sear-bin
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
---Type <return> to continue, or q <return> to quit---
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 47238728355424 (LWP 9696)]
Sprite compass_case has no filename defined
Sprite compass_needle has no filename defined
Sprite compass_needle_shadow has no filename defined
Error: Varconf Error:
Varconf Error: could not open configuration file "/home/zingo/.sear//general.cfg" for input.

Error: Error processing /home/zingo/.sear//bindings.cfg
reading sprite config at /usr/share/sear/sear-media-0.6//sprites.cfg

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 47238728355424 (LWP 9696)]
0x00002af69a7aa85a in IMG_isXCF () from /usr/lib/libSDL_image-1.2.so.0
(gdb) bt
#0 0x00002af69a7aa85a in IMG_isXCF () from /usr/lib/libSDL_image-1.2.so.0
#1 0x0000000000458eea in std::vector<std::string, std::allocator<std::string> >::_M_insert_aux ()
#2 0x0000000000453406 in WFMath::AxisBox<3>::setCorners ()
#3 0x0000000000419b52 in ?? ()
#4 0x00000000004145e2 in ?? ()
#5 0x00002af69e4a40c4 in __libc_start_main () from /lib/libc.so.6
#6 0x000000000041427a in ?? ()
#7 0x00007fff10421ae8 in ?? ()
#8 0x0000000000000000 in ?? ()
(gdb)
--------------------------------------------
Is there any more info needed or anything more that I could test?

Revision history for this message
Mateusz Drożdżyński (matid) wrote :

Thanks for your bug report. Could you also attach the output from Valgrind?

Detailed instructions on obtaining it can be found here:
https://wiki.ubuntu.com/Valgrind

Changed in sear:
status: Unconfirmed → Needs Info
Revision history for this message
Zingo Andersen (zingo) wrote :

Good idea, nice tool this valgrind...

Revision history for this message
Mateusz Drożdżyński (matid) wrote :

Again, thanks for your effort. You bug has been forwarded to MOTU Games, the team responsible for this section of Universe repository. Please await the answer from them and make sure to provide any further debugging info if requested.

Changed in sear:
assignee: nobody → motugames
status: Needs Info → Confirmed
Changed in sear:
importance: Untriaged → Medium
Revision history for this message
StefanPotyra (sistpoty) wrote :

Thanks for the bugreport.

I can reproduce this bug on i386 and will try to fix it.

Cheers,
     Stefan.

Changed in sear:
assignee: motugames → sistpoty
status: Confirmed → In Progress
Revision history for this message
StefanPotyra (sistpoty) wrote :

For the record, backtrace with debugging symbols:

#0 0xb7ee9591 in IMG_isXCF () from /usr/lib/libSDL_image-1.2.so.0
#1 0x080b0e8c in Sear::GL::createWindow (this=0x831b900, width=640, height=480, fullscreen=false) at GL.cpp:261
#2 0x080a5686 in Sear::RenderSystem::createWindow (this=0x8183f20, width=640, height=480, fullscreen=false) at RenderSystem.cpp:168
#3 0x0805d613 in Sear::System::init (this=0x8308da8, argc=1, argv=0xbfc4ec64) at System.cpp:296
#4 0x08057a3c in main (argc=-1208775456, argv=0x0) at main.cpp:91

Revision history for this message
StefanPotyra (sistpoty) wrote :

This bug is actually in the sdl-image1.2 library, see debian #378173. Reassigning to sdl-image1.2.

Revision history for this message
StefanPotyra (sistpoty) wrote :

New version is synced from unstable which fixes the bug.

Changed in sdl-image1.2:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.