[Mono-dev] mono crash when multiple threads tries to lock fileson Linux

Esben Laursen el at rantek.dk
Mon Sep 19 15:52:49 EDT 2011

Hi Rodrigo,

Many thanks for your reply, I have added under a single bug report..


I am keeping my fingers crossed that you guys can find the problem (or help me finding it), please let me know if there is anything I can do..



Fra: Rodrigo Kumpera [mailto:kumpera at gmail.com]
Sendt: 19. september 2011 18:20
Til: Esben Laursen
Cc: mono-devel-list at lists.ximian.com
Emne: Re: [Mono-dev] mono crash when multiple threads tries to lock fileson Linux

File a single bug and attach all file as a single zip one.

Thanks for the time of figuring out a test that reproduces it.

On Sun, Sep 18, 2011 at 8:36 AM, Esben Laursen <el at rantek.dk<mailto:el at rantek.dk>> wrote:
Hi All,

I have a problem that then I try and open close the same file multiple threads it eventually crashes with a SIGSEGV.

The problem that I have in my app actually happens on the Dispose method, but I have managed to write a repro  that fails when on the open (I do not know if they are related, but it still crashes so it must also be a bug).

With mono-2.6.7 it does not happen after a while (depending on how many threads that are started), and the stack trace is not very informative, but with mono-2.10.5 it happens almost  immediately and the stacktrace gives a lot more output.

My Question, do you guys think it would be best to create 2 bug reports, one for 2.10.x and one for 2.6.x branch or would it be better to just create one?

If someone is interested I have uploaded the files in question to my dropbox if someone are interested..

I have compiled the source with "mcs -debug+ FileLockRepro_monoDevelop.cs" or debugged it directly from MonoDevelop.


Do you think you guys need more information to debug it? As I don't really have any idea where to start :-)

Ohh yes, do you think the orginal stacktrace could be compared to the repro one?

Many thanks for your help..


Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com<mailto:Mono-devel-list at lists.ximian.com>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20110919/68250a5e/attachment.html 

More information about the Mono-devel-list mailing list