Bug 140534

Summary: GDB doesn't detect that clone() is out most CFI frame
Product: Red Hat Enterprise Linux 4 Reporter: Andrew Cagney <cagney>
Component: gdbAssignee: Alexandre Oliva <aoliva>
Status: CLOSED DUPLICATE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0CC: cagney, dwmw2, ezannoni, jan.kratochvil
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-11-30 14:35:43 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: 129331    
Bug Blocks: 169570    

Description Andrew Cagney 2004-11-23 14:57:40 UTC
#4  0x0fe804d0 in clone () from /lib/tls/libc.so.6
#5  0x0fe804d0 in clone () from /lib/tls/libc.so.6
Previous frame identical to this frame (corrupt stack?)

Per disucssion on gdb@:

- glibc should mark up the return-address column of the assembly
function clone() to indicate that it is UNDEFINED.

- GDB should detect this and mark the function as outer-most by
returning a NULL frame ID.

Comment 1 Jan Kratochvil 2006-11-30 14:35:43 UTC
Sure this one was first, just to cleanup a bit BZ.


*** This bug has been marked as a duplicate of 216506 ***