Nickas 45 Posted July 25, 2016 Share Posted July 25, 2016 (edited) Hi dev, i have a crash core problem and is crash every day. and bt: my char.h:555 how to i fix ?its a big problem for me.my item_manager cpp : This is the hidden content, please Sign In or Sign Up bt full: Spoiler (gdb) bt full #0 0x0816a88c in ITEM_MANAGER::SaveSingleItem (this=0xffff93c8, item=0x68745a00) at char.h:555 t = {id = 1081925632, window = 32 ' ', pos = 40960, count = 5, vnum = 1081942016, alSockets = {1, 23170, 700000}, aAttr = {{bType = 0 '\0', sValue = 0}, {bType = 0 '\0', sValue = 16384}, {bType = 104 'h', sValue = -15211}, {bType = 104 'h', sValue = 32582}, {bType = 78 'N', sValue = -3364}, {bType = 220 '▒', sValue = -14232}, { bType = 146 '\222', sValue = -1}, {bType = 114 'r', sValue = 5933}, { bType = 8 '\b', sValue = -27592}, {bType = 255 '▒', sValue = 26879}, { bType = 70 'F', sValue = 20095}, {bType = 220 '▒', sValue = -8974}, { bType = 104 'h', sValue = 0}, {bType = 0 '\0', sValue = 24576}, { bType = 217 '▒', sValue = 19538}}, owner = 1759310580, bind = 1751233952} #1 0x0816cd24 in ITEM_MANAGER::Update (this=0xffff93c8) at item_manager.cpp:530 item = <value optimized out> it = {<std::tr1::__detail::_Hashtable_iterator_base<CItem*,false>> = { _M_cur_node = 0x61fe2370, _M_cur_bucket = 0x68dcf2f8}, <No data fields>} this_it = {<std::tr1::__detail::_Hashtable_iterator_base<CItem*,false>> = {_M_cur_node = 0x4e7f4668, _M_cur_bucket = 0x68dcf2dc}, <No data fields>} #2 0x08278093 in heartbeat (ht=0x28c13400, pulse=1621028) at main.cpp:332 c_set_desc = <value optimized out> t = 64272554 #3 0x0827821e in idle () at main.cpp:872 ---Type <return> to continue, or q <return> to quit--- now = {tv_sec = 1503360241, tv_usec = 509961} passed_pulses = 1 t = <value optimized out> pta = {tv_sec = 1503360241, tv_usec = 59287} process_time_count = 12 #4 0x08279a9c in main (argc=1, argv=Cannot access memory at address 0x4 ) at main.cpp:545 sectree_manager = {<singleton<SECTREE_MANAGER>> = { _vptr$singleton = 0x84ca730, static ms_singleton = 0xffff967c}, static current_sectree_version = 768, m_map_pkSectree = {_M_t = { _M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<const unsigned int, SECTREE_MAP*> > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<const unsigned int, SECTREE_MAP*> > >> = {<No data fields>}, <No data fields>}, _M_key_compare = {<std::binary_function<unsigned int,unsigned int,bool>> = {<No data fields>}, <No data fields>}, _M_header = {_M_color = std::_S_red, _M_parent = 0x473ff3c0, _M_left = 0x2c9745c0, _M_right = 0x65bfcf80}, _M_node_count = 37}}}, m_map_pkArea = { _M_t = { _M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<const int, std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, TAreaInfo, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, TAreaInfo> > > > > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<const int, std::map<std::basic_string<char, std:---Type <return> to continue, or q <return> to quit--- :char_traits<char>, std::allocator<char> >, TAreaInfo, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, TAreaInfo> > > > > >> = {<No data fields>}, <No data fields>}, _M_key_compare = {<> = {<No data fields>}, <No data fields>}, _M_header = {_M_color = std::_S_red, _M_parent = 0x46dd0be0, _M_left = 0x46dd0be0, _M_right = 0x46dd0be0}, _M_node_count = 1}}}, m_vec_mapRegion = {<std::_Vector_base<SMapRegion,std::allocator<SMapRegion> >> = { _M_impl = {<std::allocator<SMapRegion>> = {<__gnu_cxx::new_allocator<SMapRegion>> = {<No data fields>}, <No data fields>}, _M_start = 0x28da0000, _M_finish = 0x28da1514, _M_end_of_storage = 0x28da2600}}, <No data fields>}, m_mapNPCPosition = {_M_t = { _M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<const unsigned int, std::vector<npc_info, std::allocator<npc_info> > > > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<const unsigned int, std::vector<npc_info, std::allocator<npc_info> > > > >> = {<No data fields>}, <No data fields>}, _M_key_compare = {<std::binary_function<unsigned int,unsigned int,bool>> = {<No data fields>}, <No data fields>}, _M_header = {_M_color = std::_S_red, _M_parent = 0x647fdee0, _M_left = 0x296b8cc0, _M_right = 0x55270360}, _M_node_count = 102}}}, next_private_index_map_ = {<std::tr1::_Hashtable<long int,std::pair<const long (gdb) thanks for advance Edited August 20, 2022 by Metin2 Dev Core X - External 2 Internal 3 Link to comment Share on other sites More sharing options...
Marggraf 142 Posted July 25, 2016 Share Posted July 25, 2016 upload the file,and give the link 1 Link to comment Share on other sites More sharing options...
Nickas 45 Posted July 25, 2016 Author Share Posted July 25, 2016 7 hours ago, Marggraf said: upload the file,and give the link ok, i update topic and link : This is the hidden content, please Sign In or Sign Up 6 1 Link to comment Share on other sites More sharing options...
Nickas 45 Posted July 29, 2016 Author Share Posted July 29, 2016 up, this problem still Link to comment Share on other sites More sharing options...
Nickas 45 Posted July 31, 2016 Author Share Posted July 31, 2016 up Link to comment Share on other sites More sharing options...
Nickas 45 Posted August 3, 2016 Author Share Posted August 3, 2016 up Link to comment Share on other sites More sharing options...
Nickas 45 Posted August 7, 2016 Author Share Posted August 7, 2016 up Link to comment Share on other sites More sharing options...
sxvoyz 61 Posted August 7, 2016 Share Posted August 7, 2016 bt full please 1 Link to comment Share on other sites More sharing options...
Nickas 45 Posted August 8, 2016 Author Share Posted August 8, 2016 thanks, bt full : Spoiler (gdb) bt full #0 0x0816a88c in ITEM_MANAGER::SaveSingleItem (this=0xffff93c8, item=0x68745a00) at char.h:555 t = {id = 1081925632, window = 32 ' ', pos = 40960, count = 5, vnum = 1081942016, alSockets = {1, 23170, 700000}, aAttr = {{bType = 0 '\0', sValue = 0}, {bType = 0 '\0', sValue = 16384}, {bType = 104 'h', sValue = -15211}, {bType = 104 'h', sValue = 32582}, {bType = 78 'N', sValue = -3364}, {bType = 220 '▒', sValue = -14232}, { bType = 146 '\222', sValue = -1}, {bType = 114 'r', sValue = 5933}, { bType = 8 '\b', sValue = -27592}, {bType = 255 '▒', sValue = 26879}, { bType = 70 'F', sValue = 20095}, {bType = 220 '▒', sValue = -8974}, { bType = 104 'h', sValue = 0}, {bType = 0 '\0', sValue = 24576}, { bType = 217 '▒', sValue = 19538}}, owner = 1759310580, bind = 1751233952} #1 0x0816cd24 in ITEM_MANAGER::Update (this=0xffff93c8) at item_manager.cpp:530 item = <value optimized out> it = {<std::tr1::__detail::_Hashtable_iterator_base<CItem*,false>> = { _M_cur_node = 0x61fe2370, _M_cur_bucket = 0x68dcf2f8}, <No data fields>} this_it = {<std::tr1::__detail::_Hashtable_iterator_base<CItem*,false>> = {_M_cur_node = 0x4e7f4668, _M_cur_bucket = 0x68dcf2dc}, <No data fields>} #2 0x08278093 in heartbeat (ht=0x28c13400, pulse=1621028) at main.cpp:332 c_set_desc = <value optimized out> t = 64272554 #3 0x0827821e in idle () at main.cpp:872 ---Type <return> to continue, or q <return> to quit--- now = {tv_sec = 1503360241, tv_usec = 509961} passed_pulses = 1 t = <value optimized out> pta = {tv_sec = 1503360241, tv_usec = 59287} process_time_count = 12 #4 0x08279a9c in main (argc=1, argv=Cannot access memory at address 0x4 ) at main.cpp:545 sectree_manager = {<singleton<SECTREE_MANAGER>> = { _vptr$singleton = 0x84ca730, static ms_singleton = 0xffff967c}, static current_sectree_version = 768, m_map_pkSectree = {_M_t = { _M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<const unsigned int, SECTREE_MAP*> > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<const unsigned int, SECTREE_MAP*> > >> = {<No data fields>}, <No data fields>}, _M_key_compare = {<std::binary_function<unsigned int,unsigned int,bool>> = {<No data fields>}, <No data fields>}, _M_header = {_M_color = std::_S_red, _M_parent = 0x473ff3c0, _M_left = 0x2c9745c0, _M_right = 0x65bfcf80}, _M_node_count = 37}}}, m_map_pkArea = { _M_t = { _M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<const int, std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, TAreaInfo, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, TAreaInfo> > > > > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<const int, std::map<std::basic_string<char, std:---Type <return> to continue, or q <return> to quit--- :char_traits<char>, std::allocator<char> >, TAreaInfo, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, TAreaInfo> > > > > >> = {<No data fields>}, <No data fields>}, _M_key_compare = {<> = {<No data fields>}, <No data fields>}, _M_header = {_M_color = std::_S_red, _M_parent = 0x46dd0be0, _M_left = 0x46dd0be0, _M_right = 0x46dd0be0}, _M_node_count = 1}}}, m_vec_mapRegion = {<std::_Vector_base<SMapRegion,std::allocator<SMapRegion> >> = { _M_impl = {<std::allocator<SMapRegion>> = {<__gnu_cxx::new_allocator<SMapRegion>> = {<No data fields>}, <No data fields>}, _M_start = 0x28da0000, _M_finish = 0x28da1514, _M_end_of_storage = 0x28da2600}}, <No data fields>}, m_mapNPCPosition = {_M_t = { _M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<const unsigned int, std::vector<npc_info, std::allocator<npc_info> > > > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<const unsigned int, std::vector<npc_info, std::allocator<npc_info> > > > >> = {<No data fields>}, <No data fields>}, _M_key_compare = {<std::binary_function<unsigned int,unsigned int,bool>> = {<No data fields>}, <No data fields>}, _M_header = {_M_color = std::_S_red, _M_parent = 0x647fdee0, _M_left = 0x296b8cc0, _M_right = 0x55270360}, _M_node_count = 102}}}, next_private_index_map_ = {<std::tr1::_Hashtable<long int,std::pair<const long (gdb) Link to comment Share on other sites More sharing options...
ds_aim 241 Posted August 8, 2016 Share Posted August 8, 2016 (edited) Edited August 20, 2022 by Metin2 Dev Core X - External 2 Internal 1 Link to comment Share on other sites More sharing options...
Nickas 45 Posted August 8, 2016 Author Share Posted August 8, 2016 (edited) yes, this was affected, but no item: it is not a vnum in item.sql: i think items couldn't saved and items deleted. Edited August 20, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Marggraf 142 Posted August 9, 2016 Share Posted August 9, 2016 search this vnum in item_proto 1 Link to comment Share on other sites More sharing options...
Nickas 45 Posted August 9, 2016 Author Share Posted August 9, 2016 (edited) 5 hours ago, Marggraf said: search this vnum in item_proto its not in item_proto: Edited August 20, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
sxvoyz 61 Posted August 9, 2016 Share Posted August 9, 2016 I have one question. Do you have a shoulder sash system? I had similar problem. Link to comment Share on other sites More sharing options...
Nickas 45 Posted August 9, 2016 Author Share Posted August 9, 2016 19 minutes ago, sxvoyz said: I have one question. Do you have a shoulder sash system? I had similar problem. yes,i have sash system. Link to comment Share on other sites More sharing options...
Nickas 45 Posted August 17, 2016 Author Share Posted August 17, 2016 up Link to comment Share on other sites More sharing options...
Nickas 45 Posted August 19, 2016 Author Share Posted August 19, 2016 up Link to comment Share on other sites More sharing options...
Nickas 45 Posted August 23, 2016 Author Share Posted August 23, 2016 up Link to comment Share on other sites More sharing options...
Nickas 45 Posted August 26, 2016 Author Share Posted August 26, 2016 up Link to comment Share on other sites More sharing options...
Think 117 Posted August 26, 2016 Share Posted August 26, 2016 Your issue is likely to be memory corruption anywhere on the code (that is, not just that file). Roll back all changes until the moment you had this issue and then analyze them carefully or spend a long while tracking what's being done to your items and under which conditions this will end up happenning. Good news is, it crashes every day, so it must be easy to reproduce. 1 Link to comment Share on other sites More sharing options...
Nickas 45 Posted August 29, 2016 Author Share Posted August 29, 2016 (edited) update,this problem still. i use run command in gdb.i wait half day and result: CItem::UpdatePacket at item.cpp:220 is; anyone help? Edited August 20, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Nickas 45 Posted September 2, 2016 Author Share Posted September 2, 2016 up Link to comment Share on other sites More sharing options...
yassineland 0 Posted January 17, 2021 Share Posted January 17, 2021 (edited) We have similar problem, please tell me if you've fixed that, we need a solution as soon as possible! Edited August 26, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now