Bug #70877 [Opn->Fbk]: Segmentation fault with SQLite and Doctrine DBAL 2.4

From: Date: Sun, 08 Nov 2015 03:04:00 +0000
Subject: Bug #70877 [Opn->Fbk]: Segmentation fault with SQLite and Doctrine DBAL 2.4
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-197107@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=70877&edit=1

 ID:                 70877
 Updated by:         laruence@php.net
 Reported by:        saschaprolic at googlemail dot com
 Summary:            Segmentation fault with SQLite and Doctrine DBAL 2.4
-Status:             Open
+Status:             Feedback
 Type:               Bug
 Package:            PDO SQLite
 Operating System:   Ubuntu 15.10
 PHP Version:        7.0.0RC6
 Block user comment: N
 Private report:     N

 New Comment:

Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php
for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php
for Win32

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.




Previous Comments:
------------------------------------------------------------------------
[2015-11-07 21:27:34] saschaprolic at googlemail dot com

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 this bug report at https://bugs.php.net/bug.php?id=70877&edit=1


Thread (7 messages)

« previous php.bugs (#197107) next »