Description of problem:
The attached programs sometimes causes lockups. Generally I have to run immediately after logging in and rebooting to provoke the lockup.
The system is a quad core Core 2; I'll attach cpuinfo.
Created attachment 362307 [details]
(In reply to comment #2)
> Description of problem:
> The attached programs sometimes causes lockups. Generally I have to run
> immediately after logging in and rebooting to provoke the lockup.
What attached programs?
Created attachment 362449 [details]
The attached program
This one, sorry. I'm not sure what went wrong.
int cpu = (int)data;
int cpu = (int)*data;
You should probably build with -Wall and fix every warning before looking for bugs.
Created attachment 362515 [details]
A version that compiles without warnings.
Here is a version that compiles without warnings with -Wall.
Note that I am using this:
pthread_create (&t, NULL, thread, (void *)i);
to cast a small integer to a pointer, then casting back later. There is nothing wrong with that, I don't think.
Can you try with a 126.96.36.199 kernel, which has several perfcounter fixes? Is it completely wedged to the point that the sysrq keys don't work?
It is completely wedged, yes. I haven't seen it since upgrading to 188.8.131.52, so maybe it's gone.