Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Feb 2008 22:41:30 +1300
From:      Mark Kirkwood <markir@paradise.net.nz>
To:        d@delphij.net
Cc:        Julian Elischer <julian@elischer.org>, FreeBSD Current <current@freebsd.org>
Subject:   Re: needs a tester with an SMP 7.0 box
Message-ID:  <47A2E94A.4020401@paradise.net.nz>
In-Reply-To: <47A2A4F4.8010601@delphij.net>
References:  <47A21ED6.5070303@elischer.org> <47A25206.6070406@delphij.net> <47A25993.6050200@elischer.org> <47A25CED.4010504@delphij.net> <47A26D12.30205@elischer.org> <47A27AF3.2020701@delphij.net> <47A27C08.3010709@elischer.org> <47A28023.9000105@delphij.net> <47A290E7.4040900@elischer.org> <47A29E95.5090404@delphij.net> <47A2A4A6.3080901@delphij.net> <47A2A4F4.8010601@delphij.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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









Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47A2E94A.4020401>