Mon 18 May 2009 01:22:40 PM UTC, comment #1:
Backtrace in beta4.1
glob2: libgag/include/StreamBackend.h:68: virtual void GAGCore::FileStreamBackend::read(void*, size_t): Assertion `fp' failed.
Program received signal SIGABRT, Aborted.
[Switching to Thread 0xb679a910 (LWP 30526)]
0xb7f61430 in __kernel_vsyscall ()
(gdb) bt full
#0 0xb7f61430 in __kernel_vsyscall ()
No symbol table info available.
#1 0xb7abb6d0 in raise () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#2 0xb7abd098 in abort () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#3 0xb7ab45ce in __assert_fail () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#4 0x083160a6 in GAGCore::FileStreamBackend::read (this=0x8fdff48, data=0xb3eac0b0, size=16384) at libgag/include/StreamBackend.h:68
_PRETTY_FUNCTION_ = "virtual void GAGCore::FileStreamBackend::read(void*, size_t)"
#5 0x083124d2 in GAGCore::BinaryInputStream::read (this=0x8fdff58, data=0xb3eac0b0, size=16384, name=0x836765e "undermap") at libgag/include/BinaryStream.h:79
No locals.
#6 0x0817b25d in Map::loadTransitional (this=0xbfd7563c) at src/Map.cpp:1227
fileName = {static npos = 4294967295, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x8f9f8dc "maps/output"}}
stream = (class GAGCore::InputStream *) 0x8fdff58
#7 0x0818f23b in MapEdit::handleKeyPressed (this=0xbfd74940, key={scancode = 31 '\037', sym = SDLK_i, mod = KMOD_NUM, unicode = 105}, pressed=true) at src/MapEdit.cpp:1745
action_t = 0
#8 0x08196a8f in MapEdit::processEvent (this=0xbfd74940, event=@0xbfd747c4) at src/MapEdit.cpp:1730
modState = KMOD_NUM
#9 0x08196bef in MapEdit::run (this=0xbfd74940) at src/MapEdit.cpp:1209
event = {type = 2 '\002', active = {type = 2 '\002', gain = 0 '\0', state = 1 '\001'}, key = {type = 2 '\002', which = 0 '\0', state = 1 '\001', keysym = {scancode = 31 '\037', sym = SDLK_i, mod = KMOD_NUM, unicode = 105}},
motion = {type = 2 '\002', which = 0 '\0', state = 1 '\001', x = 12831, y = 2317, xrel = 105, yrel = 0}, button = {type = 2 '\002', which = 0 '\0', button = 1 '\001', state = 0 '\0', x = 12831, y = 2317}, jaxis = {type = 2 '\002',
which = 0 '\0', axis = 1 '\001', value = 12831}, jball = {type = 2 '\002', which = 0 '\0', ball = 1 '\001', xrel = 12831, yrel = 2317}, jhat = {type = 2 '\002', which = 0 '\0', hat = 1 '\001', value = 0 '\0'}, jbutton = {
type = 2 '\002', which = 0 '\0', button = 1 '\001', state = 0 '\0'}, resize = {type = 2 '\002', w = 151859743, h = 105}, expose = {type = 2 '\002'}, quit = {type = 2 '\002'}, user = {type = 2 '\002', code = 151859743, data1 = 0x69,
data2 = 0x1000}, syswm = {type = 2 '\002', msg = 0x90d321f}}
isRunning = true
returnCode = 0
startTick = 8233
endTick = 8213
deltaTick = 13
|