Mike's picture

futex hang

Hi,
I try to run a small program or the examples on a linux machine with
- Opentk 0.9.1
- Mono 2.0.1
- Kernel 2.6.16.27-0.6-SLERT-10-13
- SLERT is SLES 10 based

The program start, but no window opens - nothing happens.
It looks like hanging.
With mdb the same.
With strace is the last is futex(0xcd34f0, FUTEX_WAIT, 2, NULL)!?

On an opensuse 11.0 with the same Opentk, Mono the program works fine!

Any problems with this linux (SLES10) know?

Thanks
Mike


Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
the Fiddler's picture

Thanks for the report. This mono bug that looks relevant.

It is marked as resolved in Mono 2.0 - can you confirm this describes the issue you are having? If so, I'll ask the devs to reopen the bug.

Mike's picture

Hi,
sorry for delay!!!!
I am not sure!
My application hangs ever on the first try!
The examples too!
Additional it is no web-application!

How they find out that "WaitHandle.WaitOne(timeout)" is the last call?

Thanks
Mike

the Fiddler's picture

Mono can generate some additional debug info. Try running it with the --debug argument, like:

mono --debug program.exe

I'm pretty sure there are even more verbose modes, but I don't know offhand how to enable them. In any case, please attach the trace so we can post it to the mono bugtracker (I don't have access to SLES, but I'm sure they will look into this).