FreeBSD 0 Posted July 5, 2023 Share Posted July 5, 2023 hello can someone help me this core is generated inside auth.. (gdb) core game.core [New LWP 100174] [New LWP 100230] [New LWP 100231] [New LWP 100232] warning: Could not load shared library symbols for [vdso]. Do you need "set solib-search-path" or "set sysroot"? Core was generated by `./auth'. Program terminated with signal SIGSEGV, Segmentation fault. Address not mapped to object. #0 DESC::Packet (this=this@entry=0x0, c_pvData=c_pvData@entry=0x8212c4a93, iSize=iSize@entry=261) at desc.cpp:428 428 if (m_iPhase == PHASE_CLOSE) // ▒▒▒ ▒▒▒¸▒ ▒▒▒▒▒▒ ▒ʴ´▒. [Current thread is 1 (LWP 100174)] (gdb) bt full #0 DESC::Packet (this=this@entry=0x0, c_pvData=c_pvData@entry=0x8212c4a93, iSize=iSize@entry=261) at desc.cpp:428 No locals. #1 0x000000000035d7c9 in DESC::SendKeyAgreement (this=0x0) at desc.cpp:736 packet = {static MAX_DATA_LEN = 256, bHeader = 251 '\373', wAgreedLength = 19440, wDataLength = 46496, data = "\377\377\377\377\377\377\377\037\020\000\000\000\000\000\000\000\000\350\3172\b", '\000' <repeats 11 times>, "\240\265J\000\000\000\000\000pK,!\b\000\000\000\377\377\377\377\377\377\377\037\020\000\000\000\000\000\000\000\200\347\3172\b\000\000\000\000\000\000\000\377\377\377\377صJ\000\000\000\000\000\2505\0334K\016\311\302\303G@\30040\234\234H\001\3172\b\000\000\000\377\377\377\377\377\377\377\377\020\000\000\000\000\000\000\000\360J,!\b\000\000\000x\202F\251Q[@\315\17750\371d\321 \277\252\266\233\377\305\316O\246b\025\271\226e\342\343\277P\001\225!\b\000\000\000\377\377\377\377\377\377\377\377 \000\000\000\000\000\000\000 K,!\b\000\000\000@"...} data_length = <optimized out> agreed_length = <optimized out> #2 0x0000000000440b8f in Cipher::Prepare (this=0x8212c4c08, buffer=0x828a09c70 <__stack_chk_guard>, length=0x8212c4c18) at cipher.cpp:156 agreed_length = <optimized out> #3 0x000000000035d794 in DESC::SendKeyAgreement (this=0x832de2600) at desc.cpp:724 --Type <RET> for more, q to quit, c to continue without paging-- packet = {static MAX_DATA_LEN = 256, bHeader = 50 '2', wAgreedLength = 8, wDataLength = 0, data = "\001\000\000\000\031\t\\\340\2248kIU\301\riN\000\000\000\000\000\000\000p\234\240(\b\000\000\000Գ\000\000\000\000\000\000\300L,!\b\000\000\000p\234\240(\b\000\000\000\220L,!\b\000\000\000\215\002\225(\b\000\000\000\377\005\246d\000\000\000\000\030\366/I(m\324\t\2248kIU\301\ri\300L,!\b", '\000' <repeats 19 times>, "\260L,!\b\000\000\000\377\005\246d\000\000\000\000 \000\000\0000\000\000\000\340L,!\b\000\000\000\340K,!\b\000\000\000\000&\3362\b\000\000\000ֳ", '\000' <repeats 14 times>, "0M,!\b\000\000\000s\3265\000\000\000\000\000\2248"...} data_length = 256 agreed_length = <optimized out> #4 0x00000000003884bd in CInputProcessor::Handshake (d=0x832de2600, c_pData=0x837722e40 "\377\204x+\277Գ", this=<optimized out>) at input.cpp:211 p = 0x837722e40 #5 CInputHandshake::Analyze (this=<optimized out>, d=0x832de2600, bHeader=<optimized out>, c_pData=0x837722e40 "\377\204x+\277Գ") at input.cpp:306 No locals. #6 0x0000000000387ca6 in CInputProcessor::Process (this=0x832de2658, lpDesc=0x832de2600, c_pvOrig=<optimized out>, iBytes=<optimized out>, r_iBytesProceed=@0x8212c51ec: 0) at input.cpp:107 --Type <RET> for more, q to quit, c to continue without paging-- iExtraPacketSize = <optimized out> bHeader = 255 '\377' c_pszName = 0x8376d6ef9 "Handshake" c_pData = 0x837722e40 "\377\204x+\277Գ" bLastHeader = <optimized out> iLastPacketLen = 0 iPacketLen = <optimized out> #7 0x000000000035cffc in DESC::ProcessInput (this=0x832de2600) at desc.cpp:306 iBytesProceed = 0 bytes_read = 13 #8 0x000000000047f417 in io_loop (fdw=0x832c30340) at main.cpp:916 iRet = 1231763604 num_events = 2 event_idx = 1 d = 0x832de2600 #9 0x000000000047f0fd in idle () at main.cpp:805 pta = {tv_sec = 1688602111, tv_usec = 1709} process_time_count = 0 now = {tv_sec = 1688602111, tv_usec = 1681} passed_pulses = <optimized out> t = 46038 #10 0x000000000047e165 in main (argc=<optimized out>, argv=<optimized out>) at main.cpp:487 --Type <RET> for more, q to quit, c to continue without paging-- sectree_manager = {<singleton<SECTREE_MANAGER>> = { _vptr$singleton = 0x256f70 <vtable for SECTREE_MANAGER+16>, static ms_singleton = 0x8212c5eb8}, static current_sectree_version = 768, m_map_pkSectree = {__tree_ = { __begin_node_ = 0x8212c5ec8, __pair1_ = {<std::__1::__compressed_pair_elem<std::__1::__tree_end_node<std::__1::__tree_node_base<void*>*>, 0, false>> = {__value_ = { __left_ = 0x0}}, <std::__1::__compressed_pair_elem<std::__1::allocator<std::__1::__tree_node<std::__1::__value_type<unsigned int, SECTREE_MAP*>, void*> >, 1, true>> = {<std::__1::allocator<std::__1::__tree_node<std::__1::__value_type<unsigned int, SECTREE_MAP*>, void*> >> = {<std::__1::__non_trivial_if<true, std::__1::allocator<std::__1::__tree_node<std::__1::__value_type<unsigned int, SECTREE_MAP*>, void*> > >> = {<No data fields>}, <No data fields>}, <No data fields>}, <No data fields>}, __pair3_ = {<std::__1::__compressed_pair_elem<unsigned long, 0, false>> = { __value_ = 0}, <std::__1::__compressed_pair_elem<std::__1::__map_value_compare<unsigned int, std::__1::__value_type<unsigned int, SECTREE_MAP*>, std::__1::less<unsigned int>, true>, 1, true>> = {<std::__1::__map_value_compare<unsigned int, std::__1::__value_type<unsigned int, SECTREE_MAP*>, std::__1::less<unsigned int>, true>> = {<std::__1::less<unsigned int>> = {<std::__1::binary_function<unsigned int, unsigned int, bool>> = {<No data fields>}, <No data fields>}, <No data fields>}, <No data fields>}, <No data fields>}}}, m_map_pkArea = { Link to comment Share on other sites More sharing options...
FreeBSD 0 Posted July 6, 2023 Author Share Posted July 6, 2023 UP Link to comment Share on other sites More sharing options...
Premium WeedHex 636 Posted July 6, 2023 Premium Share Posted July 6, 2023 (edited) 2 hours ago, FreeBSD said: UP GetDesc()->Packet(&) Probably the DESC was a nullptr Edited July 6, 2023 by WeedHex Link to comment Share on other sites More sharing options...
Solution FreeBSD 0 Posted July 6, 2023 Author Solution Share Posted July 6, 2023 (edited) 3 hours ago, WeedHex said: GetDesc()->Packet(&) Probably the DESC was a nullptr i see. any idea why it would be so and where should i look? is it a datatype mismatch or something? i am willing to pay for fix update: i dont know what was the problem, but i used a recent backup of my source and everything worked again. Edited July 6, 2023 by FreeBSD 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