samp-plugin-jit icon indicating copy to clipboard operation
samp-plugin-jit copied to clipboard

Centos 7 JIT Crash

Open dnenad opened this issue 5 years ago • 1 comments

Hi guys, i'm trying to run JIT on centos 7, compiled on my own dedicated server, but so far without luck.. what worries me is that on debin 9 it works perfectly, but on centos 7 nope.

here is the debug log: (gdb) run Starting program: /usr/local/gpx/users/enigmaticgc/145.239.150.32-7812/Linux/./samp03svr [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". [New Thread 0xf740ab40 (LWP 9318)] [New Thread 0xf6c09b40 (LWP 9319)] [Thread 0xf6c09b40 (LWP 9319) exited] [New Thread 0xf6c09b40 (LWP 9328)]

Started server on 145.239.150.32:7812, with maxplayers: 100 lanmode is OFF.

Program received signal SIGSEGV, Segmentation fault. 0xf78d9804 in SHA1ProcessMessageBlock () from /usr/lib/mysql/libmysqlclient.so.18 Missing separate debuginfos, use: debuginfo-install glibc-2.17-260.el7_6.5.i686 keyutils-libs-1.5.8-3.el7.i686 krb5-libs-1.15.1-37.el7_6.i686 libcom_err-1.42.9-13.el7.i686 libgcc-4.8.5-36.el7_6.2.i686 libselinux-2.5-14.1.el7.i686 libstdc++-4.8.5-36.el7_6.2.i686 mariadb-libs-5.5.60-1.el7_5.i686 openssl-libs-1.0.2k-16.el7_6.1.i686 pcre-8.32-17.el7

The server encounters a segmentation fault in "0xf78d9804 in SHA1ProcessMessageBlock () from /usr/lib/mysql/libmysqlclient.so.18". Perhaps this suggests an incompatibility with the JIT plugin and this particular version or compilation of the MySQL plugin?

Can you please advise,

thanks.

dnenad avatar May 24 '19 21:05 dnenad

It's hard to say why it crashed, it could be unrelated to the JIT plugin. If you know how, you can try to rebuild the MySQL plugin and add some debug logging to see if the arguments passed to that function make any sense.

Zeex avatar Jun 02 '19 06:06 Zeex