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

Re: Bus Error - core dumped

bus error is caused mainly due to the misaligned data members i.e if int
starts at an odd memory location then accessing it as int would cause bus
error, now i run ldap on sparc solaris 2.7 and i dont get any error such as
this so i am not really sure oops i work with 1.2.7 and not 1.2.8, see you
do this, you can compile it with "-g" (i guess this is default) run slapd
under dbx i.e
start slapd normally and then do
dbx - <process id of slapd> and then at the prompt type cont
now do ldapsearc from the client and give back the stack trace and the
problem will be fixed easily

----- Original Message -----
From: Rosdi Kasim <rosdi@snt.com.my>
To: <openldap-software@openldap.org>
Sent: Wednesday, December 22, 1999 8:58 AM
Subject: Bus Error - core dumped

> Hi all,
> I compiled OpenLDAP 1.2.8 on a SunOS (SPARC) 5.6, below is the command I
> to compile it.
> env ac_cv_func_pthread_create=no \
>  ol_cv_kthread_flag=no ol_cv_pthread_flag=no \
>  ol_cv_pthreads_flag=no ol_cv_thread_flag=no \
./configure --prefix=$HOME/ldap --exec-prefix=$HOME/ldap --enable-shell --di
> sable-ldbm
> As you can see, I disabled the ldbm (because I want to use back-shell
> OpenLDAP runs fine when I do add, but whenever I tried to do search I got,
>   Bus Error - core dumped
> This happens immedietly after I try to search. What is happening? is it my
> fault or is it a known problem?
> Rosdi.