System.Threading in a Window Form crashes any mono app

Bug #221653 reported by David Burke
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mono (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

In hardy a C# application I made myself no longer works. It does work in Gutsy. The app just freezes after a few seconds of use and parts of the window forms go black or look strange. When running with mono --debug I get no messages. I tried taking different parts of my code apart and I found the issue seems to be caused by the use of system.threading. I ran a console app using threading but could not reproduce the error. Next I made a new very simple window forms app that uses threading. Got the error. I've attached the code for this program. To reproduce this error just compile and run that program on Hardy. Click the button1 to create new threads and windows. Try clicking on some parent windows, since it's on a different thread it should let you click on them. This is how it works in .NET and the previous mono that came with Gutsy. Now it just freezes. The bug doesn't happen every time but after playing with it for a minute or so I reproduced it every time.

Revision history for this message
David Burke (bufke) wrote :
Revision history for this message
David Burke (bufke) wrote :

I did manage to get this stack trace using a mono --debug. Oddly enough I only could get it one time and I tried about 20 times.

Revision history for this message
Jo Shields (directhex) wrote :

Sorry, but your test case seems to be incomplete. InitializeComponent() is not defined anywhere in it. Please attach a working test case.

Changed in mono:
status: New → Incomplete
Revision history for this message
Dimitrios Symeonidis (azimout) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks again!

Changed in mono:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.