Bug 40867 - IndexOutOfRangeException when attempting to symbolicate a stack trace produced by a java exception thrown in lib project
Summary: IndexOutOfRangeException when attempting to symbolicate a stack trace produce...
Status: RESOLVED NOT_REPRODUCIBLE
Alias: None
Product: Tools
Classification: Mono
Component: other ()
Version: unspecified
Hardware: Macintosh Mac OS
: Normal major
Target Milestone: (C8)
Assignee: marcos.henrich
URL:
Depends on:
Blocks:
 
Reported: 2016-05-04 17:19 UTC by Peter Collins
Modified: 2016-08-09 15:39 UTC (History)
3 users (show)

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


Attachments
Repro (37.69 KB, application/zip)
2016-05-04 17:19 UTC, Peter Collins
Details


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 GitHub or 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 NOT_REPRODUCIBLE

Description Peter Collins 2016-05-04 17:19:41 UTC
Created attachment 15908 [details]
Repro

the mono-symbolicate tool appears to be crashing when attempting to symbolicate a crash from the attached project. 

##### Exception in mono-symbolicate #####
https://gist.github.com/pjcollins/39b0b1f6dffef093f075e531afd9772d

##### Steps to reproduce #####
1. Download and build the project in release mode.
2. Install and run the app on device to produce a stack trace, or symbolicate the attached log: 
> mono-symbolicate bin/Release/com.xamarin.javalibrarycrash.msym/JavaLibraryCrash.dll JavaLibCrashSymbolicationTestZX1G227HDW12-42-09.log 

##### Environment #####
Operating System: Mac OS X 10.11
Repo Name: monodroid.git
Branch Name: cycle7
Build Revision: 7334f6a9e01397e07eb768da56c7da97f5dde1c3
Comment 1 marcos.henrich 2016-08-09 15:39:30 UTC
mono-symbolicate was changed substantially since this issue was reported.
The issue is no longer reproducible because the underlying failing logic no longer exists.