Bugzilla – Bug 324291
Could not debug a simple program (that use log4net)
Last modified: 2007-09-15 21:24:34 UTC
---- Reported by informatique.internet@fiducial.fr 2007-05-14 08:21:28 MST ---- Description of Problem: Could not debug a simple program (that use log4net) Steps to reproduce the problem: 1. Uncompress monodevelop solution 2. cd DebuggerTest/bin/Debug/ 3. mdb ./DebuggerTest.exe Actual Results: hubert@hublinux ~/Projects/DebuggerTest/DebuggerTest/bin/Debug $ mdb ./DebuggerTest.exe Mono Debugger (mdb) r Starting program: ./DebuggerTest.exe Cannot load symbol file `/home/hubert/Projects/DebuggerTest/DebuggerTest/bin/Debug/log4net.dll.mdb': Could not find file "/home/hubert/Projects/DebuggerTest/DebuggerTest/bin/Debug/log4net.dll.mdb". EXCEPTION: System.ArgumentException: Cannot compare addresses from different domains AddressDomain (0:) and AddressDomain (0:global) at Mono.Debugger.TargetAddress.check_domains (TargetAddress a, TargetAddress b) [0x0001e] in /home/hubert/mono/debugger/interface/TargetAddress.cs:95 at Mono.Debugger.TargetAddress.op_Equality (TargetAddress a, TargetAddress b) [0x00000] in /home/hubert/mono/debugger/interface/TargetAddress.cs:146 at Mono.Debugger.Backends.SingleSteppingEngine.throw_exception (TargetAddress stack, TargetAddress exc, TargetAddress ip) [0x00031] in /home/hubert/mono/debugger/backend/SingleSteppingEngine.cs:920 at Mono.Debugger.Backends.SingleSteppingEngine.ProcessChildEvent (Mono.Debugger.Backends.ChildEvent cevent) [0x000c1] in /home/hubert/mono/debugger/backend/SingleSteppingEngine.cs:252 at Mono.Debugger.Backends.SingleSteppingEngine.ProcessEvent (Int32 status) [0x00295] in /home/hubert/mono/debugger/backend/SingleSteppingEngine.cs:214 at (wrapper remoting-invoke-with-check) Mono.Debugger.Backends.SingleSteppingEngine:ProcessEvent (int) at Mono.Debugger.Backends.ThreadManager.engine_thread_main () [0x000ce] in /home/hubert/mono/debugger/backend/ThreadManager.cs:310 and you have to kill the mdb process by hand Expected Results: it should work How often does this happen? always Additional Information: ---- Additional Comments From informatique.internet@fiducial.fr 2007-05-14 08:21:58 MST ---- Created an attachment (id=171955) DebuggerTest.tar.gz ---- Additional Comments From informatique.internet@fiducial.fr 2007-05-14 08:51:56 MST ---- i added log4net.mdb and i get : hubert@hublinux ~/Projects/DebuggerTest/DebuggerTest/bin/Debug $ mdb ./DebuggerTest.exe Mono Debugger (mdb) r Starting program: ./DebuggerTest.exe EXCEPTION: System.ArgumentException: Cannot compare addresses from different domains AddressDomain (0:) and AddressDomain (0:global) at Mono.Debugger.TargetAddress.check_domains (TargetAddress a, TargetAddress b) [0x0001e] in /home/hubert/mono/debugger/interface/TargetAddress.cs:95 at Mono.Debugger.TargetAddress.op_Equality (TargetAddress a, TargetAddress b) [0x00000] in /home/hubert/mono/debugger/interface/TargetAddress.cs:146 at Mono.Debugger.Backends.SingleSteppingEngine.throw_exception (TargetAddress stack, TargetAddress exc, TargetAddress ip) [0x00031] in /home/hubert/mono/debugger/backend/SingleSteppingEngine.cs:920 at Mono.Debugger.Backends.SingleSteppingEngine.ProcessChildEvent (Mono.Debugger.Backends.ChildEvent cevent) [0x000c1] in /home/hubert/mono/debugger/backend/SingleSteppingEngine.cs:252 at Mono.Debugger.Backends.SingleSteppingEngine.ProcessEvent (Int32 status) [0x00295] in /home/hubert/mono/debugger/backend/SingleSteppingEngine.cs:214 at (wrapper remoting-invoke-with-check) Mono.Debugger.Backends.SingleSteppingEngine:ProcessEvent (int) at Mono.Debugger.Backends.ThreadManager.engine_thread_main () [0x000ce] in /home/hubert/mono/debugger/backend/ThreadManager.cs:310 (mdb) quit The program is running. Exit anyway? (y or n) y Thread @1 exited normally. Process #1 exited. Target exited. ---- Additional Comments From martin@ximian.com 2007-05-14 16:25:45 MST ---- I fixed that particular crash, but your example uncovered another really bad bug: #81623. *** This bug has been marked as a duplicate of https://bugzilla.novell.com/show_bug.cgi?id=MONO81623 *** Imported an attachment (id=171955) Unknown operating system unknown. Setting to default OS "Other". This bug was marked DUPLICATE in the database it was moved from. Changing resolution to "MOVED"