Open AZaugg opened 9 months ago
What operating system?
Azure Linux Kernel 5.15.125.1-2 glibc-2.35-6 pigz-2.6-2
I should add, looking at the core
(gdb) info threads
Id Target Id Frame
* 1 Thread 0x73b25af1a700 (LWP 2814192) 0x000073b25afa605f in __lll_lock_wait () from /lib/libc.so.6
2 Thread 0x73b25af19640 (LWP 2814193) 0x000073b25afa5e8a in __futex_abstimed_wait_common () from /lib/libc.so.6
3 Thread 0x73b25a6d6640 (LWP 2814194) 0x000073b25afa605f in __lll_lock_wait () from /lib/libc.so.6
4 Thread 0x73b259eaa640 (LWP 2814195) 0x000073b25afa605f in __lll_lock_wait () from /lib/libc.so.6
5 Thread 0x73b25965d640 (LWP 2814196) 0x000073b25afa605f in __lll_lock_wait () from /lib/libc.so.6
6 Thread 0x73b258e31640 (LWP 2814197) 0x000073b25afa605f in __lll_lock_wait () from /lib/libc.so.6
7 Thread 0x73b243fff640 (LWP 2814198) 0x000073b25afa605f in __lll_lock_wait () from /lib/libc.so.6
8 Thread 0x73b2437fe640 (LWP 2814199) 0x000073b25afa605f in __lll_lock_wait () from /lib/libc.so.6
9 Thread 0x73b242ffd640 (LWP 2814200) 0x000073b25afa605f in __lll_lock_wait () from /lib/libc.so.6
10 Thread 0x73b2427fc640 (LWP 2814201) 0x000073b25afa605f in __lll_lock_wait () from /lib/libc.so.6
11 Thread 0x73b241ffb640 (LWP 2814202) 0x000073b25afa605f in __lll_lock_wait () from /lib/libc.so.6
12 Thread 0x73b2417fa640 (LWP 2814203) 0x000073b25afa605f in __lll_lock_wait () from /lib/libc.so.6
13 Thread 0x73b240ff9640 (LWP 2814204) 0x000073b25afa605f in __lll_lock_wait () from /lib/libc.so.6
14 Thread 0x73b22bfff640 (LWP 2814205) 0x000073b25afa605f in __lll_lock_wait () from /lib/libc.so.6
15 Thread 0x73b22b7fe640 (LWP 2814206) 0x000073b25afa605f in __lll_lock_wait () from /lib/libc.so.6
16 Thread 0x73b22affd640 (LWP 2814207) 0x000073b25afa605f in __lll_lock_wait () from /lib/libc.so.6
17 Thread 0x73b22a7fc640 (LWP 2814208) 0x000073b25afa605f in __lll_lock_wait () from /lib/libc.so.6
18 Thread 0x73b229ffb640 (LWP 2814209) 0x000073b25afa605f in __lll_lock_wait () from /lib/libc.so.6
I have not seen this exactly before, but there have been two reports on SuSE systems of a hang due to a pthread bug in that system, which is why I asked about your OS.
There is this report of a pthread bug in glibc that could impact pigz due to its use of condition waits. If you look at those messages, the one at the end from just last month is asking about whether a fix to glibc has been made or not. Sounds like not.
Your problem may be related to that, or it may be something else. These sorts of reports are very rare, so it is difficult to conclude anything.
It seems that pthread is a difficult thing to write correctly.
I can report the issue too on Debian 11, kernel 6.6.13 (backports), Beelink SER5 Pro (Ryzen 7 5800H, 32 GB RAM, NVMe SSD).
I am seeing an issue with pigz where it's getting stuck. I have cpio piping data over to pigz
On the pigz side i can see:
Stuck on a lock, looking at the stack
Has anyone seen pigz get stuck like this?