[Mono-aspnet-list] Cannot load symbols from resource files: is it a bug?

Antonio Anzivino djechelon at zighinetto.org
Fri Feb 19 10:18:55 EST 2010


Hello,

I'm trying to debug my web application under Linux using mdb to search for a
possible Mono deadlock (at least, as it just hangs, it looks like that, and
my app is not subject to deadlocks).

 

I ran a stand-alone mod-mono-server2 instance as my user and it's connected
to Apache via Unix socket. After some hours, the application (finally)
hanged and I tried to attach mdb. I found this:

 

Cannot read DWARF debugging info from symbol file
`/path/to/webapp/bin/it/SpamBusters.resources.dll.so':
System.NullReferenceException: Object reference not set to an instance of an
object

  at Mono.Debugger.TargetBinaryAccess..ctor (Mono.Debugger.TargetBlob blob)
[0x0000d] in
/usr/src/packages/BUILD/mono-debugger-2.6/classes/TargetBinaryAccess.cs:44 

  at Mono.Debugger.TargetBinaryReader..ctor (Mono.Debugger.TargetBlob blob)
[0x00000] in <filename unknown>:0 

  at Mono.Debugger.Backend.DwarfBinaryReader..ctor
(Mono.Debugger.Backend.Bfd bfd, Mono.Debugger.TargetBlob blob, Boolean
is64bit) [0x00000] in <filename unknown>:0 

  at Mono.Debugger.Backend.DwarfReader.get_DebugArangesReader () [0x00000]
in /usr/src/packages/BUILD/mono-debugger-2.6/backend/os/DwarfReader.cs:790 

  at Mono.Debugger.Backend.DwarfReader.read_aranges () [0x00000] in
/usr/src/packages/BUILD/mono-debugger-2.6/backend/os/DwarfReader.cs:579 

  at Mono.Debugger.Backend.DwarfReader..ctor (Mono.Debugger.Backend.Bfd bfd,
Mono.Debugger.Module module) [0x00187] in
/usr/src/packages/BUILD/mono-debugger-2.6/backend/os/DwarfReader.cs:160 

  at (wrapper remoting-invoke-with-check)
Mono.Debugger.Backend.DwarfReader:.ctor
(Mono.Debugger.Backend.Bfd,Mono.Debugger.Module)

  at Mono.Debugger.Backend.Bfd.load_dwarf () [0x00017] in
/usr/src/packages/BUILD/mono-debugger-2.6/backend/os/Bfd.cs:569 

The Mono runtime of the target application does not support attaching,

attaching as a native application.

 

 

That's a resource file. No debug symbol is expected to be there!

Should I ignore it or is it a bug with the debugger?

 

Thank you

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-aspnet-list/attachments/20100219/ec2dcfa6/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3687 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-aspnet-list/attachments/20100219/ec2dcfa6/attachment.bin 


More information about the Mono-aspnet-list mailing list