From owner-freebsd-database Wed Aug 2 1:59:16 2000 Delivered-To: freebsd-database@freebsd.org Received: from white.imgsrc.co.jp (ns.imgsrc.co.jp [210.226.20.2]) by hub.freebsd.org (Postfix) with ESMTP id E38A737C075 for ; Wed, 2 Aug 2000 01:59:11 -0700 (PDT) (envelope-from hanai@FreeBSD.org) Received: from black.imgsrc.co.jp (black.imgsrc.co.jp [210.226.20.130]) by white.imgsrc.co.jp (8.11.0/8.11.0) with ESMTP id e728x6s68329; Wed, 2 Aug 2000 17:59:06 +0900 (JST) Received: from darkmatter.imgsrc.co.jp (darkmatter.imgsrc.co.jp [210.226.20.149]) by black.imgsrc.co.jp (8.9.3/3.7Wpl2-SPOOL) with ESMTP id RAA53575; Wed, 2 Aug 2000 17:59:06 +0900 (JST) Received: from darkmatter.imgsrc.co.jp (localhost [127.0.0.1]) by darkmatter.imgsrc.co.jp (Postfix) with ESMTP id 8ED45A0C1; Wed, 2 Aug 2000 17:59:07 +0900 (JST) Date: Wed, 02 Aug 2000 17:59:07 +0900 Message-ID: <82u2d4f38k.wl@darkmatter.imgsrc.co.jp> From: Hiroyuki Hanai To: john@brann.org Cc: reinoud@xs4all.nl, freebsd-database@FreeBSD.org Subject: Re: Sybase (freebsd client) segfaults with 4.1-RC 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> User-Agent: Wanderlust/1.1.1 (Purple Rain) SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) Emacs/20.6 (i386--freebsd) MULE/4.0 (HANANOEN) Organization: IMG SRC, Inc. MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-database@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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