php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #52957 Segfault in PDO_OCI on a large testsuite inside prepare Stmt
Submitted: 2010-09-29 23:33 UTC Modified: 2014-01-01 12:47 UTC
Votes:2
Avg. Score:3.5 ± 0.5
Reproduced:2 of 2 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: kontakt at beberlei dot de Assigned:
Status: Open Package: PDO OCI
PHP Version: 5.3.3 OS: Ubuntu
Private report: No CVE-ID:
Have you experienced this issue?
Rate the importance of this bug to you:

 [2010-09-29 23:33 UTC] kontakt at beberlei dot de
Description:
------------
I tried very hard to reproduce this in a simple phpt but i couldn't. This segfault happens on Ubuntu + PHP 5.3.3 + Oracle 10.1 running the Doctrine 2 testsuite with the PDO_OCI Driver.

Doctrine 2 uses mostly $stmt->bindValue() always with the PDO::PARAM_* constants and an unqualified execute(). The segfault is produced by this SQL query:

    $stmt = $dbh->prepare("SELECT t1.id AS ID2, t1.name AS NAME3, t0.salary AS SALARY4, t0.department AS DEPARTMENT5, t1.spouse_id AS spouse_id6, t1.discr, t7.title AS TITLE8, t7.car_id AS car_id9 FROM company_employees t0 INNER JOIN company_persons t1 ON t0.id = t1.id LEFT JOIN company_managers t7 ON t0.id = t7.id WHERE t1.id = ?");
    $stmt->bindValue(1, "1", PDO::PARAM_INT);
    $stmt->execute();

Here is the GDB Backtrace and Memory Dump:

Program received signal SIGSEGV, Segmentation fault.
0x019a1138 in slrac () from /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib/libclntsh.so.10.1
(gdb) bt
#0  0x019a1138 in slrac () from /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib/libclntsh.so.10.1
#1  0x0195a7c2 in ?? () from /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib/libclntsh.so.10.1
#2  0x0197883e in ?? () from /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib/libclntsh.so.10.1
#3  0x01979237 in ?? () from /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib/libclntsh.so.10.1
#4  0x0195b163 in ?? () from /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib/libclntsh.so.10.1
#5  0x0196fc03 in kghfrempty () from /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib/libclntsh.so.10.1
#6  0x019645cd in ?? () from /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib/libclntsh.so.10.1
#7  0x01966a0c in ?? () from /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib/libclntsh.so.10.1
#8  0x019686b2 in kghalo () from /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib/libclntsh.so.10.1
#9  0x01964261 in ?? () from /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib/libclntsh.so.10.1
#10 0x01966a0c in ?? () from /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib/libclntsh.so.10.1
#11 0x0196755b in ?? () from /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib/libclntsh.so.10.1
#12 0x01969a60 in kghalp () from /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib/libclntsh.so.10.1
#13 0x01547b9f in kpuhhalpuc () from /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib/libclntsh.so.10.1
#14 0x01553ade in kpuexAllocPrefMem () from /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib/libclntsh.so.10.1
#15 0x01554935 in kpuexInitStmh () from /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib/libclntsh.so.10.1
#16 0x01554de5 in kpuexCallback () from /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib/libclntsh.so.10.1
#17 0x018d6508 in ttcdrv () from /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib/libclntsh.so.10.1
#18 0x017bd7d0 in nioqwa () from /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib/libclntsh.so.10.1
#19 0x0162aa3c in upirtrc () from /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib/libclntsh.so.10.1
#20 0x015a04e2 in kpurcsc () from /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib/libclntsh.so.10.1
#21 0x01555eef in kpuexecv8 () from /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib/libclntsh.so.10.1
#22 0x0155847f in kpuexec () from /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib/libclntsh.so.10.1
#23 0x0162f58a in OCIStmtExecute () from /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib/libclntsh.so.10.1
#24 0x02410b92 in oci_stmt_execute (stmt=0x0) at /home/benny/downloads/php-5.3.3/ext/pdo_oci/oci_statement.c:144
#25 0x023f18ba in zim_PDOStatement_execute (ht=1, return_value=0xaba168c, return_value_ptr=0x0, this_ptr=0xaba15e8, return_value_used=0)
    at /home/benny/downloads/php-5.3.3/ext/pdo/pdo_stmt.c:508
