*** This bug is a duplicate of bug 2083131 ***
    https://bugs.launchpad.net/bugs/2083131

Accepted bash into oracular-proposed. The package will build now and be
available at https://launchpad.net/ubuntu/+source/bash/5.2.32-1ubuntu1.1
in a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
oracular to verification-done-oracular. If it does not fix the bug for
you, please add a comment stating that, and change the tag to
verification-failed-oracular. In either case, without details of your
testing we will not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to bash in Ubuntu.
https://bugs.launchpad.net/bugs/2085548

Title:
  [UBUNTU 24.10] bash printf of floating point value fails on Ubuntu
  24.10

Status in Ubuntu on IBM z Systems:
  Fix Committed
Status in bash package in Ubuntu:
  Fix Released
Status in bash source package in Oracular:
  In Progress
Status in bash source package in Plucky:
  Fix Released

Bug description:
  == Comment: #1 - Boris Barth <boris.m...@de.ibm.com> - 2024-10-24 09:55:01 ==
  ---Problem Description---
  bash printf of floating point value fails on Ubuntu 24.10
   
  ---uname output---
  Linux tuxmaker 6.11.0-8-generic #8-Ubuntu SMP Mon Sep 16 12:49:35 UTC 2024 
s390x s390x s390x GNU/Linux
   
  Machine Type = IBM z16 Model A01 
   
  ---Steps to Reproduce---
  Ubuntu 24.10 on s390x:

  $ bash -c "printf '%f\n' 1.1"
  [1]    3372599 segmentation fault  bash -c "printf '%f\n' 1.1"

  
  Ubuntu 24.10 on x86-64:

  $ docker run -it --rm public.ecr.aws/docker/library/ubuntu:24.10
  root@99a22af7f0f4:/# bash -c "printf '%f\n' 1.1"
  nan

  
  It used to work on Ubuntu 24.04 on x86-64 (and s390x):

  $ docker run -it --rm public.ecr.aws/docker/library/ubuntu:24.04
  root@61fbb357246c:/# bash -c "printf '%f\n' 1.1"
  1.100000

  
  In GDB on Ubuntu 24.10 on s390x:

  ...
  Program received signal SIGSEGV, Segmentation fault.
  Download failed: Invalid argument.  Continuing without source file 
./stdio-common/vfprintf-internal.c.
  0x000003fff7d716fc in __printf_buffer (buf=buf@entry=0x3ffffff9240, 
format=format@entry=0x2aa001ad000 "%.3Lf", ap=ap@entry=0x3ffffff9398, 
mode_flags=mode_flags@entry=2) at
  vfprintf-internal.c:996
  warning: 996    vfprintf-internal.c: No such file or directory
  (gdb) x/i $pc

  => 0x3fff7d716fc <__printf_buffer+1308>:        ld      %f1,0(%r7)
  (gdb) p/x $r7
  $1 = 0x2
  (gdb) disassm __printf_buffer
  ...
     0x000003fff7d716f6 <+1302>:  lg      %r7,0(%r1)
  => 0x000003fff7d716fc <+1308>:  ld      %f1,0(%r7)
  ...
  (gdb) p/x $r1
  $2 = 0x3ffffff93e0
  (gdb) p/x *(uint64_t *)$r1
  $3 = 0x2

  Userspace tool obtained from project website:  na 
   
  Userspace tool common name: bash 

  Userspace package version: 5.2.32-1ubuntu1 
   
  The userspace tool has the following bit modes: 64-bit

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/2085548/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to