From owner-freebsd-bugs@FreeBSD.ORG Wed Oct 21 10:30:03 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3BA4D1065670 for ; Wed, 21 Oct 2009 10:30:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id F353E8FC12 for ; Wed, 21 Oct 2009 10:30:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n9LAU2ka014492 for ; Wed, 21 Oct 2009 10:30:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n9LAU28U014489; Wed, 21 Oct 2009 10:30:02 GMT (envelope-from gnats) Resent-Date: Wed, 21 Oct 2009 10:30:02 GMT Resent-Message-Id: <200910211030.n9LAU28U014489@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Koichiro IWAO Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 98257106566C for ; Wed, 21 Oct 2009 10:26:59 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 87A0E8FC12 for ; Wed, 21 Oct 2009 10:26:59 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n9LAQwOa001011 for ; Wed, 21 Oct 2009 10:26:58 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n9LAQwpA001010; Wed, 21 Oct 2009 10:26:58 GMT (envelope-from nobody) Message-Id: <200910211026.n9LAQwpA001010@www.freebsd.org> Date: Wed, 21 Oct 2009 10:26:58 GMT From: Koichiro IWAO To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/139813: [lib/OpenLDAP] ldap_set_option() causes segmentation fault on amd64 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Oct 2009 10:30:03 -0000 >Number: 139813 >Category: misc >Synopsis: [lib/OpenLDAP] ldap_set_option() causes segmentation fault on amd64 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Oct 21 10:30:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Koichiro IWAO >Release: 7.2-RELEASE ¡Êamd64) >Organization: Kyushu Institute of Technology >Environment: FreeBSD kephir.club.kyutech.ac.jp 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May 8 13:14:34 UTC 2009 root@kephir.club.kyutech.ac.jp:/usr/src/sys/amd64/compile/METAKERNEL amd64 >Description: I got a segmentation fault using ldap_set_option() function, OpenLDAP library. The program is properly working on i386 architecture 7.2-RELASE but on amd64 architecture, ldap_set_option() causes segmentation fault. >How-To-Repeat: Please modify LDAP server URI and BaseDN which are hard coded in the program. Then just compile the test program, and execute it. $ gcc -g -Wall -I/usr/local/include -L/usr/local/lib -lldap auth-ldap-test.c -o auth-ldap-test $ ./auth-ldap-test user name? meta password? foobarbuzz Segmentation fault: 11 >Fix: >Release-Note: >Audit-Trail: >Unformatted: