MySQL problem on Linux
#1

Hello all,

My gamemode that Im working on is working fine on Windows, but when I run in on my Ubuntu machine, it gives me a fatal crash pretty soon:

Код:

Started server on port: 7777, with maxplayers: 50 lanmode is OFF.

*** buffer overflow detected ***: ./samp03svr terminated
======= Backtrace: =========
/lib32/libc.so.6(__fortify_fail+0x50)[0xf7513c80]
/lib32/libc.so.6(+0xe4b8a)[0xf7512b8a]
/lib32/libc.so.6(+0xe4288)[0xf7512288]
/lib32/libc.so.6(_IO_default_xsputn+0x95)[0xf7498615]
/lib32/libc.so.6(_IO_vfprintf+0x528d)[0xf747019d]
/lib32/libc.so.6(__vsprintf_chk+0xad)[0xf751233d]
/lib32/libc.so.6(__sprintf_chk+0x2d)[0xf751227d]
plugins/SHA512.so(_Z6SHA512Pc+0xdab)[0xf6ba37ab]
plugins/SHA512.so(+0x3d9d)[0xf6ba3d9d]
./samp03svr[0x80503e4]
./samp03svr[0x8051e85]
./samp03svr[0x80709ff]
./samp03svr[0x808127c]
./samp03svr[0x80adbe1]
./samp03svr[0x80adcd2]
./samp03svr[0x80b79c0]
./samp03svr[0x807d736]
./samp03svr[0x807d962]
./samp03svr[0x8077c23]
/lib32/libc.so.6(__libc_start_main+0xe7)[0xf7444e37]
./samp03svr(__gxx_personality_v0+0xf5)[0x804b4c1]
======= Memory map: ========
08048000-08051000 r-xp 00000000 08:06 262150                             /data/samp2/samp03svr
08051000-08053000 rwxp 00009000 08:06 262150                             /data/samp2/samp03svr
08053000-0816f000 r-xp 0000b000 08:06 262150                             /data/samp2/samp03svr
0816f000-0818b000 rw-p 00126000 08:06 262150                             /data/samp2/samp03svr
0818b000-08196000 rw-p 00000000 00:00 0
09183000-093aa000 rw-p 00000000 00:00 0                                  [heap]
f5b5e000-f6033000 rw-p 00000000 00:00 0
f6033000-f6034000 ---p 00000000 00:00 0
f6034000-f6930000 rw-p 00000000 00:00 0
f6930000-f69fe000 r-xp 00000000 08:06 18481264                           /data/samp2/plugins/streamer.so
f69fe000-f69ff000 rw-p 000ce000 08:06 18481264                           /data/samp2/plugins/streamer.so
f69ff000-f6a00000 rw-p 00000000 00:00 0
f6a00000-f6a21000 rw-p 00000000 00:00 0
f6a21000-f6b00000 ---p 00000000 00:00 0
f6b7b000-f6b82000 r-xp 00000000 08:01 262135                             /lib32/librt-2.13.so
f6b82000-f6b83000 r--p 00006000 08:01 262135                             /lib32/librt-2.13.so
f6b83000-f6b84000 rw-p 00007000 08:01 262135                             /lib32/librt-2.13.so
f6ba0000-f6ba6000 r-xp 00000000 08:06 18481265                           /data/samp2/plugins/SHA512.so
f6ba6000-f6ba7000 r--p 00005000 08:06 18481265                           /data/samp2/plugins/SHA512.so
f6ba7000-f6ba8000 rw-p 00006000 08:06 18481265                           /data/samp2/plugins/SHA512.so
f6ba8000-f6ba9000 ---p 00000000 00:00 0
f6ba9000-f73a9000 rw-p 00000000 00:00 0
f73a9000-f7401000 r-xp 00000000 08:06 18481266                           /data/samp2/plugins/mysql.so
f7401000-f742a000 rw-p 00057000 08:06 18481266                           /data/samp2/plugins/mysql.so
f742a000-f742e000 rw-p 00000000 00:00 0
f742e000-f7586000 r-xp 00000000 08:01 262119                             /lib32/libc-2.13.so
f7586000-f7588000 r--p 00158000 08:01 262119                             /lib32/libc-2.13.so
f7588000-f7589000 rw-p 0015a000 08:01 262119                             /lib32/libc-2.13.so
f7589000-f758c000 rw-p 00000000 00:00 0
f758c000-f75a6000 r-xp 00000000 08:01 932856                             /usr/lib32/libgcc_s.so.1
f75a6000-f75a7000 r--p 00019000 08:01 932856                             /usr/lib32/libgcc_s.so.1
f75a7000-f75a8000 rw-p 0001a000 08:01 932856                             /usr/lib32/libgcc_s.so.1
f75a8000-f75cc000 r-xp 00000000 08:01 262123                             /lib32/libm-2.13.so
f75cc000-f75cd000 r--p 00023000 08:01 262123                             /lib32/libm-2.13.so
f75cd000-f75ce000 rw-p 00024000 08:01 262123                             /lib32/libm-2.13.so
f75ce000-f76ad000 r-xp 00000000 08:01 932861                             /usr/lib32/libstdc++.so.6.0.14
f76ad000-f76b1000 r--p 000de000 08:01 932861                             /usr/lib32/libstdc++.so.6.0.14
f76b1000-f76b2000 rw-p 000e2000 08:01 932861                             /usr/lib32/libstdc++.so.6.0.14
f76b2000-f76b9000 rw-p 00000000 00:00 0
f76b9000-f76ce000 r-xp 00000000 08:01 262133                             /lib32/libpthread-2.13.so
f76ce000-f76cf000 r--p 00014000 08:01 262133                             /lib32/libpthread-2.13.so
f76cf000-f76d0000 rw-p 00015000 08:01 262133                             /lib32/libpthread-2.13.so
f76d0000-f76d2000 rw-p 00000000 00:00 0
f76d2000-f76d4000 r-xp 00000000 08:01 262122                             /lib32/libdl-2.13.so
f76d4000-f76d5000 r--p 00001000 08:01 262122                             /lib32/libdl-2.13.so
f76d5000-f76d6000 rw-p 00002000 08:01 262122                             /lib32/libdl-2.13.so
f76d6000-f76d8000 rw-p 00000000 00:00 0
f76d8000-f76e4000 r-xp 00000000 08:06 18481263                           /data/samp2/plugins/sscanf.so
f76e4000-f76e5000 rw-p 0000c000 08:06 18481263                           /data/samp2/plugins/sscanf.so
f76e5000-f76e6000 rw-p 00000000 00:00 0
f76e6000-f76f0000 r-xp 00000000 08:01 262128                             /lib32/libnss_files-2.13.so
f76f0000-f76f1000 r--p 00009000 08:01 262128                             /lib32/libnss_files-2.13.so
f76f1000-f76f2000 rw-p 0000a000 08:01 262128                             /lib32/libnss_files-2.13.so
f76f2000-f76f4000 rw-p 00000000 00:00 0
f76f4000-f76f5000 r-xp 00000000 00:00 0                                  [vdso]
f76f5000-f7711000 r-xp 00000000 08:01 262116                             /lib32/ld-2.13.so
f7711000-f7712000 r--p 0001b000 08:01 262116                             /lib32/ld-2.13.so
f7712000-f7713000 rw-p 0001c000 08:01 262116                             /lib32/ld-2.13.so
ff8bb000-ff8dc000 rw-p 00000000 00:00 0                                  [stack]
Aborted
Any help would be very much appreciated!

Thanks!
Reply
#2

Nobody who can help me? Please?
Reply
#3

You have to download the server files for linux, not windows. Then just place your gamemode and/or filterscript or w/e you need and try to run it.
Reply
#4

Haha, I'm not dumb, the server starts and I use Linux server, but after a while it gives me the fatal crash.
Reply
#5

It says buffer overflow. The string sizes of your queries might be too big for the server to handle.. Just a guess
Reply
#6

Not to undermine your intelligence, but have you got the most up to date LINUX .so files?
Reply
#7

No large string sizes, and I have the most up to date so files.
Running out of ideas :S
Reply
#8

You might want to check the topic of the plugin you are using. It might say something about linux issues
Reply
#9

Maybe the plugins is corrupt in some way?

Try to download them once more and replace with the old ones. It looks like the problems start there. Just a guess.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)