Bug 787487
Summary: | symtabs_from_filename called for non-filenames, which allocates GBs of memory unnecessarily | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Robin Green <greenrd> |
Component: | gdb | Assignee: | Tom Tromey <tromey> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | jan.kratochvil, patrickm, pmuldoon, sergiodj, tromey |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | gdb-7.4.50.20120120-12.fc17 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-05-07 18:57:34 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Robin Green
2012-02-05 16:59:09 UTC
This was fixed upstream: 2012-01-17 Doug Evans <dje> * linespec.c (decode_line_internal): Don't call symtabs_from_filename if we know we don't have a file name to look for. (In reply to comment #1) > This was fixed upstream: > > 2012-01-17 Doug Evans <dje> > > * linespec.c (decode_line_internal): Don't call symtabs_from_filename > if we know we don't have a file name to look for. The RPM already contains this patch (I've stepped through it, and you can also infer that from the date in the RPM version). And that patch is the one I referred to above: it deals with the case where there is no ':', but this linespec does have a ':' in it. If you read the comments just above the patch, it's clear that he's forgotten to address this case. Sorry about my poor reading comprehension. I am working on a fix. http://sourceware.org/ml/gdb-patches/2012-02/msg00112.html It should go in soon. |