Issue 4139 - ./scripts/relay: line 374: 17893 Segmentation fault $SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING >$LOG1
Summary: ./scripts/relay: line 374: 17893 Segmentation fault $SLAPD -f $CONF1 -h ...
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: 2005-11-03 19:56 UTC by Michael Ströder
Modified: 2014-08-01 21:05 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Michael Ströder 2005-11-03 19:56:41 UTC
2>&1
WhoAmI failed (1)!
./scripts/relay: line 378: kill: (17893) - No such process
test030-relay seg faults

Full_Name: Michael Str�der
Version: OPENLDAP_REL_ENG_2_3 2005-11-03 20:22
OS: SuSE Linux 10.0
URL: 
Submission from: (NULL) (83.124.22.229)


Changing password to database "o=Example,c=US"...
Binding with newly changed password to database "o=Beispiel,c=DE"...
./scripts/relay: line 374: 17893 Segmentation fault      $SLAPD -f $CONF1 -h
$URI1 -d $LVL $TIMING >$LOG1 
2>&1
WhoAmI failed (1)!
./scripts/relay: line 378: kill: (17893) - No such process
>>>>> ./scripts/test030-relay failed (exit 1)
make[2]: *** [bdb-mod] Error 1
make[2]: Leaving directory
`/home/michael/src/openldap-OPENLDAP_REL_ENG_2_3/ldap/tests'
make[1]: *** [test] Error 2
make[1]: Leaving directory
`/home/michael/src/openldap-OPENLDAP_REL_ENG_2_3/ldap/tests'
make: *** [test] Error 2

Comment 1 ando@openldap.org 2005-11-03 20:54:01 UTC
On Thu, 2005-11-03 at 19:56 +0000, michael@stroeder.com wrote:
> 2>&1
> WhoAmI failed (1)!
> ./scripts/relay: line 378: kill: (17893) - No such process
> test030-relay seg faults

please check HEAD code.

p.



    SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497

Comment 2 ando@openldap.org 2005-11-03 20:56:51 UTC
changed notes
changed state Open to Test
moved from Incoming to Development
Comment 3 Michael Ströder 2005-11-03 21:11:13 UTC
Pierangelo Masarati wrote:
> On Thu, 2005-11-03 at 19:56 +0000, michael@stroeder.com wrote:
> 
>>2>&1
>>WhoAmI failed (1)!
>>./scripts/relay: line 378: kill: (17893) - No such process
>>test030-relay seg faults
> 
> please check HEAD code.

At least no seg fault is reported. But "No such process".
Is that ok?

$ ./run -b bdb-mod test030
Cleaning up test run directory leftover from previous run.
Running ./scripts/test030-relay...
running defines.sh

Testing virtual naming context mapping with relay ldap meta backend(s)...

Using relay backend...

Starting slapd on TCP/IP port 9011...
Using ldapsearch to check that slapd is running...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
ldapsearch failed (1)!
./scripts/relay: line 44: kill: (4563) - No such process

Ciao, Michael.

Comment 4 ando@openldap.org 2005-11-03 21:31:34 UTC
> At least no seg fault is reported. But "No such process".
> Is that ok?

I suspect you need to kill something before running the test; in any
case, the issue was with back-ldap, not back-relay, you should be able
to get past the back-relay test at least.

p.



    SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497

Comment 5 Michael Ströder 2005-11-03 21:54:10 UTC
Pierangelo Masarati wrote:
>>At least no seg fault is reported. But "No such process".
>>Is that ok?
> 
> I suspect you need to kill something before running the test;

I did killall slapd as root to make sure nothing else is running. But
still "No such process". My impression is slapd is not started at all.

Ciao, Michael.

----------------------------------------------------------------------

$ ./run -b bdb-mod test030
Cleaning up test run directory leftover from previous run.
Running ./scripts/test030-relay...
running defines.sh

Testing virtual naming context mapping with relay ldap meta backend(s)...

Using relay backend...

