Jump to content
  • Create New...
  • 0

Crashing game



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
I replace in function CHARACTER_MANAGER::Update


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



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());
But is still crashing, but i found in syslog last player name before crash and i check in logs in database and i found 
But i don't have idea why is crashing after player dead..


Link to comment
Share on other sites

  • Answers 0
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

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.