Bug 157888 - Please make free() error backtraces read debuginfo
Summary: Please make free() error backtraces read debuginfo
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: glibc
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-05-16 19:18 UTC by Robin Green
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2005-05-16 20:32:09 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Robin Green 2005-05-16 19:18:18 UTC
Description of problem:
On detecting a double-free error, glibc prints a backtrace. (At least, I assume
it's glibc doing it.) But the backtrace does not give function names.

Version-Release number of selected component (if applicable):
glibc-2.3.5-6

How reproducible:
Always

Steps to Reproduce:
0. Install firefox and firefox-debuginfo
1. firefox 'http://www.believermag.com/issues/200504/interview_mieville.php'
2. press the END key when page has loaded
  
Actual results:
glibc "double free or corruption" error on terminal, with a backtrace without
function names

Expected results:
The backtrace should be built using the installed debuginfo

Additional info:
firefox-1.0.4-2
firefox-debuginfo-1.0.4-2

Comment 1 Jakub Jelinek 2005-05-16 20:32:09 UTC
Doing that in glibc is a very bad idea, when memory is corrupted the program
should do as few things as possible and then terminate, otherwise it increases
risks of exploitation.
You can certainly run the addresses through trivial script to get the
addresses, but so can do whomever you report the problem to, assuming you
cut'n'paste the whole output glibc prints and
rpm -q --qf '%{name}-%{version}-%{release}.%{arch}\n' of relevant packages
installed.


Note You need to log in before you can comment on or make changes to this bug.