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

Bug 686254

Summary: x11-plugins/gkrellflynn segfaults with glibc-2.29
Product: Gentoo Linux Reporter: Tomasz Golinski <tomaszg>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED OBSOLETE    
Severity: normal CC: jstein, mgorny, treecleaner
Priority: Normal Keywords: PATCH, PMASKED
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch

Description Tomasz Golinski 2019-05-18 20:32:04 UTC
Created attachment 577232 [details]
patch

The reason for segfault is this change in glibc-2.29:

* The getcpu wrapper function has been added, which returns the
  currently used CPU and NUMA node.  This function is Linux-specific.

The code of gkrellflynn plugin defines its own function getcpu() which seems to cause the crash. Simply renaming the function in the plugin solves the issue for me. Attaching the trivial patch.
Comment 1 Jonas Stein gentoo-dev 2019-05-18 21:13:35 UTC
please report upstream
http://bax.comlab.uni-rostock.de/en/projects/flynn/download/
Comment 2 Tomasz Golinski 2019-05-19 13:30:23 UTC
I don't know if it is still maintained upstream and there is no repo or bug tracker. Anyway, I sent author an email.
Comment 3 Tomasz Golinski 2019-05-20 13:29:09 UTC
You probably already know, but the updated tarball (version 0.9) is already available on http://bax.comlab.uni-rostock.de/en/projects/flynn/download/
Comment 4 Pacho Ramos gentoo-dev 2019-06-01 17:01:38 UTC
it was masked for removal in bug 686260
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-08-31 07:48:36 UTC
Package removed.