ew2openapi "Segmentation fault" nel docker di hew19. coredump generato
Capita che ew2openapi
vada in "Segmentation fault"
Viene generato un core dump e analizzandolo con gdb
, risulta:
d3dac2b9287f:/opt/ew_env/params [ew:hew19_env] $ gdb `which ew2openapi` core
GNU gdb (Debian 8.2.1-2+b3) 8.2.1
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /opt/earthworm/bin/ew2openapi...done.
[New LWP 71766]
[New LWP 601]
[New LWP 600]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `ew2openapi ew2openapi.d'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 QueueDumpFile (p=0x7fff2f2e87a0) at src/ew2openapi.c:1362
1362 Wrmsg[msgSize] = '\0';
[Current thread is 1 (Thread 0x7fb771fd0700 (LWP 71766))]
(gdb) where
#0 QueueDumpFile (p=0x7fff2f2e87a0) at src/ew2openapi.c:1362
#1 0x00007fb78732bfa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#2 0x00007fb7870d94cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Investigare e risolvere.