Bug 78675
Summary: | Backtraces should work across sighandler boundary, even with alternative stacks | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 2.1 | Reporter: | Johan Walles <johan.walles> | ||||
Component: | gdb | Assignee: | Elena Zannoni <ezannoni> | ||||
Status: | CLOSED DEFERRED | QA Contact: | Jay Turner <jturner> | ||||
Severity: | low | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 2.1 | CC: | srevivo | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | ia64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2003-01-16 14:38:28 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: | |||||||
Attachments: |
|
Description
Johan Walles
2002-11-27 15:40:37 UTC
Created attachment 86724 [details]
Demo program. Break in "handler" and do "bt" there. The main() function doesn't appear in the backtrace.
Apparently Mosberger has already solved this problem using his libunwind. Both libunwind and a patch to gdb to make it use libunwind are available at "ftp://ftp.hpl.hp.com/pub/linux-ia64/". Haven't tried them yet, but they are rumored to resolve this problem. They do resolve the problem in the general case. However, in its current incarnation this behaves even worse than gdb proper when dealing with our dynamically generated code (I'm not blaming them...), and thus this doesn't resolve our original problem. So while this patched version of gdb is probably the way to go, from our point of view it is not there yet. Unforturnately I don't think this is anything you guys can do anything about, so I'm closing this. If you want to fix this for any of your other customers, feel free to re-open. |