[Bsd-sharp-list] pthread problems
Robert Wojciechowski
robertw at ssginnovations.com
Wed Jan 3 12:34:51 MST 2007
> Ahá!
>
> On linux there seem to be no problem, i guess the problem lyes, as you
> tell, in between mono and freebsd..
>
> My Amd64-X2 mashine runs -CURRENT, where things are going pretty well.
> As told, i remember to saw something similar, but it went away when ones
> i updated the system (dont remember the date.. )
>
>
> As soon as i recieve a pice of hardware im waiting, ill convert this to
> RELENG_6, then i will be able to replicate the problem.
>
> After this, ill try to solve this on two ways:
>
> 0.- Play around, an try to find something obviously wired that couse
> this
> 1.- Track the problem as far as i can, and let someone with more
> knowloedge look at this.
> 2.- Track wich date on -CURRENT fixes the problem, and try to understand
> somehow the change, and try to patch mono for FreeBSD<7
>
>
> good luck!
Phillip,
I did find out that if I set the sysctl kern.threads.virtual_cpu=1 (instead of the default of 2) that all the problems go away.
So this is definitely something to do with more than one KSE existing, some change in -CURRENT that fixes it and something mono does that causes it to show up before that fix.
If you can't pinpoint the problem by experimentation, perhaps a binary search from RELENG_6 to -CURRENT is in order.
-- Robert
More information about the Bsd-sharp-list
mailing list