[Gc] Failure on mips64el-linux-gnu, statically linked

Ludovic Courtès ludo at gnu.org
Wed Jul 3 07:07:21 PDT 2013


Hello,

With GC 7.2d configured with --disable-shared on mips64el-linux-gnu (N32),
‘threadleaktest’ crashes once every three or four runs:

--8<---------------cut here---------------start------------->8---
Core was generated by `./threadleaktest'.
Program terminated with signal 11, Segmentation fault.
#0  GC_delete_gc_thread (t=0x0) at ../pthread_support.c:539
539         int hv = NUMERIC_THREAD_ID(id) % THREAD_TABLE_SZ;
(gdb) info threads 
  Id   Target Id         Frame 
* 1    LWP 7105          GC_delete_gc_thread (t=0x0) at ../pthread_support.c:539
(gdb) bt full
#0  GC_delete_gc_thread (t=0x0) at ../pthread_support.c:539
        hv = <optimized out>
        p = <optimized out>
#1  0x004168e0 in GC_pthread_join (thread=<optimized out>, retval=<optimized out>) at ../pthread_support.c:1304
        result = <optimized out>
        t = 0x0
#2  0x0040334c in main () at ../tests/thread_leak_test.c:72
        t = {738505904, 746894512, 755283120, 755283120, 763671728}
        code = 0
(gdb) p GC_threads
$1 = {0x4d2710, 0x0 <repeats 255 times>}
--8<---------------cut here---------------end--------------->8---

Same problem with 7.3alpha2.

Any ideas?

Thanks,
Ludo’.



More information about the Gc mailing list