#26 0x0837b26e in execute_internal (execute_data_ptr=0x8ac9e7c, return_value_used=0) at /home/benny/downloads/php-5.3.3/Zend/zend_execute.c:1261
#27 0x01304d04 in xdebug_execute_internal (current_execute_data=0x8ac9e7c, return_value_used=0) at /tmp/pear/temp/xdebug/xdebug.c:1339
#28 0x083a1983 in zend_do_fcall_common_helper_SPEC (execute_data=0x8ac9e7c) at /home/benny/downloads/php-5.3.3/Zend/zend_vm_execute.h:318
#29 0x0837d696 in execute (op_array=0x9d56388) at /home/benny/downloads/php-5.3.3/Zend/zend_vm_execute.h:107
#30 0x013049b3 in xdebug_execute (op_array=0x9d56388) at /tmp/pear/temp/xdebug/xdebug.c:1272
#31 0x083a16cb in zend_do_fcall_common_helper_SPEC (execute_data=0x8ac9ca4) at /home/benny/downloads/php-5.3.3/Zend/zend_vm_execute.h:340
#32 0x0837d696 in execute (op_array=0xabc49a4) at /home/benny/downloads/php-5.3.3/Zend/zend_vm_execute.h:107

***** Internal heap ERROR kghfrempty:ds addr=0xa931de0 ds=0x8a4ac68 *****

***** Dump of memory around addr 0xa931de0: 
A930DE0 00000000 00000000 00000000 00000000  [................]
        Repeat 63 times
A9311E0 00000000 00021200 00000000 00000000  [................]
A9311F0 00000000 01000000 00000000 00000000  [................]
A931200 00000000 00000000 00000000 00000000  [................]
A931210 00000000 00000000 00000003 000B000A  [................]
A931220 00000000 0A931224 0A931224 0A931DC0  [....$...$.......]
A931230 08A5DADC 00000000 0A931238 0A931238  [........8...8...]
A931240 00000000 00000000 00000000 00000000  [................]
        Repeat 4 times
A931290 C0000325 0A930DB8 08A4AF68 08A5AB78  [%.......h...x...]
A9312A0 00000000 00000000 00000000 00000000  [................]
        Repeat 48 times
A9315B0 00000000 10000821 0A931290 08A4AF14  [....!...........]
A9315C0 08A5DE6C 08A5DA3C 1000080D 00000000  [l...<...........]
A9315D0 020AAFC0 84000802 00000000 08A5DE5C  [............\...]
A9315E0 08A5DA5C 08A5DEF8 B000089E 00000000  [\...............]
A9315F0 08A5E0FC 08A5E0FC 00000000 00000000  [................]
A931600 00000000 00000000 00000000 00000000  [................]
        Repeat 83 times
