Re: pdo_informix
| From: | jan declercq | Date: | Thu, 07 Oct 2010 11:58:00 +0000 |
| Subject: | Re: pdo_informix | ||
| References: | 1 2 3 4 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-7724@lists.php.net to get a copy of this message | ||
2010/10/6 Johannes Schlüter <johannes@php.net>
> Hi,
>
> On Wed, 2010-10-06 at 09:43 +0200, jan declercq wrote:
>
> > http://pecl.php.net/bugs/bug.php?id=18975 My very first
> > bug report.
> > I hope I did it good.
>
> :-)
>
> > # php-config --include-dir
> > /usr/include/php5
> >
> >
> > => this is the actual directory where the header files are.
>
> Looks good.
>
>
> > # php -m
> > Segmentation fault (core dumped)
> >
> >
> > Core file is available at
> > http://www.j-dc.be/core-php.4342
>
> Can you mahe sure you have gdb installed and do
>
> $ gdb
which php core-php4342
> (gdb) backtrace
>
> This generates a stack trace .. if there's not much information in there
> (lots of "???") you might have to recompile the extension (setting
> CFLAGS=-g before compiling) or even better install PHP from source and
> using --enable-debug there to get some more information.
>
> On a side note: For a proper fix you, unfortunately, have to
> find somebody at IBM as they decided that we, PHP developers,
> can't commit there even though they are using our SVN
> server ... :-/
> The users dbs,kraman,kfbombar,ambrish (all @php.net) are the
> only ones who have the needed rights ... maybe somebody else
> might come up with a custom patch, but that can't be
> committed ...
>
> johannes
>
>
>
this is what gdb tells me:
# gdb /usr/bin/php ./php.1945
GNU gdb (GDB) SUSE (7.1-3.12)
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html
>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-suse-linux".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/php...Missing separate debuginfo for
/usr/bin/php
Try: zypper install -C
"debuginfo(build-id)=f38b53792c73c6d0b0452926c84871e59ea07118"
(no debugging symbols found)...done.
[New Thread 1945]
Missing separate debuginfo for /lib64/libresolv.so.2
Try: zypper install -C
"debuginfo(build-id)=3d52211fd115a941c41f2cc6252558e4074d677b"
Missing separate debuginfo for /lib64/libpcre.so.0
Try: zypper install -C
"debuginfo(build-id)=6e3c2456900ef68f8411c931225c953de3156d22"
Missing separate debuginfo for /lib64/libm.so.6
Try: zypper install -C
"debuginfo(build-id)=f05646449077dfbf15d5f78251a3b25e0f955dd9"
Missing separate debuginfo for /usr/lib64/libxml2.so.2
Try: zypper install -C
"debuginfo(build-id)=8e0d91bc98d74b85abd4c0e920157b1366116826"
Missing separate debuginfo for /lib64/libdl.so.2
Try: zypper install -C
"debuginfo(build-id)=f0e8d37a368b79a31d11bd39260550413444f7db"
Missing separate debuginfo for /lib64/libc.so.6
Try: zypper install -C
"debuginfo(build-id)=9b674b2caef1982db55e436bca814060e1705b7f"
Missing separate debuginfo for /lib64/libz.so.1
Try: zypper install -C
"debuginfo(build-id)=cb036401316b8a63b5e6cc3ac3c584f77d649b7b"
Missing separate debuginfo for /lib64/ld-linux-x86-64.so.2
Try: zypper install -C
"debuginfo(build-id)=2b25d8329d1aa713a2cc61b5cb701f6f89c78022"
Missing separate debuginfo for /usr/lib64/php5/extensions/pdo_informix.so
Try: zypper install -C
"debuginfo(build-id)=19639b79adf48261a23e9156a27eca61e4f96fa8"
Missing separate debuginfo for /lib64/libcrypt.so.1
Try: zypper install -C
"debuginfo(build-id)=02212d96908e3504631d8b19b2108214d89ae607"
Missing separate debuginfo for /lib64/libpthread.so.0
Try: zypper install -C
"debuginfo(build-id)=0c9c2300971d9dde591493e5e01203486cfb4c5c"
Missing separate debuginfo for /usr/lib64/php5/extensions/mysql.so
Try: zypper install -C
"debuginfo(build-id)=73124205572ebaf2f16bc9e2b1a88c46d8eb7a6c"
Missing separate debuginfo for /usr/lib64/libmysqlclient.so.16
Try: zypper install -C
"debuginfo(build-id)=eefd926e27fa6529573c6a32c85237f59904c6f6"
Missing separate debuginfo for /lib64/libssl.so.1.0.0
Try: zypper install -C
"debuginfo(build-id)=07526126e5cf20259a96ed02c6c0ec07dccaac83"
Missing separate debuginfo for /lib64/libcrypto.so.1.0.0
Try: zypper install -C
"debuginfo(build-id)=c439eb658ce2b0280c017fa8d2aa9a1707159c5b"
Missing separate debuginfo for /usr/lib64/php5/extensions/mysqli.so
Try: zypper install -C
"debuginfo(build-id)=036549e91d1e6e9e998e1db771e27977c5999c44"
Missing separate debuginfo for /usr/lib64/php5/extensions/pdo.so
Try: zypper install -C
"debuginfo(build-id)=9550a48e235b6f66355601863040c7679226ce4f"
Missing separate debuginfo for /usr/lib64/php5/extensions/pdo_mysql.so
Try: zypper install -C
"debuginfo(build-id)=42135e355bc63a64c92cada3c487993a70f28292"
Missing separate debuginfo for /usr/lib64/php5/extensions/zlib.so
Try: zypper install -C
"debuginfo(build-id)=8cf7554f8c9fe25fdec04ee3cc1344dd0518c39f"
Missing separate debuginfo for
Try: zypper install -C
"debuginfo(build-id)=cd056863733298a610263404429ef54bdad3025e"
Reading symbols from /lib64/libresolv.so.2...Missing separate debuginfo for
/lib64/libresolv.so.2
Try: zypper install -C
"debuginfo(build-id)=3d52211fd115a941c41f2cc6252558e4074d677b"
(no debugging symbols found)...done.
Loaded symbols for /lib64/libresolv.so.2
Reading symbols from /lib64/libpcre.so.0...Missing separate debuginfo for
/lib64/libpcre.so.0
Try: zypper install -C
"debuginfo(build-id)=6e3c2456900ef68f8411c931225c953de3156d22"
(no debugging symbols found)...done.
Loaded symbols for /lib64/libpcre.so.0
Reading symbols from /lib64/libm.so.6...Missing separate debuginfo for
/lib64/libm.so.6
Try: zypper install -C
"debuginfo(build-id)=f05646449077dfbf15d5f78251a3b25e0f955dd9"
(no debugging symbols found)...done.
Loaded symbols for /lib64/libm.so.6
Reading symbols from /usr/lib64/libxml2.so.2...Missing separate debuginfo
for /usr/lib64/libxml2.so.2
Try: zypper install -C
"debuginfo(build-id)=8e0d91bc98d74b85abd4c0e920157b1366116826"
(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libxml2.so.2
Reading symbols from /lib64/libdl.so.2...Missing separate debuginfo for
/lib64/libdl.so.2
Try: zypper install -C
"debuginfo(build-id)=f0e8d37a368b79a31d11bd39260550413444f7db"
(no debugging symbols found)...done.
Loaded symbols for /lib64/libdl.so.2
Reading symbols from /lib64/libc.so.6...Missing separate debuginfo for
/lib64/libc.so.6
Try: zypper install -C
"debuginfo(build-id)=9b674b2caef1982db55e436bca814060e1705b7f"
(no debugging symbols found)...done.
Loaded symbols for /lib64/libc.so.6
Reading symbols from /lib64/libz.so.1...Missing separate debuginfo for
/lib64/libz.so.1
Try: zypper install -C
"debuginfo(build-id)=cb036401316b8a63b5e6cc3ac3c584f77d649b7b"
(no debugging symbols found)...done.
Loaded symbols for /lib64/libz.so.1
Reading symbols from /lib64/ld-linux-x86-64.so.2...Missing separate
debuginfo for /lib64/ld-linux-x86-64.so.2
Try: zypper install -C
"debuginfo(build-id)=2b25d8329d1aa713a2cc61b5cb701f6f89c78022"
(no debugging symbols found)...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /usr/lib64/php5/extensions/pdo_informix.so...done.
Loaded symbols for /usr/lib64/php5/extensions/pdo_informix.so
Reading symbols from /opt/IBM/informix/lib/cli/libifcli.so...(no debugging
symbols found)...done.
Loaded symbols for /opt/IBM/informix/lib/cli/libifcli.so
Reading symbols from /opt/IBM/informix/lib/cli/libifdmr.so...(no debugging
symbols found)...done.
Loaded symbols for /opt/IBM/informix/lib/cli/libifdmr.so
Reading symbols from /opt/IBM/informix/lib/esql/libifsql.so...(no debugging
symbols found)...done.
Loaded symbols for /opt/IBM/informix/lib/esql/libifsql.so
Reading symbols from /opt/IBM/informix/lib/libifasf.so...(no debugging
symbols found)...done.
Loaded symbols for /opt/IBM/informix/lib/libifasf.so
Reading symbols from /opt/IBM/informix/lib/esql/libifgen.so...(no debugging
symbols found)...done.
Loaded symbols for /opt/IBM/informix/lib/esql/libifgen.so
Reading symbols from /opt/IBM/informix/lib/esql/libifos.so...(no debugging
symbols found)...done.
Loaded symbols for /opt/IBM/informix/lib/esql/libifos.so
Reading symbols from /opt/IBM/informix/lib/esql/libifgls.so...(no debugging
symbols found)...done.
Loaded symbols for /opt/IBM/informix/lib/esql/libifgls.so
Reading symbols from /lib64/libcrypt.so.1...Missing separate debuginfo for
/lib64/libcrypt.so.1
Try: zypper install -C
"debuginfo(build-id)=02212d96908e3504631d8b19b2108214d89ae607"
(no debugging symbols found)...done.
Loaded symbols for /lib64/libcrypt.so.1
Reading symbols from /opt/IBM/informix/lib/esql/libifglx.so...(no debugging
symbols found)...done.
Loaded symbols for /opt/IBM/informix/lib/esql/libifglx.so
Reading symbols from /lib64/libpthread.so.0...Missing separate debuginfo for
/lib64/libpthread.so.0
Try: zypper install -C
"debuginfo(build-id)=0c9c2300971d9dde591493e5e01203486cfb4c5c"
(no debugging symbols found)...done.
Loaded symbols for /lib64/libpthread.so.0
Reading symbols from /usr/lib64/php5/extensions/mysql.so...Missing separate
debuginfo for /usr/lib64/php5/extensions/mysql.so
Try: zypper install -C
"debuginfo(build-id)=73124205572ebaf2f16bc9e2b1a88c46d8eb7a6c"
(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/php5/extensions/mysql.so
Reading symbols from /usr/lib64/libmysqlclient.so.16...Missing separate
debuginfo for /usr/lib64/libmysqlclient.so.16
Try: zypper install -C
"debuginfo(build-id)=eefd926e27fa6529573c6a32c85237f59904c6f6"
(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libmysqlclient.so.16
Reading symbols from /lib64/libssl.so.1.0.0...Missing separate debuginfo for
/lib64/libssl.so.1.0.0
Try: zypper install -C
"debuginfo(build-id)=07526126e5cf20259a96ed02c6c0ec07dccaac83"
(no debugging symbols found)...done.
Loaded symbols for /lib64/libssl.so.1.0.0
Reading symbols from /lib64/libcrypto.so.1.0.0...Missing separate debuginfo
for /lib64/libcrypto.so.1.0.0
Try: zypper install -C
"debuginfo(build-id)=c439eb658ce2b0280c017fa8d2aa9a1707159c5b"
(no debugging symbols found)...done.
Loaded symbols for /lib64/libcrypto.so.1.0.0
Reading symbols from /usr/lib64/php5/extensions/mysqli.so...Missing separate
debuginfo for /usr/lib64/php5/extensions/mysqli.so
Try: zypper install -C
"debuginfo(build-id)=036549e91d1e6e9e998e1db771e27977c5999c44"
(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/php5/extensions/mysqli.so
Reading symbols from /usr/lib64/php5/extensions/pdo.so...Missing separate
debuginfo for /usr/lib64/php5/extensions/pdo.so
Try: zypper install -C
"debuginfo(build-id)=9550a48e235b6f66355601863040c7679226ce4f"
(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/php5/extensions/pdo.so
Reading symbols from /usr/lib64/php5/extensions/pdo_mysql.so...Missing
separate debuginfo for /usr/lib64/php5/extensions/pdo_mysql.so
Try: zypper install -C
"debuginfo(build-id)=42135e355bc63a64c92cada3c487993a70f28292"
(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/php5/extensions/pdo_mysql.so
Reading symbols from /usr/lib64/php5/extensions/zlib.so...Missing separate
debuginfo for /usr/lib64/php5/extensions/zlib.so
Try: zypper install -C
"debuginfo(build-id)=8cf7554f8c9fe25fdec04ee3cc1344dd0518c39f"
(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/php5/extensions/zlib.so
Core was generated by `php -m'.
Program terminated with signal 11, Segmentation fault.
#0 0x000000000056cf8e in _zend_hash_add_or_update ()
(gdb) bt
#0 0x000000000056cf8e in _zend_hash_add_or_update ()
#1 0x00007f8bfb8c031f in php_pdo_register_driver () from
/usr/lib64/php5/extensions/pdo.so
#2 0x00007f8bfd826e70 in zm_startup_pdo_informix (type=<value optimized
out>, module_number=<value optimized out>) at
/tmp/pear/download/PDO_INFORMIX-1.2.6/pdo_informix.c:110
#3 0x0000000000561f8e in zend_startup_module_ex ()
#4 0x000000000056d984 in zend_hash_apply ()
#5 0x000000000056594a in zend_startup_modules ()
#6 0x000000000050f236 in php_module_startup ()
#7 0x00000000005f1a8d in ?? ()
#8 0x00000000005f2490 in ?? ()
#9 0x00007f8bfdc60b7d in __libc_start_main () from /lib64/libc.so.6
#10 0x000000000041b5f9 in _start ()
Loads of "Missing separate debuginfo" :(
I'll have to look for building php in debug mode I guess?