Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Feb 2012 05:17:27 +0400 (MSK)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        kib@FreeBSD.org
Subject:   bin/165075: rtld error messages are missing a newline
Message-ID:  <20120213011727.D419B381@hades.panopticon>
Resent-Message-ID: <201202130120.q1D1K6bb001126@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120213011727.D419B381>