bugPingus - Bugs: bug #655, Doing a screenshots causes segfault

 
 

bug #655: Doing a screenshots causes segfault

Submitted by:  None
Submitted on:  Sun 16 Jun 2002 07:50:14 PM UTC  
 
Category: General StuffSeverity: 3 - Normal
Item Group: Crash ErrorStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: ClosedRelease: None
Operating System: NonePlanned Release: 0.6.0

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sun 16 Jun 2002 07:50:14 PM UTC, original submission:

Doing a screenshots, by pressing F12 causes segfault of Pingus.

(gdb) where
#0 0x08098092 in Screenshot::save_16bit_target_to_file(CL_Target*, std::string) (target=0x854eed0, filename=Cannot access memory at address 0xce
)
at screenshot.cxx:96
#1 0x0809812b in Screenshot::save_target_to_file(CL_Target*, std::string) (target=0x854eed0)
at screenshot.cxx:114
#2 0x08097d99 in Screenshot::make_screenshot() () at screenshot.cxx:43
#3 0x080a1120 in GlobalEvent::on_button_press(CL_InputDevice*, CL_Key const&) (this=0x8162c54,
device=0x816ab28, key=@0x40c61008) at /usr/include/g++-v3-3.1/bits/basic_string.h:338
#4 0x0806ed91 in CL_MethodSlot_v2<GlobalEvent, CL_InputDevice, CL_Key const&>::call(CL_InputDevice, CL_Key const&) (this=0xff, param1=0x816ab28, param2=@0xbffff550)
at /home/ingo/projects/pingus/libs/include/ClanLib/Signals/slot_v2.h:62
#5 0x400ea3b9 in CL_Signal_v2<CL_InputDevice, CL_Key const&>::call(CL_InputDevice, CL_Key const&) (
this=0x40106c5c, param1=0x816ab28, param2=@0xbffff550) at Sources/API/Signals/signal_v2.h:81
#6 0x400e92eb in CL_XWindowKeyboard::on_xevent(_XEvent&) (this=0x816ab28, e=@0xbffff640)
at Sources/API/Signals/signal_v2.h:60
#7 0x400ea4da in CL_MethodSlot_v1<CL_XWindowKeyboard, _XEvent&>::call(_XEvent&) (this=0xff, param1=@0xbffff640)
from /home/ingo/projects/pingus/libs/lib/libclanDisplay.so.2
#8 0x400ed37f in CL_XWindow_DisplayCard::keep_alive() (this=0x816a468) at Sources/API/Signals/signal_v1.h:81
#9 0x40125a33 in CL_System::keep_alive() () at /usr/include/g++-v3-3.1/bits/stl_list.h:138
#10 0x08078c8d in PingusMenuManager::display() (this=0xbffff7c0) at pingus_menu_manager.cxx:161
#11 0x0806df6b in PingusMain::start_game() (this=0x8166ab0) at pingus_main.cxx:838
#12 0x0806e8e1 in PingusMain::main(int, char**) (this=0x8166ab0, argc=1, argv=0x8166ab0) at pingus_main.cxx:877
#13 0x0809fa30 in GenericMain::main(int, char**) (this=0x8162c44, argc=1, argv=0xbffffb54) at generic_main.cxx:89
#14 0x40107d63 in main (argc=1, argv=0xbffffb54) at Sources/Application/Unix/clanapp.cpp:32
(gdb)

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 4 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sat 29 Mar 2003 12:04:55 AM UTCgrumbelStatusNone=>(Error - Not Found)
  Open/ClosedOpen=>(Error - Not Found)
Fri 16 Aug 2002 11:19:06 PM UTCgrumbelPlanned ReleaseNone=>(Error - Not Found)
Sun 16 Jun 2002 08:34:27 PM UTCgrumbelCategoryNone=>(Error - Not Found)

Back to the top


Powered by Savane 3.1-cleanup1