[Rpm-maint] [rpm-software-management/rpm] Parallel rpmfc thread-safety - libmagic may fork helpers (#756)
Alexander Kanavin
notifications at github.com
Wed Oct 23 14:27:05 UTC 2019
Sadly, I am seeing this when rpm is linked against file 5.37 as well. Here's a couple tracebacks obtained by attaching gdb to running (hanging) rpm processes:
0x00007fc5a9ee22a1 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
(gdb) bt
#0 0x00007fc5a9ee22a1 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1 0x00007fc5ab0579be in ?? () from /home/alexander/development/poky/build-x86-64/tmp/work/core2-64-poky-linux/elfutils/0.177-r0/recipe-sysroot-native/usr/bin/../lib/librpmbuild.so.9
#2 0x00007fc5a9ed6ecf in GOMP_parallel () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#3 0x00007fc5ab058b3c in rpmfcClassify () from /home/alexander/development/poky/build-x86-64/tmp/work/core2-64-poky-linux/elfutils/0.177-r0/recipe-sysroot-native/usr/bin/../lib/librpmbuild.so.9
#4 0x00007fc5ab0598e6 in ?? () from /home/alexander/development/poky/build-x86-64/tmp/work/core2-64-poky-linux/elfutils/0.177-r0/recipe-sysroot-native/usr/bin/../lib/librpmbuild.so.9
#5 0x00007fc5ab04aa3b in ?? () from /home/alexander/development/poky/build-x86-64/tmp/work/core2-64-poky-linux/elfutils/0.177-r0/recipe-sysroot-native/usr/bin/../lib/librpmbuild.so.9
#6 0x00007fc5ab044f74 in ?? () from /home/alexander/development/poky/build-x86-64/tmp/work/core2-64-poky-linux/elfutils/0.177-r0/recipe-sysroot-native/usr/bin/../lib/librpmbuild.so.9
#7 0x0000562e400c1ad1 in ?? ()
#8 0x0000562e400c1c33 in ?? ()
#9 0x0000562e400c0da3 in ?? ()
#10 0x00007fc5aa7d3ddb in __libc_start_main () from /home/alexander/development/poky/build-x86-64/tmp/sysroots-uninative/x86_64-linux/lib/libc.so.6
#11 0x0000562e400c107a in ?? ()
0x00007f2220f000ee in waitpid () from /home/alexander/development/poky/build-x86-64/tmp/sysroots-uninative/x86_64-linux/lib/libc.so.6
(gdb) bt
#0 0x00007f2220f000ee in waitpid () from /home/alexander/development/poky/build-x86-64/tmp/sysroots-uninative/x86_64-linux/lib/libc.so.6
#1 0x00007f221ff53f46 in ?? () from /home/alexander/development/poky/build-x86-64/tmp/work/core2-64-poky-linux/util-linux/2.34-r0/recipe-sysroot-native/usr/lib/rpm/.././libmagic.so.1
#2 0x00007f221ff54478 in ?? () from /home/alexander/development/poky/build-x86-64/tmp/work/core2-64-poky-linux/util-linux/2.34-r0/recipe-sysroot-native/usr/lib/rpm/.././libmagic.so.1
#3 0x00007f221ff57b16 in ?? () from /home/alexander/development/poky/build-x86-64/tmp/work/core2-64-poky-linux/util-linux/2.34-r0/recipe-sysroot-native/usr/lib/rpm/.././libmagic.so.1
#4 0x00007f221ff48e54 in ?? () from /home/alexander/development/poky/build-x86-64/tmp/work/core2-64-poky-linux/util-linux/2.34-r0/recipe-sysroot-native/usr/lib/rpm/.././libmagic.so.1
#5 0x00007f2221223bb9 in ?? () from /home/alexander/development/poky/build-x86-64/tmp/work/core2-64-poky-linux/util-linux/2.34-r0/recipe-sysroot-native/usr/lib/rpm/../librpmbuild.so.9
#6 0x00007f221f894ecf in GOMP_parallel () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#7 0x00007f2221224b3c in rpmfcClassify () from /home/alexander/development/poky/build-x86-64/tmp/work/core2-64-poky-linux/util-linux/2.34-r0/recipe-sysroot-native/usr/lib/rpm/../librpmbuild.so.9
#8 0x0000556ed5245571 in ?? ()
#9 0x00007f2220e5eddb in __libc_start_main () from /home/alexander/development/poky/build-x86-64/tmp/sysroots-uninative/x86_64-linux/lib/libc.so.6
#10 0x0000556ed524579a in ?? ()
Process tree shows:
rpmbuild.real─┬─2*[bzip2]
└─31*[{rpmbuild.real}]
rpmdeps.real─┬─29*[xz]
└─31*[{rpmdeps.real}]
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/756#issuecomment-545470525
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20191023/bd302a86/attachment.html>
More information about the Rpm-maint
mailing list