zhangfenglin / google-breakpad

Automatically exported from code.google.com/p/google-breakpad
0 stars 0 forks source link

minidump_stackwalk fails to parse a line record with line number of zero, but some dSYM files claim this info #603

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Build a xcodeproj which will reproduce this issue (I have not tried to make 
a trivial test case).
2. run dump_syms
3. run minidump_stackwalk in such a way that it parses the sym file

What is the expected output? What do you see instead?
I expect to see the processed stack.
Instead I get a ParseError.

What version of the product are you using? On what operating system?
Breakpad r1358
Xcode 5.1.1 (Build version 5B1008)
Mac OS X 10.9.3 (13D65)

Please provide any additional information below.
I'd suggest that the BasicSourceLineResolver be changed to allow line numbers 
of zero, or that the dump_syms dwarf reader be changed to never emit such 
entries. 

Original issue reported on code.google.com by jpe...@izotope.com on 24 Jul 2014 at 9:50