accuya/google-breakpad

linux dump_syms doesn't work on shared libs

Closed this issue · 3 comments

The Linux implementation of dump_syms appears to fail on shared libraries.
  I debugged it briefly, and it seems to be erroring out because in
|GetLoadingAddress|, |header.p_vaddr| == 0.  A gdb dev tells me that this
is not unusual.

Original issue reported on code.google.com by ted.mielczarek on 19 Mar 2007 at 4:01

Original comment by mmento...@gmail.com on 19 Mar 2007 at 4:07

Add a fix for this issue.

Also contains a fix for leaking some function symbols.
During my testing, there can be function symbols with address bigger that any
other functions and source modules, there is no good way I can get the size of 
this
kind of function. I give a big enough size for this kind of function, just a 
HACK,
hopefully there can be better way to do this.

Original comment by lul...@gmail.com on 20 Mar 2007 at 5:39

Attachments:

Original comment by lul...@gmail.com on 2 Apr 2007 at 6:59

  • Changed state: Fixed