Bug #51659 [Opn]: received signal SIGSEGV php_cli.c:1373

From: Date: Mon, 26 Apr 2010 21:21:16 +0000
Subject: Bug #51659 [Opn]: received signal SIGSEGV php_cli.c:1373
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-149929@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=51659&edit=1 ID: 51659 User updated by: uni_advisor at mail dot ru Reported by: uni_advisor at mail dot ru Summary: received signal SIGSEGV php_cli.c:1373 Status: Open Type: Bug Package: InterBase related Operating System: FreeBSD 7.3 PHP Version: Irrelevant New Comment: Try compile latest snapshot php5.3-201004261830 cd php5.3-201004261830 ./configure --prefix=/usr/local/php-test --disable-all --enable-debug make make install cd ext/interbase ./configure --with-phpconfig=/usr/local/php-test/bin/php-config --with-interbase=/usr/local/firebird make make install Fiebird info: Firebird/InterBase Support => dynamic Compile-time Client Library Version => Firebird API version 21 Run-time Client Library Version => FB-V6.3.3.18185 Firebird 2.1 gdb /usr/local/php-test/bin/php set args -q test1.php (gdb) run Starting program: /usr/local/php-test/bin/php -q test1.php 1001---- 1002---- 1003---- Program received signal SIGSEGV, Segmentation fault. 0x000000080114c590 in ?? () (gdb) where #0 0x000000080114c590 in ?? () #1 0x0000000800cc6594 in __cxa_finalize () from /lib/libc.so.7 #2 0x0000000800c76ac7 in exit () from /lib/libc.so.7 #3 0x00000000006c64f6 in main (argc=3, argv=0x7fffffffeb08) at /usr/home/serg/src/php5.3-201004261830/sapi/cli/php_cli.c:1394 All manipulation before and after portsnap port update. Previous Comments: ------------------------------------------------------------------------ [2010-04-25 11:35:41] uni_advisor at mail dot ru Description: ------------ I am build Firebird-2.1.3.18185-0, install to /usr/local/firebird. Create link /usr/interbase. <?php $host = 'localhost:employee'; $username = 'SYSDBA'; $password = 'masterkey'; $dbh = ibase_connect($host, $username, $password) or die("a1"); $stmt = 'SELECT first 3 * FROM customer'; $sth = ibase_query($dbh, $stmt) or die("a2"); while ($row = ibase_fetch_row($sth)) { echo $row[0], "\n"; } ibase_free_result($sth); ibase_close($dbh); ?> Output: 1001 1002 1003 IBase functions works, but Segmentation fault at the end. gdb php core bt #0 0x0000000801649590 in ?? () #1 0x000000080120e594 in __cxa_finalize () from /lib/libc.so.7 #2 0x00000008011beac7 in exit () from /lib/libc.so.7 #3 0x0000000000607cdc in main (argc=3, argv=0x7fffffffeb10) at /usr/ports/lang/php5/work/php-5.2.12/sapi/cli/php_cli.c:1373 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=51659&edit=1

« previous php.bugs (#149929) next »