bugPingus - Bugs: bug #680, Crash in...

 
 

bug #680: Crash in Playfield::process_input_interactive()

Submitted by:  None
Submitted on:  Tue 18 Jun 2002 01:16:34 PM UTC  
 
Category: Game EngineSeverity: 3 - Normal
Item Group: Crash ErrorStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: ClosedRelease: None
Operating System: NonePlanned Release: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 18 Jun 2002 02:15:36 PM UTC, comment #1:

current_view was uninitialisied, therefore it crashed if the mousecursor was outsite the window.

Ingo Ruhnke <grumbel>
Project Administrator
Tue 18 Jun 2002 01:16:34 PM UTC, original submission:

After playing a few levels in the worldmap, the game crashed at a level shutdown. Incorrect destruction order or something like that might be the 'cause, since the worldmap became visible before the destruction process was completle or is it a bug in the creation, since bug might have happened after I already pressed on another level (incorrect click-routing?):

#0 0x0807fd43 in Playfield::process_input_interactive() (this=0x901c228)
at /usr/include/g++-v3-3.1/bits/stl_vector.h:289
289 reference operator[](size_type __n) { return *(begin() + __n); }
(gdb) where
#0 0x0807fd43 in Playfield::process_input_interactive() (this=0x901c228)
at /usr/include/g++-v3-3.1/bits/stl_vector.h:289
#1 0x0807fd60 in Playfield::updateX() (this=0x901c228) at playfield.cxx:195
#2 0x08066057 in Client::update(float) (this=0x8985628, delta=1.5619102e-33)
at /usr/include/g++-v3-3.1/bits/stl_iterator.h:593
#3 0x08065e19 in Client::play_level(PLF*) (this=0x8985628, arg_plf=0xe6e8d760) at delta_manager.hxx:35
#4 0x080656ac in Client::display() (this=0x8985628) at client.cxx:93
#5 0x0809b79e in PingusGameSession::start() (this=0xe6e8d760) at game_session.cxx:50
#6 0x0811a980 in Pingus::WorldMap::LevelNode::on_click() (this=0x8577be0) at node.cxx:112
#7 0x081133ba in Pingus::WorldMap::WorldMap::on_button_press(CL_InputDevice*, CL_Key const&) (this=0x85105c8,
device=0x81308a8, key=@0x2) at ../boost/smart_ptr.hpp:207
#8 0x081113c1 in CL_MethodSlot_v2<Pingus::WorldMapManager, CL_InputDevice, CL_Key const&>::call(CL_InputDevice
, CL_Key const&) (this=0x40d5d088, param1=0x8167cc8, param2=@0xbffff290)
at /home/ingo/projects/pingus/libs/include/ClanLib/Signals/slot_v2.h:62
#9 0x400eb5fa in CL_Mouse_XWin::keep_alive() (this=0x8167cc8) at Sources/API/Signals/signal_v2.h:81
#10 0x40125a33 in CL_System::keep_alive() () at /usr/include/g++-v3-3.1/bits/stl_list.h:138
#11 0x08110b4e in Pingus::WorldMapManager::display() (this=0xbffff410) at manager.cxx:80
#12 0x080a6ffe in Story::on_button_press(CL_InputDevice*, CL_Key const&) (this=0xbffff7c8) at story.cxx:126
#13 0x08078ac0 in PingusMenuManager::on_button_press(CL_InputDevice*, CL_Key const&) (this=0xbffff6c0,
---Type <return> to continue, or q <return> to quit---
device=0x8167cc8, key=@0xbffff560) at pingus_menu_manager.cxx:109
#14 0x08079151 in CL_MethodSlot_v2<PingusMenuManager, CL_InputDevice, CL_Key const&>::call(CL_InputDevice, CL_Key const&) (this=0x40d5d088, param1=0x8167cc8, param2=@0xbffff560)
at /home/ingo/projects/pingus/libs/include/ClanLib/Signals/slot_v2.h:62
#15 0x400eb5fa in CL_Mouse_XWin::keep_alive() (this=0x8167cc8) at Sources/API/Signals/signal_v2.h:81
#16 0x40125a33 in CL_System::keep_alive() () at /usr/include/g++-v3-3.1/bits/stl_list.h:138
#17 0x08078c8d in PingusMenuManager::display() (this=0xbffff6c0) at pingus_menu_manager.cxx:161
#18 0x0806df6b in PingusMain::start_game() (this=0x8166ab0) at pingus_main.cxx:838
#19 0x0806e8e1 in PingusMain::main(int, char**) (this=0x8166ab0, argc=1, argv=0x8166ab0) at pingus_main.cxx:877
#20 0x0809fa30 in GenericMain::main(int, char**) (this=0x8162c44, argc=1, argv=0xbffffa54)
at generic_main.cxx:89
#21 0x40107d63 in main (argc=1, argv=0xbffffa54) at Sources/Application/Unix/clanapp.cpp:32
Current language: auto; currently c++

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Tue 18 Jun 2002 02:15:36 PM UTCgrumbelStatusNone=>(Error - Not Found)
  Open/ClosedOpen=>(Error - Not Found)
  Closed on-=>-

Back to the top


Powered by Savane 3.1-cleanup1