Hello guys,
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
root@:~ # gdb /usr/src/game_r40267_32 /usr/src/game.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 `game'.
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...done.
Loaded symbols for /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 100090]
(gdb) Quit
thats the problem.
#0 CHARACTER::GetName (this=0x4) at basic_string.h:280
280 { return _M_dataplus._M_p; }
the problem is the GetName method is called an null-pointer.
But how can i find it and where..