ports/127786: Segmentation fault with php unixodbc extension

Alvin Garrison agarrison at smartechcorp.net
Wed Oct 1 20:40:01 UTC 2008


>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 at 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:



More information about the freebsd-ports-bugs mailing list