[Mono-list] Long-running program

Sixes cliff at may.be
Mon Sep 28 06:03:06 EDT 2009


I have a program which, among other things, controls a number of hardware
devices, broadcasts their status, logs changes and accepts commands.  The
program is compiled under VS2008 and runs on mono version 2.4 on Fedora 11.

The program runs fine for a day or two and then it seems that one or more
threads crash internally.   It seems that anything dependent on a
System.Threading.Timer stops working.  The threads blocked on UDP or TCP
listens seem to continue normally and the main thread, blocked on waiting
for a Unix signal, exits cleanly on receiving a SIGTERM.

When the program exits, it outputs a stacktrace and then the following on
stderr:

=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================

For what it's worth, I've uploaded the 
http://www.nabble.com/file/p25642688/std.err whole file  in case it means
anything to anyone.

Any suggestions on how to make this application more stable?

Thanks,
Cliff.
-- 
View this message in context: http://www.nabble.com/Long-running-program-tp25642688p25642688.html
Sent from the Mono - General mailing list archive at Nabble.com.



More information about the Mono-list mailing list