[Mono-dev] Mono hangs on shutdown when /dev/ttySx ports were opened.

Zoltan Varga vargaz at gmail.com
Thu Sep 17 06:02:22 EDT 2009


Hi,

  Could you create some kind of test case to help us debug this issue ?

            Zoltan

On Thu, Sep 17, 2009 at 11:28 AM, Leszek Ciesielski <skolima at gmail.com>wrote:

> Hi,
>
> I am experiencing Mono hangup when my application should terminate.
> The application opens multiple serial ports, but the bug has also
> manifested when network sockets were hanging on reads or writes - it
> seems to be related to a pending I/O operation, asynchronous
> networking helps somewhat. Anyway, the managed code exits, Mono CPU
> usage jumps to 100%, /proc/PID/status shows 4 threads and the
> application never exits. kill -3 PID prints:
>
> "0" tid=0x0xb7d0f6f0 this=0x0x2fed8 thread handle 0x404 state: waiting
> on 0x400 : Event owns ()
>
> and that's all. What can I do to help debug this?
>
> BTW this happens on 1.9 (Debian and Gentoo) and 2.4.2.3 (Debian and
> OpenSuse) [so I'm pretty sure it's not distribution-specific], more
> often if the application uses System.Windows.Forms.
>
> Regards,
>
> Leszek 'skolima' Ciesielski
> _______________________________________________
> 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/20090917/483b7165/attachment.html 


More information about the Mono-devel-list mailing list