Cezary Morga wrote:
Hi,
I'm having a problem with Wx on some of the FreeBSD versions. While
compilation goes all the way fine make test fails miserably on almost
all test with core dump:
Which test pass?
Assertion failed: ((run->regs_mask[elm] & (1U << bit)) == 0), function
arena_run_reg_dalloc, file
/opt/tinderbox/jails/8-CURRENT/src/lib/libc/stdlib/malloc.c, line 2543.
Abort (core dumped)
Is there a valgrind-alike for FreeBSD or at least a debugging memory
allocator of some sort (for example MacOSX malloc can be debugged by
setting some environment variables).
When running core through gdb only informative (at least so I think)
message is:
Program terminated with signal 6, Aborted.
Can you get a stacktrace?
This happens with FreeBSD 8-CURRENT (the development version) on both
i386 and amd64 with all Wx version I've tested (0.89 through 0.91). It
seems (though I could not verify it myself) that this problem appears
also with Wx 0.91 on FreeBSD 7/amd64.
I'm really stuck. Does anyone have any idea how to debug this problem?
I'm afraid not...
Regards,
Mattia