Public bug reported: Binary package hint: php5-interbase
Description: Ubuntu 8.04 Release: 8.04 php5-interbase: Geïnstalleerd: 5.2.5-0ubuntu1 Kandidaat: 5.2.5-0ubuntu1 Versietabel: *** 5.2.5-0ubuntu1 0 500 http://nl.archive.ubuntu.com hardy/universe Packages 100 /var/lib/dpkg/status Running the following script in php5 (in cli or from apache2) with php5-interbase extension loaded, consistently triggers a segfault. <?php $host = '/path/to/your/database.fdb'; $user = 'sysdba'; $pass = 'masterkey'; $dbh = ibase_connect($host, $user, $pass); $sql = 'SELECT * FROM SOMETABLE WHERE SOMEKEY = ?'; // only one parameter $sth = ibase_query($dbh, $sql, $user, $pass); // too many parameters given while ($row = ibase_fetch_assoc($sth)) { print $row; } ibase_free_result($sth); ibase_close($dbh); ?> Note that you need to adjust $host and $sql to meaningful values for your environment. I see the following error messages in /var/log/messages: Apr 30 21:22:51 arno kernel: [192039.261209] php[31511]: segfault at 00000008 eip b77669bc esp bfae9c90 error 4 Apr 30 21:23:15 arno kernel: [192063.399181] fb_lock_mgr[31081]: segfault at 00002d46 eip 0804dabc esp bfcc9180 error 4 Apr 30 21:24:13 arno kernel: [192121.052755] php[31548]: segfault at 00000008 eip b7ed69bc esp bfae5a40 error 4 Apr 30 21:24:55 arno kernel: [192163.208674] php[31572]: segfault at 00000008 eip b7ed79bc esp bf8de040 error 4 Apr 30 21:25:31 arno kernel: [192199.693415] php[32040]: segfault at 00000008 eip b7f539bc esp bffabf10 error 4 Apr 30 21:29:13 arno kernel: [192420.872480] fb_lock_mgr[31552]: segfault at 00002d46 eip 0804dabc esp bfd59a10 error 4 ** Affects: php-interbase (Ubuntu) Importance: Undecided Status: New -- ibase_query causes segfault https://bugs.launchpad.net/bugs/224892 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs