[Mono-list] Exception stacktrace does not contain full call stack
giulianob
gbarberi at aotaonline.com
Mon Aug 18 19:24:40 UTC 2014
Also to add something else. I'm using async sockets if that makes a
difference. I did this to get the aggregate exception as well:
==============
task.ContinueWith(continuation =>
{
Logger.Error(continuation.Exception);
}, TaskContinuationOptions.ExecuteSynchronously |
TaskContinuationOptions.OnlyOnFaulted);
==============
With Mono this is the exception that gets logged:
==============
2014-08-18 14:10:28,249 [Threadpool worker] ERROR Game.Engine - Unhandled
exception System.AggregateException: --->
MySql.Data.MySqlClient.MySqlException: xxxxxxxxxxxxx
at MySql.Data.MySqlClient.MySqlStream.ReadPacket () [0x00000] in <filename
unknown>:0
at MySql.Data.MySqlClient.NativeDriver.GetResult (System.Int32&
affectedRow, System.Int64& insertedId) [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
--> (Inner exception 0) MySql.Data.MySqlClient.MySqlException: PROCEDURE
BOOM does not exist
at MySql.Data.MySqlClient.MySqlStream.ReadPacket () [0x00000] in <filename
unknown>:0
at MySql.Data.MySqlClient.NativeDriver.GetResult (System.Int32&
affectedRow, System.Int64& insertedId) [0x00000] in <filename unknown>:0
=================
whereas when I run it in the .NET framework I get this:
=================
2014-08-18 15:13:34,884 [39] ERROR Game.Engine - Unhandled exception
System.AggregateException: One or more errors occurred. --->
MySql.Data.MySqlClient.MySqlException: xxxxxxxxxxxxxxxxxx
at Persistance.Managers.MySqlDbManager.HandleGeneralException(Exception
e, DbCommand command) in server\Persistance\Managers\MySqlDbManager.cs:line
935
at Persistance.Managers.MySqlDbManager.ExecuteNonQuery(MySqlCommand
command) in server\Persistance\Managers\MySqlDbManager.cs:line 904
at Persistance.Managers.MySqlDbManager.Query(String query, DbColumn[]
parms) in server\Persistance\Managers\MySqlDbManager.cs:line 383
at Game.Comm.SystemCommandLineModule.ThrowSqlError(Session session,
String[] parms) in server\Game\Comm\CmdLine
Commands\SystemCommandLineModule.cs:line 35
at Game.Comm.CommandLineProcessor.Execute(Session session, String cmd,
String parms) in server\Game\Comm\CommandLineProcessor.cs:line 67
at
Game.Comm.ProcessorCommands.CommandLineCommandsModule.CommandLine(Session
session, Packet packet) in
server\Game\Comm\ProcessorCommands\CommandLineCommandsModule.cs:line 55
at Game.Comm.Processor.Execute(Session session, Packet packet) in
server\Game\Comm\Processor.cs:line 49
at Game.Comm.Session.Process(Packet packet) in
server\Game\Comm\Session.cs:line 92
at Game.Comm.AsyncTcpServer.<ReadLoop>d__8.MoveNext() in
server\Game\Comm\AsyncTcpServer.cs:line 340
--- End of inner exception stack trace ---
---> (Inner Exception #0) MySql.Data.MySqlClient.MySqlException
(0x80004005): Cannot load from mysql.proc. The table is probably corrupted
at Persistance.Managers.MySqlDbManager.HandleGeneralException(Exception
e, DbCommand command) in server\Persistance\Managers\MySqlDbManager.cs:line
935
at Persistance.Managers.MySqlDbManager.ExecuteNonQuery(MySqlCommand
command) in server\Persistance\Managers\MySqlDbManager.cs:line 904
at Persistance.Managers.MySqlDbManager.Query(String query, DbColumn[]
parms) in server\Persistance\Managers\MySqlDbManager.cs:line 383
at Game.Comm.SystemCommandLineModule.ThrowSqlError(Session session,
String[] parms) in server\Game\Comm\CmdLine
Commands\SystemCommandLineModule.cs:line 35
at Game.Comm.CommandLineProcessor.Execute(Session session, String cmd,
String parms) in server\Game\Comm\CommandLineProcessor.cs:line 67
at
Game.Comm.ProcessorCommands.CommandLineCommandsModule.CommandLine(Session
session, Packet packet) in
server\Game\Comm\ProcessorCommands\CommandLineCommandsModule.cs:line 55
at Game.Comm.Processor.Execute(Session session, Packet packet) in
server\Game\Comm\Processor.cs:line 49
at Game.Comm.Session.Process(Packet packet) in
server\Game\Comm\Session.cs:line 92
at Game.Comm.AsyncTcpServer.<ReadLoop>d__8.MoveNext() in
server\Game\Comm\AsyncTcpServer.cs:line 340<---
=================
--
View this message in context: http://mono.1490590.n4.nabble.com/Exception-stacktrace-does-not-contain-full-call-stack-tp4663558p4663560.html
Sent from the Mono - General mailing list archive at Nabble.com.
More information about the Mono-list
mailing list