Follow-up Comment #1, bug #10293 (project wormux):

Continuing the gdb session...

(gdb) frame 1
#1  0x08130090 in ObjectsList::RemoveOverlappedObjectReference
(this=0x81d7224, obj=0xb547f620) at object/objects_list.cpp:141
141           MSG_DEBUG("lst_objects", "removing overlapse reference of
\"%s\" in \"%s\"",
(gdb) print obj->GetName().c_str()
$3 = 0xb5484c4c "m16_bullet"
(gdb) print (*it)->GetName().c_str()

Program received signal SIGSEGV, Segmentation fault.

(gdb) frame 3
#3  0x08130090 in ObjectsList::RemoveOverlappedObjectReference
(this=0x81d7224, obj=0xb547f620) at object/objects_list.cpp:141
141           MSG_DEBUG("lst_objects", "removing overlapse reference of
\"%s\" in \"%s\"",
(gdb) print (*it)
$4 = (class PhysicalObj *&) @0xb545c480: 0xb5495028

(gdb) print *(*it)
$5 = {<Physics> = {<ObjectConfig> = {_vptr.ObjectConfig = 0xb5485a18, m_mass
= 1.1468794905055232e-269, m_wind_factor = 3.2997034556481251e-311, 
      m_air_resist_factor = 7.4269852692677713e-313, m_gravity_factor =
1.3906711615673418e-309, m_rebounding = 200, 
      m_rebound_factor = 1.6975966330686572e-313}, m_motion_type = 24,
m_pos_x = {x0 = 1.502648879793942e-314, x1 = 0, x2 =
2.5903565372069052e-318}, 
    m_pos_y = {x0 = -5.0136769048337413e-52, x1 = 2.1221558227804855e-314, x2
= 1.0375378562666177e-322}, m_extern_force = {x = 1.1468794905033915e-269, 
      y = 1.0375378562666177e-322}, m_last_move = 3048210433, m_phys_width =
7.8513844273620126e-313, m_phys_height = -6.1354962509408139e-52, 
    m_fix_point_gnd = {x = 4.019127125183135e-311, y =
1.612716808351906e-312}, m_fix_point_dxy = {x = 9.5489810612211749e-313, 
      y = -6.5946890633142252e-52}, m_rope_angle = {x0 =
3.2934045646730119e-311, x1 = 2.546395026973666e-313, x2 =
-nan(0xfffff0000000f)}, 
    m_rope_length = {x0 = 7.8513844285477701e-313, x1 =
-5.0586680767003478e-52, x2 = 3.2658186193904633e-311}, 
    m_rope_elasticity = 2.9707941826469857e-313, m_elasticity_damping =
7.8513844276090454e-313, m_balancing_damping = -5.7320998893298426e-52, 
    m_elasticity_off = 80, m_cfg = {_vptr.ObjectConfig = 0x3a7, m_mass =
1.8885762603572425e-312, m_wind_factor = 4.4561911632009607e-313, 
      m_air_resist_factor = -6.1346050491609351e-52, m_gravity_factor =
4.4629008705179936e-313, m_rebounding = false, 
      m_rebound_factor = 3.5457948711684528e-313}}, m_goes_through_wall = 21,
m_collides_with_characters = false, m_collides_with_objects = false, 
  m_rebound_position = {x = -1253486208, y = -1246029576},
m_overlapping_object = 0xb547f620, m_minimum_overlapse_time = 21,
m_ignore_movements = false, 
  m_is_character = false, m_name = {static npos = 4294967295, 
    _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>>
= {<No data fields>}, <No data fields>}, _M_p = 0xb54f5701 ""}}, 
  m_unique_id = {static npos = 4294967295, 
    _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>>
= {<No data fields>}, <No data fields>}, 
      _M_p = 0x8183c50
"�)\005\b\234)\005\bhY\035\b`<\030\b9rectangleIiE"}}, m_test_left = 21,
m_test_right = 0, m_test_top = 3048210433, 
  m_test_bottom = 16, m_width = 29, m_height = 136147492, m_rebound_sound =
{static npos = 4294967295, 
    _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>>
= {<No data fields>}, <No data fields>}, 
      _M_p = 0xb5495150 "\200QI��\030�� �G�\025"}}, m_alive =
3041893792, energy = 0, m_allow_negative_y = 24}

(gdb) print (*it)->GetOverlappingObject()
$6 = (const PhysicalObj *) 0x10


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message posté via/par Gna!
  http://gna.org/


_______________________________________________
Wormux-gna mailing list
[email protected]
https://mail.gna.org/listinfo/wormux-gna

Reply via email to