php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #62622 Faulting module iclit09b.dll on prepared statment
Submitted: 2012-07-20 18:56 UTC Modified: -
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 1 (0.0%)
From: juergen dot jakel at domino-verlag dot de Assigned:
Status: Open Package: PDO_INFORMIX (PECL)
PHP Version: Irrelevant OS: Windows XP 32Bit
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2012-07-20 18:56 UTC] juergen dot jakel at domino-verlag dot de
Description:
------------
PHP Version is 5.3.8.0

Compiled PDO_INFORMIX-1.2.7 to .dll.

Added extension to php.ini

If i try to build an execute a prepared statement apache dies an in windows errorlog iclit09b.dll is blamed for that error.

It seems that prepared statement is causing the problem.

Doing a simple ->query instead of prepare and execute works.

Test script:
---------------
$verbindungifx = new PDO("informix:host=192.168.1.50; service=simba-cs; database=dem01; server=demo_on; protocol=sesoctcp; DB_LOCALE=en_US.819; Client_Locale=en_US.819; OPTIMIZEAUTOCOMMIT=1; ENABLESCROLLABLECURSORS=1", "informix", "xxxxx");
$verbindungifx->setAttribute(PDO::ATTR_CASE,PDO::CASE_NATURAL);
$verbindungifx->setAttribute(PDO::ATTR_ERRMODE,PDO::ERRMODE_EXCEPTION);

$schulnummer=1;

$sql_schule="SELECT nummer, name1, name2, name3, strasse, plz, ort, bundeslandnr, sperrkennz, typ, telefon, telefax, werbeexschl FROM mminst WHERE nummer=:schulnummer";
$ergebnis_schule=$verbindungifx->prepare($sql_schule);
$ergebnis_schule->bindValue(':schulnummer',$schulnummer,PDO::PARAM_LOB);
$ergebnis_schule->execute();
$daten_schule=$ergebnis_schule->fetchAll();

print_r($daten_schule);

Expected result:
----------------
I expect to get the selected data.

Actual result:
--------------
The apache-process dies and in windows log i get the following error:


Ereignistyp:	Fehler
Ereignisquelle:	Application Error
Ereigniskategorie:	(100)
Ereigniskennung:	1000
Datum:		20.07.2012
Zeit:		20:25:33
Benutzer:		Nicht zutreffend
Computer:	DIVATEST
Beschreibung:
Fehlgeschlagene Anwendung httpd.exe, Version 2.2.21.0, fehlgeschlagenes Modul iclit09b.dll, Version 3.70.0.14885, Fehleradresse 0x0001b6aa.

Weitere Informationen ├╝ber die Hilfe- und Supportdienste erhalten Sie unter http://go.microsoft.com/fwlink/events.asp.
Daten:
0000: 41 70 70 6c 69 63 61 74   Applicat
0008: 69 6f 6e 20 46 61 69 6c   ion Fail
0010: 75 72 65 20 20 68 74 74   ure  htt
0018: 70 64 2e 65 78 65 20 32   pd.exe 2
0020: 2e 32 2e 32 31 2e 30 20   .2.21.0 
0028: 69 6e 20 69 63 6c 69 74   in iclit
0030: 30 39 62 2e 64 6c 6c 20   09b.dll 
0038: 33 2e 37 30 2e 30 2e 31   3.70.0.1
0040: 34 38 38 35 20 61 74 20   4885 at 
0048: 6f 66 66 73 65 74 20 30   offset 0
0050: 30 30 31 62 36 61 61      001b6aa 


Patches

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sat Oct 19 07:01:27 2019 UTC