https://bugs.openldap.org/show_bug.cgi?id=8977
Quanah Gibson-Mount <quanah(a)openldap.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|2.6.0 |2.5.3
--
You are receiving this mail because:
You are on the CC list for the issue.
https://bugs.openldap.org/show_bug.cgi?id=8977
--- Comment #15 from Quanah Gibson-Mount <quanah(a)openldap.org> ---
tested with 2.5.2, and indeed this works now. Will revert my prior commit.
--
You are receiving this mail because:
You are on the CC list for the issue.
https://bugs.openldap.org/show_bug.cgi?id=7439
Quanah Gibson-Mount <quanah(a)openldap.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |quanah(a)openldap.org
--- Comment #7 from Quanah Gibson-Mount <quanah(a)openldap.org> ---
*** Issue 9192 has been marked as a duplicate of this issue. ***
--
You are receiving this mail because:
You are on the CC list for the issue.
https://bugs.openldap.org/show_bug.cgi?id=5365
Quanah Gibson-Mount <quanah(a)openldap.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |vorlon(a)debian.org
--- Comment #7 from Quanah Gibson-Mount <quanah(a)openldap.org> ---
Sent an email to Steve on 3/1/2021 to see if he'd be willing to contribute
Debian's patch.
--
You are receiving this mail because:
You are on the CC list for the issue.
https://bugs.openldap.org/show_bug.cgi?id=9486
Issue ID: 9486
Summary: EINVAL from mdb_txn_begin with MDB_NOSYNC
Product: LMDB
Version: unspecified
Hardware: x86_64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: ---
Component: liblmdb
Assignee: bugs(a)openldap.org
Reporter: igfoo(a)github.com
Target Milestone: ---
Created attachment 800
--> https://bugs.openldap.org/attachment.cgi?id=800&action=edit
Test case
With this script:
-----------------------
#!/bin/sh
set -e
rm -rf lmdb
git clone https://github.com/LMDB/lmdb.git
INSTALL_DIR="`pwd`/inst"
cd lmdb/libraries/liblmdb
make install prefix="$INSTALL_DIR"
cd ../../..
gcc -Iinst/include loop.c inst/lib/liblmdb.a -o loop -pthread
rm -f test.db test.db-lock
for i in `seq 1 10`
do
./loop $i &
done
wait
echo "All finished"
-----------------------
and the attached loop.c, I get output like:
-----------------------
1: Got error 22 from call 181 of mdb_txn_begin.
6: Got error 22 from call 129 of mdb_txn_begin.
9: Got error 22 from call 149 of mdb_txn_begin.
5: Got error 22 from call 140 of mdb_txn_begin.
3: Got error 22 from call 166 of mdb_txn_begin.
4: Got error 22 from call 156 of mdb_txn_begin.
2: Got error 22 from call 135 of mdb_txn_begin.
8: Got error 22 from call 136 of mdb_txn_begin.
7: Got error 22 from call 163 of mdb_txn_begin.
10: Got error 22 from call 163 of mdb_txn_begin.
All finished
-----------------------
(on some runs, some threads will report -30792 (MDB_MAP_FULL) rather than 22,
but I have always seen at least some processes report 22).
Unless I am misunderstanding something, I do not think mdb_txn_begin should be
failing with 22.
I haven't dug into this, but based on what I saw with my real code, I expect
that this is coming from pthread_mutex_lock returning EINVAL.
I don't get any errors without MDB_NOSYNC.
This is on Linux, on an ext4 filesystem.
I'm seeing this with the current master:
commit 52bc29ee2efccf09c650598635cd42a50b6ecffe
Author: Howard Chu <hyc(a)openldap.org>
Date: Thu Feb 11 11:34:57 2021 +0000
ITS#9461 fix typo
Please let me know if any more details would be useful.
--
You are receiving this mail because:
You are on the CC list for the issue.
https://bugs.openldap.org/show_bug.cgi?id=8707
Quanah Gibson-Mount <quanah(a)openldap.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Status|UNCONFIRMED |IN_PROGRESS
Keywords|has_patch, IPR_OK |
--- Comment #27 from Quanah Gibson-Mount <quanah(a)openldap.org> ---
https://git.openldap.org/openldap/openldap/-/merge_requests/261
Rebased for 2.5 and added in lloadd.service as well.
--
You are receiving this mail because:
You are on the CC list for the issue.
https://bugs.openldap.org/show_bug.cgi?id=7915
Quanah Gibson-Mount <quanah(a)openldap.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://bugs.openldap.org/s
| |how_bug.cgi?id=9218
--
You are receiving this mail because:
You are on the CC list for the issue.
https://bugs.openldap.org/show_bug.cgi?id=6830
Quanah Gibson-Mount <quanah(a)openldap.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://bugs.openldap.org/s
| |how_bug.cgi?id=9217
--
You are receiving this mail because:
You are on the CC list for the issue.
https://bugs.openldap.org/show_bug.cgi?id=9157
Quanah Gibson-Mount <quanah(a)openldap.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://bugs.openldap.org/s
| |how_bug.cgi?id=9474
Target Milestone|2.5.3 |2.6.0
Keywords|reviewed |
--
You are receiving this mail because:
You are on the CC list for the issue.