I don't know why but when i want to restart server db doesn't start(connection refused). I need to restart whole vps xD
db.core
Core was generated by `./db'.
Program terminated with signal SIGSEGV, Segmentation fault.
Address not mapped to object.
warning: Section `.reg-xstate/100104' in core file too small.
#0 0x20784912 in strtoul_l () from /lib/libc.so.7
[Current thread is 1 (LWP 100104)]
(gdb) bt full
#0 0x20784912 in strtoul_l () from /lib/libc.so.7
No symbol table info available.
#1 0x20784b15 in strtoul () from /lib/libc.so.7
No symbol table info available.
#2 0x00499c0b in mysql_set_character_set ()
No symbol table info available.
#3 0x004a0b90 in CAsyncSQL::QueryLocaleSet() ()
No symbol table info available.
#4 0x00427f02 in CDBManager::SetLocale (this=0xffbfeb38,
szLocale=0x5bd4ed <g_stLocale+1> "latin1") at DBManager.cpp:172
n = 2
stLocale = "latin1"
#5 0x0042c366 in CClientManager::InitializeLocalization (this=0xffbfe42c)
at ClientManager.cpp:3862
locale = {
szValue = "english\000\001\207\001\000\000\000\000\000\001\000\000\000\001A\203 \340A\203 \b\207\001",
szKey = "LOCALE\000 \204\201\203 \250\266\177 T\020c L\340\277\377\343bb \000\000\000"}
col = 2
n = <optimized out>
szQuery = "SELECT mValue, mKey FROM locale\000\204G@\000eG@\000\204G@\000\210\225~ `\340\277\377\333\361s \360A\177 t߿\377\004\000\000\000\210\225~ \00--Type <RET> for more, q to quit, c to continue without paging--
2\000\000\000\000\000\000\000\001\000\000\000\023\000\000\000\037\000\000\000\037", '\000' <repeats 23 times>, "\017\000\000\000\004\000\000\000\001\000\000\000\000\000\000\000\001", '\000' <repeats 15 times>, "\001\000\000\000\004\000\000\000\001\000\000\000\000\000\000\000\321lf \000\000\000\000\321lf ", '\000' <repeats 20 times>, "\250\266\177 \000"...
pMsg = 0x2086c3f0
row = <optimized out>
#6 0x0042b835 in CClientManager::Initialize (this=0xffbfe42c)
at ClientManager.cpp:103
szBindIP = "p\340\277\377\355\255s \360A\177 T\020c \204\340\277\377\306\357a \360A\177 \000\000\000\000\210\225~ \224\340\277\377\277Hk \001\000\000\000\210\225~ \324\340\277\377\201\024s \001\000\000\000\250\266\177 \000\000\000\000Эs \360A\177 \000\000\000\000\360A\177 l\200~ eG@\000\226\030\240>\226\030\240>\250U\177 eG@\000C\342\277\377\360\340\277\377\223\062G\000\360A\177 "
tmpValue = <optimized out>
iChinaEventServer = <optimized out>
#7 0x0042721e in Start () at Main.cpp:409
szBuf = "\000\024\343\277\377\b\000\000\000`\342\277\377H?L \004\200L \000\360\020~s\221b `\342\277\377\b\000\000\000\a\000\000\000\327&@\000\304I<\a0\270\202\r$tL \001", '\000' <repeats 11 times>, "x\343\277\377\000\000\000\000\000\000\000\000(\000\000\000\220pM \210\225~ @\343\277\377\005qx \220pM \200\003\240 \254qM \\rM \b\000\000\000$\343\277\377\216\222b \004\200L H?L X\343\277\377\264\031K \327&@\000\000@\203 \000@\203 T\020c 4\343\277\377\022\221b 0A\203 T\020--Type <RET> for more, q to quit, c to continue without paging--
Any ideas?