owner@owner86-laptop:~/bitfighter/hg016/exe$ gdb bitfighter GNU gdb (GDB) 7.1-ubuntu Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later 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: ... Reading symbols from /home/owner/bitfighter/hg016/exe/bitfighter...done. (gdb) start Temporary breakpoint 1 at 0x81f35b3: file main.cpp, line 1263. Starting program: /home/owner/bitfighter/hg016/exe/bitfighter [Thread debugging using libthread_db enabled] Temporary breakpoint 1, main (argc=1, argv=0xbffff4b4) at main.cpp:1263 1263 GameSettings *settings = new GameSettings(); // Will be deleted in shutdownBitfighter() (gdb) run The program being debugged has been started already. Start it from the beginning? (y or n) n Program not restarted. (gdb) continue Continuing. Welcome to Bitfighter! [New Thread 0xb7f50b70 (LWP 1803)] Could not read music files from folder "music". Game will proceed without music Using hardware OpenGL window Client connecting to master [IP:67.18.11.66:25955] Client established connection with Master Server team count: 0 Server connecting to master [IP:67.18.11.66:25955] Recast built 9 zones! Timings: 1 1 2 IP:Any:0 - connected to server. IP:Any:0 - client "ChumpChange" connected. team count: 2 EditorTeam 0 pointer: 0x8bc0078 EditorTeam 1 pointer: 0x8bc00b0 IP:Any:0 - client "ChumpChange" disconnected. IP:Any:0 - client "ChumpChange" disconnected. Server connecting to master [IP:67.18.11.66:25955] Recast built 9 zones! Timings: 1 1 3 IP:Any:0 - connected to server. IP:Any:0 - client "ChumpChange" connected. team count: 2 Team 0 pointer: 0x8bbc5e8 Team 1 pointer: 0x8b9db60 Server established connection with Master Server IP:Any:0 - client "ChumpChange" disconnected. IP:Any:0 - client "ChumpChange" disconnected. team count: 2 Team 0 pointer: 0x8b9db60 Team 1 pointer: 0x8bbc5e8 Program received signal SIGSEGV, Segmentation fault. 0x0805843f in TNL::SafeObjectRef::registerReference (this=0x8b8f408) at ../tnl/tnlNetBase.h:587 587 mNextObjectRef->mPrevObjectRef = this; (gdb) where #0 0x0805843f in TNL::SafeObjectRef::registerReference (this=0x8b8f408) at ../tnl/tnlNetBase.h:587 #1 0x080f9573 in SafeObjectRef (this=0x8b8f408, object=0x8bc00e8) at ../tnl/tnlNetBase.h:608 #2 0x08167b92 in SafePtr (this=0x8b8f408, ref=...) at ../tnl/tnlNetBase.h:628 #3 0x0816da08 in std::__uninitialized_copy::uninitialized_copy*, TNL::SafePtr*> (__first=0x8bc0238, __last=0x8bc0244, __result=0x8b8f408) at /usr/include/c++/4.4/bits/stl_uninitialized.h:74 #4 0x0816d3e5 in std::uninitialized_copy*, TNL::SafePtr*> (__first=0x8bc0238, __last=0x8bc0244, __result=0x8b8f408) at /usr/include/c++/4.4/bits/stl_uninitialized.h:117 #5 0x0816c666 in std::__uninitialized_copy_a*, TNL::SafePtr*, TNL::SafePtr > ( __first=0x8bc0238, __last=0x8bc0244, __result=0x8b8f408) at /usr/include/c++/4.4/bits/stl_uninitialized.h:257 #6 0x0816c8c1 in std::__uninitialized_move_a*, TNL::SafePtr*, std::allocator > > (__first=0x8bc0238, __last=0x8bc0244, __result=0x8b8f408, __alloc=...) at /usr/include/c++/4.4/bits/stl_uninitialized.h:267 #7 0x0816a698 in std::vector, std::allocator > >::_M_insert_aux (this=0x8603f30, __position=..., __x=...) at /usr/include/c++/4.4/bits/vector.tcc:338 ---Type to continue, or q to quit--- #8 0x081687c9 in std::vector, std::allocator > >::push_back (this=0x8603f30, __x=...) at /usr/include/c++/4.4/bits/stl_vector.h:741 #9 0x0816778a in TNL::Vector >::push_back ( this=0x8603f30, x=...) at ../tnl/tnlVector.h:279 #10 0x0815e461 in Zap::Game::setScopeAlwaysObject (this=0x8603ed0, theObject=0x8bb5950) at game.cpp:227 #11 0x081866fd in Zap::GameObject::setScopeAlways (this=0x8bb5950) at gameObject.cpp:330 #12 0x082496eb in Zap::LineItem::onAddedToGame (this=0x8bb5950, game=0x8603ed0) at textItem.cpp:488 #13 0x08186fa2 in Zap::GameObject::addToGame (this=0x8bb5950, game=0x8603ed0, database=0x8bbf7a8) at gameObject.cpp:534 #14 0x08057c6d in Zap::ClientGame::processPseudoItem (this=0x8603ed0, argc=12, argv=0x85b0f80, levelFileName=...) at ClientGame.cpp:1614 #15 0x0815f100 in Zap::Game::processLevelLoadLine (this=0x8603ed0, argc=12, id=0, argv=0x85b0f80, database=0x8bbf7a8, inEditor=true, levelFileName=...) at game.cpp:502 #16 0x081847b4 in Zap::LevelLoader::parseLevelLine (this=0x8603ed0, line=0xbfffe10c "SoccerGameType 10 12\r\nLevelName \"\"\r\nLevelDescription \"\"\r\nLevelCredits ChumpChange\r\nGridSize 255\r\nTeam Red 1 0 0\r\nTeam Blue 0 0 1\r\nSpecials\r\nMinPlayers\r\nMaxPlayers\r\nBarrierMaker 50 -2 -2 2 -2 2 2 -2 2 "..., database=0x8bbf7a8, inEditor=true, levelFileName=...) ---Type to continue, or q to quit--- at gameLoader.cpp:217 #17 0x08184a77 in Zap::LevelLoader::loadLevelFromFile (this=0x8603ed0, filename=..., inEditor=true, database=0x8bbf7a8) at gameLoader.cpp:283 #18 0x0808952d in Zap::EditorUserInterface::loadLevel (this=0x8bbf010) at UIEditor.cpp:525 #19 0x0808b776 in Zap::EditorUserInterface::onActivate (this=0x8bbf010) at UIEditor.cpp:1007 #20 0x08077f4f in Zap::UserInterface::activate (this=0x8bbf010, save=false) at UI.cpp:113 #21 0x080d3b0d in Zap::LevelNameEntryUserInterface::onAccept (this=0x862cab0, name=0x85dbfcc "zzzztest_soccer") at UINameEntry.cpp:212 #22 0x080d351d in Zap::TextEntryUserInterface::onKeyDown (this=0x862cab0, inputCode=Zap::KEY_ENTER, ascii=0 '\000') at UINameEntry.cpp:108 #23 0x080d3a68 in Zap::LevelNameEntryUserInterface::onKeyDown (this=0x862cab0, inputCode=Zap::KEY_ENTER, ascii=0 '\000') at UINameEntry.cpp:201 #24 0x08061375 in Zap::Event::inputCodeDown (inputCode=Zap::KEY_ENTER, ascii=0 '\000') at Event.cpp:150 #25 0x08061957 in Zap::Event::onKeyDown (game=0x8603ed0, key=SDLK_RETURN, mod=KMOD_NUM, unicode=13) at Event.cpp:309 #26 0x080613c9 in Zap::Event::onEvent (game=0x8603ed0, event=0xbffff34c) at Event.cpp:159 #27 0x081f1ffa in Zap::idle () at main.cpp:667 #28 0x081f2054 in Zap::dedicatedServerLoop () at main.cpp:689 ---Type to continue, or q to quit--- #29 0x081f391a in main (argc=1, argv=0xbffff4b4) at main.cpp:1334 (gdb)