Github user jpeach commented on the issue:

    https://github.com/apache/trafficserver/pull/1091
  
    FreeBSD fails with
    ```
    FATAL: pthread_mutex_unlock(0x8057fcf90) failed: Operation not permitted (1)
    ```
    
    The backtrace is:
    ```
    (gdb) where
    #0  0x0000000802f0035a in thr_kill () from /lib/libc.so.7
    #1  0x0000000802f00346 in raise () from /lib/libc.so.7
    #2  0x0000000802f00316 in abort () from /lib/libc.so.7
    #3  0x0000000800bfbc8d in ink_abort (message_format=<value optimized out>)
        at ../../../lib/ts/ink_error.cc:79
    #4  0x00000000006f0502 in ~Thread (this=0x80717e000) at 
../../../iocore/eventsystem/Thread.cc:52
    #5  0x00000000004d738e in ~INKThreadInternal (this=0x80717e000) at 
../../proxy/InkIOCoreAPI.cc:97
    #6  0x00000000004d5b56 in ink_thread_trampoline (data=<value optimized out>)
        at ../../proxy/InkIOCoreAPI.cc:112
    #7  0x000000080253a855 in pthread_create () from /lib/libthr.so.3
    #8  0x0000000000000000 in ?? ()
    ```
    
    The unlock is failing with ``EPERM`` because we do't hold the lock at this 
point.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to