[Mono-dev] Process background problem

Jacob Gladish jacobgladish at yahoo.com
Fri Jan 16 10:30:30 EST 2009

> mono program.exe&
> bg

--- On Fri, 1/16/09, Carlos Ruiz Diaz <carlos.ruizdiaz at gmail.com> wrote:

From: Carlos Ruiz Diaz <carlos.ruizdiaz at gmail.com>
Subject: [Mono-dev] Process background problem
To: mono-devel-list at lists.ximian.com
Date: Friday, January 16, 2009, 9:29 AM

-----Inline Attachment Follows-----

I think I found a bug using the runtime 2.0.1 compiled for openSUSE 10.3.

I made a multithreading program that connects to a DB2 database (for AS400) using ODBC through unixODBC and perform some jobs using stored procedures mostly. It also connects to remote hosts using TCP sockets and displays debugging information to stdout (a lot).

When I run the following command:

mono program.exe

everything behave as expected but running:

mono program.exe&

the program goes to background but almost immediately stops  so I use fg command to foreground the process and them seems to resume its execution but sometimes when I do this and try to finish it using ^C (or SIGTERM) it dies displaying a long stack trace apparently originated from a non-managed code.

I hope someone can help me.

Thanks in advance.

-----Inline Attachment Follows-----

Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20090116/d4732991/attachment-0001.html 

More information about the Mono-devel-list mailing list