Actions
Bug #5891
openbankd: potential pthread deadlock reported by coverity
Start date:
02/03/2023
Due date:
% Done:
0%
Spec Reference:
Description
*** CID 307529: Program hangs (ORDER_REVERSAL) /source-Osmocom/osmo-remsim/src/server/rspro_server.c: 782 in event_fd_cb() 776 } 777 778 LOGP(DMAIN, LOGL_INFO, "Event FD arrived, checking for any pending work\n"); 779 780 pthread_rwlock_rdlock(&srv->rwlock); 781 llist_for_each_entry(conn, &srv->banks, list) { >>> CID 307529: Program hangs (ORDER_REVERSAL) >>> Calling "pthread_rwlock_rdlock" acquires lock "slotmaps.rwlock" while holding lock "rspro_server.rwlock" (count: 2 / 5). 782 slotmaps_rdlock(srv->slotmaps); 783 non_empty_new = llist_empty(&conn->bank.maps_new); 784 non_empty_del = llist_empty(&conn->bank.maps_delreq); 785 slotmaps_unlock(srv->slotmaps); 786 787 /* trigger FSM to send any pending new/deleted maps */
No data to display
Actions