[Fedora-directory-devel] Please review: [Bug 231093] db2bak: crash bug

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Summary: db2bak: crash bug

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=231093


Description of problem:
db2bak crashed in one of the failed test cases.  Caused by the initial configuration error:
   errors:[...] - Db home directory is not set. Possibly nsslapd-directory (optinally nsslapd-db-home-directory) is missing in the config file.

Still, the server should not crash.

[stacktrace]
#0  0xb6edd2c7 in dblayer_get_full_inst_dir (li=0x8127350, inst=0x8187f00,
   buf=0xbfffc480 "", buflen=4096)
   at ldap/servers/slapd/back-ldbm/dblayer.c:1209
#1  0xb6ee4d42 in dblayer_in_import (inst=0x8187f00)
   at ldap/servers/slapd/back-ldbm/dblayer.c:5623
#2  0xb6ed8bd0 in ldbm_back_ldbm2archive (pb=0xbfffd570)
   at ldap/servers/slapd/back-ldbm/archive.c:353
#3  0x0805d59e in slapd_exemode_db2archive () at ldap/servers/slapd/main.c:2457
#4  0x0805e5e7 in main (argc=6, argv=0xbfffdca4)
   at ldap/servers/slapd/main.c:947

------- Additional Comments From nhosoi@xxxxxxxxxx  2007-03-05 21:45 EST -------
Created an attachment (id=149315)
--> (https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=149315&action=view)
cvs diff dblayer.c

File: ldap/servers/slapd/back-ldbm/dblayer.c

Problem description: The server instance home directory in the dblayer private structure
(li->li_dblayer_private) is empty.  Either of these fields is supposed to be set:
 dblayer_home_directory = 0x0
 dblayer_dbhome_directory = 0x8125ba0 ""

Fix descrption: if the fields are not set, issues an error message and returns.


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

--
Fedora-directory-devel mailing list
Fedora-directory-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-devel

[Index of Archives]     [Fedora Directory Announce]     [Fedora Users]     [Older Fedora Users Mail]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Review]     [Fedora Art]     [Fedora Music]     [Fedora Packaging]     [CentOS]     [Fedora SELinux]     [Big List of Linux Books]     [KDE Users]     [Fedora Art]     [Fedora Docs]

  Powered by Linux