All pastes #628840 Raw Edit

Someone

public text v1 · immutable
·published 2007-07-21 18:16 UTC
rendered paste body
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1881734064 (LWP 16499)]
MaNGOS::PlayerNotifier::Visit (this=0x7028ef94, m=@0x112b3494)
    at GridNotifiers.cpp:36
36              if( iter->second == &i_player )
(gdb) bt full
#0  MaNGOS::PlayerNotifier::Visit (this=0x7028ef94, m=@0x112b3494)
    at GridNotifiers.cpp:36
No locals.
#1  0x08107151 in VisitorHelper<MaNGOS::PlayerNotifier, Player, TypeList<Creature, TypeList<Corpse, TypeNull> > > (v=@0x7028ef94, c=@0x112b3494)
    at TypeContainerVisitor.h:70
No locals.
#2  0x081126c6 in Cell::Visit<RGuard<ZThread::FairReadWriteLock, ZThread::Lockable>, MaNGOS::PlayerNotifier, TypeMapContainer<TypeList<Player, TypeList<Creature, TypeList<Corpse, TypeNull> > > > > (this=0x7028f040, l=@0x7028ef88,
    visitor=@0x7028ef90, m=@0x742cce48) at TypeContainerVisitor.h:105
        r_zone = {
  data = {
    Part = {
      grid_x = 1,
      grid_y = 38,
      cell_x = 8,
      cell_y = 6,
      nocreate = 0,
      reserved = 65
    },
    All = 136743297
  }
---Type <return> to continue, or q <return> to quit---
}
        cell_iter = {
  x_coord = 409,
  y_coord = 2147483647
}
        __PRETTY_FUNCTION__ = "void Cell::Visit(const CellLock<LOCK_TYPE>&, TypeContainerVisitor<T, CONTAINER>&, Map&) const [with LOCK_TYPE = RGuard<ZThread::FairReadWriteLock, ZThread::Lockable>, T = MaNGOS::PlayerNotifier, CONTA"...
#3  0x08102bfb in Map::UpdatePlayerVisibility (this=0x742cce48,
    player=0x75fc6ad8, cell=@0x7028f040, cellpair=@0x7028f020) at Map.cpp:1505
        pl_notifier = {
  i_player = @0x75fc6ad8
}
        player_notifier = {
  i_visitor = @0x7028ef94
}
        cell_lock = {
  i_cell = @0x7028f040,
  i_cellPair = @0x7028f020
}
#4  0x0810372d in Map::PlayerRelocation (this=0x742cce48, player=0x75fc6ad8,
    x=-nan(0x40d386), y=-nan(0x40d386), z=-229.059708, orientation=1.76247931)
    at Map.cpp:1013
