Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#54134 - [glibc] Segfault/Coredump due to execvpe()

Attached to Project: Arch Linux
Opened by Seba (savasta) - Saturday, 20 May 2017, 18:32 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Thursday, 01 June 2017, 20:10 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Bartłomiej Piotrowski (Barthalion)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Some applications segfault due to ?glibc.

Tested:
mpv: program segfaults almost immediately or after a couple seconds
vlc: program segfaults after about 10 seconds of playback

I went in the IRC and I was suggested to compile glibc with debug symbols.

I did so but during compile time it encountered some troubles:

TIME PID UID GID SIG COREFILE EXE
Sat 2017-05-20 19:09:38 CEST 4207 1000 1000 8 none /home/data/work/src/glibc-build/elf/ld.so
Sat 2017-05-20 19:09:38 CEST 4211 1000 1000 8 none /home/data/work/src/glibc-build/elf/ld.so
Sat 2017-05-20 19:09:38 CEST 4215 1000 1000 8 none /home/data/work/src/glibc-build/elf/ld.so
Sat 2017-05-20 19:09:38 CEST 4219 1000 1000 8 none /home/data/work/src/glibc-build/elf/ld.so
Sat 2017-05-20 19:09:38 CEST 4227 1000 1000 8 none /home/data/work/src/glibc-build/elf/ld.so
Sat 2017-05-20 19:09:38 CEST 4241 1000 1000 8 none /home/data/work/src/glibc-build/elf/ld.so
Sat 2017-05-20 19:09:38 CEST 4246 1000 1000 8 none /home/data/work/src/glibc-build/elf/ld.so
Sat 2017-05-20 19:09:38 CEST 4252 1000 1000 8 none /home/data/work/src/glibc-build/elf/ld.so
Sat 2017-05-20 19:09:38 CEST 4264 1000 1000 8 none /home/data/work/src/glibc-build/elf/ld.so
Sat 2017-05-20 19:09:38 CEST 4269 1000 1000 8 none /home/data/work/src/glibc-build/elf/ld.so
Sat 2017-05-20 19:12:45 CEST 22455 1000 1000 6 none /home/data/work/src/glibc-build/elf/ld.so

Neverthless, glibc still succesfully compiled, so I could properly see what was going on:

MPV:
Core was generated by `/usr/bin/mpv [bonkai77].Hellsing.Ultimate.Episode.01.Hellsing.I.1080p.Dual.Audi'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007ffff01f10bf in __execvpe (file=0x5629f3 "xdg-screensaver", argv=<optimized out>, envp=0x7fffffffcf20)
at execvpe.c:119
119 subp = __strchrnul (p, ':');

VLC:
Core was generated by `vlc [bonkai77].Hellsing.Ultimate.Episode.01.Hellsing.I.1080p.Dual.Audio.Bluray.'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007f6b0d2670bf in __execvpe (file=0x7f6aa57fc018 "xdg-screensaver", argv=<optimized out>,
envp=0x7ffcc54e93f0) at execvpe.c:119
119 subp = __strchrnul (p, ':');

Also to note that after install the somewhat "faulty" glibc with symbols, localedef (a pacman postupdate trigger) segfaulted too with this error:

Core was generated by `localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007f0d826730bf in __execvpe (file=0x443b4f "gzip", argv=<optimized out>, envp=0x7fffc8ec22a8)
at execvpe.c:119
119 subp = __strchrnul (p, ':');

Additional info:
core/glibc 2.25-1
attaching localedef coredump
currently uploading vlc's and mpv's coredumps for further investigation.


Steps to reproduce:
This task depends upon

Closed by  Bartłomiej Piotrowski (Barthalion)
Thursday, 01 June 2017, 20:10 GMT
Reason for closing:  Not a bug
Comment by Seba (savasta) - Saturday, 20 May 2017, 18:47 GMT Comment by Seba (savasta) - Thursday, 01 June 2017, 20:03 GMT
Just wanted to say that after upgrading to glibc 2.25-2 the problem disappeared, I can generate locales and use mpv/vlc again without troubles.
Comment by Bartłomiej Piotrowski (Barthalion) - Thursday, 01 June 2017, 20:10 GMT
Oh well, I guess that was the problem. I will put version constraints next time.

Loading...