Jump to content

Core crash after gcc7 upgrade


Recommended Posts

Dear Metin2dev community, 

 

I have updated my source from gcc49 to gcc7. The tutorial is from here

This is the hidden content, please

 

I use the vdi with gcc7 update and my source compile without problems but when I start my server I become connection refused and a dot core data 

I have here a gdb output 

 

Here is the bt full report 

https://paste2.org/pg9nnA2B

And here only the bt 

 
	(gdb) bt
	#0 0x080a9713 in log_file_check (logfile=0x0) at log.c:345
	#1 0x080a9cb7 in log_rotate () at log.c:109
	#2 0x0806f185 in CClientManager::MainLoop (this=0xbfbfe9d8) at ClientManager.cpp:191
	#3 0x08055e8c in main () at Main.cpp:89
	(gdb)
	

 

 

I hope we can fix this 

 

Have a great day 

 

The files 

This is the hidden content, please

 

Link to comment
Share on other sites

8 hours ago, hachiwari said:

Can you publish this fix?

Look in your 

libthecore/src for the log.c

And check this 

https://pastebin.com/3gxB0gYz

 

58 minutes ago, Ikarus_ said:

pseudo code should be something like:

if(!file.is_open()){
	return; //or return false; if it is a bool method
}

 

Thanks mate 

  • Love 1
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



  • Similar Content

  • Activity

    1. 5

      Effect weapons

    2. 3

      Crystal Metinstone

    3. 3

      Feeding game source to LLM

    4. 113

      Ulthar SF V2 (TMP4 Base)

    5. 3

      Feeding game source to LLM

    6. 0

      Target Information System

    7. 3

      Feeding game source to LLM

    8. 2

      anti exp explanation pls

  • Recently Browsing

    • No registered users viewing this page.
×
×
  • 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.