Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Aug 2000 17:59:07 +0900
From:      Hiroyuki Hanai <hanai@FreeBSD.org>
To:        john@brann.org
Cc:        reinoud@xs4all.nl, freebsd-database@FreeBSD.org
Subject:   Re: Sybase (freebsd client) segfaults with 4.1-RC
Message-ID:  <82u2d4f38k.wl@darkmatter.imgsrc.co.jp>
In-Reply-To: In your message of "28 Jul 2000 13:53:02 GMT" <20000728093031.A1813@freebie.brann.org>
References:  <20000727160727.A47289@freebie.brann.org> <3980d5af.323171@smtp.xs4all.nl> <20000728093031.A1813@freebie.brann.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi guys,

> > >Unfortunately, all the programs segfault in the ct_connect call, either
> > >coded directly in the ctlib examples, or in the generated code in the
> > >esqlc cases.
> > >
> > >$>uname -r
> > >4.1-RC
> > >
> > >Any ideas?
> > 
> > No. I was already planning to look into 4.1 (RELEASE)  asap. I will
> > get back to you once I have a result...
> 
> Oh well.  Thanks anyway.
> 
> FYI I am able to create this problem with both the static and shared versions
> of the Sybase libraries.

I also experienced the same problem with DBD-Sybase.
I've investigated around and gotten the following results;

The problem always occurs when we use any program which
is linked with the FreeBSD native version of open client library on
FreeBSD 4-stable or 5-current. However, this problem occurs only when
a server and a client is on the same host.

A client on FreeBSD 4-stable or 5-current can connect to the ASE
server on any different host such as 3.4-RELEASE, 4-stable, 5-current
and even Linux or Solaris with no error.

On FreeBSD 3.4-RELEASE, there is no problem.

It's very funny.

I've being debugging using gdb and devlib, which is included in
sybase-ocsd-10_0_4-FreeBSD-6_i386.tgz, but I've not be able to get any
useful information so far.
The problem may be in FreeBSD not the Sybase library?

In summary, we should run a client on the different host from that a
server is running on if we want to use FreeBSD 4 or 5.

Does anyone has any other experiences or knowledge about this problem?

Hiro Hanai


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-database" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?82u2d4f38k.wl>