Sayen 3 Posted April 3, 2017 Share Posted April 3, 2017 Hello dev, i need your help my core crashs and i dont know who is the problem. Please i need your help i did gdb game.core Spoiler root@:/usr/src/Serverwarena # gdb /usr/src/game_r40267_ /usr/src/maxmigame.core GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd"... warning: core file may not match specified executable file. Core was generated by `maxmigame'. Program terminated with signal 11, Segmentation fault. Reading symbols from /usr/lib32/libmd.so.5...done. Loaded symbols for /usr/lib32/libmd.so.5 Reading symbols from /usr/lib32/libstdc++.so.6...Error while reading shared library symbols:Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /usr/lib32/libstdc++.so.6] Reading symbols from /usr/lib32/libm.so.5...done. Loaded symbols for /usr/lib32/libm.so.5 Reading symbols from /usr/lib32/libgcc_s.so.1...done. Loaded symbols for /usr/lib32/libgcc_s.so.1 Reading symbols from /usr/lib32/libthr.so.3...done. Loaded symbols for /usr/lib32/libthr.so.3 Reading symbols from /usr/lib32/libc.so.7...done. Loaded symbols for /usr/lib32/libc.so.7 Reading symbols from /libexec/ld-elf32.so.1...done. Loaded symbols for /libexec/ld-elf32.so.1 #0 CHARACTER::GetName (this=0x4) at basic_string.h:280 280 { return _M_dataplus._M_p; } [New LWP 100260] (gdb) Bt Full: Spoiler (gdb) bt full#0 CHARACTER::GetName (this=0x2900d0a0) at basic_string.h:280No locals.#1 0x2879bbe6 in getloadavg () from /usr/lib32/libc.so.7No symbol table info available.#2 0x083f97ee in CSemaphore::Wait ()No symbol table info available.#3 0x083f8a5d in CAsyncSQL::ChildLoop ()No symbol table info available.#4 0x083f92be in AsyncSQLThread ()No symbol table info available.#5 0x28732bbc in pthread_multi_np () from /usr/lib32/libthr.so.3No symbol table info available.#6 0x00000000 in ?? ()No symbol table info available.(gdb) I am using freebsd 10.3 maybe the problem are libs? because basic_string.h i think is from libs! its too Important to me this problem can you please help me? Thank you Very much #Post Updated Link to comment Share on other sites More sharing options...
Premium Speachless 758 Posted April 3, 2017 Premium Share Posted April 3, 2017 Is your game stripped ? Link to comment Share on other sites More sharing options...
Sayen 3 Posted April 4, 2017 Author Share Posted April 4, 2017 (edited) 18 hours ago, Dobrescu Sebastian said: Is your game stripped ? Yes for my online server its stripped https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif Edited September 3, 2022 by Metin2 Dev Core X - External 2 Internal 1 Link to comment Share on other sites More sharing options...
Premium Speachless 758 Posted April 4, 2017 Premium Share Posted April 4, 2017 If you use stripped game we can't see the error when you do gdb, also is not recomended to use stripped on server. Install your normal game and come here with another gdb. Link to comment Share on other sites More sharing options...
Sayen 3 Posted April 4, 2017 Author Share Posted April 4, 2017 I did gdb without stripped version of my game.core Link to comment Share on other sites More sharing options...
Sayen 3 Posted April 4, 2017 Author Share Posted April 4, 2017 #0 CHARACTER::GetName (this=0x4) at basic_string.h:280280 { return _M_dataplus._M_p; } i think the problem is something about that but in source its correct Link to comment Share on other sites More sharing options...
Honorable Member Solution NoFr1ends 751 Posted April 5, 2017 Honorable Member Solution Share Posted April 5, 2017 The problem is now the GetName method, the problem is that this function is called on an null-pointer as you can see at (this=0x4) 3 Link to comment Share on other sites More sharing options...
Sayen 3 Posted April 11, 2017 Author Share Posted April 11, 2017 up Am 5/4/2017 um 08:08 schrieb DevChuckNorris: The problem is now the GetName method, the problem is that this function is called on an null-pointer as you can see at (this=0x4) how can i found it? Link to comment Share on other sites More sharing options...
Sayen 3 Posted April 13, 2017 Author Share Posted April 13, 2017 #UP Link to comment Share on other sites More sharing options...
Sayen 3 Posted April 15, 2017 Author Share Posted April 15, 2017 #Up Link to comment Share on other sites More sharing options...
Marggraf 139 Posted April 15, 2017 Share Posted April 15, 2017 man,CHUCK told everything Link to comment Share on other sites More sharing options...
Sayen 3 Posted April 21, 2017 Author Share Posted April 21, 2017 #UP Link to comment Share on other sites More sharing options...
Sayen 3 Posted April 27, 2017 Author Share Posted April 27, 2017 #UP 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