[Mono-dev] System.Environment.Exit() stalling

Alfredo José Muela Romero alfredoj.muela at gmail.com
Fri Jan 30 02:38:25 EST 2009


Hi Zoltan,

I'm running Debian sid's version (mono JIT compiler 1.9.1, as well as gmcs
1.9.1.0).

I'll compile, try and give some feedback with the daily version (
http://mono.ximian.com/daily/mono-latest.tar.bz2 )

Thanks,
Alfredo.

2009/1/29 Zoltan Varga <vargaz at gmail.com>

> Hi,
>
>  Which mono version are you using ? Please try with at least mono
> 2.0, previous versions
> have known shutdown problems.
>
>                 Zoltan
>
> 2009/1/29 Alfredo José Muela Romero <alfredoj.muela at gmail.com>:
> > Hi everyone,
> >
> > I'm developing an application in C# which uses a C++ library (apparently
> > successfully wrapped via SWIG) where some threads are involved.
> >
> > The point is that as the main thread (the one running the main) reaches
> the
> > end, it is confirmed that the created threads are already ended, the GC
> > seems right (after a System.GC.WaitForPendingFinalizers) but it stalls at
> > the System.Enviroment.Exit(0) to never come back and end the application.
> >
> > Any ideas about the possible reasons for the System.Environment.Exit not
> > coming back? How could I dig in more to check it?
> >
> >
> > As an additional info, the Ctrl+c signal works well by ending the app and
> > returning control to the shell. Therefore, I guess the application has a
> > "civic" way of quiting.
> >
> >
> >
> > Thanks in advance,
> >
> > Alfredo.
> >
> > _______________________________________________
> > Mono-devel-list mailing list
> > Mono-devel-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-devel-list
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20090130/00329d69/attachment-0001.html 


More information about the Mono-devel-list mailing list