ErikMinekus / sm-ripext

SourceMod REST in Pawn Extension
https://forums.alliedmods.net/showthread.php?t=298024
GNU General Public License v3.0
136 stars 38 forks source link

Segmentation fault in libc (using sm rip ext) #61

Open WeSTManCoder opened 3 years ago

WeSTManCoder commented 3 years ago

Stack im using -nodns in start parameter. Sigsegv:

0 0xf7624248 in rewind () from /lib/i386-linux-gnu/i686/cmov/libc.so.6

1 0xf0443e04 in ?? () from /lib/i386-linux-gnu/i686/cmov/libnss_files.so.2

2 0xf0444e6d in _nss_files_gethostbyname4_r () from /lib/i386-linux-gnu/i686/cmov/libnss_files.so.2

3 0xf768ce28 in ?? () from /lib/i386-linux-gnu/i686/cmov/libc.so.6

4 0xf768e19b in getaddrinfo () from /lib/i386-linux-gnu/i686/cmov/libc.so.6

5 0xed47f527 in Curl_getaddrinfo_ex (nodename=0xeac02c68 "mysite.ru", servname=0xe898231f "443", hints=0xeac02c1c, result=0xeac02c18)

at /home/runner/work/sm-ripext/sm-ripext/extension/curl/lib/curl_addrinfo.c:124

6 0xed47b106 in getaddrinfo_thread (arg=0xeac02bf8) at /home/runner/work/sm-ripext/sm-ripext/extension/curl/lib/asyn-thread.c:306

7 0xed47fd7e in curl_thread_create_thunk (arg=0xeac02ca8) at /home/runner/work/sm-ripext/sm-ripext/extension/curl/lib/curl_threads.c:57

8 0xf756cecb in start_thread () from /lib/i386-linux-gnu/i686/cmov/libpthread.so.0

9 0xf76a4d0e in clone () from /lib/i386-linux-gnu/i686/cmov/libc.so.6

My English is terrible. Excuse me.

Sometimes I catch sigsegv when I use your extension. Probably the problem is in the libc6, is it not fixed in the extension itself? Debian 8

WeSTManCoder commented 3 years ago

and

0 0xf758ff87 in fgets_unlocked () from /lib/i386-linux-gnu/i686/cmov/libc.so.6

1 0xf03acee0 in ?? () from /lib/i386-linux-gnu/i686/cmov/libnss_files.so.2

2 0xf03adf3f in _nss_files_gethostbyname4_r () from /lib/i386-linux-gnu/i686/cmov/libnss_files.so.2

3 0xf75f6e28 in ?? () from /lib/i386-linux-gnu/i686/cmov/libc.so.6

4 0xf75f819b in getaddrinfo () from /lib/i386-linux-gnu/i686/cmov/libc.so.6

5 0xed3dc527 in Curl_getaddrinfo_ex (nodename=0xeab225f0 "mysite.ru", servname=0xe96d731f "443", hints=0xeab225a4, result=0xeab225a0)

at /home/runner/work/sm-ripext/sm-ripext/extension/curl/lib/curl_addrinfo.c:124

6 0xed3d8106 in getaddrinfo_thread (arg=0xeab22580) at /home/runner/work/sm-ripext/sm-ripext/extension/curl/lib/asyn-thread.c:306

7 0xed3dcd7e in curl_thread_create_thunk (arg=0xeab08ac8) at /home/runner/work/sm-ripext/sm-ripext/extension/curl/lib/curl_threads.c:57

8 0xf74d6ecb in start_thread () from /lib/i386-linux-gnu/i686/cmov/libpthread.so.0

9 0xf760ed0e in clone () from /lib/i386-linux-gnu/i686/cmov/libc.so.6

WeSTManCoder commented 2 years ago

problem sovled. error in getaddrinfo function. update glibc