GNU bug report logs -
#77771
coreutils 9.7 printf crashes on Solaris 11
Previous Next
To reply to this bug, email your comments to 77771 AT debbugs.gnu.org.
There is no need to reopen the bug first.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-coreutils <at> gnu.org
:
bug#77771
; Package
coreutils
.
(Sat, 12 Apr 2025 21:17:04 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Bruno Haible <bruno <at> clisp.org>
:
New bug report received and forwarded. Copy sent to
bug-coreutils <at> gnu.org
.
(Sat, 12 Apr 2025 21:17:04 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Running the attached script on Solaris 11.4 or Solaris 11 OpenIndiana,
in the coreutils-9.7 build tree, produces a crash:
$ sh ~/cmd
42 351 ...
4 235 ...
42 351 ...
/home/bruno/cmd: line 4: 18141: Memory fault(coredump)
Segmentation Fault (core dumped)
What triggers the crash is a %'g directive that produces a large
number of digits.
The gdb stack trace shows the location: inside function
insert_thousands_sep in /lib/64/libc.so.1.
[cmd (text/plain, attachment)]
Reply sent
to
Bruno Haible <bruno <at> clisp.org>
:
You have taken responsibility.
(Sat, 12 Apr 2025 21:24:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Bruno Haible <bruno <at> clisp.org>
:
bug acknowledged by developer.
(Sat, 12 Apr 2025 21:24:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 77771-done <at> debbugs.gnu.org (full text, mbox):
> Running the attached script on Solaris 11.4 or Solaris 11 OpenIndiana,
> in the coreutils-9.7 build tree, produces a crash:
>
> $ sh ~/cmd
> 42 351 ...
> 4 235 ...
> 42 351 ...
> /home/bruno/cmd: line 4: 18141: Memory fault(coredump)
> Segmentation Fault (core dumped)
>
> What triggers the crash is a %'g directive that produces a large
> number of digits.
>
> The gdb stack trace shows the location: inside function
> insert_thousands_sep in /lib/64/libc.so.1.
It's fixed through the gnulib commits relating to vasnprintf from
2025-04-10 to 2025-04-12.
This bug report was last modified 12 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.