Hi David,

No way, same errors as Ubuntu!

Do you know someone running OpenBTS under GNU/Linux that is not getting this issue?

Tks,
Alex

2009/1/14 Alexsander Loula <alex.loula@gmail.com>
Hi David,

I'll give a try with OpenSUSE 11 64 bits only to see if the behaviour will be the same. I let you know!

Tks,
Alex

2009/1/14 David A. Burgess <dburgess@jcis.net>

Alex, Litie -

You are both trying to run OpenBTS under Ubuntu and you are both having the same error.  It would appear that something in the Ubuntu pthread implementation is not behaving correctly. The pthread bug creates two effects:

(1) It allows some threads to run freely when they should be blocked.  This causes the CPU load to be far too high.

(2) It allows uncontrolled access to the paging list, which causes one of the threads to try to access a paging list element after it has already been destroyed.  This is what crashes the program.  There's nothing really special about the paging list, so this is probably happening in other places, too, but it crashes here first.

The eventual solution is to determine the specific pthread failure and then patch the Threads module in CommonLibs to work around it.  I don't know how long that will take.

I'd be interested in hearing about anyone else's knowledge of inconsistencies in Linux pthread implementations.

-- David