Starting slapd on TCP/IP port 9011...
Using ldapsearch to check that slapd is running...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
ldapsearch failed (1)!
./scripts/relay: line 44: kill: (31468) - No such process

----------------------------------------------------------------------
File: testrun/slapd.1.log

@(#) $OpenLDAP: slapd 2.X (Nov  3 2005 21:57:57) $
        michael@nb2:/home/michael/src/openldap-HEAD/ldap/servers/slapd
daemon_init: ldap://localhost:9011/
daemon_init: listen on ldap://localhost:9011/
daemon_init: 1 listeners to open...
ldap_url_parse_ext(ldap://localhost:9011/)
daemon: listener initialized ldap://localhost:9011/
daemon_init: 2 listeners opened
lt-slapd init: initiated server.
slap_sasl_init: initialized!
Unrecognized database type (bdb-mod)
./testrun/slapd.1.conf: line 42: <database> failed init (bdb-mod)!
lt-slapd destroy: freeing system resources.
slapd stopped.
connections_destroy: nothing to destroy.

Comment 6 ando@openldap.org 2005-11-03 22:02:22 UTC
My change was not so invasive: a couple of pointers were reset in passwd
exop code; I think you need to look at something else (starting from
slapd's logs).

p.

On Thu, 2005-11-03 at 22:54 +0100, Michael Ströder wrote:
> Pierangelo Masarati wrote:
> >>At least no seg fault is reported. But "No such process".
> >>Is that ok?
> > 
> > I suspect you need to kill something before running the test;
> 
> I did killall slapd as root to make sure nothing else is running. But
> still "No such process". My impression is slapd is not started at all.
> 
> Ciao, Michael.
> 
> ----------------------------------------------------------------------
> 
> $ ./run -b bdb-mod test030
> Cleaning up test run directory leftover from previous run.
> Running ./scripts/test030-relay...
> running defines.sh
> 
> Testing virtual naming context mapping with relay ldap meta backend(s)...
> 
> Using relay backend...
> 
> Starting slapd on TCP/IP port 9011...
> Using ldapsearch to check that slapd is running...
> Waiting 5 seconds for slapd to start...
> Waiting 5 seconds for slapd to start...
> Waiting 5 seconds for slapd to start...
> Waiting 5 seconds for slapd to start...
> Waiting 5 seconds for slapd to start...
> Waiting 5 seconds for slapd to start...
> ldapsearch failed (1)!
> ./scripts/relay: line 44: kill: (31468) - No such process
> 
> ----------------------------------------------------------------------
> File: testrun/slapd.1.log
> 
> @(#) $OpenLDAP: slapd 2.X (Nov  3 2005 21:57:57) $
>         michael@nb2:/home/michael/src/openldap-HEAD/ldap/servers/slapd
> daemon_init: ldap://localhost:9011/
> daemon_init: listen on ldap://localhost:9011/
> daemon_init: 1 listeners to open...
> ldap_url_parse_ext(ldap://localhost:9011/)
> daemon: listener initialized ldap://localhost:9011/
> daemon_init: 2 listeners opened
> lt-slapd init: initiated server.
> slap_sasl_init: initialized!
> Unrecognized database type (bdb-mod)
> ./testrun/slapd.1.conf: line 42: <database> failed init (bdb-mod)!
> lt-slapd destroy: freeing system resources.
> slapd stopped.
> connections_destroy: nothing to destroy.



    SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497

Comment 7 Michael Ströder 2005-11-03 22:21:57 UTC
Pierangelo Masarati wrote:
> My change was not so invasive: a couple of pointers were reset in passwd
> exop code; I think you need to look at something else (starting from
> slapd's logs).

Aaargh! My fault with -b...

Anyway it failed initially before I filed this.
Ok, it works now as expected.

Ciao, Michael.

Comment 8 ando@openldap.org 2005-11-09 11:40:23 UTC
changed state Test to Closed
Comment 9 Howard Chu 2009-02-17 06:56:04 UTC
moved from Development to Archive.Development
Comment 10 OpenLDAP project 2014-08-01 21:05:23 UTC
fixed in HEAD