Jump to content

Recommended Posts

Hey, i have problem with my game, is still crashing after few minutes , i have backtrace 

 

GNU gdb (GDB) 7.6.1 [GDB v7.6.1 for FreeBSD]

Copyright © 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i386-portbld-freebsd9.1".
For bug reporting instructions, please see:
Reading symbols from /usr/Server/game/game1_ch1...done.
[New process 155154407]
[New process 155156304]
[New process 155155099]
[New process 155154575]
 
warning: .dynamic section for "/libexec/ld-elf.so.1" is not at the expected address (wrong library or version mismatch?)
[New Thread 28c05500 (LWP 155156304)]
[New Thread 28c05200 (LWP 155155099)]
[New Thread 28c04f00 (LWP 155154575)]
[New Thread 28c04300 (LWP 155154407)]
Core was generated by `game1_ch1'.
Program terminated with signal 6, Aborted.
#0  0x28900223 in thr_kill () from /usr/lib32/libc.so.7
(gdb) bt
#0  0x28900223 in thr_kill () from /usr/lib32/libc.so.7
#1  0x2889ad26 in ?? () from /usr/lib32/libthr.so.3
#2  0x2889b3fb in raise () from /usr/lib32/libthr.so.3
#3  0x289a844a in abort () from /usr/lib32/libc.so.7
#4  0x287ccf75 in __gnu_cxx::__verbose_terminate_handler ()
    at ../../.././../gcc-4.9-20130505/libstdc++-v3/libsupc++/vterminate.cc:95
#5  0x287c9c15 in __cxxabiv1::__terminate (
    handler=0x287ccde0 <__gnu_cxx::__verbose_terminate_handler()>)
    at ../../.././../gcc-4.9-20130505/libstdc++-v3/libsupc++/eh_terminate.cc:47
#6  0x287c9cac in std::terminate ()
    at ../../.././../gcc-4.9-20130505/libstdc++-v3/libsupc++/eh_terminate.cc:57
#7  0x287cb962 in __cxxabiv1::__cxa_pure_virtual ()
    at ../../.././../gcc-4.9-20130505/libstdc++-v3/libsupc++/pure.cc:50
#8  0x08051bea in CFSM::Update (this=0x3f75604c) at FSM.cpp:30
#9  0x080bbaca in CHARACTER_MANAGER::Update (this=0xffffb6ec, iPulse=9734)
    at char_manager.cpp:684
#10 0x0828a7e8 in idle () at main.cpp:882
#11 0x0828c11d in main (argc=5, argv=0xffffccec) at main.cpp:598
 
full backtrace
http://paste.ee/p/rcJpT
 
I replace in function CHARACTER_MANAGER::Update

 

for_each(v.begin(), v.end(), mem_fun(&CFSM::Update));

to

 

NAME_MAP::iterator it;

for (it = m_map_pkPCChr.begin(); it != m_map_pkPCChr.end(); ++it){
LPCHARACTER ch = it->second;
if(!ch) continue;
 
sys_log(0, "PLAYER %s %d",ch->GetName(),ch->IsPC());
ch->UpdateCharacter(iPulse);
 
}
 
But is still crashing, but i found in syslog last player name before crash and i check in logs in database and i found 
25qq77s.png
 
But i don't have idea why is crashing after player dead..

 

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.