(gdb) run
Starting program: /home/ework/Downloads/azure-iot-gateway-sdk/build/samples/simulated_device_cloud_upload/simulated_device_cloud_upload_sample /home/ework/Downloads/simulated_device_cloud_upload_lin.json
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7ffff2253700 (LWP 13402)]
[New Thread 0x7ffff17aa700 (LWP 13403)]
[New Thread 0x7ffff0d8c700 (LWP 13404)]
[New Thread 0x7ffff0370700 (LWP 13405)]
[New Thread 0x7fffefb6f700 (LWP 13406)]
[New Thread 0x7fffef156700 (LWP 13407)]
[New Thread 0x7fffee955700 (LWP 13408)]
[New Thread 0x7fffe6154700 (LWP 13409)]
Press return to exit the application.
[New Thread 0x7fffee154700 (LWP 13410)]
[New Thread 0x7fffed953700 (LWP 13411)]
[Thread 0x7fffed953700 (LWP 13411) exited]
Thread 10 "simulated_devic" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffee154700 (LWP 13410)]
__GI___pthread_mutex_lock (mutex=mutex@entry=0x0) at ../nptl/pthread_mutex_lock.c:67
67 unsigned int type = PTHREAD_MUTEX_TYPE_ELISION (mutex);
(gdb) bt
#0 __GI___pthread_mutex_lock (mutex=mutex@entry=0x0) at ../nptl/pthread_mutex_lock.c:67
#1 0x00007ffff4cc7979 in PR_Lock (lock=0x0) at ../../../nspr/pr/src/pthreads/ptsynch.c:177
#2 0x00007ffff7bbadb8 in nss_setup_connect (sockindex=0, conn=0x7fffc8015e40) at vtls/nss.c:1595
#3 nss_connect_common (conn=conn@entry=0x7fffc8015e40, sockindex=sockindex@entry=0, done=done@entry=0x7fffee153649)
at vtls/nss.c:1917
#4 0x00007ffff7bbc4d5 in Curl_nss_connect_nonblocking (conn=conn@entry=0x7fffc8015e40, sockindex=sockindex@entry=0,
done=done@entry=0x7fffee153649) at vtls/nss.c:1973
#5 0x00007ffff7bb8f7a in Curl_ssl_connect_nonblocking (conn=conn@entry=0x7fffc8015e40, sockindex=sockindex@entry=0,
done=done@entry=0x7fffee153649) at vtls/vtls.c:333
#6 0x00007ffff7b70b6d in https_connecting (done=0x7fffee153649, conn=0x7fffc8015e40) at http.c:1386
#7 Curl_http_connect (conn=0x7fffc8015e40, done=0x7fffee153649) at http.c:1356
#8 0x00007ffff7b8201c in Curl_protocol_connect (conn=0x7fffc8015e40,
protocol_done=protocol_done@entry=0x7fffee153649) at url.c:3668
#9 0x00007ffff7b95dee in multi_runsingle (multi=multi@entry=0x7fffc800c7d0, now=..., data=data@entry=0x7fffc8003650)
at multi.c:1264
#10 0x00007ffff7b96b66 in curl_multi_perform (multi_handle=multi_handle@entry=0x7fffc800c7d0,
running_handles=running_handles@entry=0x7fffee15373c) at multi.c:1821
#11 0x00007ffff7b8d57c in easy_transfer (multi=0x7fffc800c7d0) at easy.c:724
#12 easy_perform (events=false, data=0x7fffc8003650) at easy.c:812
#13 curl_easy_perform (easy=0x7fffc8003650) at easy.c:831
#14 0x00007ffff1816734 in HTTPAPI_ExecuteRequest () from ./modules/iothub/libiothub.so
#15 0x00007ffff181340c in HTTPAPIEX_ExecuteRequest () from ./modules/iothub/libiothub.so
#16 0x00007ffff1813f96 in HTTPAPIEX_SAS_ExecuteRequest () from ./modules/iothub/libiothub.so
#17 0x00007ffff182290a in DoMessages () from ./modules/iothub/libiothub.so
#18 0x00007ffff182306a in IoTHubTransportHttp_DoWork () from ./modules/iothub/libiothub.so
#19 0x00007ffff17ce7a8 in transport_worker_thread () from ./modules/iothub/libiothub.so
#20 0x0000000000416809 in ThreadWrapper ()
#21 0x00007ffff72775ca in start_thread (arg=0x7fffee154700) at pthread_create.c:333
#22 0x00007ffff66490ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109