[Date Prev][Date Next] [Chronological] [Thread] [Top]

Segmentation fault (ITS#2043)



Full_Name: Seva Adari
Version: 2.1.3
OS: Linux RedHat 7.3
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (216.46.91.99)


I was trying to create a new schema to store mysql configuration options.
In the objectclass' MAY part I had an additional $ sign as below:
	.......
        MAY ( publicIpAddress $ mysqlMysqldServerId $ mysqlMysqldPort
                $ mysqlMysqldSocket $ mysqlMysqldSkipLocking $
                $ mysqlMysqldLogBin $ mysqlMysqldUser $ mysqlMysqldDataDir
		......))
See the 'last' $ on the second line, this is resulting in the Segmentation
fault.
Here is the full backtrace for whatever it is worth!
-----------------------------------------------------------------------------------
(gdb) run -f /usr/local/etc/openldap/slapd.conf
Starting program: /usr/local/openldap-2.1.3/libexec/slapd -f
/usr/local/etc/openldap/slapd.conf
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...[New Thread 1024
(LWP 18080)]

(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 18080)]
0x4207ac9c in free () from /lib/i686/libc.so.6
(gdb) bt full
#0  0x4207ac9c in free () from /lib/i686/libc.so.6
No symbol table info available.
#1  0x080ab978 in strcpy ()
No symbol table info available.
#2  0x0809d32c in strcpy ()
No symbol table info available.
#3  0x0809f7f4 in strcpy ()
No symbol table info available.
#4  0x08073a76 in strcpy ()
No symbol table info available.
#5  0x080599f5 in strcpy ()
No symbol table info available.
#6  0x0805a9d5 in strcpy ()
No symbol table info available.
#7  0x0804bf11 in strcpy ()
No symbol table info available.
#8  0x42017589 in __libc_start_main () from /lib/i686/libc.so.6
No symbol table info available.
---------------------------------------------------------------------------------

Once the $ sign is removed, server came on line just fine.

I have tried to upgrade to 2.1.4 yesterday, but found that the group acls were
not
working and hence had to quickly revert back to 2.1.3. I am not sure if the
group
acls were broken in versions < 2.1.3 in some way and hence are working with my
set 
of acls or they are broken in 2.1.4. In any case I couldn't stay with 2.1.4 in
the
production system and hence could not test the above '$' issue with it.