Bug #51726 [Fbk->Opn]: Segmentation fault: 11 (core dumped)
| From: | l dot iania at sintrade dot org | Date: | Mon, 03 May 2010 15:06:04 +0000 |
| Subject: | Bug #51726 [Fbk->Opn]: Segmentation fault: 11 (core dumped) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-150127@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=51726&edit=1
ID: 51726
User updated by: l dot iania at sintrade dot org
Reported by: l dot iania at sintrade dot org
Summary: Segmentation fault: 11 (core dumped)
-Status: Feedback
+Status: Open
Type: Bug
Package: InterBase related
Operating System: FreeBSD 7.2 and 8.0
PHP Version: 5.3.2
New Comment:
Solved. I have compiled it outside the ports without Suhosin and now it
seems OK.
Thank you!
So I think that the FreeBSD ports tree should be updated.
Previous Comments:
------------------------------------------------------------------------
[2010-05-03 16:04:50] kalle@php.net
Could you compile PHP without Suhosin and compile with --enable-debug to
export the symbols and then post a backtrace from gdb here?
------------------------------------------------------------------------
[2010-05-03 13:20:33] l dot iania at sintrade dot org
Description:
------------
The bug appears everywhere using interbase extension, also running make
test in
the build directory, producing a core dump php.core. The valgrind output
is:
==94843== Jump to the invalid address stated on the next line
==94843== at 0x1243810: ???
==94843== by 0x375079: exit (in /lib/libc.so.7)
==94843== by 0x81FE1FE: main (in /usr/local/bin/php)
==94843== Address 0x1243810 is not stack'd, malloc'd or (recently)
free'd
Further more, running make test, the test #7 FAILS.
Firebird installed from ports is:
firebird-client-2.0.3_3 Firebird-2 database client
firebird-server-2.0.3_3 Firebird-2 relational database (server)
# php -v
PHP 5.3.2 with Suhosin-Patch (cli) (built: May 3 2010 11:02:58)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
Test script:
---------------
Every script involving interbase. i.e.
<?php
$user = 'SYSDBA';
$password = 'masterkey';
ini_set('ibase.default_user',$user);
ini_set('ibase.default_password',$password);
$dbname = '/tmp/example.fdb';
$res = ibase_connect($dbname) or die(ibase_errmsg());
ibase_close($res) or die(ibase_errmsg());
?>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=51726&edit=1