bugGlobulation 2 - Bugs: bug #22769, attempted to load a game while...

 
 

bug #22769: attempted to load a game while playing a game from YOG

Submitter:  Apple <appleboy>
Submitted:  Fri 28 Mar 2008 09:16:04 PM UTC
   
 
Severity:  3 - Normal Status:  Fixed
Assigned to:  None Open/Closed:  Closed
Release:  None Operating System:  Mac OS
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 28 Mar 2008 09:17:10 PM UTC, comment #1: 

when repeated a second time.

requires another person to be in the game, just doing it against some AI it won't crash.

==========
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000008
0x001c794e in boost::shared_ptr<Order>::shared_ptr (this=0x8) at /usr/local/include/boost/shared_ptr.hpp:131
131     {
(gdb) bt
#0  0x001c794e in boost::shared_ptr<Order>::shared_ptr (this=0x8) at /usr/local/include/boost/shared_ptr.hpp:131
#1  0x001d0634 in __gnu_cxx::new_allocator<boost::shared_ptr<Order> >::construct (this=0x1c157078, __p=0x8, __val=@0xbffb3d74) at /usr/include/c++/4.0.0/ext/new_allocator.h:104
#2  0x00212927 in std::deque<boost::shared_ptr<Order>, std::allocator<boost::shared_ptr<Order> > >::push_back (this=0x1c157078, __x=@0xbffb3d74) at /usr/include/c++/4.0.0/bits/stl_deque.h:1044
#3  0x00212964 in std::queue<boost::shared_ptr<Order>, std::deque<boost::shared_ptr<Order>, std::allocator<boost::shared_ptr<Order> > > >::push (this=0x1c157078, __x=@0xbffb3d74) at /usr/include/c++/4.0.0/bits/stl_queue.h:215
#4  0x001227e4 in NetEngine::pushOrder (this=0x19fa4d50, order=@0xbffc30fc, playerNumber=3, isAI=false) at src/NetEngine.cpp:100
#5  0x00117aeb in MultiplayerGame::recieveMessage (this=0x1cae6000, message=@0xbffc32ec) at src/MultiplayerGame.cpp:437
#6  0x0017bad0 in YOGClient::update (this=0x51e1b90) at src/YOGClient.cpp:255
#7  0x00114c51 in MultiplayerGame::update (this=0x1cae6000) at src/MultiplayerGame.cpp:54
#8  0x00069875 in Engine::run (this=0xbffc35c0) at src/Engine.cpp:312
#9  0x001160d7 in MultiplayerGame::startEngine (this=0x1cae6000) at src/MultiplayerGame.cpp:541
#10 0x00117902 in MultiplayerGame::recieveMessage (this=0x1cae6000, message=@0xbffe1cec) at src/MultiplayerGame.cpp:417
#11 0x0017b9a6 in YOGClient::update (this=0x51e1b90) at src/YOGClient.cpp:242
#12 0x00114c51 in MultiplayerGame::update (this=0x1cae6000) at src/MultiplayerGame.cpp:54
#13 0x00119dcc in MultiplayerGameScreen::onTimer (this=0xbffeed04, tick=138860) at src/MultiplayerGameScreen.cpp:125
#14 0x001a3d43 in GAGGUI::Screen::dispatchTimer (this=0xbffeed04, tick=138860) at libgag/src/GUIBase.cpp:627
#15 0x001a4408 in GAGGUI::Screen::execute (this=0xbffeed04, gfx=0x19f76cc0, stepLength=40) at libgag/src/GUIBase.cpp:445
#16 0x00180592 in YOGClientLobbyScreen::hostGame (this=0xbffef090) at src/YOGClientLobbyScreen.cpp:270
#17 0x001807d6 in YOGClientLobbyScreen::onAction (this=0xbffef090, source=0x19f0fdd0, action=BUTTON_RELEASED, par1=3, par2=0) at src/YOGClientLobbyScreen.cpp:153
#18 0x0019fe45 in GAGGUI::Button::onSDLMouseButtonUp (this=0x19f0fdd0, event=0xbffeeff4) at libgag/src/GUIButton.cpp:80
#19 0x001a4094 in GAGGUI::Screen::dispatchEvents (this=0xbffef090, event=0xbffeeff4) at libgag/src/GUIBase.cpp:596
#20 0x001a45ab in GAGGUI::Screen::execute (this=0xbffef090, gfx=0x19f76cc0, stepLength=40) at libgag/src/GUIBase.cpp:506
#21 0x001839ec in YOGLoginScreen::handleYOGClientEvent (this=0xbffef49c, event=@0xbffef158) at src/YOGLoginScreen.cpp:154
#22 0x0017a23d in YOGClient::sendToListeners (this=0x51e1b90, event=@0xbffef24c) at src/YOGClient.cpp:455
#23 0x0017ad37 in YOGClient::update (this=0x51e1b90) at src/YOGClient.cpp:149
#24 0x001836f6 in YOGLoginScreen::onTimer (this=0xbffef49c, tick=13238) at src/YOGLoginScreen.cpp:126
#25 0x001a3d43 in GAGGUI::Screen::dispatchTimer (this=0xbffef49c, tick=13238) at libgag/src/GUIBase.cpp:627
#26 0x001a4408 in GAGGUI::Screen::execute (this=0xbffef49c, gfx=0x19f76cc0, stepLength=40) at libgag/src/GUIBase.cpp:445
#27 0x000a2399 in Glob2::mutiplayerYOG (this=0xbfffeb63) at src/Glob2.cpp:107
#28 0x000a2b7b in Glob2::run (this=0xbfffeb63, argc=1, argv=0x5108150) at src/Glob2.cpp:262
#29 0x000a2f2b in SDL_main (argc=1, argv=0x5108150) at src/Glob2.cpp:337
#30 0x00190de7 in -[SDLMain applicationDidFinishLaunching:] (self=0x51250c0, _cmd=0x1c63d4, note=0x5119770) at ./src/main/macosx/SDLMain.m:302
#31 0x927f0237 in _nsnote_callback ()
#32 0x908563ce in __CFXNotificationPost ()
#33 0x9084db49 in _CFXNotificationPostNotification ()
#34 0x927e87c8 in -[NSNotificationCenter postNotificationName:object:userInfo:] ()
#35 0x927ef769 in -[NSNotificationCenter postNotificationName:object:] ()
#36 0x93278b16 in -[NSApplication _postDidFinishNotification] ()
#37 0x93278a00 in -[NSApplication _sendFinishLaunchingNotification] ()
#38 0x932784fd in -[NSApplication(NSAppleEventHandling) _handleAEOpen:] ()
#39 0x932780c8 in -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] ()
#40 0x927f5f21 in -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] ()
#41 0x927f5d4b in _NSAppleEventManagerGenericHandler ()
#42 0x915236c5 in aeDispatchAppleEvent ()
#43 0x915235f6 in dispatchEventAndSendReply ()
#44 0x915234c2 in aeProcessAppleEvent ()
#45 0x92df3084 in AEProcessAppleEvent ()
#46 0x932762bd in _DPSNextEvent ()
#47 0x93275cd7 in -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] ()
#48 0x9326fa64 in -[NSApplication run] ()
#49 0x0019153b in main (argc=1, argv=0xbffff800) at ./src/main/macosx/SDLMain.m:229

Apple <appleboy>
Group Member
Fri 28 Mar 2008 09:16:04 PM UTC, original submission:  

started up a YOG game, was playing with someone, hit esc, hit load game, chose a saved game and this
==============
(gdb) run
Starting program: /Users/AppleBoy/Desktop/Glob2 workspace/beta3-rc/src/glob2
Reading symbols for shared libraries .................................................................+...........+..+.+...+++ done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries .. done
Reading symbols for shared libraries . done
Reading symbols for shared libraries .. done
Reading symbols for shared libraries . done
Reading symbols for shared libraries .. done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries .. done
Reading symbols for shared libraries ... done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000041
0x002128f9 in std::deque<boost::shared_ptr<Order>, std::allocator<boost::shared_ptr<Order> > >::push_back (this=0x29, __x=@0xbffc30fc) at /usr/include/c++/4.0.0/bits/stl_deque.h:1041
1041            if (this->_M_impl._M_finish._M_cur
(gdb) bt
#0  0x002128f9 in std::deque<boost::shared_ptr<Order>, std::allocator<boost::shared_ptr<Order> > >::push_back (this=0x29, __x=@0xbffc30fc) at /usr/include/c++/4.0.0/bits/stl_deque.h:1041
#1  0x00212964 in std::queue<boost::shared_ptr<Order>, std::deque<boost::shared_ptr<Order>, std::allocator<boost::shared_ptr<Order> > > >::push (this=0x29, __x=@0xbffc30fc) at /usr/include/c++/4.0.0/bits/stl_queue.h:215
#2  0x00122747 in NetEngine::pushOrder (this=0x5181d60, order=@0xbffc30fc, playerNumber=1, isAI=false) at src/NetEngine.cpp:91
#3  0x00117aeb in MultiplayerGame::recieveMessage (this=0x1f636000, message=@0xbffc32ec) at src/MultiplayerGame.cpp:437
#4  0x0017bad0 in YOGClient::update (this=0x19f1f120) at src/YOGClient.cpp:255
#5  0x00114c51 in MultiplayerGame::update (this=0x1f636000) at src/MultiplayerGame.cpp:54
#6  0x00069875 in Engine::run (this=0xbffc35c0) at src/Engine.cpp:312
#7  0x001160d7 in MultiplayerGame::startEngine (this=0x1f636000) at src/MultiplayerGame.cpp:541
#8  0x00117902 in MultiplayerGame::recieveMessage (this=0x1f636000, message=@0xbffe1cec) at src/MultiplayerGame.cpp:417
#9  0x0017b9a6 in YOGClient::update (this=0x19f1f120) at src/YOGClient.cpp:242
#10 0x00114c51 in MultiplayerGame::update (this=0x1f636000) at src/MultiplayerGame.cpp:54
#11 0x00119dcc in MultiplayerGameScreen::onTimer (this=0xbffeed04, tick=1827762) at src/MultiplayerGameScreen.cpp:125
#12 0x001a3d43 in GAGGUI::Screen::dispatchTimer (this=0xbffeed04, tick=1827762) at libgag/src/GUIBase.cpp:627
#13 0x001a4408 in GAGGUI::Screen::execute (this=0xbffeed04, gfx=0x19f76d10, stepLength=40) at libgag/src/GUIBase.cpp:445
#14 0x00180592 in YOGClientLobbyScreen::hostGame (this=0xbffef090) at src/YOGClientLobbyScreen.cpp:270
#15 0x001807d6 in YOGClientLobbyScreen::onAction (this=0xbffef090, source=0x51620c0, action=BUTTON_RELEASED, par1=3, par2=0) at src/YOGClientLobbyScreen.cpp:153
#16 0x0019fe45 in GAGGUI::Button::onSDLMouseButtonUp (this=0x51620c0, event=0xbffeeff4) at libgag/src/GUIButton.cpp:80
#17 0x001a4094 in GAGGUI::Screen::dispatchEvents (this=0xbffef090, event=0xbffeeff4) at libgag/src/GUIBase.cpp:596
#18 0x001a45ab in GAGGUI::Screen::execute (this=0xbffef090, gfx=0x19f76d10, stepLength=40) at libgag/src/GUIBase.cpp:506
#19 0x001839ec in YOGLoginScreen::handleYOGClientEvent (this=0xbffef49c, event=@0xbffef158) at src/YOGLoginScreen.cpp:154
#20 0x0017a23d in YOGClient::sendToListeners (this=0x19f1f120, event=@0xbffef24c) at src/YOGClient.cpp:455
#21 0x0017ad37 in YOGClient::update (this=0x19f1f120) at src/YOGClient.cpp:149
#22 0x001836f6 in YOGLoginScreen::onTimer (this=0xbffef49c, tick=10241) at src/YOGLoginScreen.cpp:126
#23 0x001a3d43 in GAGGUI::Screen::dispatchTimer (this=0xbffef49c, tick=10241) at libgag/src/GUIBase.cpp:627
#24 0x001a4408 in GAGGUI::Screen::execute (this=0xbffef49c, gfx=0x19f76d10, stepLength=40) at libgag/src/GUIBase.cpp:445
#25 0x000a2399 in Glob2::mutiplayerYOG (this=0xbfffeb63) at src/Glob2.cpp:107
#26 0x000a2b7b in Glob2::run (this=0xbfffeb63, argc=1, argv=0x5108150) at src/Glob2.cpp:262
#27 0x000a2f2b in SDL_main (argc=1, argv=0x5108150) at src/Glob2.cpp:337
#28 0x00190de7 in -[SDLMain applicationDidFinishLaunching:] (self=0x51250c0, _cmd=0x1c63d4, note=0x5119770) at ./src/main/macosx/SDLMain.m:302
#29 0x927f0237 in _nsnote_callback ()
#30 0x908563ce in __CFXNotificationPost ()
#31 0x9084db49 in _CFXNotificationPostNotification ()
#32 0x927e87c8 in -[NSNotificationCenter postNotificationName:object:userInfo:] ()
#33 0x927ef769 in -[NSNotificationCenter postNotificationName:object:] ()
#34 0x93278b16 in -[NSApplication _postDidFinishNotification] ()
#35 0x93278a00 in -[NSApplication _sendFinishLaunchingNotification] ()
#36 0x932784fd in -[NSApplication(NSAppleEventHandling) _handleAEOpen:] ()
#37 0x932780c8 in -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] ()
#38 0x927f5f21 in -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] ()
#39 0x927f5d4b in _NSAppleEventManagerGenericHandler ()
#40 0x915236c5 in aeDispatchAppleEvent ()
#41 0x915235f6 in dispatchEventAndSendReply ()
#42 0x915234c2 in aeProcessAppleEvent ()
#43 0x92df3084 in AEProcessAppleEvent ()
#44 0x932762bd in _DPSNextEvent ()
#45 0x93275cd7 in -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] ()
#46 0x9326fa64 in -[NSApplication run] ()
#47 0x0019153b in main (argc=1, argv=0xbffff800) at ./src/main/macosx/SDLMain.m:229
Current language:  auto; currently c++

Apple <appleboy>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by genixpro (Updated the item)
  • -email is unavailable- added by appleboy (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-03-28 genixpro StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code