Bug #70877 [NEW]: Segmentation fault with SQLite and Doctrine DBAL 2.4
From: saschaprolic at googlemail dot com
Operating system: Ubuntu 15.10
PHP version: 7.0.0RC6
Package: PDO SQLite
Bug Type: Bug
Bug description:Segmentation fault with SQLite and Doctrine DBAL 2.4
Description:
------------
As for now I cannot point to the exact problem, but I can show you how
to reproduce it.
Using Doctrine DBAL 2.4 (no problem with 2.5, though) an the
query-builder I get a segmentation fault using pdo_sqlite backend (I
didn't test other backends so far).
See also failing travis builds here:
https://travis-ci.org/prooph/snapshot-doctrine-adapter/builds/89525669
This segmentation fault occurs always on travis and I verified it on my
local machine using PHP 7.0.0 RC6 on Ubuntu 15.10.
Test script:
---------------
$queryBuilder
->delete('some_table')
->where('aggregate_type = :aggregate_type')
->andWhere('aggregate_id = :aggregate_id')
->andWhere('last_version < :last_version')
->setParameter('aggregate_type', 'testType')
->setParameter('aggregate_id', 'someId')
->setParameter('last_version', 1);
$queryBuilder->getSql();
--
Edit bug report at https://bugs.php.net/bug.php?id=70877&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=70877&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=70877&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=70877&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=70877&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=70877&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=70877&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=70877&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=70877&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=70877&r=support
Expected behavior: https://bugs.php.net/fix.php?id=70877&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=70877&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=70877&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=70877&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=70877&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=70877&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=70877&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=70877&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=70877&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=70877&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=70877&r=mysqlcfg
Thread (7 messages)
- saschaprolic at googlemail dot com