[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: UTF8bvnormalize bug on 64bit Solaris 8 (ITS#2198)
- To: openldap-bugs@OpenLDAP.org
- Subject: Re: UTF8bvnormalize bug on 64bit Solaris 8 (ITS#2198)
- From: Miroslav Zubcic <hac+lists.openldap.bugs@hac.hr>
- Date: Wed, 22 Jan 2003 14:59:33 +0100
- In-reply-to: <lz8yy7z95w.fsf@dracul.hac.hr> (Miroslav Zubcic's message of "Mon, 30 Dec 2002 18:52:27 +0100")
- Mail-copies-to: nobody
- Organization: EINPROGRESS
- References: <200211251025.gAPAPETn084667@galois.openldap.org> <lzfzsprp3b.fsf@dracul.hac.hr> <lz8yy7z95w.fsf@dracul.hac.hr>
- User-agent: Gnus/5.090007 (Oort Gnus v0.07) XEmacs/21.4 (Honest Recruiter, i386-redhat-linux)
Miroslav Zubcic <hac+lists.openldap.bugs@hac.hr> writes:
> slapindex(8) and slapd(8) are crashing with sigsegv when I maintain
> indexes for `cn' and `sn' attributes (which have UTF-8 national
> characters in it). Trace is not very much helpful (see my first mail).
>
> Let's summarize:
>
> In 2.1.10 if I *remove* /opt/local/share/ucdata and then put ucdata .dat
> files from *2.1.9* - everything works fine and there is no signal 11.
>
> Here is trace obtained with Solaris 8 mdb(1) when OL is compiled with `-g'.
>
> (root){lav}[tmp]# mdb core
> Loading modules: [ ]
>> ::stack
> uckdecomp+0x10c(6565002e85a0, 69, 6563fffffff0, ffffffff7dc49b90, 1008b6020, 0)
> uccanoncompatdecomp+0xcc(1008b6030, 2, ffffffff7fffec20, ffffffff7fffec58, 1, 0)
> uccompatdecomp+0x30(1008b6030, 2, ffffffff7fffec20, ffffffff7fffec58, 0, 14c3e0)
> UTF8bvnormalize+0x770(1003a09c0, ffffffff7fffed30, 1, ffffffff7fffed30, 0, ffffffff7fffed81)
> caseExactIgnoreIndexer+0x170(a3, 71e, 10029bfc0, 10029fdf0, 1002b1df8, 1003a09c0)
> indexer+0x288(1002aeba0, 1002b0d90, 1002b1df8, 1003a09c0, 5dc, 1)
> index_at_values+0xc0(1002aeba0, 1002b1d90, 1003857e0, 1003a09c0, 5dc, 1)
> index_values+0x40(1002aeba0, 1003857c0, 1003a09c0, 5dc, 1, ffffffff7ffff101)
> index_entry+0x288(1002aeba0, 1, 1008b4570, 1003a0ae0, 200, 0)
> ldbm_tool_entry_reindex+0x348(1002aeba0, 5dc, 10008b410, ffffffff7ffff3a8, 0, 0)
> main+0x33c(2, ffffffff7ffff3a8, ffffffff7ffff3c0, 100292f60, 100000000, 0)
> _start+0x7c(0, 0, 0, 0, 0, 0)
>
>
> As I said, if I put ucdata .dat files from 2.1.9 OL 2.1.10 will work
> OK - both slapindex(8), slapadd(8) and slapd(8).
I found the problem while upgrading to 2.1.12. libraries/liblunicode
MUST NOT be compiled on Solaris 8 (64bit) with any optimizations while
using gcc 3.2 because "kdecomp.dat" will be "strange". After making
ucgendat and dat files without optimization and instaling dat files
slapindex(8) is not segfaulting while indexing UTF-8 base64 encoded
attributes.
--
The Network is the Filesystem