Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Oct 2008 20:31:31 GMT
From:      Alvin Garrison <agarrison@smartechcorp.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/127786: Segmentation fault with php unixodbc extension
Message-ID:  <200810012031.m91KVV9t099298@www.freebsd.org>
Resent-Message-ID: <200810012040.m91Ke1Uu006810@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         127786
>Category:       ports
>Synopsis:       Segmentation fault with php unixodbc extension
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 01 20:40:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Alvin Garrison
>Release:        7.0-RELEASE-p4 amd64
>Organization:
Smartech Corp
>Environment:
FreeBSD gdev.smartechcorp.net 7.0-RELEASE-p4 FreeBSD 7.0-RELEASE-p4 #0: Wed Oct  1 12:55:15 EDT 2008     root@gdev.smartechcorp.net:/usr/obj/usr/src/sys/MPROXY  amd64
>Description:
If you install the php5-extension port with the ODBC option checked then every time you run php it does a segmentation fault/core dump like below
gdev# php -v
PHP 5.2.6 with Suhosin-Patch 0.9.6.2 (cli) (built: Oct  1 2008 14:13:43)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
Segmentation fault (core dumped)

We have run across this issue with several machines.
>How-To-Repeat:
Simply install the php5-extension with odbc checked/enabled
>Fix:
Simply commenting out the odbc extension in the extenstions.ini file fixes the issue in that you no longer get a segmentation fault, but you cannot use unixodbc with php now.

>Release-Note:
>Audit-Trail:
>Unformatted:



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