gohome1984 / google-breakpad

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

Mac OS X image listing code needs to handle duplicate load addresses #266

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When the Google Gadgets is loaded into the Dashboard as a plugin, the
SecurityFoundation framework is shown multiple times at the same load
address in the following lists:

1. GDB's info shared command
2. Apple's Crash reporter
3. Breakpad's image-gathering code in dynamic_images.cc

Unfortunately this causes minidumps to fail to be processed with the following:

2008-06-04 14:43:22: range_map-inl.h:91: INFO: StoreRange failed, an
existing range contains or extends higher than the new range: new
0x906e8000+0x3a000, existing 0x906e8000+0x3a000
2008-06-04 14:43:22: minidump.cc:2307: ERROR: MinidumpModuleList could not
store module 17/115,
/System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFound
ation,
0x906e8000+0x3a000
2008-06-04 14:43:22: minidump.cc:3667: ERROR: GetStream could not read
stream type 4

It seems gross but I'm submitting a fix to filter out duplicate load
addresses when we're searching an address space for images.

I'm also attaching an Apple Crash Reporter that exhibits this problem.

Original issue reported on code.google.com by neal...@gmail.com on 4 Jun 2008 at 9:44

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by neal...@gmail.com on 5 Jun 2008 at 1:48

GoogleCodeExporter commented 9 years ago

Original comment by neal...@gmail.com on 17 Jun 2008 at 4:41