Bug 513489

Summary: xsp/mono-mono will try to reuse the .mdb of the shadow copy if it does not exists anymore
Product: [Mono] Mono: Runtime Reporter: Forgotten User lsqq-oKg62 <forgotten_lsqq-oKg62>
Component: debugAssignee: Mono Bugs <mono-bugs>
Status: NEW --- QA Contact: Mono Bugs <mono-bugs>
Severity: Normal    
Priority: P5 - None    
Version: 2.4.x   
Target Milestone: ---   
Hardware: All   
OS: Debian Potato   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Forgotten User lsqq-oKg62 2009-06-16 10:46:32 UTC
Description of Problem:

xsp/mono-mono will try to reuse the .mdb of the shadow copy
even if the original doesn't have a .mdb anymore.

Steps to reproduce the problem:

1. Copy DbLinq.dll and DbLinq.dll.mdb files to web service bin directory 
2. Call web service in debug mode using those files
3. Delete DbLinq.dll.mdb file
4. Call web service again.

Observed:

Web service call causes exception :

0:0 ** (/usr/local/lib/mono/2.0/gmcs.exe:7267): WARNING **: Symbol file
 /tmp/www-data-temp-aspnet-/161e1492/assembly/shadow/f1000cb4/bf017f39_4e01738d_00000001/DbLinq.dll.mdb
 doesn't match image


Additional Information:

Restaring server and processes from control panel does not fix this.
Comment 1 Gonzalo Paniagua Javier 2009-06-16 15:02:52 UTC
This is not an xsp/mod-mono problem. This is a runtime problem.
You have 2 possible workarounds:
   - DO NOT delete those files
   - Do not enable debug compilation and .mdb files won't be created.