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

Leszek Ciesielski skolima at gmail.com
Thu Sep 17 06:15:21 EDT 2009


Hi,

we have tried to isolate the problem for almost a month, the best we
managed to get is a hardware configuration for our application that
hangs on every exit - but this is with about 8MB of binaries, probably
over 100k SLOC. What I am hoping for now are some gdb guidelines to
pinpoint the problem.

Regards

On Thu, Sep 17, 2009 at 12:02 PM, Zoltan Varga <vargaz at gmail.com> wrote:
> 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
>
>


More information about the Mono-devel-list mailing list