Re: needs a tester with an SMP 7.0 box

From: Mark Kirkwood <markir_at_paradise.net.nz>
Date: Fri, 01 Feb 2008 22:41:30 +1300
Xin LI wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Xin LI wrote:
>   
>> Hi, Julian,
>>
>> I got a lot of this:
>>
>> Jan 31 20:46:43 storage1 kernel: pid 33214 (test), uid 1001: exited on
>> signal 11 (core dumped)
>> Jan 31 20:46:43 storage1 kernel: pid 33204 (test), uid 1001: exited on
>> signal 11 (core dumped)
>> Jan 31 20:46:43 storage1 kernel: pid 33220 (test), uid 1001: exited on
>> signal 11 (core dumped)
>> Jan 31 20:46:43 storage1 kernel: pid 33225 (test), uid 1001: exited on
>> signal 11 (core dumped)
>> Jan 31 20:46:43 storage1 kernel: pid 33222 (test), uid 1001: exited on
>> signal 11 (core dumped)
>>
>> (gdb) where
>> #0  0x000000080063d84f in pthread_sigmask () from /usr/lib/libkse.so.3
>> #1  0x000000080063d7f6 in sigprocmask () from /usr/lib/libkse.so.3
>> #2  0x00000008006485f8 in pthread_kill () from /usr/lib/libkse.so.3
>> #3  0x000000080063b0c5 in fork () from /usr/lib/libkse.so.3
>> #4  0x00000000004007e5 in forker ()
>> #5  0x00000008006418e9 in pthread_create () from /usr/lib/libkse.so.3
>> #6  0x00000008007a1b84 in makecontext () from /lib/libc.so.7
>> #7  0x0000000000000000 in ?? ()
>> #8  0x0000000800a1a800 in ?? ()
>> #9  0x00000000004007c0 in main ()
>>
>> But there is no left-off childs so far after ~20 mins of run.
>>     
>
> I mean, running with an unpatched version of libkse.
>
>
>   

On a dual cpu PIII 1.26 Ghz Tualatin running unpatched Releng 7, I went 
away after 10 minutes... came back and saw:

$ uname -a
FreeBSD ikker.markir.net 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #21: Mon 
Jan 28 14:11:09 NZDT 2008     
postgres_at_ikker.markir.net:/usr/obj/usr/src/sys/STANDARD  i386
$ gcc -O2 -o threadtest threadtest.c -lkse  
$ ./threadtest
Fatal error 'thread in syncq when it shouldn't be.' at line 1817 in file 
/usr/src/lib/libkse/thread/thr_mutex.c (errno = 0)
Fatal error 'Recurse on a private mutex.' at line 1002 in file 
/usr/src/lib/libkse/thread/thr_mutex.c (errno = 22)
Fatal error 'thread in syncq when it shouldn't be.' at line 1817 in file 
/usr/src/lib/libkse/thread/thr_mutex.c (errno = 0)
Fatal error 'Recurse on a private mutex.' at line 1002 in file 
/usr/src/lib/libkse/thread/thr_mutex.c (errno = 22)
...(repeats)

regards

Mark
Received on Fri Feb 01 2008 - 08:57:22 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:26 UTC