Jump to content
×
×
  • Create New...
  • 0

Corecrash shutdown


Chief

Question

Hello,

I've have a core owner for several weeks now and I can't find the solution to it. Several people have already looked at it and they had no idea

Maybe someone of you had this before?

 

(gdb) bt full
#0  intrusive_ptr_add_ref (p=0x84df2c4 <vtable for char_event_info+8>) at event.cpp:197
No locals.
#1  boost::intrusive_ptr<event>::intrusive_ptr (rhs=..., this=0xffff9c18) at ../../../Extern/include/boost/smart_ptr/intrusive_ptr.hpp:93
No locals.
#2  event_destroy () at event.cpp:180
        the_event = {px = 0x84df2c4 <vtable for char_event_info+8>}
        pElem = 0x2a0fe6c0
#3  0x0822a950 in destroy () at main.cpp:875
No locals.
#4  0x08058a8f in main (argc=<optimized out>, argv=<optimized out>) at main.cpp:632

 

event.cpp is original Marty no change was made.

main cpp line 875:

event_destroy();
void destroy()
{
    sys_log(0, "<shutdown> Canceling ReloadSpamEvent...");
    CancelReloadSpamEvent();
    sys_log(0, "<shutdown> regen_free()...");
    regen_free();
    sys_log(0, "<shutdown> Closing sockets...");
    socket_close(tcp_socket);
#ifndef __UDP_BLOCK__
    socket_close(udp_socket);
#endif
    socket_close(p2p_socket);
    sys_log(0, "<shutdown> fdwatch_delete()...");
    fdwatch_delete(main_fdw);
    sys_log(0, "<shutdown> event_destroy()...");
    event_destroy();
    sys_log(0, "<shutdown> CTextFileLoader::DestroySystem()...");
    CTextFileLoader::DestroySystem();
    sys_log(0, "<shutdown> thecore_destroy()...");
    thecore_destroy();
}

 

 

main.cpp line 632:

 destroy();
void heartbeat(LPHEART ht, int pulse)
{
[...]
    if (!g_bAuthServer)
    {
        if (isHackShieldEnable)
        {
            sys_log(0, "<shutdown> Releasing HackShield manager...");
            HSManager.Release();
        }
    }
    sys_log(0, "<shutdown> Flushing TrafficProfiler...");
    trafficProfiler.Flush();
#ifdef __NEW_EVENT_HANDLER__
    sys_log(0, "<shutdown> Destroying CEventFunctionHandler...");
    EventFunctionHandler.Destroy();
#endif
    destroy();
#ifdef DEBUG_ALLOC
    DebugAllocator::StaticTearDown();
#endif
    return 1;
}

Every time the server is shut down, it crashes. Otherwise it runs perfectly.

Quests have all been deactivated. Almost all systems that were #defined have been deactivated. Even so, the downer is still there.

Maybe someone knows something;)

Kind regards

.gif

Link to comment
Share on other sites

  • Answers 3
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

3 answers to this question

Recommended Posts

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.


  • Metin2 Dev Github
  • Activity

    1. 6

      Owsap Productions

    2. 11

      BUG SAFEBOX disappear stacks ..

    3. 2

      Error no member named SetcCreateTime in Citem

    4. 2

      Need some help with effect slot on pickup system

    5. 1

      GF Pet system "x" level / percent

    6. 1

      disable quest esc

    7. 2

      Navicat Premium 16.1.3 x64

    8. 2

      Join the Metin2 Dev team

    9. 2

      Error no member named SetcCreateTime in Citem

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.