Re: (ITS#8411) segfault on slapd 2.4.44
by hyc@symas.com
mwtzzz(a)gmail.com wrote:
> Full_Name: Michael Martinez
> Version: 2.4.44
> OS: ubuntu wheezy
There is no such OS.
> URL:
> Submission from: (NULL) (99.113.34.53)
>
>
> After upgrading from openldap-2.4.31 to 2.4.44 I'm getting segfaults anytime I
> run 'passwd', attempt to ssh into the box, etc.
>
> this is on raspberry pi (debian wheezy).
>
> Previously running the latest package 2.4.31. Then installed openldap-2.4.44
> from source, did slapcat from the old version and slapadd to import it to the
> new version. Loads fine and can run simple commands like "id" for ldap users.
> But get core dump with password changes, ssh from other boxes, etc.
> A%A[Thread debugging using libthread_db enabled]
> Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
> Core was generated by `/usr/local/openldap/libexec/slapd -f /etc/ldap/slapd.conf
> -F /ec/ldap/slapd.d'.
> Program terminated with signal 11, Segmentation fault.
> #0 0xb6f350a0 in memcpy () from /usr/lib/arm-linux-gnueabihf/libcofi_rpi.so
> (gdb)
Please provide the full stack trace.
Also output from "info shared".
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/
7 years, 1 month
(ITS#8411) segfault on slapd 2.4.44
by mwtzzz@gmail.com
Full_Name: Michael Martinez
Version: 2.4.44
OS: ubuntu wheezy
URL:
Submission from: (NULL) (99.113.34.53)
After upgrading from openldap-2.4.31 to 2.4.44 I'm getting segfaults anytime I
run 'passwd', attempt to ssh into the box, etc.
this is on raspberry pi (debian wheezy).
Previously running the latest package 2.4.31. Then installed openldap-2.4.44
from source, did slapcat from the old version and slapadd to import it to the
new version. Loads fine and can run simple commands like "id" for ldap users.
But get core dump with password changes, ssh from other boxes, etc.
A%A[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
Core was generated by `/usr/local/openldap/libexec/slapd -f /etc/ldap/slapd.conf
-F /ec/ldap/slapd.d'.
Program terminated with signal 11, Segmentation fault.
#0 0xb6f350a0 in memcpy () from /usr/lib/arm-linux-gnueabihf/libcofi_rpi.so
(gdb)
7 years, 1 month
Re: (ITS#8409) OpenLDAP Fortress Page Outdated
by smckinney@symas.com
> On Apr 21, 2016, at 2:15 AM, Michael Str=C3=B6der =
<michael(a)stroeder.com> wrote:
>=20
> I'd recommend a redirect to let search engines pick up the new =
canonical project
> URL.
That will work. How do I proceed to make the change? Or, who should be =
notified with this request?
Here=E2=80=99s the current project page:=20
https://directory.apache.org/fortress/=
7 years, 1 month
(ITS#8408) LMDB build warnings on Darwin/Clang for (s)printf
by joj@mac.com
Full_Name: Joakim Hassila
Version:
OS: Mac OS X 10.11
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (90.141.153.214)
Minor code style issue with latest https://github.com/LMDB/lmdb.
There are three (harmless) warnings that clang caught. Essentially it is the
same pattern for all three, usage of ternary operator yielding format strings
with different number of arguments, whereby the last one is ignored for one of
the format variants.
To reproduce, just do "make" on a Mac with Xcode 7.3 installed (thus using clang
as the compiler).
+++++++++++++++
solid:liblmdb jocke$ make
gcc -pthread -O2 -g -W -Wall -Wno-unused-parameter -Wbad-function-cast
-Wuninitialized -c mdb.c
mdb.c:10706:46: warning: data argument not used by format string
[-Wformat-extra-args]
(int)mr[i].mr_pid, (size_t)mr[i].mr_tid,
txnid);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
__builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
^~~~~~~~~~~
1 warning generated.
gcc -pthread -O2 -g -W -Wall -Wno-unused-parameter -Wbad-function-cast
-Wuninitialized -c midl.c
ar rs liblmdb.a mdb.o midl.o
ar: creating archive liblmdb.a
gcc -pthread -O2 -g -W -Wall -Wno-unused-parameter -Wbad-function-cast
-Wuninitialized -fPIC -c mdb.c -o mdb.lo
mdb.c:10706:46: warning: data argument not used by format string
[-Wformat-extra-args]
(int)mr[i].mr_pid, (size_t)mr[i].mr_tid,
txnid);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
__builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
^~~~~~~~~~~
1 warning generated.
gcc -pthread -O2 -g -W -Wall -Wno-unused-parameter -Wbad-function-cast
-Wuninitialized -fPIC -c midl.c -o midl.lo
gcc -pthread -shared -o liblmdb.so mdb.lo midl.lo
clang: warning: argument unused during compilation: '-pthre%2'
gcc -pthread -O2 -g -W -Wall -Wno-unused-parameter -Wbad-function-cast
-Wuninitialized -c mdb_stat.c
mdb_stat.c:206:12: warning: data argument not used by format string
[-Wformat-extra-args]
pg, span);
^
1 warning generated.
+++++++++++++++
7 years, 1 month
(ITS#8407) LMDB build warnings on Darwin/Clang for (s)printf
by joj@mac.com
Full_Name: Joakim Hassila
Version:
OS: Mac OS X 10.11
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (90.141.153.214)
Minor code style issue with latest https://github.com/LMDB/lmdb.
There are three (harmless) warnings that clang caught. Essentially it is the
same pattern for all three, usage of ternary operator yielding format strings
with different number of arguments, whereby the last one is ignored for one of
the format variants.
To reproduce, just do "make" on a Mac with Xcode 7.3 installed (thus using clang
as the compiler).
+++++++++++++++
solid:liblmdb jocke$ make
gcc -pthread -O2 -g -W -Wall -Wno-unused-parameter -Wbad-function-cast
-Wuninitialized -c mdb.c
mdb.c:10706:46: warning: data argument not used by format string
[-Wformat-extra-args]
(int)mr[i].mr_pid, (size_t)mr[i].mr_tid,
txnid);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
__builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
^~~~~~~~~~~
1 warning generated.
gcc -pthread -O2 -g -W -Wall -Wno-unused-parameter -Wbad-function-cast
-Wuninitialized -c midl.c
ar rs liblmdb.a mdb.o midl.o
ar: creating archive liblmdb.a
gcc -pthread -O2 -g -W -Wall -Wno-unused-parameter -Wbad-function-cast
-Wuninitialized -fPIC -c mdb.c -o mdb.lo
mdb.c:10706:46: warning: data argument not used by format string
[-Wformat-extra-args]
(int)mr[i].mr_pid, (size_t)mr[i].mr_tid,
txnid);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
__builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
^~~~~~~~~~~
1 warning generated.
gcc -pthread -O2 -g -W -Wall -Wno-unused-parameter -Wbad-function-cast
-Wuninitialized -fPIC -c midl.c -o midl.lo
gcc -pthread -shared -o liblmdb.so mdb.lo midl.lo
clang: warning: argument unused during compilation: '-pthre%2'
gcc -pthread -O2 -g -W -Wall -Wno-unused-parameter -Wbad-function-cast
-Wuninitialized -c mdb_stat.c
mdb_stat.c:206:12: warning: data argument not used by format string
[-Wformat-extra-args]
pg, span);
^
1 warning generated.
+++++++++++++++
7 years, 1 month
Re: (ITS#8406) LMDB: Assertion 'mc->mc_flags & C_INITIALIZED' with MDB_NEXT after mdb_cursor_del
by hyc@symas.com
hyc(a)symas.com wrote:
> akyrtzi(a)gmail.com wrote:
>> Full_Name: Argyrios Kyrtzidis
>> Version: LMDB master
>> OS: OSX
>> URL:
>> Submission from: (NULL) (2601:646:8900:3c89:b9af:5cb2:7292:8835)
>>
>>
>> With latest lmdb source (github mirror:
>> 8fff90db7ed1e650395f39f9e8b22673aa74aa2b), there is an assertion hit when
>> deleting the cursor and then doing mdb_cursor_get(MDB_NEXT) and 'entering'
>> DUPSORT items.
>> To demonstrate see below diff which modifies mtest3.c. When run you see this:
>
> For reference, this bug was exposed by ITS#8321
> b5ce8108e8bb92df00b2d27ef0e37bfe756d3752
>
> (But that is not the root cause.)
>
Fixed now in git mdb.master
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/
7 years, 1 month