[Mono-list] core dump generated when program exits, mono 2.10.1
cometeor
cometliao at gmail.com
Wed Mar 2 21:48:08 EST 2011
I ran my program on debian.
The code is as follows:
class Program
{
public static void Main(string[] args)
{
using (var connection = new MySqlConnection(...) {
try {
connection.Open();
MySqlCommand cmd = new MySqlCommand(..., connection);
cmd.ExecuteNoQuery();
} catch (Exception e) {
Console.WriteLine(e);
}
}
}
}
when the program exits, code dump is generated:
SetLastError(...) at error.c:70 which indicates ret =
pthread_setspecific(...); not return 0.
_wapi_handle_unref(...) at handles.c:1180
handle_cleanup() at handles.c:215
exit() from /lib/libc.so.6
this does not happen in mono-2.8.2.
is this a mono issue or a mysql issue?
thx.
--
View this message in context: http://mono.1490590.n4.nabble.com/core-dump-generated-when-program-exits-mono-2-10-1-tp3332681p3332681.html
Sent from the Mono - General mailing list archive at Nabble.com.
More information about the Mono-list
mailing list