FS#69227 - watchman dumps core

Attached to Project: Arch Linux
Opened by Reto (Sc13ntist) - Tuesday, 05 January 2021, 21:54 GMT
Last edited by Andreas Radke (AndyRTR) - Wednesday, 21 April 2021, 12:45 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description: watchman keeps segfaulting after a while (especially if used in an editor / node build runner)

coredumptctl info:
Signal: 6 (ABRT)
Timestamp: Tue 2021-01-05 22:45:10 CET (3min 54s ago)
Command Line: /usr/bin/watchman --no-pretty get-sockname
Executable: /usr/bin/watchman
Control Group: /user.slice/user-1000.slice/session-1.scope
Unit: session-1.scope
Slice: user-1000.slice

Additional info:
* package version(s)

watchman 4.9.0-5

Steps to reproduce:
Run a thing that uses watchman, happens fairly frequently if used in nvim with coc (typescript plugin / prettier)

Message as per coredumpctl info:
(I can provide the full coredump if need be)

Message: Process 58768 (watchman) of user 1000 dumped core.

Stack trace of thread 59228:
#0 0x00007f02b3f4c615 raise (libc.so.6 + 0x3d615)
#1 0x00007f02b3f35862 abort (libc.so.6 + 0x26862)
#2 0x000055ee481c4f8a n/a (watchman + 0x10f8a)
#3 0x000055ee481f6aa2 n/a (watchman + 0x42aa2)
#4 0x000055ee4820634a n/a (watchman + 0x5234a)
#5 0x000055ee48204141 n/a (watchman + 0x50141)
#6 0x000055ee48201bb5 n/a (watchman + 0x4dbb5)
#7 0x00007f02b41c1c24 execute_native_thread_routine (libstdc++.so.6 + 0xcfc24)
#8 0x00007f02b434a3e9 start_thread (libpthread.so.0 + 0x93e9)
#9 0x00007f02b400f293 __clone (libc.so.6 + 0x100293)

Stack trace of thread 58773:
#0 0x00007f02b43506a2 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf6a2)
#1 0x00007f02b41bbc11 __gthread_cond_wait (libstdc++.so.6 + 0xc9c11)
#2 0x000055ee481f8234 n/a (watchman + 0x44234)
#3 0x00007f02b41c1c24 execute_native_thread_routine (libstdc++.so.6 + 0xcfc24)
#4 0x00007f02b434a3e9 start_thread (libpthread.so.0 + 0x93e9)
#5 0x00007f02b400f293 __clone (libc.so.6 + 0x100293)

Stack trace of thread 58769:
#0 0x00007f02b43506a2 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf6a2)
#1 0x00007f02b41bbc11 __gthread_cond_wait (libstdc++.so.6 + 0xc9c11)
#2 0x000055ee481f8234 n/a (watchman + 0x44234)
#3 0x00007f02b41c1c24 execute_native_thread_routine (libstdc++.so.6 + 0xcfc24)
#4 0x00007f02b434a3e9 start_thread (libpthread.so.0 + 0x93e9)
#5 0x00007f02b400f293 __clone (libc.so.6 + 0x100293)

Stack trace of thread 58768:
#0 0x00007f02b400446f __poll (libc.so.6 + 0xf546f)
#1 0x000055ee48214ee0 n/a (watchman + 0x60ee0)
#2 0x000055ee48248e56 n/a (watchman + 0x94e56)
#3 0x000055ee48250b3c n/a (watchman + 0x9cb3c)
#4 0x000055ee481cef2d n/a (watchman + 0x1af2d)
#5 0x00007f02b3f37152 __libc_start_main (libc.so.6 + 0x28152)
#6 0x000055ee481cf09e n/a (watchman + 0x1b09e)

