hello all,
again my aix problem, but with more comments this time.
configuration:
aix 4.3.2.0
openldap 2.0.6 / latest libtool 1.3.5
latest gbdm from gnu.org
* "./configure --prefix=my_private_dir" OK
* "make depend" hangs. needed to "make clean; make" as explained in the faq
* "make test" produces coredumps on execution of every ldap program
* "make install" OK
then I executed slapd and got a core... as expected.
then dbx:
dbx ./libexec/slapd core
[...]
Segmentation fault in glink.ber_strdup at 0xd13b7940
0xd13b7940 (ber_strdup+0x8) 800c0000 lwz r0,0x0(r12)
(dbx) where
glink.ber_strdup() at 0xd13b7940
ldap_str2charray(0xf0551f94, 0xf0550b9c), line 176 in "charray.c"
ldap_url_parselist(0xf054fee8, 0xf0551f94), line 643 in "url.c"
ldap_int_initialize_global_options(0xf054fec8, 0x0), line 396 in "init.c"
ldap_int_initialize(0xf054fec8, 0x200010d0), line 449 in "init.c"
ldap_set_option(0x0, 0x5001, 0x200010d0), line 322 in "options.c"
main(0x1, 0x2ff22bfc) at 0x10000660
(dbx) quit
printf of the parameters of the ldap_str2charray function (just before
the macro LDAP_STRDUP( str_in ) ) gives:
str_in=ldap://localhost/
brkstr=,
as I'm a aix newbee, I'm wondering if this might be a problem with
AIX (dynamic link of the libraries: some people from this list
told me that this was a recurrent problem on AIX with programs not
specifically written for aix) or simply is a bug in ldap on AIX
maurice
--------------------------------------------
Maurice Szmurlo --- FTMS/DSI/SCX/LAB
France Telecom Mobiles Services
13, rue Rouget de Lisle, 92786 ISSY LES MOULINEAUX cedex 9
tel : 01 47 65 82 49
fax : 01 47 65 12 76