GC 7.2e: crash in threadkey_test under FreeBSD

Vitaly Magerya <[email protected]>
Newsgroups gmane.comp.programming.garbage-collection.boehmgc
Message-ID <[email protected]>
Hi. So, 7.2e version with the default options (i.e. with threads)
randomly fails on threadkey_test. The failure itself looks like
this:

    $ ./threadkey_test
    Bad signal in suspend_handler
    Abort (core dumped)

The backtrace looks like this:

(gdb) bt
#0  0x0000000800d0023c in thr_kill () from /lib/libc.so.7
#1  0x0000000800da463b in abort () from /lib/libc.so.7
#2  0x0000000800837fe7 in GC_abort (msg=0x8008417aa "Bad signal in suspend_handler") at misc.c:1472
#3  0x000000080083ea9c in GC_suspend_handler_inner (sig_arg=0x0, context=0x7fffb79bd130) at pthread_stop_world.c:201
#4  0x000000080083ea4e in GC_suspend_handler (sig=0, info=0x7fffb79bd4c0, context=0x7fffb79bd130) at pthread_stop_world.c:187
#5  0x0000000800a870fe in pthread_sigmask () from /lib/libthr.so.3
#6  0x0000000800a872f4 in pthread_sigmask () from /lib/libthr.so.3
#7  0x0000000800a87cfc in sigaction () from /lib/libthr.so.3
#8  0x0000000800a8a47a in pthread_kill () from /lib/libthr.so.3
#9  0x000000080060849c in dlopen () from /libexec/ld-elf.so.1
#10 0x00000008006020bd in .text () from /libexec/ld-elf.so.1
#11 0x0000000000000246 in ?? ()
#12 0xffffffff813e1e58 in ?? ()
#13 0xfffffe006b320950 in ?? ()
#14 0x0000000000000000 in ?? ()

This is on FreeBSD 9.2-RELEASE amd64; the library was built with:

    ./configure && make

You can take a look at the build log at [1] (that is not from
my system, but it's close enough).

Now, I don't fully remember if this is the same problem I've
reported before; if it is, let the message be archived as a
reference.

[1] http://redports.org/~magv/20131118145301-61301-159918/boehm-gc-threaded-7.2e.log
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.