Bug 17503 - DebugInformationConverter fatal error
Summary: DebugInformationConverter fatal error
Status: RESOLVED FIXED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: iOS ()
Version: 1.10.x
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2014-01-30 02:56 UTC by apollo_maverick
Modified: 2016-12-22 17:43 UTC (History)
5 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description apollo_maverick 2014-01-30 02:56:59 UTC
there is an error in the MTBS logs:
(it didn't block the build process though)

[26-Jan-2014 15:54:44] 	Running tool: DebugInformationConverter
[26-Jan-2014 15:54:45] stdout: Fatal error:
System.DivideByZeroException: Division by zero
  at Microsoft.Cci.Pdb.MsfDirectory..ctor (Microsoft.Cci.Pdb.PdbReader reader, Microsoft.Cci.Pdb.PdbFileHeader head, Microsoft.Cci.Pdb.BitAccess bits) [0x00000] in <filename unknown>:0 
  at Microsoft.Cci.Pdb.PdbFile.LoadFunctions (System.IO.Stream read, Microsoft.Cci.Pdb.BitAccess bits, Boolean readAllStrings) [0x00000] in <filename unknown>:0 
  at Microsoft.Cci.Pdb.PdbFile.LoadFunctions (System.IO.Stream read, Boolean readAllStrings) [0x00000] in <filename unknown>:0 
  at Pdb2Mdb.Driver.Convert (Mono.Cecil.AssemblyDefinition assembly, System.IO.Stream pdb, Mono.CompilerServices.SymbolWriter.MonoSymbolWriter mdb) [0x00000] in <filename unknown>:0
Comment 1 apollo_maverick 2014-01-30 02:57:39 UTC
Xamarin.iOS 7.0.6.168
Xamarin.iOS for VS 1.10.39
VS2013
Comment 2 narayanp 2014-01-30 04:46:24 UTC
I have tried to replicate this issue with code with "DivideByZeroException" and got Unhandled Exception error.Below is the screen cast for the same:

http://screencast.com/t/rrqE1YSZr8

Environment Details:
VS 2013
Xamarin.iOS for VS 1.12.164
Xamarin.iOS 7.1.4.3

Could you please provide sample application or steps so that we can replicate this issue?
Comment 3 apollo_maverick 2014-01-30 10:03:46 UTC
it's a .pdb to .mdb converter error
Comment 4 Jose Gallardo 2016-12-22 17:43:10 UTC
Marking as resolved fixed, as there were several improvements on this conversion mechanism.
Please feel free to reopen the issue if you can still reproduce it with current bits.
Thanks!