Kori 170 Posted January 3, 2020 Share Posted January 3, 2020 Dear Metin2dev community, I have updated my source from gcc49 to gcc7. The tutorial is from here This is the hidden content, please Sign In or Sign Up 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 Sign In or Sign Up Link to comment Share on other sites More sharing options...
HITRON 694 Posted January 3, 2020 Share Posted January 3, 2020 Hey, can you share also the files from the error? Main.cpp ClientManager.cpp Link to comment Share on other sites More sharing options...
Kori 170 Posted January 3, 2020 Author Share Posted January 3, 2020 3 minutes ago, HITRON said: Hey, can you share also the files from the error? Main.cpp ClientManager.cpp Yes I can when I'm at home actually I'm on work please look after 5.30am I edit my topic then 1 Link to comment Share on other sites More sharing options...
Premium Jira 458 Posted January 3, 2020 Premium Share Posted January 3, 2020 Please, full call stack. And put your files(main.cpp, clientmanager.cpp, log.c) in that directory when you try to debug the core... Link to comment Share on other sites More sharing options...
Kori 170 Posted January 3, 2020 Author Share Posted January 3, 2020 Thanks to @Moț he have fixed my problem in in the log.c a simple check for file existing or not Link to comment Share on other sites More sharing options...
Active Member hachiwari 138 Posted January 3, 2020 Active Member Share Posted January 3, 2020 1 godzinę temu, Kori napisał: Thanks to @Moț he have fixed my problem in in the log.c a simple check for file existing or not Can you publish this fix? Link to comment Share on other sites More sharing options...
Developer Ikarus_ 2423 Posted January 3, 2020 Developer Share Posted January 3, 2020 pseudo code should be something like: if(!file.is_open()){ return; //or return false; if it is a bool method } My youtube channel on which you can see my works here Link to comment Share on other sites More sharing options...
Kori 170 Posted January 3, 2020 Author Share Posted January 3, 2020 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 1 Link to comment Share on other sites More sharing options...
Forum Moderator Raylee 656 Posted January 5, 2020 Forum Moderator Share Posted January 5, 2020 #closed Problem solved. Best regards Raylee 1 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