cirrus icon indicating copy to clipboard operation
cirrus copied to clipboard

segfault when running test_libsvm_iterator

Open photoszzt opened this issue 5 years ago • 0 comments

This is the Gdb output:

Thread 4 "test_libsvm_ite" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff71ad700 (LWP 9489)]
0x00007ffff676e448 in internal_getent (stream=stream@entry=0x7ffff5c4f720, result=result@entry=0x7ffff71ac420, buffer=buffer@entry=0x7ffff71ac830 "s3-r-w.us-west-2.amazonaws.com", 
    buflen=buflen@entry=1024, errnop=errnop@entry=0x7ffff71ad6b0, herrnop=herrnop@entry=0x7ffff71ad6e8, af=0, flags=0) at nss_files/files-XXX.c:216
216	nss_files/files-XXX.c: No such file or directory.
(gdb) bt
#0  0x00007ffff676e448 in internal_getent (stream=stream@entry=0x7ffff5c4f720, result=result@entry=0x7ffff71ac420, buffer=buffer@entry=0x7ffff71ac830 "s3-r-w.us-west-2.amazonaws.com", 
    buflen=buflen@entry=1024, errnop=errnop@entry=0x7ffff71ad6b0, herrnop=herrnop@entry=0x7ffff71ad6e8, af=0, flags=0) at nss_files/files-XXX.c:216
#1  0x00007ffff676f8bd in _nss_files_gethostbyname4_r (name=0x7ffff00b42a0 "criteo-kaggle-libsvm-train.s3.us-west-2.amazonaws.com", pat=0x7ffff71ac5a8, 
    buffer=0x7ffff71ac830 "s3-r-w.us-west-2.amazonaws.com", buflen=1024, errnop=0x7ffff71ad6b0, herrnop=0x7ffff71ad6e8, ttlp=0x0) at nss_files/files-hosts.c:416
#2  0x00000000009bd5a5 in gaih_inet.constprop ()
#3  0x00000000009bf534 in getaddrinfo ()
#4  0x00000000006a8257 in Curl_getaddrinfo_ex ()
#5  0x00000000006a9b3f in getaddrinfo_thread ()
#6  0x00000000006d077b in curl_thread_create_thunk ()
#7  0x0000000000404a3b in start_thread (arg=0x7ffff71ad700) at pthread_create.c:463
#8  0x00000000009c37ef in clone ()

It seems to be related to this issue: https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1613067

By the way, is there any reason to statically linking here?

photoszzt avatar Jun 11 '19 19:06 photoszzt