From owner-freebsd-bugs Wed Dec 12 1:20: 5 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 05D5037B416 for ; Wed, 12 Dec 2001 01:20:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id fBC9K1F38381; Wed, 12 Dec 2001 01:20:01 -0800 (PST) (envelope-from gnats) Date: Wed, 12 Dec 2001 01:20:01 -0800 (PST) Message-Id: <200112120920.fBC9K1F38381@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Sheldon Hearn Subject: Re: kern/32741: Getting segmentation fault in connect system call Reply-To: Sheldon Hearn Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR kern/32741; it has been noted by GNATS. From: Sheldon Hearn To: "Lokendra Kr. Verma" Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: kern/32741: Getting segmentation fault in connect system call Date: Wed, 12 Dec 2001 11:11:00 +0200 On Wed, 12 Dec 2001 00:59:03 PST, "Lokendra Kr. Verma" wrote: > >Description: > Sir, i m using freeBSD version 4.3. > I m making .so library of my application. This application establish > socket connection with remote machines. My problem is that when i link > this .so library with my main program and call the function of .so > library , i get segmentation fault on connect and inet_pton system > calls. Since you're skilled enough to be building libraries and stuff, can't you build your module with debugging symbols and use the debugger to analyze your core dump? Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message