A931B40 00000000 B0000082 0A9315E8 02087438  [............8t..]
A931B50 000A12CD 01006600 00080C02 00000100  [.....f..........]
A931B60 00000100 B0000092 0A9315E8 02087438  [............8t..]
A931B70 000A12CD 01007700 00080C02 00000100  [.....w..........]
A931B80 00000100 25CA0300 C36C0100 C06C0100  [.......%..l...l.]
A931B90 03000300 0100B200 3A383A4F 64747322  [........O:8:"std]
A931BA0 73616C43 00000000 02CF5900 00000000  [Clas.....Y......]
A931BB0 00000000 00000000 00000000 00000000  [................]
A931BC0 C06C0100 8AA74000 23000100 00000009  [..l..@.....#....]
A931BD0 13000000 00000000 3A4F0100 73223A38  [..........O:8:"s]
A931BE0 6C436474 22737361 7B3A303A 0000007D  [tdClass":0:{}...]
A931BF0 00000000 B00000F2 0A9315E8 0A931BFC  [................]
A931C00 0A931BFC 01006600 00080C02 00000100  [.....f..........]
A931C10 00000100 24CA0300 C16C0100 C06C0100  [.......$..l...l.]
A931C20 02000200 0100B200 00003B4E 00000000  [........N;......]
A931C30 4CF21518 00000000 02CF5900 00000000  [...L.....Y......]
A931C40 00000000 00000000 00000000 00000000  [................]
A931C50 C06C0100 8AA74000 12000100 00000009  [..l..@..........]
A931C60 02000000 00000000 3B4E0100 00000000  [..........N;....]
A931C70 00000000 B0000072 0A931BF4 0A931C7C  [....r.......|...]
A931C80 0A931C7C 00005400 00000000 00000000  [|....T..........]
A931C90 00000000 00000000 00000000 00000000  [................]
        Repeat 4 times
A931CE0 00000000 B0000032 0A9315E8 02020EA0  [....2...........]
A931CF0 000A12CD 0000003D 0000000A 00000079  [....=.......y...]
A931D00 08A46E68 B0000082 0A9315E8 02087438  [hn..........8t..]
A931D10 000A12CD 01006800 00080C02 00000100  [.....h..........]
A931D20 00000100 27CA0300 D26C0100 D16C0100  [.......'..l...l.]
A931D30 03000300 0100B200 32666564 00000000  [........def2....]
A931D40 00000000 00000000 20D05900 00000000  [.........Y. ....]
A931D50 00000000 00000000 00000000 00000000  [................]
A931D60 D16C0100 FAA74000 14000100 00000009  [..l..@..........]
A931D70 04000000 00000000 65640100 00003266  [..........def2..]
A931D80 00000000 B0000082 0A9315E8 02087438  [............8t..]
A931D90 000A12CD 01006800 00080C02 00000100  [.....h..........]
A931DA0 00000100 27CA0300 D26C0100 D16C0100  [.......'..l...l.]
A931DB0 03000300 0100B200 32666564 00000000  [........def2....]
A931DC0 00000000 00000000 20D05900 00000000  [.........Y. ....]
A931DD0 00000000 00000000 00000000 00000000  [................]
A931DE0 D16C0100 FAA74000 14000100 00000009  [..l..@..........]
A931DF0 04000000 00000000 65640100 00003266  [..........def2..]
A931E00 00000000 00000000 0A9315E8 00000031  [............1...]
A931E10 C0000059 0A931DFC 08A5F170 08A5F170  [Y.......p...p...]
A931E20 00000000 00000000 00000000 00000000  [................]
        Repeat 3 times
A931E60 00000000 00000000 2000022D 0A931E10  [........-.. ....]
A931E70 00000000 00000000 0000008C 0000048C  [................]
A931E80 0000068C 0000068C 00000000 00000000  [................]
A931E90 08A46EB8 0C820060 00000008 004100EB  [.n..`.........A.]
A931EA0 00010041 00000001 00000000 00000000  [A...............]
A931EB0 00B400B4 00B40000 00000041 00020001  [........A.......]
A931EC0 02020200 2A142A00 2E003A24 2E002C00  [.....*.*$:...,..]
A931ED0 2C002C00 00000000 00000000 00000000  [.,.,............]
A931EE0 00000000 00000000 00000000 00000000  [................]
A931EF0 00000000 00000000 00000000 00002400  [.............$..]
A931F00 00000000 00000000 00000024 00000000  [........$.......]
A931F10 2D000000 00000000 00000000 00000000  [...-............]
A931F20 00000000 59000000 59005900 2D005900  [.......Y.Y.Y.Y.-]
A931F30 4D004D00 44002D00 20004400 48004800  [.M.M.-.D.D. .H.H]
A931F40 34003200 4D003A00 3A004900 53005300  [.2.4.:.M.I.:.S.S]
A931F50 00000000 00000000 00000000 00000000  [................]
A931F60 48000000 32004800 3A003400 49004D00  [...H.H.2.4.:.M.I]
A931F70 53003A00 00005300 00000000 00000000  [.:.S.S..........]
A931F80 00000000 00000000 00000000 00000000  [................]
A931F90 59000000 59005900 2D005900 4D004D00  [...Y.Y.Y.Y.-.M.M]
A931FA0 44002D00 20004400 48004800 34003200  [.-.D.D. .H.H.2.4]
A931FB0 4D003A00 3A004900 53005300 00000000  [.:.M.I.:.S.S....]
A931FC0 00000000 00000000 00000000 00000000  [................]
        Repeat 1 times
A931FE0 48000000 2E004800 49004D00 53002E00  [...H.H...M.I...S]
A931FF0 58005300 46004600 41002000 20004D00  [.S.X.F.F. .A.M. ]
A932000 5A005400 00005200 00000000 00000000  [.T.Z.R..........]
A932010 00000000 00000000 00000000 00000000  [................]
A932020 00000000 59000000 59005900 2D005900  [.......Y.Y.Y.Y.-]
A932030 4D004D00 44002D00 20004400 48004800  [.M.M.-.D.D. .H.H]
A932040 34003200 4D003A00 3A004900 53005300  [.2.4.:.M.I.:.S.S]
A932050 54002000 48005A00 54003A00 4D005A00  [. .T.Z.H.:.T.Z.M]
A932060 00000000 00000000 00000000 00000000  [................]
        Repeat 2 times
A932090 00000000 200001A9 0A931E68 00000000  [....... h.......]
A9320A0 00000000 00000000 00000000 00000000  [................]
        Repeat 24 times
A932230 00000000 00000000 00000000 2000050D  [............... ]
A932240 0A932094 00000000 00000000 043F180A  [. ............?.]
A932250 3F18112D 18162D04 1820023F 3A043F18  [-..?.-..?. ..?.:]
A932260 043F181A 00181B3A 00000010 00000000  [..?.:...........]
A932270 00000000 00000000 00000000 00000000  [................]
        Repeat 12 times
A932340 00000000 00000000 18000000 3A043F18  [.............?.:]
A932350 043F181A 00181B3A 3F182E10 18222002  [..?.:......?. ".]
A932360 00001000 00000000 00000000 00000000  [................]
A932370 00000000 00000000 00000000 00000000  [................]
        Repeat 12 times
A932440 00000000 00000000 18190000 1A2E043F  [............?...]
A932450 2E043F18 1833181B 023F182E 3F182220  [.?....3...?. ".?]
A932460 18322002 00001000 00000000 00000000  [. 2.............]
A932470 00000000 00000000 00000000 00000000  [................]
        Repeat 12 times
A932540 00000000 00000000 3F180A00 18112D04  [...........?.-..]
A932550 162D043F 20023F18 043F1818 3F181A3A  [?.-..?. ..?.:..?]
A932560 181B3A04 182E1000 2220023F 00100018  [.:......?. "....]
A932570 00000000 00000000 00000000 00000000  [................]
        Repeat 12 times
A932640 00000000 00000000 043F180A 3F18112D  [..........?.-..?]
A932650 18162D04 1820023F 3A043F18 043F181A  [.-..?. ..?.:..?.]
A932660 3F181B3A 182F2002 303A043F 32100018  [:..?. /.?.:0...2]
A932670 00100018 00000000 00000000 00000000  [................]
A932680 00000000 00000000 00000000 00000000  [................]
        Repeat 11 times
A932740 00000000 00000000 2000022D 0A93223C  [........-.. <"..]
A932750 00000000 00000000 0000008C 0000028C  [................]
A932760 0000038C 0000068C 00000000 00000000  [................]
A932770 08A46EB8 02820650 00000008 004100D3  [.n..P.........A.]
A932780 00010041 00000001 00000000 00000000  [A...............]
A932790 00B400B4 00B40000 00000041 00010001  [........A.......]
A9327A0 01010100 150A1500 2C2E1D12 2C2E0000  [...........,...,]
A9327B0 002C0000 00000000 00000000 00000000  [..,.............]
A9327C0 00000000 00000000 00000000 00000000  [................]
A9327D0 00000000 00000000 00000000 00000024  [............$...]
A9327E0 00000000 24000000 00000000 00000000  [.......$........]
A9327F0 002D0000 00000000 00000000 00000000  [..-.............]
A932800 00000000 59590000 4D2D5959 44442D4D  [......YYYY-MM-DD]
A932810 32484820 494D3A34 0053533A 00000000  [ HH24:MI:SS.....]
A932820 00000000 00000000 00000000 00000000  [................]
        Repeat 1 times
A932840 48480000 4D3A3432 53533A49 00000000  [..HH24:MI:SS....]
A932850 00000000 00000000 00000000 00000000  [................]
        Repeat 1 times
A932870 59590000 4D2D5959 44442D4D 32484820  [..YYYY-MM-DD HH2]
A932880 494D3A34 0053533A 00000000 00000000  [4:MI:SS.........]
A932890 00000000 00000000 00000000 00000000  [................]
        Repeat 2 times
A9328C0 48480000 2E494D2E 46585353 4D412046  [..HH.MI.SSXFF AM]
A9328D0 525A5420 00000000 00000000 00000000  [ TZR............]
A9328E0 00000000 00000000 00000000 00000000  [................]
        Repeat 1 times
A932900 00000000 59590000 4D2D5959 44442D4D  [......YYYY-MM-DD]
A932910 32484820 494D3A34 2053533A 3A485A54  [ HH24:MI:SS TZH:]
A932920 004D5A54 00000000 00000000 00000000  [TZM.............]
A932930 00000000 00000000 00000000 00000000  [................]
        Repeat 3 times
A932970 00000000 2000022D 0A932748 00000000  [....-.. H'......]
A932980 00000000 0000008C 0000028C 0000038C  [................]
A932990 0000068C 00000000 00000000 08A46EB8  [.............n..]
A9329A0 02820670 00000008 004100B4 00010041  [p.........A.A...]
A9329B0 00000001 00000000 00000000 00B400B4  [................]
A9329C0 00B40000 00000041 00010001 01010100  [....A...........]
A9329D0 150A1500 2C2E1D12 2C2E0000 002C0000  [.......,...,..,.]
A9329E0 00000000 00000000 00000000 00000000  [................]
        Repeat 1 times
A932A00 00000000 00000000 00000024 00000000  [........$.......]
A932A10 24000000 00000000 00000000 002D0000  [...$..........-.]
A932A20 00000000 00000000 00000000 00000000  [................]
A932A30 59590000 4D2D5959 44442D4D 32484820  [..YYYY-MM-DD HH2]
A932A40 494D3A34 0053533A 00000000 00000000  [4:MI:SS.........]
A932A50 00000000 00000000 00000000 00000000  [................]
A932A60 00000000 00000000 00000000 48480000  [..............HH]
A932A70 4D3A3432 53533A49 00000000 00000000  [24:MI:SS........]
A932A80 00000000 00000000 00000000 00000000  [................]
A932A90 00000000 00000000 00000000 59590000  [..............YY]
A932AA0 4D2D5959 44442D4D 32484820 494D3A34  [YY-MM-DD HH24:MI]
A932AB0 0053533A 00000000 00000000 00000000  [:SS.............]
A932AC0 00000000 00000000 00000000 00000000  [................]
        Repeat 1 times
A932AE0 00000000 00000000 00000000 48480000  [..............HH]
A932AF0 2E494D2E 46585353 4D412046 525A5420  [.MI.SSXFF AM TZR]
A932B00 00000000 00000000 00000000 00000000  [................]
        Repeat 2 times
A932B30 59590000 4D2D5959 44442D4D 32484820  [..YYYY-MM-DD HH2]
A932B40 494D3A34 2053533A 3A485A54 004D5A54  [4:MI:SS TZH:TZM.]
A932B50 00000000 00000000 00000000 00000000  [................]
        Repeat 4 times
A932BA0 20000015 0A932974 00000000 00000000  [... t)..........]
A932BB0 00004558 20000015 0A932BA0 00000000  [XE..... .+......]
A932BC0 00000000 00004558 20000015 0A932BB4  [....XE..... .+..]
A932BD0 00000000 00000000 00003033 D0000229  [........30..)...]
A932BE0 0A932BC8 08A5F188 08A5F188 35304131  [.+..........1A05]
A932BF0 46333945 34423746 34313630 32384144  [E93FF7B40614DA82]
A932C00 41303636 30394333 39383944 39414333  [660A3C90D9893CA9]
A932C10 37383230 41424231 36303931 37414343  [02871BBA1906CCA7]
A932C20 31464533 34443144 43394232 37463732  [3EF1D1D42B9C27F7]
A932C30 43343233 34363032 46393836 31313645  [324C2064689FE611]
A932C40 39333932 34334236 32353735 D00001B9  [29396B345752....]
A932C50 0A932BDC 08A5F17C 08A5F17C 48545541  [.+..|...|...AUTH]
A932C60 5256535F 5345525F 534E4F50 00000045  [_SVR_RESPONSE...]
A932C70 D0000195 0A932C4C 08A5F17C 08A5F17C  [....L,..|...|...]
A932C80 4D2D4444 522D4E4F 48482052 2E494D2E  [DD-MON-RR HH.MI.]
A932C90 46585353 4D412046 525A5420 D0000169  [SSXFF AM TZRi...]
A932CA0 0A932C70 08A5F17C 08A5F17C 48545541  [p,..|...|...AUTH]
A932CB0 534C4E5F 43584C5F 4E5A5453 00004D46  [_NLS_LXCSTZNFM..]
A932CC0 D0000145 0A932C9C 08A5F17C 08A5F17C  [E....,..|...|...]
A932CD0 4D2E4848 53532E49 20464658 54204D41  [HH.MI.SSXFF AM T]
A932CE0 0000525A D0000121 0A932CC0 08A5F17C  [ZR..!....,..|...]
A932CF0 08A5F17C 48545541 534C4E5F 43584C5F  [|...AUTH_NLS_LXC]
A932D00 4E5A5454 00004D46 D00000FD 0A932CE4  [TTZNFM.......,..]
A932D10 08A5F170 08A5F170 4D2D4444 522D4E4F  [p...p...DD-MON-R]
A932D20 48482052 2E494D2E 46585353 4D412046  [R HH.MI.SSXFF AM]
A932D30 D00000D5 0A932D08 08A5F170 08A5F170  [.....-..p...p...]
A932D40 48545541 534C4E5F 43584C5F 504D5453  [AUTH_NLS_LXCSTMP]
A932D50 00004D46 D00000B1 0A932D30 08A5F170  [FM......0-..p...]
A932D60 08A5F170 4D2E4848 53532E49 20464658  [p...HH.MI.SSXFF ]
A932D70 00004D41 D0000091 0A932D54 08A5F170  [AM......T-..p...]
A932D80 08A5F170 48545541 534C4E5F 43584C5F  [p...AUTH_NLS_LXC]
A932D90 454D4954 00004D46 D000006D 0A932D74  [TIMEFM..m...t-..]
A932DA0 08A5F170 08A5F170 48545541 534C4E5F  [p...p...AUTH_NLS]
A932DB0 43584C5F 4F494E55 5255434E 00000000  [_LXCUNIONCUR....]
A932DC0 D0000045 0A932D98 08A5F170 08A5F170  [E....-..p...p...]
A932DD0 47455247 4149524F 0000004E D0000029  [GREGORIAN...)...]

******************************************************
HEAP DUMP heap name="Alloc environm"  desc=0x8a4ac68
 extent sz=0x1024 alt=32767 het=32767 rec=0 flg=3 opc=2
 parent=0x8a4ad0c owner=(nil) nex=(nil) xsz=0x1038


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-09-30 00:34 UTC] kontakt at beberlei dot de
New backtrace with Oracle Instaclient 11.2.0.1:

OCI-21500: internal error code, arguments: [kghfrempty:ds], [0xA1666DC], [], [], [], [], [], []

Program received signal SIGSEGV, Segmentation fault.
0x02a1f4cc in slaac_int () from /home/benny/downloads/oracle-instaclient/instantclient_11_2/libclntsh.so.11.1
(gdb) bt
#0  0x02a1f4cc in slaac_int () from /home/benny/downloads/oracle-instaclient/instantclient_11_2/libclntsh.so.11.1
#1  0x02a1f406 in slrac () from /home/benny/downloads/oracle-instaclient/instantclient_11_2/libclntsh.so.11.1
#2  0x0386ecaf in sskgds_plt_adjust () from /home/benny/downloads/oracle-instaclient/instantclient_11_2/libclntsh.so.11.1
#3  0x0386ed69 in sskgds_find_rtn_hdr () from /home/benny/downloads/oracle-instaclient/instantclient_11_2/libclntsh.so.11.1
#4  0x038650ce in skgdstpcs () from /home/benny/downloads/oracle-instaclient/instantclient_11_2/libclntsh.so.11.1
#5  0x03619435 in kgdsdst () from /home/benny/downloads/oracle-instaclient/instantclient_11_2/libclntsh.so.11.1
#6  0x030e7b6e in skgudmp () from /home/benny/downloads/oracle-instaclient/instantclient_11_2/libclntsh.so.11.1
#7  0x035e4540 in kgerinv_internal () from /home/benny/downloads/oracle-instaclient/instantclient_11_2/libclntsh.so.11.1
#8  0x035e44cb in kgerinv () from /home/benny/downloads/oracle-instaclient/instantclient_11_2/libclntsh.so.11.1
#9  0x035e6493 in kgerin () from /home/benny/downloads/oracle-instaclient/instantclient_11_2/libclntsh.so.11.1
#10 0x035cc378 in kghnerror () from /home/benny/downloads/oracle-instaclient/instantclient_11_2/libclntsh.so.11.1
#11 0x03de0d98 in kghfrempty () from /home/benny/downloads/oracle-instaclient/instantclient_11_2/libclntsh.so.11.1
#12 0x03dde7af in kghgex () from /home/benny/downloads/oracle-instaclient/instantclient_11_2/libclntsh.so.11.1
#13 0x03ddfcc0 in kghfnd () from /home/benny/downloads/oracle-instaclient/instantclient_11_2/libclntsh.so.11.1
#14 0x03ddeb33 in kghalo () from /home/benny/downloads/oracle-instaclient/instantclient_11_2/libclntsh.so.11.1
#15 0x03dde3c4 in kghgex () from /home/benny/downloads/oracle-instaclient/instantclient_11_2/libclntsh.so.11.1
#16 0x03ddfcc0 in kghfnd () from /home/benny/downloads/oracle-instaclient/instantclient_11_2/libclntsh.so.11.1
#17 0x03dd9e65 in kghprmalo () from /home/benny/downloads/oracle-instaclient/instantclient_11_2/libclntsh.so.11.1
#18 0x03dd9637 in kghalp () from /home/benny/downloads/oracle-instaclient/instantclient_11_2/libclntsh.so.11.1
#19 0x0260e7fa in kpuhhalpuc () from /home/benny/downloads/oracle-instaclient/instantclient_11_2/libclntsh.so.11.1
#20 0x026509b4 in kpuexAllocPrefMem () from /home/benny/downloads/oracle-instaclient/instantclient_11_2/libclntsh.so.11.1
#21 0x026501c5 in kpuexInitStmh () from /home/benny/downloads/oracle-instaclient/instantclient_11_2/libclntsh.so.11.1
#22 0x0264ef18 in kpuexCallback () from /home/benny/downloads/oracle-instaclient/instantclient_11_2/libclntsh.so.11.1
#23 0x03da2e23 in ttcdrv () from /home/benny/downloads/oracle-instaclient/instantclient_11_2/libclntsh.so.11.1
#24 0x03d5d3b8 in nioqwa () from /home/benny/downloads/oracle-instaclient/instantclient_11_2/libclntsh.so.11.1
#25 0x03d481e5 in upirtrc () from /home/benny/downloads/oracle-instaclient/instantclient_11_2/libclntsh.so.11.1
#26 0x03d52a60 in kpurcsc () from /home/benny/downloads/oracle-instaclient/instantclient_11_2/libclntsh.so.11.1
#27 0x03d4cbe5 in kpuexec () from /home/benny/downloads/oracle-instaclient/instantclient_11_2/libclntsh.so.11.1
#28 0x03d48bbe in OCIStmtExecute () from /home/benny/downloads/oracle-instaclient/instantclient_11_2/libclntsh.so.11.1
#29 0x023deb92 in oci_stmt_execute (stmt=0xa826ec0) at /home/benny/downloads/php-5.3.3/ext/pdo_oci/oci_statement.c:144
#30 0x023bf8ba in zim_PDOStatement_execute (ht=1, return_value=0xa827f50, return_value_ptr=0x0, this_ptr=0xa837d0c, return_value_used=0) at /home/benny/downloads/php-5.3.3/ext/pdo/pdo_stmt.c:508
#31 0x0839c721 in zend_do_fcall_common_helper_SPEC (execute_data=0x8b1d590) at /home/benny/downloads/php-5.3.3/Zend/zend_vm_execute.h:316
#32 0x08378246 in execute (op_array=0xa637b80) at /home/benny/downloads/php-5.3.3/Zend/zend_vm_execute.h:107
#33 0x0834bcae in zend_call_function (fci=0xbfffcbd8, fci_cache=0xbfffcbfc) at /home/benny/downloads/php-5.3.3/Zend/zend_execute_API.c:963
#34 0x081f2a55 in zim_reflection_method_invokeArgs (ht=2, return_value=0xa81edc8, return_value_ptr=0x0, this_ptr=0xa80892c, return_value_used=1)
    at /home/benny/downloads/php-5.3.3/ext/reflection/php_reflection.c:2738
#35 0x0839c721 in zend_do_fcall_common_helper_SPEC (execute_data=0x8b1a0c0) at /home/benny/downloads/php-5.3.3/Zend/zend_vm_execute.h:316
#36 0x08378246 in execute (op_array=0x939c474) at /home/benny/downloads/php-5.3.3/Zend/zend_vm_execute.h:107
#37 0x08354d86 in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /home/benny/downloads/php-5.3.3/Zend/zend.c:1194
#38 0x083037d8 in php_execute_script (primary_file=0xbffff0c0) at /home/benny/downloads/php-5.3.3/main/main.c:2260
#39 0x083d80d7 in main (argc=5, argv=0xbffff234) at /home/benny/downloads/php-5.3.3/sapi/cli/php_cli.c:1192
 [2010-10-01 02:32 UTC] felipe@php.net
-Status: Open +Status: Assigned -Assigned To: +Assigned To: sixd
 [2012-06-26 22:40 UTC] sixd@php.net
-Package: Oracle related +Package: PDO related
 [2012-06-26 23:34 UTC] sixd@php.net
Although PDO_OCI isn't stable, an error like OCI-21500 should be reported to 
Oracle.
 [2012-10-26 05:57 UTC] sixd@php.net
-Assigned To: sixd +Assigned To:
 [2014-01-01 12:47 UTC] felipe@php.net
-Package: PDO related +Package: PDO OCI
 
PHP Copyright © 2001-2014 The PHP Group
All rights reserved.
Last updated: Thu Apr 17 12:01:59 2014 UTC