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

Bug 686140

Summary: sys-libs/glibc-2.29-r2: lots of "stack smashing detected" errors on sparc
Product: Gentoo Linux Reporter: Rolf Eike Beer <eike>
Component: Current packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED OBSOLETE    
Severity: normal CC: sparc
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Rolf Eike Beer archtester 2019-05-17 08:28:34 UTC
After I upgraded to glibc-2.29-r2 I get "stack smashing detected" errors in a lot of places, critical were these 2:

-calling fsck during boot (it called fsck.ext*, which seems to work), these failures causes boot to fail
-ssh login

Also many of my remote nagios checks failed, I'm not entirely sure what caused this, but it could have been ssh client failing, too.

After downgrading to 2.28-r6 things worked again immediately.
Comment 1 Sergei Trofimovich (RETIRED) gentoo-dev 2019-05-18 08:46:27 UTC
Sounds like a glibc bug. Is fsck a statically linked file by chance? I'd like to reproduce it in qemu-user or qemu-system and debug a bit. Wonder which binary would be easiest to debug.
Comment 2 Rolf Eike Beer archtester 2019-05-18 15:59:25 UTC
Nope, fsck is dynamically linked.
Comment 3 Sergei Trofimovich (RETIRED) gentoo-dev 2019-08-28 18:40:50 UTC
I failed to reproduce it on defaults.

Can you post full `emerge --info`? I'll try to reproduce locally with a closer to yours' environment.
Comment 4 Matt Turner gentoo-dev 2019-09-01 21:58:44 UTC
Not sure what's going on here. I cannot reproduce. glibc-2.29-r2 looks good on catbus.
Comment 5 Sergei Trofimovich (RETIRED) gentoo-dev 2019-11-19 23:25:08 UTC
Let's close it as obsolete.