bin/165075: rtld error messages are missing a newline
Dmitry Marakasov
amdmi3 at FreeBSD.org
Mon Feb 13 01:20:06 UTC 2012
>Number: 165075
>Category: bin
>Synopsis: rtld error messages are missing a newline
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Feb 13 01:20:06 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Dmitry Marakasov
>Release: FreeBSD 9.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD hades.panopticon 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 10 01:33:18 MSK 2012 root at hades.panopticon:/usr/obj/usr/src/sys/HADES amd64
>Description:
There's a regression somewhere between 8.2 and 9.0 which removed newline characters from rtld error messages, which makes them less- or unreadable depending on shell used.
>How-To-Repeat:
Get rtld error (missing library for example) on 9.0-RELEASE or later.
% perl -e 'print "TEST\n";'
% echo $?
1
% perl; echo
Shared object "libm.so.5" not found, required by "perl"
% perl 2>&1 | hexdump -C
00000000 53 68 61 72 65 64 20 6f 62 6a 65 63 74 20 22 6c |Shared object "l|
00000010 69 62 6d 2e 73 6f 2e 35 22 20 6e 6f 74 20 66 6f |ibm.so.5" not fo|
00000020 75 6e 64 2c 20 72 65 71 75 69 72 65 64 20 62 79 |und, required by|
00000030 20 22 70 65 72 6c 22 | "perl"|
^^ no newline :( ^
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list