Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 893588

Summary: dev-embedded/xa-2.3.14 leaves trace of segfault in dmesg
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Games <games>
Status: RESOLVED INVALID    
Severity: normal CC: ionen
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Agostino Sarubbo gentoo-dev 2023-02-08 08:28:50 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-embedded/xa-2.3.14 leaves trace of segfault in dmesg.
Discovered on: amd64 (internal ref: ci)

NOTE:
To reproduce this issue:
1) Install the package with FEATURES=test
2) Check dmesg output with: dmesg -T | grep -E '( segfault | traps:| audit:)'

This type of report comes from a check that is a bit outside of the tinderbox, that's the reason because build.log was not provided (however in cases like these the build.log doesn't help much) but if you need further help to diagnose this issue feel free to ask.

In any case I'm providing what I can see via dmesg.
Comment 1 Agostino Sarubbo gentoo-dev 2023-02-08 08:29:15 UTC
[Wed Feb  8 09:20:50 2023] xa[16427]: segfault at 0 ip 00007fdefcc308d9 sp 00007ffc644dc988 error 4 in libc.so.6[7fdefcb0e000+148000]
[Wed Feb  8 09:20:50 2023] xa[16432]: segfault at 0 ip 00007fceefff68d9 sp 00007ffcb8e6c3c8 error 4 in libc.so.6[7fceefed4000+148000]
Comment 2 Ionen Wolkens gentoo-dev 2023-02-08 08:40:40 UTC
Test suite has several expected failures like:

# xa should not allow this to happen. if it does, this test is no good.
../../xa -DBUG=1 -o test.o test.s || exit 0 && exit 1
 .data
test.s:line 6: 1000:Illegal segment error
Break after 1 errors

So I think this is normal, or either way it's not ignoring errors so I don't think there's anything to fix here (just test suite noise).
Comment 3 Ionen Wolkens gentoo-dev 2023-02-08 08:42:50 UTC
(well, it does feel kind of questionable still but well)