Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

testcomp in tests folder is crashing #12

Open
theSundayProgrammer opened this issue Jul 14, 2019 · 0 comments
Open

testcomp in tests folder is crashing #12

theSundayProgrammer opened this issue Jul 14, 2019 · 0 comments

Comments

@theSundayProgrammer
Copy link

theSundayProgrammer commented Jul 14, 2019

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=) at interp.c:908
#2 0x000055555557d774 in caml_main (argv=0x7fffffffde28) at startup_byt.c:448
#3 0x000055555555cd8c in main (argc=, argv=) at main.c:44
(gdb)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant