Project

General

Profile

Actions

Bug #45537

closed

librados calls after fork() result in lockdep aborts

Added by David Disseldorp almost 4 years ago. Updated almost 3 years ago.

Status:
Won't Fix
Priority:
Normal
Category:
librados
Target version:
-
% Done:

0%

Source:
Community (dev)
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

While working on Samba / Ceph integration, I noticed that librados doesn't play nicely with fork().
I wrote a simple reproducer (to be attached) which performs the following:
- rados_create(... &ctx1)->rados_connect(ctx1 ...)
- fork()
- child process: rados_create(... &ctx2)->rados_connect(ctx2 ...)

This results in an abort in the lockdep code path.


Files

0001-test-librados-fork-test.patch (2.93 KB) 0001-test-librados-fork-test.patch simple librados fork unit test David Disseldorp, 05/13/2020 07:18 PM
Actions

Also available in: Atom PDF