Issue 7911 - Seg faults in ldap_int_thread_pool_wrapper
Summary: Seg faults in ldap_int_thread_pool_wrapper
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-30 17:00 UTC by Michael Ströder
Modified: 2014-08-01 21:04 UTC (History)
0 users

See Also:


Attachments
its7911-gdb-backtrace.txt (14.11 KB, text/plain)
2014-07-30 17:10 UTC, Michael Ströder
Details

Note You need to log in before you can comment on or make changes to this issue.
Description Michael Ströder 2014-07-30 17:00:05 UTC
Full_Name: 
Version: RE24 6e093cf406fed109cc9ff8d3ae58027e137ac64e
OS: opensuse 12.3 x86_64
URL: 
Submission from: (NULL) (212.227.35.93)


When running RE24 built from git 6e093cf406fed109cc9ff8d3ae58027e137ac64e I'm
getting seg faults every now and then. This does not happen with 2.4.39.

gdb output will follow.
Comment 1 Michael Ströder 2014-07-30 17:10:02 UTC
Find attached the GDB output.

Comment 2 Quanah Gibson-Mount 2014-07-30 17:24:10 UTC
--On Wednesday, July 30, 2014 6:10 PM +0000 michael@stroeder.com wrote:

> ----==2dcaed39a78c6f9760c2f5008a35e848
> Content-Type: text/plain; charset=UTF-8; format=fixed
> Content-Transfer-Encoding: 8bit
>
> Find attached the GDB output.

According to the trace, the issue may be the same as ITS#7909, if you are 
using slapo-rwm.  That fix is now in the RE24 source tree.  Can you re-sync 
and retest?

Thanks!

--Quanah


--

Quanah Gibson-Mount
Server Architect
Zimbra, Inc.
--------------------
Zimbra ::  the leader in open source messaging and collaboration

Comment 3 Michael Ströder 2014-07-30 17:52:03 UTC
quanah@zimbra.com wrote:
> --On Wednesday, July 30, 2014 6:10 PM +0000 michael@stroeder.com wrote:
>> Find attached the GDB output.
> 
> According to the trace, the issue may be the same as ITS#7909, if you are 
> using slapo-rwm.  That fix is now in the RE24 source tree.  Can you re-sync 
> and retest?

Because of (open) ITS#7837 I had also run tests with slapo-rwm disabled, also
failing with seg fault.

Anyhow I will try again tomorrow with the very same system/installation and
the fix for ITS#7909. Thanks.

Ciao, Michael.


Comment 4 Howard Chu 2014-07-30 17:57:13 UTC
michael@stroeder.com wrote:
> This is a cryptographically signed message in MIME format.
>
> --------------ms060905070904020707040802
> Content-Type: text/plain; charset=ISO-8859-1
> Content-Transfer-Encoding: quoted-printable
>
> quanah@zimbra.com wrote:
>> --On Wednesday, July 30, 2014 6:10 PM +0000 michael@stroeder.com wrote:=
>
>>> Find attached the GDB output.
>> =20
>> According to the trace, the issue may be the same as ITS#7909, if you a=
> re=20
>> using slapo-rwm.  That fix is now in the RE24 source tree.  Can you re-=
> sync=20
>> and retest?
>
> Because of (open) ITS#7837 I had also run tests with slapo-rwm disabled, =
> also
> failing with seg fault.

In that case, as with ITS#7909, please include "print *sc" output from the crash.

> Anyhow I will try again tomorrow with the very same system/installation a=
> nd
> the fix for ITS#7909. Thanks.
>
> Ciao, Michael.



-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/

Comment 5 Quanah Gibson-Mount 2014-07-31 10:08:11 UTC
changed notes
changed state Open to Closed
Comment 6 Michael Ströder 2014-07-31 17:07:14 UTC
Quanah Gibson-Mount wrote:
> --On Wednesday, July 30, 2014 6:10 PM +0000 michael@stroeder.com wrote:
>> Find attached the GDB output.
> 
> According to the trace, the issue may be the same as ITS#7909, if you are
> using slapo-rwm.  That fix is now in the RE24 source tree.  Can you re-sync
> and retest?

I've re-tested this with recent 2d7a796670430f10745c3e59b05ef64c29274206 and
slapd does not seg fault anymore.

You can close this ITS.

Ciao, Michael.

Comment 7 Michael Ströder 2014-07-31 17:13:45 UTC
hyc@symas.com wrote:
> michael@stroeder.com wrote:
>> Because of (open) ITS#7837 I had also run tests with slapo-rwm disabled, =
>> also failing with seg fault.
> 
> In that case, as with ITS#7909, please include "print *sc" output from the crash.

While this seems to be fixed by ITS#7909 I have still one more remark:

Before rebuilding and re-running I did "print *sc" with the core file from the
old run but it said "no such symbol" or similar.

BTW: I'm always running this testbed with MALLOC_CHECK_=3.

Ciao, Michael.

Comment 8 Howard Chu 2014-07-31 17:18:39 UTC
Michael Ströder wrote:
> hyc@symas.com wrote:
>> michael@stroeder.com wrote:
>>> Because of (open) ITS#7837 I had also run tests with slapo-rwm disabled, =
>>> also failing with seg fault.
>>
>> In that case, as with ITS#7909, please include "print *sc" output from the crash.
>
> While this seems to be fixed by ITS#7909 I have still one more remark:
>
> Before rebuilding and re-running I did "print *sc" with the core file from the
> old run but it said "no such symbol" or similar.

sc is a local variable, you had to be in the proper stack frame. Doesn't 
matter now.
>
> BTW: I'm always running this testbed with MALLOC_CHECK_=3.
>
> Ciao, Michael.
>


-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/

Comment 9 OpenLDAP project 2014-08-01 21:04:04 UTC
duplicate of 7909