camlidl
camlidl copied to clipboard
testcomp in tests folder is crashing
I am running Ubuntu 18.04.2 LTS. The application wouldn't compile until I changed CCPP=g++ in tests/Makefile. The application crashes when I run it. I have attached below the trace running under gdb.
..... This GDB was configured as "x86_64-linux-gnu". ... (gdb) run Starting program: /home/chakra/projects/ocaml/camlidl/tests/testcomp [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". 1: AddRef: new refcount is 1 1: Release: new refcount is 0 1: destroying component. 1: destroy self. Testing IX interface... Calling f 10
Program received signal SIGSEGV, Segmentation fault.
0x000055555555d5b2 in camlidl_component_IX_F (_v_this=140737333665048, _v_x=21) at component_stubs.c:29
29 this->lpVtbl->F(this, x);
(gdb) backtrace
#0 0x000055555555d5b2 in camlidl_component_IX_F (_v_this=140737333665048, _v_x=21) at component_stubs.c:29
#1 0x000055555557aa7c in caml_interprete (prog=0x7ffff7fab010, prog_size=