This is the mail archive of the libffi-discuss@sourceware.org mailing list for the libffi project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: how to run the testsuite


Sebastian Reitenbach wrote:
(gdb) r
Starting program: /usr/ports/devel/libffi/w-libffi-3.0.7/libffi-3.0.7/unwindtest.exe
terminate called after throwing an instance of 'int'
terminate called recursively


Program received signal SIGABRT, Aborted.
abort () at /usr/src/lib/libc/stdlib/abort.c:74
74 /usr/src/lib/libc/stdlib/abort.c: No such file or directory.
in /usr/src/lib/libc/stdlib/abort.c
(gdb) bt
#0 abort () at /usr/src/lib/libc/stdlib/abort.c:74
#1 0x000000004723c344 in __gnu_cxx::__verbose_terminate_handler() ()

I think it is the abort from the CHECK macro (the macor is defined here: ffitestcxx.h).
Try to comment the CHECK lines in the test case and rebuild/run.
There are six CHECK's, try to find out which one is the aborting one.


Andreas


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]