Bug 575292
| Summary: | Crash on NULL TYPE_FIELD_TYPE | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Gabriel PREDA <gabriel> | ||||
| Component: | gdb | Assignee: | Jan Kratochvil <jan.kratochvil> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | 13 | CC: | braden, dlesage, fabsh, gopakita, jan.kratochvil, keiths, marbolangos, otte, pmuldoon, speamr18 | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | abrt_hash:f833c7548c5da5e598283cbcbcef306e10e2f363 | ||||||
| Fixed In Version: | gdb-7.1-27.fc13 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | |||||||
| : | 592016 (view as bug list) | Environment: | |||||
| Last Closed: | 2010-04-28 01:12:59 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: | |||||||
| Bug Depends On: | 585445 | ||||||
| Bug Blocks: | 592016 | ||||||
| Attachments: |
|
||||||
|
Description
Gabriel PREDA
2010-03-19 22:07:51 UTC
Created attachment 401357 [details]
File: backtrace
How to reproduce ----- 1. Run an epiphany with custom-compiled libraries 2. Wait until it crashes 3. Start abrt 4. Click on "report" 5. Wait a bit 6. *boom* or:
webkitgtk-debuginfo-1.1.22-1.fc13.x86_64
gdb -nx -readnow /usr/lib/debug/usr/lib64/libwebkit-1.0.so.2.16.0.debug
or:
cat <<HERE | g++ -c -o x.o -g -x c++ -; gdb -nx -readnow ./x.o
namespace N {
class C {
public:
typedef void (*t) (C);
void m (t);
};
typedef C::t u;
};
N::u f;
HERE
On FSF GDB HEAD the problem gets masked (producing invalid results but not crashing) and to get a crash one has to revert:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/dwarf2read.c.diff?cvsroot=src&r1=1.376&r2=1.377
It is due to dwarf2_physname() accessing unfinished types being read-in, dwarf2_physname() is by Keith Seitz, it is not in FSF gdb-7.1 but it is in HEAD.
*** Bug 580817 has been marked as a duplicate of this bug. *** *** Bug 580809 has been marked as a duplicate of this bug. *** *** Bug 583970 has been marked as a duplicate of this bug. *** *** Bug 584732 has been marked as a duplicate of this bug. *** Post upstream by Keith Seitz: [RFA] Delayed physname computation http://sourceware.org/ml/gdb-patches/2010-04/msg00641.html gdb-7.1-14.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/gdb-7.1-14.fc13 gdb-7.1-14.fc13 has been pushed to the Fedora 13 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update gdb'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/gdb-7.1-14.fc13 Hello, I do not know exactly if this problem is fixed. I explain: When this bug was present I got this bug : https://bugzilla.redhat.com/show_bug.cgi?id=584733 The abrt tool was shown everytime the crash appeared. With the installation of the new gdb I was able to send a report (a few minutes ago) with the download of the needed debuginfo. But now I reproduce the bug (#584733) and no abrt is shown. If needed I can open another report but it seems to be related. Hi Fabien Archambault, thanks for the notice - this bug is now back ASSIGNED. Fix of this crash Bug 575292 has caused crash Bug 585445. Reverted now the fix causing crash Bug 585445 but thus the crash Bug 575292 is back. It may be best to temporarily import http://sourceware.org/ml/gdb-patches/2010-03/msg01039.html which produces wrong result in some rare cases but it does not crash. Going to ask today Keith Seitz if a fix for both this Bug 575292 and the related Bug 585445 is available and otherwise going to provide the workaround in the meantime. Thanks. Put there now the workaround to no longer crash. gdb-7.1-16.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/gdb-7.1-16.fc13 gdb-7.1-16.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report. gdb-7.1-20.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/gdb-7.1-20.fc13 gdb-7.1-20.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report. gdb-7.1-27.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/gdb-7.1-27.fc13 gdb-7.1-27.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report. |