nightmare666 / google-breakpad

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

MinidumpModuleCount error wrong value printed #598

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a minidump file with more than 1024 'modules'
2. Open the minidump with breakpad-stackwalk
3. Observe the error message near beginning of parsing, the number of modules 
is reported as zero.

What is the expected output? What do you see instead?
The correct number of modules should be reported, currently wrong value (which 
is zero at that point) is printed instead.

What version of the product are you using? On what operating system?
I am using r1234 on Novell SLE-11. I see the same code is in latest trunk also.

Please provide any additional information below.
I am attaching a patch which prints the correct count in the error message. 
This patch also increases the module count limit, because programs which I am 
using to debug have many dozens of threads and several thousand modules.

Original issue reported on code.google.com by brian.si...@gmail.com on 27 Jun 2014 at 8:33

Attachments: