wolf2009 / google-breakpad

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

NULL pointer reference in linked_ptr_internal::join #366

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run minidump_stackwalk with the attached crashreport and symbols;
2. Segmentation Fault will appear (somewhere) inside 
BasicSourceLineResolver::Module::FindWindowsFrameInfo because of NULL 
reference.

What is the expected output? What do you see instead?
A valid stack walk; no Segmentation Fault.

What version of the product are you using? On what operating system?
SVN revision 505 on Ubuntu Linux 8.10.

Please provide any additional information below.
The problem is that the chain for a specific linked_ptr contains a NULL 
pointer. For some (very) strange reason, adding the following line before 
the "return false" statement in linked_ptr_internal::depart() resolves this 
problem:

p = next_; while (p->next_ != next_) p = p->next_;

Original issue reported on code.google.com by pvginkel on 31 Jan 2010 at 1:37

GoogleCodeExporter commented 9 years ago
Added the test data.

Original comment by pvginkel on 31 Jan 2010 at 1:39

Attachments:

GoogleCodeExporter commented 9 years ago
Possibly a duplicate of issue 269 ?

Original comment by ted.mielczarek on 19 Feb 2010 at 3:41