Bug 165025
Summary: | GDB intermittently fails with gcj-generated (BC-ABI) .sos. | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | Andrew Overholt <overholt> |
Component: | gdb | Assignee: | Jan Kratochvil <jan.kratochvil> |
Status: | CLOSED ERRATA | QA Contact: | Jay Turner <jturner> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4.0 | CC: | cagney, jan.kratochvil, srevivo |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | powerpc | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | RHBA-2007-0811 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-11-15 16:11:30 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: | |||
Bug Blocks: | 165039, 221048 |
Description
Andrew Overholt
2005-08-03 17:47:52 UTC
GDB needs to handle DW_CFA_GNU_negative_offset_extended which has been in the java sources since ~2001: 1.2 (aph 03-Jun-01): .byte 0x2f /* DW_CFA_GNU_negative_offset_extended */ It's actually 100% reproducable, and it occures on rhel4. This needs to be added to dwarf2-frame.c: case DW_CFA_GNU_negative_offset_extended: insn_ptr = read_uleb128 (insn_ptr, insn_end, ®); insn_ptr = read_uleb128 (insn_ptr, insn_end, &offset); offset *= fs->data_align; dwarf2_frame_state_alloc_regs (&fs->regs, reg + 1); fs->regs.reg[reg].how = DWARF2_FRAME_REG_SAVED_OFFSET; fs->regs.reg[reg].loc.offset = -offset; break; Patch committed as is to RawHide incl. an i386 testcase: * Sat Dec 30 2006 Jan Kratochvil <jan.kratochvil> - 6.5-22 - Fix unwinding crash on older gcj(1) code (extended CFI support) (BZ 165025). This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release. Test case included. Fixes crash. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2007-0811.html |