Hi,

Daniel Franganillo wrote:
> Subject: xmoto: Editor Segfaults opening downloaded levels.
> Package: xmoto
> Version: 0.2.0-1
> Severity: important
> 
> The bundled xmoto level editor segfaults whenever it loads any
> downloaded level.

I can reproduce this, thank you. Unfortunately I've got a weired
stacktrace (at the end of this mail). I'm forwarding this upstream.

Cheers,

Samuel.

> Steps:
> 1 - Download (in game) any level.
> 2 - Go to ~/.xmoto/Levels/downloaded
> 3 - Run xmoto-editor and open any level.
> 4 - Segfaults with:
> 
> ****** Editor Data ******
> 7 entity type(s):
> 
>  TYPEID=EndOfLevel
>  SIZE=1.000000
>  PARAM NAME="style" DEFAULT="default"
>  2 symbol part(s)
> 
>  TYPEID=PlayerStart
>  SIZE=1.000000
>  2 symbol part(s)
> 
>  TYPEID=Wrecker
>  SIZE=1.000000
>  PARAM NAME="style" DEFAULT="default"
>  3 symbol part(s)
> 
>  TYPEID=Sprite
>  SIZE=1.000000
>  PARAM NAME="z" DEFAULT="-1"
>  PARAM NAME="name" DEFAULT="Grass1"
>  2 symbol part(s)
> 
>  TYPEID=Strawberry
>  SIZE=1.000000
>  2 symbol part(s)
> 
>  TYPEID=ParticleSource
>  SIZE=1.000000
>  PARAM NAME="type" DEFAULT="Smoke"
>  2 symbol part(s)
> 
>  TYPEID=Dummy
>  SIZE=1.000000
>  3 symbol part(s)
> 
> Segmentation fault

Here is the stacktrace I got (even when compiled with -g) :

(gdb) where
#0  0x0806d1a6 in std::operator+<char, std::char_traits<char>,
std::allocator<char> > ()
#1  0x0804dae8 in std::operator+<char, std::char_traits<char>,
std::allocator<char> > ()
#2  0x08051b1f in std::operator+<char, std::char_traits<char>,
std::allocator<char> > ()
#3  0x0809a1f3 in std::operator+<char, std::char_traits<char>,
std::allocator<char> > ()
#4  0x0805c51b in std::operator+<char, std::char_traits<char>,
std::allocator<char> > ()
#5  0x0809e58c in std::operator+<char, std::char_traits<char>,
std::allocator<char> > ()
#6  0xa7af7ea8 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#7  0x0804b861 in ?? ()


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to