On Mon, Aug 15, 2011 at 5:58 PM, Gunnar Lindroth <gunnarlindr...@hotmail.com> wrote: > Thank you Richard, that's really great news! > My UML has 2GB available, I have assumed that to be enough? > I'm sorry if I didn't make myself very clear about the output of the test > program. > In my UML this test program is not crashing either, but it's sometimes > printing "0.75 < 0" which it should _never_ do.
True. :-\ Your test program prints "0.75 < 0". I was able to write a stand alone test in c using pthreads. There is definitely something broken. It seems to fail only on newer hosts: 2.6.18/i686 UP: OK 2.6.18/i686 SMP: OK 2.6.34/x86_64 SMP: FAIL 2.6.37/x86_64 UP: FAIL 2.6.37/x86_64 SMP: FAIL 3.0/i686 SMP: FAIL For all tests I've used 3.1-rc2 as UML kernel. Something on the host-side broke UML's FPU threading. The test program is attached. Are you able to bisect the issue? If not I'll do it, but it might take some time as I'm currently super busy. -- Thanks, //richard
#include <stdio.h> #include <assert.h> #include <pthread.h> static int xxx(float f) { if(f <= 0.0) return -1; return 0; } static void *fun(void *arg) { for(;;) assert(xxx(5.0) == 0); } int main() { pthread_t t1, t2; pthread_create(&t1, NULL, fun, NULL); pthread_create(&t2, NULL, fun, NULL); pthread_join(t1, NULL); pthread_join(t2, NULL); return 0; }
------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user