Follow-up Comment #3, bug #17850 (project warmux):

I had this happen again, and tried the pos. commands:

Program received signal SIGSEGV, Segmentation fault.

0x080aaaeb in Surface::MergeSurface (this=0xabe0c304, spr=..., pos=...)

    at graphic/surface.cpp:264

264               spr_pix = spr_ptr[offset.x];

(gdb) bt

#0  0x080aaaeb in Surface::MergeSurface (this=0xabe0c304, spr=..., pos=...)

    at graphic/surface.cpp:264

#1  0x0811dc60 in TileItem_AlphaSoftware::MergeSprite (this=0xabe0c300, 

    position=..., spr=...) at ./map/tileitem.h:171

#2  0x08117c25 in Tile::MergeSprite (this=0x82acfcc, position=..., surf=...)

    at map/tile.cpp:270

#3  0x0810a56c in Map::MergeSprite (this=0x82acfc0, pos=..., spr=0xaf570628)

    at map/map.cpp:147

#4  0x081a6250 in Construct::p_Shoot (this=0xaf5a92d0)

    at weapon/construct.cpp:93

#5  0x081c6395 in Weapon::Shoot (this=0xaf5a92d0) at weapon/weapon.cpp:247

#6  0x081a686b in Construct::ChooseTarget (this=0xaf5a92d0, mouse_pos=...)

    at weapon/construct.cpp:153

#7  0x080dd12e in Action_Weapon_SetTarget (a=0xaa7c9318)

    at include/action_handler.cpp:777

#8  0x081d2842 in WActionHandler::Exec (this=0xb102c72c, a=0xaa7c9318)

    at ./action/action_handler.cpp:104

#9  0x080df8a9 in ActionHandler::ExecActionsForOneFrame (this=0xb102c728)

    at include/action_handler.cpp:1166

#10 0x080893f9 in Game::MainLoop (this=0xaf790c08) at game/game.cpp:805

#11 0x08088e65 in Game::Run (this=0xaf790c08) at game/game.cpp:683

#12 0x08087cb4 in Game::Start (this=0xaf790c08, bench=false)

    at game/game.cpp:363

---Type <return> to continue, or q <return> to quit---

#13 0x0813e36d in NetworkMenu::signal_ok (this=0xbfffedd0)

    at menu/network_menu.cpp:323

#14 0x08134d9e in Menu::mouse_ok (this=0xbfffedd0) at menu/menu.cpp:211

#15 0x08134e3b in Menu::BasicOnClickUp (this=0xbfffedd0, mousePosition=...)

    at menu/menu.cpp:228

#16 0x081353a2 in Menu::HandleEvent (this=0xbfffedd0, evnt=...)

    at menu/menu.cpp:396

#17 0x0813eb76 in NetworkMenu::HandleEvent (this=0xbfffedd0, evnt=...)

    at menu/network_menu.cpp:470

#18 0x08135495 in Menu::HandleEvents (this=0xbfffedd0) at menu/menu.cpp:420

#19 0x081355b4 in Menu::Run (this=0xbfffedd0, skip_menu=false)

    at menu/menu.cpp:453

#20 0x0813a428 in NetworkConnectionMenu::signal_ok (this=0xbffff0c8)

    at menu/network_connection_menu.cpp:600

#21 0x08134eb4 in Menu::key_ok (this=0xbffff0c8) at menu/menu.cpp:239

#22 0x081352e6 in Menu::HandleEvent (this=0xbffff0c8, evnt=...)

    at menu/menu.cpp:371

#23 0x08139b55 in NetworkConnectionMenu::HandleEvent (this=0xbffff0c8, 

    evnt=...) at menu/network_connection_menu.cpp:438

#24 0x08135495 in Menu::HandleEvents (this=0xbffff0c8) at menu/menu.cpp:420

#25 0x081355b4 in Menu::Run (this=0xbffff0c8, skip_menu=false)

    at menu/menu.cpp:453

#26 0x081027a9 in AppWarmux::Main (this=0x8288180) at main.cpp:125

---Type <return> to continue, or q <return> to quit---

#27 0x08103802 in main (argc=1, argv=0xbffff4e4) at main.cpp:514

(gdb) print pos.x

$1 = 8

(gdb) print pos.y

$2 = 39

(gdb) print offset.x

$3 = 0

(gdb) print offset.y

$4 = 0

(gdb) print spr_ptr 

$5 = (Uint32 *) 0x0

(gdb) 


    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?17850>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Wormux-gna mailing list
wormux-...@gna.org
https://mail.gna.org/listinfo/warmux-gna

Reply via email to