nightmare666 / google-breakpad

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

Linux Breakpad symbol dumper confused by two methods with the same name #396

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In http://code.google.com/p/chromium/issues/detail?id=52251#c1, the top frame 
in the stack trace is wrong. It's for TemplateURLTableModel::GetIcon, which is 
near line 205, not 
chrome/browser/search_engines/template_url_table_model.cc:52, which is 
ModelEntry::GetIcon.

The crash is at 0x2395b7. In the symbol file, we have:

FUNC 239580 3a0 0 TemplateURLTableModel::GetIcon(int)
239580 9 205 2173
239589 6 475 1335
23958f 16 205 2173
2395a5 10 475 1335
2395b5 2 207 2173
2395b7 7 52 2173 <--
2395be 3 238 1309

with
FILE 2173 chrome/browser/search_engines/template_url_table_model.cc

The binary has STABS symbols, FWIW.

Original issue reported on code.google.com by thestig@chromium.org on 18 Aug 2010 at 12:56

GoogleCodeExporter commented 9 years ago
On second look, this is probably not a Breakpad problem. Running addr2line on 
the same address with the same binary also shows the wrong address. This is 
probably caused by optimization?

Original comment by thestig@chromium.org on 23 Dec 2010 at 3:29