---Type <return> to continue, or q <return> to quit---
        grid = (NGridType &) @0x742c81f8: {
  i_gridId = 2142,
  i_cellstate = GRID_STATE_ACTIVE,
  i_cells = {{{
        i_container = {
          i_elements = {
            _elements = {
              _element = {
                _M_t = {
                  _M_impl = {
                    <std::allocator<std::_Rb_tree_node<std::pair<const long long unsigned int, GameObject*> > >> = {
                      <__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<const long long unsigned int, GameObject*> > >> = {<No data fields>}, <No data fields>},
                    members of std::_Rb_tree<long long unsigned int,std::pair<const long long unsigned int, GameObject*>,std::_Select1st<std::pair<const long long unsigned int, GameObject*> >,std::less<long long unsigned int>,std::allocator<std::pair<const long long unsigned int, GameObject*> > >::_Rb_tree_impl<std::less<long long unsigned int>,false>:
                    _M_key_compare = {
                      <> = {<No data fields>}, <No data fields>},
                    _M_header = {
---Type <return> to continue, or q <return> to quit---
                      _M_color = std::_S_red,
                      _M_parent = 0x0,
                      _M_left = 0x742c8204,
                      _M_right = 0x742c8204
                    },
                    _M_node_count = 0
                  }
                }
              }
            },
            _TailElements = {
              _elements = {
                _element = {
                  _M_t = {
                    _M_impl = {
                      <std::allocator<std::_Rb_tree_node<std::pair<const long long unsigned int, Creature*> > >> = {
                        <__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<const long long unsigned int, Creature*> > >> = {<No data fields>}, <No data fields>},
                      members of std::_Rb_tree<long long unsigned int,std::pair<const long long unsigned int, Creature*>,std::_Select1st<std::pair<const long long unsigned int, Creature*> >,std::less<long long unsigned int>,std::allocator<s---Type <return> to continue, or q <return> to quit---
td::pair<const long long unsigned int, Creature*> > >::_Rb_tree_impl<std::less<long long unsigned int>,false>:
                      _M_key_compare = {
                        <> = {<No data fields>}, <No data fields>},
                      _M_header = {
                        _M_color = std::_S_red,
                        _M_parent = 0x0,
                        _M_left = 0x742c821c,
                        _M_right = 0x742c821c
                      },
                      _M_node_count = 0
                    }
                  }
                }
              },
              _TailElements = {
                _elements = {
                  _element = {
                    _M_t = {
                      _M_impl = {
                        <std::allocator<std::_Rb_tree_node<std::pair<const long long unsigned int, DynamicObject*> > >> = {
                          <__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair---Type <return> to continue, or q <return> to quit---
<const long long unsigned int, DynamicObject*> > >> = {<No data fields>}, <No data fields>},
                        members of std::_Rb_tree<long long unsigned int,std::pair<const long long unsigned int, DynamicObject*>,std::_Select1st<std::pair<const long long unsigned int, DynamicObject*> >,std::less<long long unsigned int>,std::allocator<std::pair<const long long unsigned int, DynamicObject*> > >::_Rb_tree_impl<std::less<long long unsigned int>,false>:
                        _M_key_compare = {
                          <> = {<No data fields>}, <No data fields>},
                        _M_header = {
                          _M_color = std::_S_red,
                          _M_parent = 0x0,
                          _M_left = 0x742c8234,
                          _M_right = 0x742c8234
                        },
                        _M_node_count = 0
                      }
                    }
                  }
                },
                _TailElements = {
                  _elements = {
                    _element = {
---Type <return> to continue, or q <return> to quit---
                      _M_t = {
                        _M_impl = {
                          <std::allocator<std::_Rb_tree_node<std::pair<const long long unsigned int, ZThread::CountedPtr<Corpse, ZThread::AtomicCount> > > >> = {
                            <__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<const long long unsigned int, ZThread::CountedPtr<Corpse, ZThread::AtomicCount> > > >> = {<No data fields>}, <No data fields>},
                          members of std::_Rb_tree<long long unsigned int,std::pair<const long long unsigned int, ZThread::CountedPtr<Corpse, ZThread::AtomicCount> >,std::_Select1st<std::pair<const long long unsigned int, ZThread::CountedPtr<Corpse, ZThread::AtomicCount> > >,std::less<long long unsigned int>,std::allocator<std::pair<const long long unsigned int, ZThread::CountedPtr<Corpse, ZThread::AtomicCount> > > >::_Rb_tree_impl<std::less<long long unsigned int>,false>:
                          _M_key_compare = {
                            <> = {<No data fields>}, <No data fields>},
                          _M_header = {
                            _M_color = std::_S_red,
                            _M_parent = 0x0,
                            _M_left = 0x742c824c,
                            _M_right = 0x742c824c
                          },
                          _M_node_count = 0
---Type <return> to continue, or q <return> to quit---
                        }
                      }
                    }
                  },
                  _TailElements = {<No data fields>}
                }
              }
            }
          }
        },
        i_objects = {
          i_elements = {
            _elements = {
              _element = {
                _M_t = {
                  _M_impl = {
                    <std::allocator<std::_Rb_tree_node<std::pair<const long long unsigned int, Player*> > >> = {
                      <__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<const long long unsigned int, Player*> > >> = {<No data fields>}, <No data fields>},
                    members of std::_Rb_tree<long long unsigned int,std::pair<const long long unsigned int, Player*>,std::_Select1st<std::pair<const long long u---Type <return> to continue, or q <return> to quit---
nsigned int, Player*> >,std::less<long long unsigned int>,std::allocator<std::pair<const long long unsigned int, Player*> > >::_Rb_tree_impl<std::less<long long unsigned int>,false>:
                    _M_key_compare = {
                      <> = {<No data fields>}, <No data fields>},
                    _M_header = {
                      _M_color = std::_S_red,
                      _M_parent = 0x0,
                      _M_left = 0x742c8268,
                      _M_right = 0x742c8268
                    },
                    _M_node_count = 0
                  }
                }
              }
            },
            _TailElements = {
              _elements = {
                _element = {
                  _M_t = {
                    _M_impl = {
                      <std::allocator<std::_Rb_tree_node<std::pair<const long long unsigned int, Creature*> > >> = {
---Type <return> to continue, or q <return> to quit---
                        <__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<const long long unsigned int, Creature*> > >> = {<No data fields>}, <No data fields>},
                      members of std::_Rb_tree<long long unsigned int,std::pair<const long long unsigned int, Creature*>,std::_Select1st<std::pair<const long long unsigned int, Creature*> >,std::less<long long unsigned int>,std::allocator<std::pair<const long long unsigned int, Creature*> > >::_Rb_tree_impl<std::less<long long unsigned int>,false>:
                      _M_key_compare = {
                        <> = {<No data fields>}, <No data fields>},
                      _M_header = {
                        _M_color = std::_S_red,
                        _M_parent = 0x0,
                        _M_left = 0x742c8280,
                        _M_right = 0x742c8280
                      },
                      _M_node_count = 0
                    }
                  }
                }
              },
              _TailElements = {
                _elements = {
---Type <return> to continue, or q <return> to quit---
                  _element = {
                    _M_t = {
                      _M_impl = {
                        <std::allocator<std::_Rb_tree_node<std::pair<const long long unsigned int, ZThread::CountedPtr<Corpse, ZThread::AtomicCount> > > >> = {
                          <__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<const long long unsigned int, ZThread::CountedPtr<Corpse, ZThread::AtomicCount> > > >> = {<No data fields>}, <No data fields>},
                        members of std::_Rb_tree<long long unsigned int,std::pair<const long long unsigned int, ZThread::CountedPtr<Corpse, ZThread::AtomicCount> >,std::_Select1st<std::pair<const long long unsigned int, ZThread::CountedPtr<Corpse, ZThread::AtomicCount> > >,std::less<long long unsigned int>,std::allocator<std::pair<const long long unsigned int, ZThread::CountedPtr<Corpse, ZThread::AtomicCount> > > >::_Rb_tree_impl<std::less<long long unsigned int>,false>:
                        _M_key_compare = {
                          <> = {<No data fields>}, <No data fields>},
                        _M_header = {
                          _M_color = std::_S_red,
                          _M_parent = 0x0,
                          _M_left = 0x742c8298,
                          _M_right = 0x742c8298
                        },
                        _M_node_count = 0
---Type <return> to continue, or q <return> to quit---
                      }
                    }
                  }
                },
                _TailElements = {<No data fields>}
              }
            }
          }
        }
      }, {
        i_container = {
          i_elements = {
            _elements = {
              _element = {
                _M_t = {
                  _M_impl = {
                    <std::allocator<std::_Rb_tree_node<std::pair<const long long unsigned int, GameObject*> > >> = {
                      <__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<const long long unsigned int, GameObject*> > >> = {<No data fields>}, <No data fields>},
                    members of std::_Rb_tree<long long unsigned int,std::pair<const long long unsigned int, GameObject*>,std::_Select1st<std::pair<const long lo---Type <return> to continue, or q <return> to quit---
ng unsigned int, GameObject*> >,std::less<long long unsigned int>,std::allocator<std::pair<const long long unsigned int, GameObject*> > >::_Rb_tree_impl<std::less<long long unsigned int>,false>:
                    _M_key_compare = {
                      <> = {<No data fields>}, <No data fields>},
                    _M_header = {
                      _M_color = std::_S_red,
                      _M_parent = 0x0,
                      _M_left = 0x742c82b4,
                      _M_right = 0x742c82b4
                    },
                    _M_node_count = 0
                  }
                }
              }
            },
            _TailElements = {
              _elements = {
                _element = {
                  _M_t = {
                    _M_impl = {
                      <std::allocator<std::_Rb_tree_node<std::pair<const long long unsigned int, Creature*> > >> = {
---Type <return> to continue, or q <return> to quit---
                        <__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<const long long unsigned int, Creature*> > >> = {<No data fields>}, <No data fields>},
                      members of std::_Rb_tree<long long unsigned int,std::pair<const long long unsigned int, Creature*>,std::_Select1st<std::pair<const long long unsigned int, Creature*> >,std::less<long long unsigned int>,std::allocator<std::pair<const long long unsigned int, Creature*> > >::_Rb_tree_impl<std::less<long long unsigned int>,false>:
                      _M_key_compare = {
                        <> = {<No data fields>}, <No data fields>},
                      _M_header = {
                        _M_color = std::_S_red,
                        _M_parent = 0x0,
                        _M_left = 0x742c82cc,
                        _M_right = 0x742c82cc
                      },
                      _M_node_count = 0
                    }
                  }
                }
              },
              _TailElements = {
                _elements = {
---Type <return> to continue, or q <return> to quit---
                  _element = {
                    _M_t = {
                      _M_impl = {
                        <std::allocator<std::_Rb_tree_node<std::pair<const long long unsigned int, DynamicObject*> > >> = {
                          <__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<const long long unsigned int, DynamicObject*> > >> = {<No data fields>}, <No data fields>},
                        members of std::_Rb_tree<long long unsigned int,std::pair<const long long unsigned int, DynamicObject*>,std::_Select1st<std::pair<const long long unsigned int, DynamicObject*> >,std::less<long long unsigned int>,std::allocator<std::pair<const long long unsigned int, DynamicObject*> > >::_Rb_tree_impl<std::less<long long unsigned int>,false>:
                        _M_key_compare = {
                          <> = {<No data fields>}, <No data fields>},
                        _M_header = {
                          _M_color = std::_S_red,
                          _M_parent = 0x0,
                          _M_left = 0x742c82e4,
                          _M_right = 0x742c82e4
                        },
                        _M_node_count = 0
                      }
---Type <return> to continue, or q <return> to quit---
                    }
                  }
                },
                _TailElements = {
                  _elements = {
                    _element = {
                      _M_t = {
                        _M_impl = {
                          <std::allocator<std::_Rb_tree_node<std::pair<const long long unsigned int, ZThread::CountedPtr<Corpse, ZThread::AtomicCount> > > >> = {
                            <__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<const long long unsigned int, ZThread::CountedPtr<Corpse, ZThread::AtomicCount> > > >> = {<No data fields>}, <No data fields>},
                          members of std::_Rb_tree<long long unsigned int,std::pair<const long long unsigned int, ZThread::CountedPtr<Corpse, ZThread::AtomicCount> >,std::_Select1st<std::pair<const long long unsigned int, ZThread::CountedPtr<Corpse, ZThread::AtomicCount> > >,std::less<long long unsigned int>,std::allocator<std::pair<const long long unsigned int, ZThread::CountedPtr<Corpse, ZThread::AtomicCount> > > >::_Rb_tree_impl<std::less<long long unsigned int>,false>:
                          _M_key_compare = {
                            <> = {<No data fields>}, <No data fields>},
                          _M_header = {
---Type <return> to continue, or q <return> to quit---
                            _M_color = std::_S_red,
                            _M_parent = 0x0,
                            _M_left = 0x742c82fc,
                            _M_right = 0x742c82fc
                          },
                          _M_node_count = 0
                        }
                      }
                    }
                  },
                  _TailElements = {<No data fields>}
                }
              }
            }
          }
        },
        i_objects = {
          i_elements = {
            _elements = {
              _element = {
                _M_t = {
                  _M_impl = {
                    <std::allocator<std::_Rb_tree_node<std::pair<const long long---Type <return> to continue, or q <return> to quit---
 unsigned int, Player*> > >> = {
                      <__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<const long long unsigned int, Player*> > >> = {<No data fields>}, <No data fields>},
                    members of std::_Rb_tree<long long unsigned int,std::pair<const long long unsigned int, Player*>,std::_Select1st<std::pair<const long long unsigned int, Player*> >,std::less<long long unsigned int>,std::allocator<std::pair<const long long unsigned int, Player*> > >::_Rb_tree_impl<std::less<long long unsigned int>,false>: