Bug 1220028

Summary: [Build 20240216] KSH segfaults
Product: [openSUSE] openSUSE Tumbleweed Reporter: Dominique Leuenberger <dimstar>
Component: OtherAssignee: Michael Schröder <mls>
Status: NEW --- QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: matz, rguenther, schwab
Version: Current   
Target Milestone: ---   
Hardware: LittleEndian   
OS: Other   
URL: https://openqa.opensuse.org/tests/3945793/modules/shells/steps/7
Whiteboard:
Found By: openQA Services Priority:
Business Priority: Blocker: Yes
Marketing QA Status: --- IT Deployment: ---

Description Dominique Leuenberger 2024-02-17 12:28:14 UTC
## Observation

This is so far only observed on ppc64le in openQA - no further info available at this moment


openQA test in scenario opensuse-Tumbleweed-DVD-ppc64le-extra_tests_textmode@ppc64le fails in
[shells](https://openqa.opensuse.org/tests/3945793/modules/shells/steps/7)

## Test suite description
Maintainer: slindomansilla@suse.de.
Mainly post-installation console extra tests.


## Reproducible

Fails since (at least) Build [20240131](https://openqa.opensuse.org/tests/3907493)


## Expected result

Last good: [20240130](https://openqa.opensuse.org/tests/3905815) (or more recent)


## Further details

Always latest result in this scenario: [latest](https://openqa.opensuse.org/tests/latest?arch=ppc64le&distri=opensuse&flavor=DVD&machine=ppc64le&test=extra_tests_textmode&version=Tumbleweed)
Comment 1 Michael Schröder 2024-03-12 15:52:10 UTC
It crashes in dl.so:

     67085:     symbol=__frexpieee128;  lookup in file=/usr/bin/ksh93 [0]
     67085:     symbol=__frexpieee128;  lookup in file=/lib64/libc.so.6 [0]
     67085:     symbol=__frexpieee128;  lookup in file=/lib64/libm.so.6 [0]
     67085:     binding file /usr/lib64/ast/libast.so.5 [0] to /lib64/libm.so.6 [0]: normal symbol `__frexpieee128'

Ritchie, does that ring any bell?
Comment 2 Richard Biener 2024-03-12 16:15:14 UTC
(In reply to Michael Schröder from comment #1)
> It crashes in dl.so:
> 
>      67085:     symbol=__frexpieee128;  lookup in file=/usr/bin/ksh93 [0]
>      67085:     symbol=__frexpieee128;  lookup in file=/lib64/libc.so.6 [0]
>      67085:     symbol=__frexpieee128;  lookup in file=/lib64/libm.so.6 [0]
>      67085:     binding file /usr/lib64/ast/libast.so.5 [0] to
> /lib64/libm.so.6 [0]: normal symbol `__frexpieee128'
> 
> Ritchie, does that ring any bell?

From me?  It rings the glibc bell - or binutils ;)
Comment 3 Michael Schröder 2024-03-12 16:31:25 UTC
$ LD_PRELOAD=/usr/lib64/ast/libdll.so:/lib64/libm.so /bin/true
Segmentation fault
$ LD_PRELOAD=/usr/lib64/ast/libdll.so:/usr/lib64/ast/libast.so:/lib64/libm.so /bin/true
$