[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
RE: (ITS#9023) crash using ppolicy chaining from slave to master
--_004_AM0PR0202MB355397966458DFBCF87CDE19BA060AM0PR0202MB3553_
Content-Type: multipart/alternative;
boundary="_000_AM0PR0202MB355397966458DFBCF87CDE19BA060AM0PR0202MB3553_"
--_000_AM0PR0202MB355397966458DFBCF87CDE19BA060AM0PR0202MB3553_
Content-Type: text/plain; charset="iso-8859-1"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Hello Quanah,
what I have done:
/var/install/openldap-2.4.47/servers/slapd/slapd -h "ldap://*:390 ldaps://*=
:637" -l LOCAL5 -f /appli/openldap-preprod/etc/slapd.conf -u root -g root ;=
ps aux | grep ldap
gdb /var/install/openldap-2.4.47/servers/slapd/slapd 15684
(gdb) set logging on
(gdb) thread apply all bt full
(gdb) cont
<crashing operation>
Here is the dump.
Seems to crash when returning from libpthread
--
Jean-Philippe
________________________________
De : Quanah Gibson-Mount <quanah@symas.com>
Envoy=E9 : vendredi 17 mai 2019 17:30:42
=C0 : AYANIDES, JEAN-PHILIPPE; openldap-its@OpenLDAP.org
Objet : RE: (ITS#9023) crash using ppolicy chaining from slave to master
--On Friday, May 17, 2019 4:09 PM +0000 "AYANIDES, JEAN-PHILIPPE"
<jpayanides@prosodie.com> wrote:
>
>
> Hello Quanah,
>
> I am not very familiar with gdb. Can you help me doing that?
Start slapd on the server that's crashing
Get the process ID of slapd
gdb /path/to/slapd PID
For example, if slapd is located in /usr/sbin, and the process ID is 1234:
gdb /usr/sbin/slapd 1234
At the (gdb) prompt, enter the command "cont" to continue execution
Run your operation that causes slapd to crash. This should drop you back
to the (gdb) prompt.
Then run the command:
thr apply all bt full
This will provide the full backtrace.
--Quanah
--
Quanah Gibson-Mount
Product Architect
Symas Corporation
Packaged, certified, and supported LDAP solutions powered by OpenLDAP:
<http://www.symas.com>
This message contains information that may be privileged or confidential an=
d is the property of the Capgemini Group. It is intended only for the perso=
n to whom it is addressed. If you are not the intended recipient, you are n=
ot authorized to read, print, retain, copy, disseminate, distribute, or use=
this message or any part thereof. If you receive this message in error, pl=
ease notify the sender immediately and delete all copies of this message.
--_000_AM0PR0202MB355397966458DFBCF87CDE19BA060AM0PR0202MB3553_
Content-Type: text/html; charset="iso-8859-1"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<style type=3D"text/css" style=3D"display:none;"><!-- P {margin-top:0;margi=
n-bottom:0;} --></style>
</head>
<body dir=3D"ltr">
<div id=3D"divtagdefaultwrapper" style=3D"font-size:12pt;color:#000000;font=
-family:Calibri,Helvetica,sans-serif;" dir=3D"ltr">
<p style=3D"margin-top:0;margin-bottom:0">Hello Quanah,</p>
<p style=3D"margin-top:0;margin-bottom:0">what I have done:</p>
<p style=3D"margin-top:0;margin-bottom:0"><br>
</p>
<p style=3D"margin-top:0;margin-bottom:0"></p>
<div>/var/install/openldap-2.4.47/servers/slapd/slapd -h "ldap://*:390=
ldaps://*:637" -l LOCAL5 -f /appli/openldap-preprod/etc/slapd.conf -u=
root -g root ; ps aux | grep ldap<br>
</div>
<div>
<div><br>
</div>
<div>gdb /var/install/openldap-2.4.47/servers/slapd/slapd 15684<br>
<br>
</div>
(gdb) set logging on</div>
<div>(gdb) thread apply all bt full</div>
<div>(gdb) cont</div>
<div><crashing operation><br>
</div>
<br>
<p></p>
<p style=3D"margin-top:0;margin-bottom:0">Here is the dump.</p>
<p style=3D"margin-top:0;margin-bottom:0"><br>
</p>
<p style=3D"margin-top:0;margin-bottom:0">Seems to crash when returning fro=
m libpthread<br>
</p>
<p style=3D"margin-top:0;margin-bottom:0">--</p>
<p style=3D"margin-top:0;margin-bottom:0">Jean-Philippe<br>
</p>
<div id=3D"Signature">
<meta content=3D"text/html; charset=3DUTF-8">
</div>
</div>
<hr style=3D"display:inline-block;width:98%" tabindex=3D"-1">
<div id=3D"divRplyFwdMsg" dir=3D"ltr"><font face=3D"Calibri, sans-serif" st=
yle=3D"font-size:11pt" color=3D"#000000"><b>De :</b> Quanah Gibson-Mount &l=
t;quanah@symas.com><br>
<b>Envoy=E9 :</b> vendredi 17 mai 2019 17:30:42<br>
<b>=C0 :</b> AYANIDES, JEAN-PHILIPPE; openldap-its@OpenLDAP.org<br>
<b>Objet :</b> RE: (ITS#9023) crash using ppolicy chaining from slave to ma=
ster</font>
<div> </div>
</div>
<div class=3D"BodyFragment"><font size=3D"2"><span style=3D"font-size:11pt;=
">
<div class=3D"PlainText">--On Friday, May 17, 2019 4:09 PM +0000 "=
AYANIDES, JEAN-PHILIPPE"
<br>
<jpayanides@prosodie.com> wrote:<br>
<br>
><br>
><br>
> Hello Quanah,<br>
><br>
> I am not very familiar with gdb. Can you help me doing that?<br>
<br>
<br>
Start slapd on the server that's crashing<br>
Get the process ID of slapd<br>
<br>
gdb /path/to/slapd PID<br>
<br>
For example, if slapd is located in /usr/sbin, and the process ID is 1234:<=
br>
<br>
gdb /usr/sbin/slapd 1234<br>
<br>
At the (gdb) prompt, enter the command "cont" to continue executi=
on<br>
<br>
Run your operation that causes slapd to crash. This should drop you b=
ack <br>
to the (gdb) prompt.<br>
<br>
Then run the command:<br>
<br>
thr apply all bt full<br>
<br>
This will provide the full backtrace.<br>
<br>
--Quanah<br>
<br>
<br>
--<br>
<br>
Quanah Gibson-Mount<br>
Product Architect<br>
Symas Corporation<br>
Packaged, certified, and supported LDAP solutions powered by OpenLDAP:<br>
<<a href=3D"http://www.symas.com">http://www.symas.com</a>><br>
<br>
</div>
</span></font></div>
<span style=3D"font-size: 9px; line-height: 10px;">This message contains in=
formation that may be privileged or confidential and is the property of the=
Capgemini Group. It is intended only for the person to whom it is addresse=
d. If you are not the intended recipient, you are not authorized to read, p=
rint, retain, copy, disseminate, distribute, or use this message or any par=
t thereof. If you receive this message in error, please notify the sender i=
mmediately and delete all copies of this message.</span></body>
</html>
--_000_AM0PR0202MB355397966458DFBCF87CDE19BA060AM0PR0202MB3553_--
--_004_AM0PR0202MB355397966458DFBCF87CDE19BA060AM0PR0202MB3553_
Content-Type: text/plain; name="gdb.txt"
Content-Description: gdb.txt
Content-Disposition: attachment; filename="gdb.txt"; size=2695;
creation-date="Mon, 20 May 2019 09:10:06 GMT";
modification-date="Mon, 20 May 2019 09:10:06 GMT"
Content-Transfer-Encoding: base64
ClRocmVhZCAzIChUaHJlYWQgLTEyMjc2OTkyODAgKExXUCAxNTY4NykpOgojMCAgMHhiN2M4ODY3
OSBpbiBlcG9sbF93YWl0ICgpIGZyb20gL2xpYi90bHMvbGliYy5zby42Ck5vIHN5bWJvbCB0YWJs
ZSBpbmZvIGF2YWlsYWJsZS4KIzEgIDB4MDgwNzljYmQgaW4gc2xhcGRfZGFlbW9uX3Rhc2sgKHB0
cj0weDApIGF0IGRhZW1vbi5jOjI1MzkKICAgICAgICBhY3RpdmUgPSAwCiAgICAgICAgbCA9IDx2
YWx1ZSBvcHRpbWl6ZWQgb3V0PgogICAgICAgIGxhc3RfaWRsZV9jaGVjayA9IDE1NTgzNDMwMzgK
ICAgICAgICBlYmFkZiA9IDAKIzIgIDB4YjdjZjQwYmQgaW4gc3RhcnRfdGhyZWFkICgpIGZyb20g
L2xpYi90bHMvbGlicHRocmVhZC5zby4wCk5vIHN5bWJvbCB0YWJsZSBpbmZvIGF2YWlsYWJsZS4K
IzMgIDB4YjdjODgwMWUgaW4gY2xvbmUgKCkgZnJvbSAvbGliL3Rscy9saWJjLnNvLjYKTm8gc3lt
Ym9sIHRhYmxlIGluZm8gYXZhaWxhYmxlLgoKVGhyZWFkIDIgKFRocmVhZCAtMTIzMTg5MzU4NCAo
TFdQIDE1Njg4KSk6CiMwICAweGI3Y2Y2YzAxIGluIHB0aHJlYWRfY29uZF93YWl0QEBHTElCQ18y
LjMuMiAoKSBmcm9tIC9saWIvdGxzL2xpYnB0aHJlYWQuc28uMApObyBzeW1ib2wgdGFibGUgaW5m
byBhdmFpbGFibGUuCiMxICAweDA4MTc4Z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XplZCBvdXQ+CiAgICAgICAgZGVidWdfdW5rbm93bnMgPSAoY2hhciAqKikgMHgwCiAgICAgICAg
c3lzbG9nX3Vua25vd25zID0gKGNoYXIgKiopIDB4MAogICAgICAgIGwgPSA8dmFsdWUgb3B0aW1p
emVkIG91dD4KICAgICAgICBzbGFwZF9waWRfZmlsZV91bmxpbmsgPSAxCiAgICAgICAgc2xhcGRf
YXJnc19maWxlX3VubGluayA9IDEKICAgICAgICBmaXJzdG9wdCA9IDx2YWx1ZSBvcHRpbWl6ZWQg
b3V0PgogICAgICAgIF9fUFJFVFRZX0ZVTkNUSU9OX18gPSAibWFpbiIKIzAgIDB4YjdjZjUxODMg
aW4gcHRocmVhZF9qb2luICgpIGZyb20gL2xpYi90bHMvbGlicHRocmVhZC5zby4wCkNvbnRpbnVp
bmcuCltOZXcgVGhyZWFkIC0xMjM3MTQwNTYwIChMV1AgMTY4NzYpXQoKUHJvZ3JhbSBleGl0ZWQg
d2l0aCBjb2RlIDAxNzcuCg==
--_004_AM0PR0202MB355397966458DFBCF87CDE19BA060AM0PR0202MB3553_--