[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#906917: sem_timedwait could always block and returns ETIMEOUT but decrements the value on i686 architecture



On 2019-01-11 16:50, Андрей Доценко wrote:
> >
> > On your side, have you been able to reproduce the problem *without*
> > ASAN, even on a bigger codebase? I wonder if it is actually a side
> > effect of ASAN.
> >
> 
> All *sem_timedwait* calls do not work in the codebase of our project
> without ASAN. So we cannot use i386 hardware in our embedded systems.
> Codebase is about 1000 source files. But the minimal test passes without
> ASAN so I cannot determine what affects sem_timedwait in our project. Any
> thoughts?

Do you use semaphores between 32- and 64-bit processes? That's not
something supported and used to work by chance in older glibc version
(prior to 2.21 IIRC).

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien@aurel32.net                 http://www.aurel32.net


Reply to: