php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57471 pdo_sqlite missing headers?
Submitted: 2007-01-08 12:33 UTC Modified: 2015-06-07 17:54 UTC
From: charlie at rubberduck dot com Assigned: cmb (profile)
Status: Wont fix Package: PECL (PECL)
PHP Version: 5.1.2 OS: Ubuntu 6.06 dapper
Private report: No CVE-ID: None
 [2007-01-08 12:33 UTC] charlie at rubberduck dot com
Description:
------------
because ubuntu doesnt have PDO packages, it is necessary to 
install via pecl...

PHP_PDO_SHARED=1 pecl install pdo
PHP_PDO_SHARED=1 pecl install pdo_sqlite

cf. http://www.pecl.php.net/bugs/bug.php?id=6117

but then i get segfaults as well..

Expected result:
----------------
[Mon Jan 08 17:18:32 2007] [notice] child pid 12360 exit 
signal Segmentation fault (11), possible coredump in /tmp/
apache2-gdb-dump

Actual result:
--------------
root@smudge:/# gdb /usr/sbin/apache2 /tmp/apache2-gdb-dump/
core
GNU gdb 6.4-debian
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public 
License, and you are
welcome to change it and/or distribute copies of it under 
certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show 
warranty" for details.
This GDB was configured as "i486-linux-gnu"...(no debugging 
symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/
libthread_db.so.1".

(no debugging symbols found)
Core was generated by `/usr/sbin/apache2 -k start -DSSL'.
Program terminated with signal 11, Segmentation fault.

warning: Can't read pathname for load map: Input/output 
error.
Reading symbols from /usr/lib/libpcre.so.3...(no debugging 
symbols found)...done.
Loaded symbols for /usr/lib/libpcre.so.3
Reading symbols from /usr/lib/libz.so.1...(no debugging 
symbols found)...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /usr/lib/i686/cmov/libssl.so.0.9.8...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/i686/cmov/libssl.so.0.9.8
Reading symbols from /usr/lib/i686/cmov/libcrypto.so.
0.9.8...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/i686/cmov/libcrypto.so.0.9.8
Reading symbols from /usr/lib/libaprutil-0.so.0...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libaprutil-0.so.0
Reading symbols from /usr/lib/libldap_r.so.2...(no debugging 
symbols found)...done.
Loaded symbols for /usr/lib/libldap_r.so.2
Reading symbols from /usr/lib/liblber.so.2...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/liblber.so.2
Reading symbols from /usr/lib/libdb-4.3.so...(no debugging 
symbols found)...done.
Loaded symbols for /usr/lib/libdb-4.3.so
Reading symbols from /usr/lib/libexpat.so.1...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libexpat.so.1
Reading symbols from /usr/lib/libapr-0.so.0...(no debugging 
symbols found)...done.
Loaded symbols for /usr/lib/libapr-0.so.0
Reading symbols from /lib/tls/i686/cmov/librt.so.1...
(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/cmov/librt.so.1
Reading symbols from /lib/tls/i686/cmov/libm.so.6...(no 
debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/cmov/libm.so.6
Reading symbols from /lib/tls/i686/cmov/libcrypt.so.1...
(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/cmov/libcrypt.so.1
Reading symbols from /lib/tls/i686/cmov/libnsl.so.1...(no 
debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/cmov/libnsl.so.1
Reading symbols from /lib/tls/i686/cmov/libpthread.so.0...
(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/cmov/libpthread.so.0
Reading symbols from /lib/tls/i686/cmov/libdl.so.2...(no 
debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/cmov/libdl.so.2
Reading symbols from /lib/tls/i686/cmov/libc.so.6...
(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/cmov/libc.so.6
Reading symbols from /lib/tls/i686/cmov/libresolv.so.2...(no 
debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/cmov/libresolv.so.2
Reading symbols from /usr/lib/libsasl2.so.2...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libsasl2.so.2
Reading symbols from /usr/lib/libgnutls.so.12...(no 
debugging symbols found)...done.
Loaded symbols for /usr/lib/libgnutls.so.12
Reading symbols from /lib/ld-linux.so.2...
(no debugging symbols found)...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/lib/libtasn1.so.2...(no debugging 
symbols found)...done.
Loaded symbols for /usr/lib/libtasn1.so.2
Reading symbols from /usr/lib/libgcrypt.so.11...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgcrypt.so.11
Reading symbols from /usr/lib/libgpg-error.so.0...(no 
debugging symbols found)...done.
Loaded symbols for /usr/lib/libgpg-error.so.0
Reading symbols from /lib/tls/i686/cmov/libnss_compat.so.
2...
(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/cmov/libnss_compat.so.2
Reading symbols from /lib/tls/i686/cmov/libnss_nis.so.2...
(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/cmov/libnss_nis.so.2
Reading symbols from /lib/tls/i686/cmov/libnss_files.so.2...
(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/cmov/libnss_files.so.2
Reading symbols from /usr/lib/apache2/modules/mod_cgi.so...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/apache2/modules/mod_cgi.so
Reading symbols from /usr/lib/apache2/modules/mod_dav.so...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/apache2/modules/mod_dav.so
Reading symbols from /usr/lib/apache2/modules/
mod_dav_fs.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/apache2/modules/mod_dav_fs.so
Reading symbols from /usr/lib/apache2/modules/mod_info.so...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/apache2/modules/mod_info.so
Reading symbols from /usr/lib/apache2/modules/libphp5.so...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/apache2/modules/libphp5.so
Reading symbols from /usr/lib/libgdbm.so.3...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgdbm.so.3
Reading symbols from /lib/libbz2.so.1.0...(no debugging 
symbols found)...done.
Loaded symbols for /lib/libbz2.so.1.0
Reading symbols from /usr/lib/libgssapi_krb5.so.2...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgssapi_krb5.so.2
Reading symbols from /usr/lib/libkrb5.so.3...(no debugging 
symbols found)...done.
Loaded symbols for /usr/lib/libkrb5.so.3
Reading symbols from /usr/lib/libk5crypto.so.3...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libk5crypto.so.3
Reading symbols from /lib/libcom_err.so.2...(no debugging 
symbols found)...done.
Loaded symbols for /lib/libcom_err.so.2
Reading symbols from /usr/lib/libxml2.so.2...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libxml2.so.2
Reading symbols from /usr/lib/libkrb5support.so.0...(no 
debugging symbols found)...done.
Loaded symbols for /usr/lib/libkrb5support.so.0
Reading symbols from /usr/lib/apache2/modules/
mod_userdir.so...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/apache2/modules/mod_userdir.so
Reading symbols from /var/www/ioncube/
ioncube_loader_lin_5.1.so...(no debugging symbols 
found)...done.
Loaded symbols for /var/www/ioncube/
ioncube_loader_lin_5.1.so
Reading symbols from /usr/lib/php5/20051025/mysql.so...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/php5/20051025/mysql.so
Reading symbols from /usr/lib/libmysqlclient.so.15...(no 
debugging symbols found)...done.
Loaded symbols for /usr/lib/libmysqlclient.so.15
Reading symbols from /usr/lib/php5/20051025/mysqli.so...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/php5/20051025/mysqli.so
Reading symbols from /usr/lib/php5/20051025/gd.so...(no 
debugging symbols found)...done.
Loaded symbols for /usr/lib/php5/20051025/gd.so
Reading symbols from /usr/lib/libgd.so.2...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgd.so.2
Reading symbols from /usr/lib/libt1.so.5...(no debugging 
symbols found)...done.
Loaded symbols for /usr/lib/libt1.so.5
Reading symbols from /usr/lib/libfreetype.so.6...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libfreetype.so.6
Reading symbols from /usr/lib/libX11.so.6...(no debugging 
symbols found)...done.
Loaded symbols for /usr/lib/libX11.so.6
Reading symbols from /usr/lib/libXpm.so.4...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXpm.so.4
Reading symbols from /usr/lib/libpng12.so.0...(no debugging 
symbols found)...done.
Loaded symbols for /usr/lib/libpng12.so.0
Reading symbols from /usr/lib/libjpeg.so.62...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libjpeg.so.62
Reading symbols from /usr/lib/libfontconfig.so.1...(no 
debugging symbols found)...done.
Loaded symbols for /usr/lib/libfontconfig.so.1
Reading symbols from /usr/lib/libXau.so.6...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXau.so.6
Reading symbols from /usr/lib/php5/20051025/pdo.so...done.
Loaded symbols for /usr/lib/php5/20051025/pdo.so
Reading symbols from /usr/lib/php5/20051025/
pdo_sqlite.so...done.
Loaded symbols for /usr/lib/php5/20051025/pdo_sqlite.so
#0  0xb6d37625 in pdo_handle_error (
    dbh=0x82f6144, stmt=0x0) at /tmp/tmpAFl7Ha/PDO-1.0.3/
pdo_dbh.c:125
125     /tmp/tmpAFl7Ha/PDO-1.0.3/pdo_dbh.c: No such file or 
directory.
        in /tmp/tmpAFl7Ha/PDO-1.0.3/pdo_dbh.c
(gdb) bt full
#0  0xb6d37625 in pdo_handle_error (dbh=0x82f6144, stmt=0x0)
    at /tmp/tmpAFl7Ha/PDO-1.0.3/pdo_dbh.c:125
        pdo_err = (pdo_error_type *) 0x82f616c
        msg = 0xb6d43230 "General error"
        supp = <value optimized out>
        native_code = <value optimized out>
        message = 0x0
        info = (zval *) 0x0
#1  0xb6d3aad8 in zif_PDO_prepare (ht=1, 
return_value=0x82c99cc,
    return_value_ptr=0x0, this_ptr=0x82cc34c, 
return_value_used=1)
    at /tmp/tmpAFl7Ha/PDO-1.0.3/pdo_dbh.c:541
        dbh = (pdo_dbh_t *) 0x82f6144
        stmt = <value optimized out>
        statement = <value optimized out>
        statement_len = <value optimized out>
        options = (zval *) 0x0
        opt = (zval **) 0xb76af426
        item = (zval **) 0xbfd30bf8
        ctor_args = (zval *) 0x82f61d0
        dbstmt_ce = (zend_class_entry *) 0x82f6178
        pce = (zend_class_entry **) 0x82ea858
#2  0xb76b365a in execute () from /usr/lib/apache2/modules/
libphp5.so
No symbol table info available.
#3  0xb76b2cb2 in execute () from /usr/lib/apache2/modules/
libphp5.so
No symbol table info available.
#4  0xb720d64b in _su3jdmx () from /var/www/ioncube/
ioncube_loader_lin_5.1.so
No symbol table info available.
#5  0x082e9b8c in ?? ()
No symbol table info available.
#6  0xb78b2868 in ?? () from /usr/lib/apache2/modules/
libphp5.so
No symbol table info available.
#7  0x17f47d9b in ?? ()
No symbol table info available.
#8  0xb78b2868 in ?? () from /usr/lib/apache2/modules/
libphp5.so
No symbol table info available.
#9  0xb78b2868 in ?? () from /usr/lib/apache2/modules/
libphp5.so
No symbol table info available.
#10 0x082f5e74 in ?? ()
No symbol table info available.
#11 0xbfd312f8 in ?? ()
No symbol table info available.
#12 0xb76af491 in zend_check_property_access ()
   from /usr/lib/apache2/modules/libphp5.so
No symbol table info available.
#13 0xb76b2cb2 in execute () from /usr/lib/apache2/modules/
libphp5.so
No symbol table info available.
#14 0xb720d64b in _su3jdmx () from /var/www/ioncube/
ioncube_loader_lin_5.1.so
No symbol table info available.
#15 0x082ef2fc in ?? ()
No symbol table info available.
#16 0x082cc6dc in ?? ()
No symbol table info available.
#17 0x0000000e in ?? ()
No symbol table info available.
#18 0x08300814 in ?? ()
No symbol table info available.
#19 0xb78b2868 in ?? () from /usr/lib/apache2/modules/
libphp5.so
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#20 0x08300814 in ?? ()
No symbol table info available.
#21 0x082c17cc in ?? ()
No symbol table info available.
#22 0x0830084c in ?? ()
No symbol table info available.
#23 0x082f6104 in ?? ()
No symbol table info available.
#24 0x082c30fc in ?? ()
No symbol table info available.
#25 0x082cb6f4 in ?? ()
No symbol table info available.
#26 0xb720d670 in _su3jdmx () from /var/www/ioncube/
ioncube_loader_lin_5.1.so
No symbol table info available.
#27 0x082ef2fc in ?? ()
No symbol table info available.
#28 0xbfd31538 in ?? ()
No symbol table info available.
#29 0xbfd31538 in ?? ()
No symbol table info available.
#30 0xb78b2868 in ?? () from /usr/lib/apache2/modules/
libphp5.so
No symbol table info available.
#31 0x00000800 in ?? ()
No symbol table info available.
#32 0xb7932c20 in zend_compile_file () from /usr/lib/
apache2/modules/libphp5.so
No symbol table info available.
#33 0xbfd315a8 in ?? ()
No symbol table info available.
#34 0xb76b311f in execute () from /usr/lib/apache2/modules/
libphp5.so
No symbol table info available.
#35 0xb76b2cb2 in execute () from /usr/lib/apache2/modules/
libphp5.so
No symbol table info available.
#36 0xb720d64b in _su3jdmx () from /var/www/ioncube/
ioncube_loader_lin_5.1.so
No symbol table info available.
#37 0x082cb7fc in ?? ()
No symbol table info available.
#38 0x082e2e3c in ?? ()
No symbol table info available.
#39 0x00000071 in ?? ()
No symbol table info available.
#40 0xb768b915 in _zval_ptr_dtor () from /usr/lib/apache2/
modules/libphp5.so
No symbol table info available.
#41 0xb76b2cb2 in execute () from /usr/lib/apache2/modules/
libphp5.so
No symbol table info available.
#42 0xb720d64b in _su3jdmx () from /var/www/ioncube/
ioncube_loader_lin_5.1.so
No symbol table info available.
#43 0x082f62fc in ?? ()
No symbol table info available.
#44 0xbfd321b4 in ?? ()
No symbol table info available.
#45 0x00000024 in ?? ()
No symbol table info available.
#46 0x081b1938 in ?? ()
No symbol table info available.
#47 0xb78b2868 in ?? () from /usr/lib/apache2/modules/
libphp5.so
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#48 0x00000000 in ?? ()
No symbol table info available.
(gdb)


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-06-07 17:54 UTC] cmb@php.net
-Status: Open +Status: Wont fix -Package: PDO_SQLITE +Package: *General Issues -Assigned To: +Assigned To: cmb
 [2015-06-07 17:54 UTC] cmb@php.net
This ticket is obsolete. The PDO_SQLITE PECL package isn't
maintained anymore, and Ubuntu has the php5-sqlite package.
 [2015-06-07 17:54 UTC] cmb@php.net
-Package: *General Issues +Package: PECL
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 13:01:31 2024 UTC