Bug 168386

Summary: instant SEGV, 100% reproducible
Product: [Fedora] Fedora Reporter: James Antill <james.antill>
Component: gdbAssignee: Jan Kratochvil <jan.kratochvil>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 4CC: 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-08-16 00:04:10 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 James Antill 2005-09-15 16:04:19 UTC
Description of problem:
 gdb core dumps when using printf with the %zu format

Version-Release number of selected component (if applicable):
gdb(0:6.3.0.0-1.21).i386

How reproducible:
always

Steps to Reproduce:
1. start gdb
2. run the command: printf "%zu", (size_t)1
  
Actual results:
core dump

Expected results:
no core dump

Additional info:

Comment 1 Jan Kratochvil 2006-07-25 11:28:31 UTC
While FC5 (gdb-6.3.0.0-1.122) is still broken RawHide (gdb-6.5-3.fc6) is already
fixed.  Suggesting CLOSED-RAWHIDE.

(gdb) printf "%zu", (size_t)1
Unrecognized format specifier 'z' in printf
(gdb) q
bash-3.1# rpm -qv gdb
gdb-6.5-3.fc6


Comment 2 Jan Kratochvil 2006-08-16 00:04:10 UTC
Thanks for the bugreport, Fedora Core backport will not be done as it is not
considered so serious. Please rpmbuild --rebuild FC6 or RawHide gdb-*.src.rpm if
the fix would be needed.