Subject: Re: After newlock2 merge: Different pthread behavior for userland programs?
To: Andrew Doran <ad@netbsd.org>
From: Markus W Kilbinger <mk@kilbi.de>
List: port-cobalt
Date: 03/21/2007 19:13:50
>>>>> "Doran" == Andrew Doran <ad@netbsd.org> writes:

    Doran> There have been a good number of fixes to the pthread stuff
    Doran> (kernel and libpthread) in the last two weeks. If it is any
    Doran> of the issues that were fixed by them problem may be
    Doran> solved..

I didn't re-check asterisk on my qube2. But as a (quite) daily test
I'm running perl's 'make test' with actual kernel and userland (esp.
libpthread) on my dual cpu i386 machine as mentioned in pr/36008 where
I still see the problems under ext/threads (todays errors):

  ext/threads/shared/t/0nothread............ok
  ext/threads/shared/t/av_refs..............Unbalanced scopes: 4 more ENTERs than LEAVEs
  Unbalanced saves: 15 more saves than restores
  Unbalanced context: 2 more PUSHes than POPs
  FAILED--expected 11 tests, saw 9
  ext/threads/shared/t/av_simple............ok
  ext/threads/shared/t/blessed..............ok
  ext/threads/shared/t/cond.................Out of memory!
  FAILED--expected 31 tests, saw 22
  ext/threads/shared/t/disabled.............ok
  ext/threads/shared/t/hv_refs..............ok
  ext/threads/shared/t/hv_simple............ok
  ext/threads/shared/t/no_share.............ok
  ext/threads/shared/t/shared_attr..........ok
  ext/threads/shared/t/sv_refs..............ok
  ext/threads/shared/t/sv_simple............ok
  ext/threads/shared/t/wait.................Out of memory!
  FAILED at test 11
  ext/threads/t/basic.......................Unbalanced scopes: 4 more ENTERs than LEAVEs
  FAILED--expected 19 tests, saw 8
  ext/threads/t/end.........................Unbalanced scopes: 1 more ENTERs than LEAVEs
  ok
  ext/threads/t/join........................ok
  ext/threads/t/libc........................ok
  ext/threads/t/list........................ok
  ext/threads/t/problems....................ok
  ext/threads/t/stress_cv...................ok
  ext/threads/t/stress_re...................ok
  ext/threads/t/stress_string...............ok
  ext/threads/t/thread......................Unbalanced scopes: 5 more ENTERs than LEAVEs
  Unbalanced saves: 22 more saves than restores
  Unbalanced context: 3 more PUSHes than POPs
  FAILED--expected 31 tests, saw 10

But if it helps I can re-check asterisk' functionality on my qube2.

Markus.