l...@gnu.org (Ludovic Courtès) skribis:

> Thread 14 is in scm_readdir, so it holds the terrible
> ‘scm_i_misc_mutex’, but calling SCM_SYSERROR there causes it to try and
> lock it again, leading to a deadlock:
>
> #3  0x00007f7ee9545969 in scm_dynwind_pthread_mutex_lock 
> (mutex=0x7f7ee97bbfa0 <scm_i_misc_mutex>) at threads.c:1613
> #4  0x00007f7ee94d8dbb in scm_strerror (err=err@entry=9) at error.c:128
> #5  0x00007f7ee94d8e73 in scm_syserror (subr=subr@entry=0x7f7ee956afa0 
> <s_scm_readdir> "readdir") at error.c:169
> #6  0x00007f7ee94e29b4 in scm_readdir (port=#<unmatched-tag 10a77>) at 
> filesys.c:1754

This particular issue is now fixed in Guile:

  
https://git.savannah.gnu.org/cgit/guile.git/commit/?h=stable-2.2&id=187655cedb42cc4b01088179649b02295cd35260

Ludo’.



Reply via email to