Stack trace of thread 58772:
#0 0x00007f02b43506a2 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf6a2)
#1 0x00007f02b41bbc11 __gthread_cond_wait (libstdc++.so.6 + 0xc9c11)
#2 0x000055ee481f8234 n/a (watchman + 0x44234)
#3 0x00007f02b41c1c24 execute_native_thread_routine (libstdc++.so.6 + 0xcfc24)
#4 0x00007f02b434a3e9 start_thread (libpthread.so.0 + 0x93e9)
#5 0x00007f02b400f293 __clone (libc.so.6 + 0x100293)

Stack trace of thread 58770:
...skipping...
#5 0x00007f02b3f37152 __libc_start_main (libc.so.6 + 0x28152)
#6 0x000055ee481cf09e n/a (watchman + 0x1b09e)

Stack trace of thread 58772:
#0 0x00007f02b43506a2 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf6a2)
#1 0x00007f02b41bbc11 __gthread_cond_wait (libstdc++.so.6 + 0xc9c11)
#2 0x000055ee481f8234 n/a (watchman + 0x44234)
#3 0x00007f02b41c1c24 execute_native_thread_routine (libstdc++.so.6 + 0xcfc24)
#4 0x00007f02b434a3e9 start_thread (libpthread.so.0 + 0x93e9)
#5 0x00007f02b400f293 __clone (libc.so.6 + 0x100293)

Stack trace of thread 58770:
#0 0x00007f02b43506a2 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf6a2)
#1 0x00007f02b41bbc11 __gthread_cond_wait (libstdc++.so.6 + 0xc9c11)
#2 0x000055ee481f8234 n/a (watchman + 0x44234)
#3 0x00007f02b41c1c24 execute_native_thread_routine (libstdc++.so.6 + 0xcfc24)
#4 0x00007f02b434a3e9 start_thread (libpthread.so.0 + 0x93e9)
#5 0x00007f02b400f293 __clone (libc.so.6 + 0x100293)

Stack trace of thread 58775:
#0 0x00007f02b43506a2 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf6a2)
#1 0x00007f02b41bbc11 __gthread_cond_wait (libstdc++.so.6 + 0xc9c11)
#2 0x000055ee481f8234 n/a (watchman + 0x44234)
#3 0x00007f02b41c1c24 execute_native_thread_routine (libstdc++.so.6 + 0xcfc24)
#4 0x00007f02b434a3e9 start_thread (libpthread.so.0 + 0x93e9)
#5 0x00007f02b400f293 __clone (libc.so.6 + 0x100293)

Stack trace of thread 58781:
#0 0x00007f02b43506a2 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf6a2)
#1 0x00007f02b41bbc11 __gthread_cond_wait (libstdc++.so.6 + 0xc9c11)
#2 0x000055ee481f8234 n/a (watchman + 0x44234)
#3 0x00007f02b41c1c24 execute_native_thread_routine (libstdc++.so.6 + 0xcfc24)
#4 0x00007f02b434a3e9 start_thread (libpthread.so.0 + 0x93e9)
#5 0x00007f02b400f293 __clone (libc.so.6 + 0x100293)

Stack trace of thread 58798:
#0 0x00007f02b4350cf8 pthread_cond_clockwait (libpthread.so.0 + 0xfcf8)
#1 0x000055ee4820d167 n/a (watchman + 0x59167)
#2 0x000055ee482588af n/a (watchman + 0xa48af)
#3 0x000055ee481ecfe0 n/a (watchman + 0x38fe0)
#4 0x00007f02b41c1c24 execute_native_thread_routine (libstdc++.so.6 + 0xcfc24)
#5 0x00007f02b434a3e9 start_thread (libpthread.so.0 + 0x93e9)
#6 0x00007f02b400f293 __clone (libc.so.6 + 0x100293)

Stack trace of thread 58777:
#0 0x00007f02b43506a2 pthread_cond_wait@@GLIBC_2.3.2
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Wednesday, 21 April 2021, 12:45 GMT
Reason for closing:  None
Additional comments about closing:  watch is not an official Arch package -> AUR

Loading...