https://bugs.kde.org/show_bug.cgi?id=445743

--- Comment #12 from Paul Floyd <pjfl...@wanadoo.fr> ---
Looks similar on FreeBSD. truss output, standalone

78094: thr_kill(133780,SIGRT59)                  = 0 (0x0)
78094: _umtx_op(0x800684008,UMTX_OP_MUTEX_LOCK,0x0,0x0,0x0) ERESTART
78094: SIGNAL 124 (SIGRT59) code=SI_LWP pid=78094 uid=501
78094: write(2,"sleeping\n",9)                   = 9 (0x9)
78094: sigprocmask(SIG_SETMASK,{
SIGHUP|SIGINT|SIGQUIT|SIGILL|SIGTRAP|SIGABRT|SIGEMT|SIGFPE|SIGKILL|SIGBUS|SIGSEGV|SIGSYS|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2
},0x0) = 0 (0x0)
78094: write(2,"nullHandler running\n",20)       = 20 (0x14)
78094: sigreturn(0x7fffdfffd670)                 EJUSTRETURN
78094: nanosleep({ 1.000000000 })                = 0 (0x0)
78094: write(2,"unlocking\n",10)                 = 10 (0xa)
78094: _umtx_op(0x800684008,UMTX_OP_MUTEX_UNLOCK,0x0,0x0,0x0) = 0 (0x0)
78094: _umtx_op(0x800684008,UMTX_OP_MUTEX_LOCK,0x0,0x0,0x0) ERESTART
78094: _umtx_op(0x800684008,UMTX_OP_MUTEX_LOCK,0x0,0x0,0x0) = 0 (0x0)
78094: write(2,"contender locked mutex\n",23)    = 23 (0x17)

Without pthread_mutexattr_setprotocol(&mutex_attr, PTHREAD_PRIO_INHERIT);   


78129: thr_kill(133828,SIGRT59)                  = 0 (0x0)
78129: _umtx_op(0x800684008,UMTX_OP_MUTEX_WAIT,0x0,0x0,0x0) ERR#4 'Interrupted
system call'
78129: SIGNAL 124 (SIGRT59) code=SI_LWP pid=78129 uid=501
78129: write(2,"sleeping\n",9)                   = 9 (0x9)
78129: sigprocmask(SIG_SETMASK,{
SIGHUP|SIGINT|SIGQUIT|SIGILL|SIGTRAP|SIGABRT|SIGEMT|SIGFPE|SIGKILL|SIGBUS|SIGSEGV|SIGSYS|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2
},0x0) = 0 (0x0)
78129: write(2,"nullHandler running\n",20)       = 20 (0x14)
78129: sigreturn(0x7fffdfffd640)                 EJUSTRETURN
78129: nanosleep({ 1.000000000 })                = 0 (0x0)
78129: write(2,"unlocking\n",10)                 = 10 (0xa)
78129: _umtx_op(0x800684008,UMTX_OP_MUTEX_WAKE2,0x0,0x0,0x0) = 0 (0x0)
78129: _umtx_op(0x800684008,UMTX_OP_MUTEX_WAIT,0x0,0x0,0x0) = 0 (0x0)
78129: write(2,"contender locked mutex\n",23)    = 23 (0x17)

This time under DRD the mutex does return an error code - invalid argument.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to