Bug #72489 [Opn->Fbk]: PHP Crashes When Appending Array Containing MySQLi Result Data

From: Date: Thu, 28 Jul 2016 10:53:10 +0000
Subject: Bug #72489 [Opn->Fbk]: PHP Crashes When Appending Array Containing MySQLi Result Data
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-202663@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=72489&edit=1

 ID:                 72489
 Updated by:         ab@php.net
 Reported by:        s7g2vp2 at yahoo dot co dot uk
 Summary:            PHP Crashes When Appending Array Containing MySQLi
                     Result Data
-Status:             Open
+Status:             Feedback
 Type:               Bug
 Package:            MySQLi related
 Operating System:   Windows Server 2012r2
 PHP Version:        7.0.8
 Block user comment: N
 Private report:     N

 New Comment:

Indeed, thanks for the hint. The symbols match now. Unfortunately it's still impossible to come
to the crash cause :( Though, more info for you - the particular statement used for mysqli_prepare
is

SELECT * FROM METADATA WHERE (orderid = ?) AND (orderitemid =
?) AND (section = ?) AND (orderitemcomponentid = ?)

The crash happens while preparing it. I would ask you to research the code around it to maybe
extract a reproduce snippet.

Another chance, which could possibly bring more info, were to create a dump while USE_ZEND_ALLOC=0
is set in the environment. That way the PHP memory manager is turned off, so some useful info could
be delivered from CRT.

Thanks.


Previous Comments:
------------------------------------------------------------------------
[2016-07-26 08:16:01] s7g2vp2 at yahoo dot co dot uk

Hi.

I used the build available from windows.php.net

I'm sure I took the php 7.0.8 build and added the debug pack:
php-debug-pack-7.0.8-Win32-VC14-x64.zip

------------------------------------------------------------------------
[2016-07-25 20:31:24] ab@php.net

Just came to it, thanks for sharing. I've loaded it, but it seems to be from some custom build,
so it asks me for pdb i don't have. Were it possible to repeat with some official PHP binary,
so the debug info were fetcheable as well? Or maybe, you were alternatively able to extract a
reproduce snippet?

Thanks.

------------------------------------------------------------------------
[2016-07-15 08:32:26] s7g2vp2 at yahoo dot co dot uk

Hi.

Just checking in to see if you need any additional information?

Thanks.

------------------------------------------------------------------------
[2016-07-06 14:38:39] s7g2vp2 at yahoo dot co dot uk

I've shared the file here:
https://www.dropbox.com/s/fxgve6bir4evyro/php.exe.11024.dmp.zip?dl=0

------------------------------------------------------------------------
[2016-07-03 18:43:46] ab@php.net

Yeah, you can't attach files on this tracker. Please share it some other way.

Thanks.

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=72489


--
Edit this bug report at https://bugs.php.net/bug.php?id=72489&edit=1


Thread (19 messages)

« previous php.bugs (#202663) next »