Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 15 Jul 2021 19:39:45 +0200
From: Adam Zabrocki <pi3@....com.pl>
To: lkrg-users@...ts.openwall.com
Subject: Re: Re:deadlock happen on
 p_rb_hash[i].p_lock.lock

Can you try LKRG from git TOT ?

On Thu, Jul 15, 2021 at 08:52:49PM +0800, youyan wrote:
> Hi all
>      I am sorry ,do not notice picture can not direct dispaly on mail list。I also describe it in words.
>   cpu0 cpu1 wait for the lock ,which is holded on cpu2.
>   cpu2 wait kretprobe_table_locks[hash].lock which is hold cpu3
>   cpu3 wait for the p_rb_hash[i].p_lock.lock.
>   the value of p_rb_hash[i].p_lock.lock is 0x01. 0x01 also mean this lock is holded throuh read lock.
>    
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 在 2021-07-15 20:20:50,"youyan" <hyouyan@....com> 写道:
> 
> Hi all
>        I met a deadlock issue, p_rb_hash[i].p_lock.lock is not unlocked. lkrg version is 0.8,  software is android  10 ,hardware is unisoc SL8541E。
>  fellow picture is trace32 stack callback and register。
>  1:cpu 0
> 
> 
> 
> 
> 2:cpu1
> 3:cpu 2
> 4:cpu3 
> 
> 
>      Above situation,I think where use read_lock for p_rb_hash[i].p_lock.lock ,but not unlock.Or after lock,there is some code may cause schedule. Go throuh lkrg code, I can not find this situation code.
> Repeating this issue need at least two weeks. 
>     Have anybody met this similar issue??
> 
> 
> thanks and best regards
> ethan
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>  
> 
> 
> 
> 
> 
>  






-- 
pi3 (pi3ki31ny) - pi3 (at) itsec pl
http://pi3.com.pl

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.