Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 639650 - <sys-libs/glibc-2.25-r10 invalid assert in posix_spawn triggered in app-emulation/qemu
Summary: <sys-libs/glibc-2.25-r10 invalid assert in posix_spawn triggered in app-emula...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on: 647062
Blocks:
  Show dependency tree
 
Reported: 2017-12-03 17:11 UTC by pa.lacaze
Modified: 2018-03-18 17:48 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge-info.txt,4.90 KB, text/plain)
2017-12-03 17:11 UTC, pa.lacaze
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pa.lacaze 2017-12-03 17:11:19 UTC
Created attachment 507924 [details]
emerge --info

posix_spawn has been rewritten in glibc 2.25 and contains an assert that is incorrect. The assert fires at least in Qemu. It has been fixed in master and should appear in glibc 2.27.

context: https://lists.gnu.org/archive/html/qemu-devel/2017-11/msg04729.html

fix: https://sourceware.org/git/?p=glibc.git;a=commit;h=fe05e1cb6d64dba6172249c79526f1e9af8f2bfd
Comment 1 Joakim Tjernlund 2017-12-07 16:03:18 UTC
Me too, I see this assert as well.

Apparently it has been backported to 2.25 too:
https://lists.nongnu.org/archive/html/qemu-devel/2017-11/msg04890.html
Please apply in Gentoo glibc.
Comment 2 Joakim Tjernlund 2017-12-07 16:38:14 UTC
(In reply to Joakim Tjernlund from comment #1)
> Me too, I see this assert as well.
> 
> Apparently it has been backported to 2.25 too:
> https://lists.nongnu.org/archive/html/qemu-devel/2017-11/msg04890.html
> Please apply in Gentoo glibc.

This is needed too AFAIK:
https://sourceware.org/git/?p=glibc.git;a=commit;h=aa95a2414e4f664ca740ad5f4a72d9145abbd426
Comment 3 Joakim Tjernlund 2017-12-08 08:00:18 UTC
Just did a rebuild of handful pkgs on QEMU user (ppc) 
an 2 of them failed in aclocal:
m4: ../sysdeps/unix/sysv/linux/spawni.c:366: __spawnix: Assertion `ec >= 0' failed.
Comment 4 Joakim Tjernlund 2017-12-13 20:46:03 UTC
ping?
Comment 5 Andreas K. Hüttel archtester gentoo-dev 2017-12-17 23:26:39 UTC
Is already in the gentoo/glibc-2.26 branch for future patchlevel 5.
Both commits pushed to gentoo/glibc-2.25 branch for future patchlevel 13.
Comment 6 Andreas K. Hüttel archtester gentoo-dev 2018-01-17 23:13:26 UTC
Fixed in 2.25-r10
Comment 7 Matthias Maier gentoo-dev 2018-03-18 17:48:44 UTC
Stable on all relevant arches, closing.