Package: php5-cli Version: 5.2.10.dfsg.1-2 Severity: normal File: /usr/bin/php5
I noticed a php core file in my corefiles directory. It appears it was running the moodle cron job at the time: Core was generated by `/usr/bin/php -f /usr/share/moodle/admin/cron.php'. It is not reproducible, the cron job runs every five minutes and this is the only segfault that occurred. If the below backtrace is not useful, please just close this bug. r...@chianamo:~# gdb --core /var/cache/corefiles/core-1814-33-33-11-1250948701-chianamo-php /usr/bin/php GNU gdb 6.8-debian Copyright (C) 2008 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-linux-gnu"... warning: Can't read pathname for load map: Input/output error. warning: .dynamic section for "/usr/lib/libxml2.so.2" is not at the expected address (wrong library or version mismatch?) Reading symbols from /lib/libcrypt.so.1...Reading symbols from /usr/lib/debug/lib/libcrypt-2.9.so...done. done. Loaded symbols for /lib/libcrypt.so.1 Reading symbols from /usr/lib/libz.so.1...Reading symbols from /usr/lib/debug/usr/lib/libz.so.1.2.3.3...done. done. Loaded symbols for /usr/lib/libz.so.1 Reading symbols from /usr/lib/libpanel.so.5...done. Loaded symbols for /usr/lib/libpanel.so.5 Reading symbols from /lib/libncurses.so.5...done. Loaded symbols for /lib/libncurses.so.5 Reading symbols from /usr/lib/libssl.so.0.9.8...done. Loaded symbols for /usr/lib/libssl.so.0.9.8 Reading symbols from /usr/lib/libdb-4.7.so...done. Loaded symbols for /usr/lib/libdb-4.7.so Reading symbols from /lib/libbz2.so.1.0...done. Loaded symbols for /lib/libbz2.so.1.0 Reading symbols from /usr/lib/libpcre.so.3...done. Loaded symbols for /usr/lib/libpcre.so.3 Reading symbols from /lib/libresolv.so.2...Reading symbols from /usr/lib/debug/lib/libresolv-2.9.so...done. done. Loaded symbols for /lib/libresolv.so.2 Reading symbols from /lib/libm.so.6...Reading symbols from /usr/lib/debug/lib/libm-2.9.so...done. done. Loaded symbols for /lib/libm.so.6 Reading symbols from /lib/libdl.so.2...Reading symbols from /usr/lib/debug/lib/libdl-2.9.so...done. done. Loaded symbols for /lib/libdl.so.2 Reading symbols from /lib/libnsl.so.1...Reading symbols from /usr/lib/debug/lib/libnsl-2.9.so...done. done. Loaded symbols for /lib/libnsl.so.1 Reading symbols from /usr/lib/libgssapi_krb5.so.2...done. Loaded symbols for /usr/lib/libgssapi_krb5.so.2 Reading symbols from /usr/lib/libkrb5.so.3...done. Loaded symbols for /usr/lib/libkrb5.so.3 Reading symbols from /usr/lib/libk5crypto.so.3...done. Loaded symbols for /usr/lib/libk5crypto.so.3 Reading symbols from /lib/libcom_err.so.2...done. Loaded symbols for /lib/libcom_err.so.2 Reading symbols from /usr/lib/libxml2.so.2...Reading symbols from /usr/lib/debug/usr/lib/libxml2.so.2.7.3...done. done. Loaded symbols for /usr/lib/libxml2.so.2 Reading symbols from /lib/libc.so.6...Reading symbols from /usr/lib/debug/lib/libc-2.9.so...done. done. Loaded symbols for /lib/libc.so.6 Reading symbols from /usr/lib/libcrypto.so.0.9.8...done. Loaded symbols for /usr/lib/libcrypto.so.0.9.8 Reading symbols from /lib/libpthread.so.0...Reading symbols from /usr/lib/debug/lib/libpthread-2.9.so...done. done. Loaded symbols for /lib/libpthread.so.0 Reading symbols from /lib/ld-linux-x86-64.so.2...Reading symbols from /usr/lib/debug/lib/ld-2.9.so...done. done. Loaded symbols for /lib64/ld-linux-x86-64.so.2 Reading symbols from /usr/lib/libkrb5support.so.0...done. Loaded symbols for /usr/lib/libkrb5support.so.0 Reading symbols from /lib/libkeyutils.so.1...done. Loaded symbols for /lib/libkeyutils.so.1 Reading symbols from /usr/lib/php5/20060613/curl.so...Reading symbols from /usr/lib/debug/usr/lib/php5/20060613/curl.so...done. done. Loaded symbols for /usr/lib/php5/20060613/curl.so Reading symbols from /usr/lib/libcurl.so.4...done. Loaded symbols for /usr/lib/libcurl.so.4 Reading symbols from /usr/lib/libidn.so.11...done. Loaded symbols for /usr/lib/libidn.so.11 Reading symbols from /usr/lib/libssh2.so.1...done. Loaded symbols for /usr/lib/libssh2.so.1 Reading symbols from /usr/lib/liblber-2.4.so.2...done. Loaded symbols for /usr/lib/liblber-2.4.so.2 Reading symbols from /usr/lib/libldap_r-2.4.so.2...done. Loaded symbols for /usr/lib/libldap_r-2.4.so.2 Reading symbols from /lib/librt.so.1...Reading symbols from /usr/lib/debug/lib/librt-2.9.so...done. done. Loaded symbols for /lib/librt.so.1 Reading symbols from /usr/lib/libgcrypt.so.11...done. Loaded symbols for /usr/lib/libgcrypt.so.11 Reading symbols from /usr/lib/libsasl2.so.2...done. Loaded symbols for /usr/lib/libsasl2.so.2 Reading symbols from /usr/lib/libgnutls.so.26...done. Loaded symbols for /usr/lib/libgnutls.so.26 Reading symbols from /usr/lib/libgpg-error.so.0...done. Loaded symbols for /usr/lib/libgpg-error.so.0 Reading symbols from /usr/lib/libtasn1.so.3...done. Loaded symbols for /usr/lib/libtasn1.so.3 Reading symbols from /usr/lib/php5/20060613/gd.so...Reading symbols from /usr/lib/debug/usr/lib/php5/20060613/gd.so...done. done. Loaded symbols for /usr/lib/php5/20060613/gd.so Reading symbols from /usr/lib/libgd.so.2...done. Loaded symbols for /usr/lib/libgd.so.2 Reading symbols from /usr/lib/libt1.so.5...done. Loaded symbols for /usr/lib/libt1.so.5 Reading symbols from /usr/lib/libfreetype.so.6...done. Loaded symbols for /usr/lib/libfreetype.so.6 Reading symbols from /usr/lib/libX11.so.6...done. Loaded symbols for /usr/lib/libX11.so.6 Reading symbols from /usr/lib/libXpm.so.4...done. Loaded symbols for /usr/lib/libXpm.so.4 Reading symbols from /usr/lib/libpng12.so.0...done. Loaded symbols for /usr/lib/libpng12.so.0 Reading symbols from /usr/lib/libjpeg.so.62...done. Loaded symbols for /usr/lib/libjpeg.so.62 Reading symbols from /usr/lib/libfontconfig.so.1...Reading symbols from /usr/lib/debug/usr/lib/libfontconfig.so.1.3.0...done. done. Loaded symbols for /usr/lib/libfontconfig.so.1 Reading symbols from /usr/lib/libxcb.so.1...done. Loaded symbols for /usr/lib/libxcb.so.1 Reading symbols from /usr/lib/libexpat.so.1...done. Loaded symbols for /usr/lib/libexpat.so.1 Reading symbols from /usr/lib/libXau.so.6...done. Loaded symbols for /usr/lib/libXau.so.6 Reading symbols from /usr/lib/libXdmcp.so.6...done. Loaded symbols for /usr/lib/libXdmcp.so.6 Reading symbols from /usr/lib/php5/20060613/mysql.so...Reading symbols from /usr/lib/debug/usr/lib/php5/20060613/mysql.so...done. done. Loaded symbols for /usr/lib/php5/20060613/mysql.so Reading symbols from /usr/lib/libmysqlclient_r.so.15...done. Loaded symbols for /usr/lib/libmysqlclient_r.so.15 Reading symbols from /usr/lib/php5/20060613/mysqli.so...Reading symbols from /usr/lib/debug/usr/lib/php5/20060613/mysqli.so...done. done. Loaded symbols for /usr/lib/php5/20060613/mysqli.so Reading symbols from /usr/lib/php5/20060613/pdo.so...Reading symbols from /usr/lib/debug/usr/lib/php5/20060613/pdo.so...done. done. Loaded symbols for /usr/lib/php5/20060613/pdo.so Reading symbols from /usr/lib/php5/20060613/pdo_mysql.so...Reading symbols from /usr/lib/debug/usr/lib/php5/20060613/pdo_mysql.so...done. done. Loaded symbols for /usr/lib/php5/20060613/pdo_mysql.so Reading symbols from /usr/lib/php5/20060613/pdo_pgsql.so...Reading symbols from /usr/lib/debug/usr/lib/php5/20060613/pdo_pgsql.so...done. done. Loaded symbols for /usr/lib/php5/20060613/pdo_pgsql.so Reading symbols from /usr/lib/libpq.so.5...done. Loaded symbols for /usr/lib/libpq.so.5 Reading symbols from /usr/lib/php5/20060613/pgsql.so...Reading symbols from /usr/lib/debug/usr/lib/php5/20060613/pgsql.so...done. done. Loaded symbols for /usr/lib/php5/20060613/pgsql.so Reading symbols from /lib/libnss_files.so.2...Reading symbols from /usr/lib/debug/lib/libnss_files-2.9.so...done. done. Loaded symbols for /lib/libnss_files.so.2 Reading symbols from /lib/libgcc_s.so.1...done. Loaded symbols for /lib/libgcc_s.so.1 Core was generated by `/usr/bin/php -f /usr/share/moodle/admin/cron.php'. Program terminated with signal 11, Segmentation fault. [New process 1814] #0 php_realpath (path=0x2a1aa00 "/usr/share/moodle/lib/adodb/adodb-time.inc.php", resolved=Cannot access memory at address 0x7fff9c472828 ) at /build/buildd/php5-5.2.10.dfsg.1/TSRM/tsrm_virtual_cwd.c:278 278 /build/buildd/php5-5.2.10.dfsg.1/TSRM/tsrm_virtual_cwd.c: No such file or directory. in /build/buildd/php5-5.2.10.dfsg.1/TSRM/tsrm_virtual_cwd.c (gdb) thread apply all bt full Thread 1 (process 1814): #0 php_realpath (path=0x2a1aa00 "/usr/share/moodle/lib/adodb/adodb-time.inc.php", resolved=Cannot access memory at address 0x7fff9c472828 ) at /build/buildd/php5-5.2.10.dfsg.1/TSRM/tsrm_virtual_cwd.c:278 sb = {st_dev = 0, st_ino = 225, st_nlink = 0, st_mode = 0, st_uid = 0, st_gid = 532624, __pad0 = 0, st_rdev = 16, st_size = 0, st_blksize = 1, st_blocks = 0, st_atim = { tv_sec = 1, tv_nsec = 0}, st_mtim = {tv_sec = 2621929782, tv_nsec = 4284481615}, st_ctim = {tv_sec = 2621929776, tv_nsec = 400039818}, __unused = {1, 0, 5}} s = 0x0 left_len = 0 resolved_len = 2621934048 symlinks = Cannot access memory at address 0x7fff9c47283c (gdb) bt #0 php_realpath (path=0x2a1aa00 "/usr/share/moodle/lib/adodb/adodb-time.inc.php", resolved=Cannot access memory at address 0x7fff9c472828 ) at /build/buildd/php5-5.2.10.dfsg.1/TSRM/tsrm_virtual_cwd.c:278 #1 0x00000000006218fa in virtual_file_ex (state=0x7fff9c4789e0, path=0x2a1aa00 "/usr/share/moodle/lib/adodb/adodb-time.inc.php", verify_path=0x100000000, use_realpath=0) at /build/buildd/php5-5.2.10.dfsg.1/TSRM/tsrm_virtual_cwd.c:746 #2 0x0000000000629b7c in expand_filepath_ex (filepath=0x2a1aa00 "/usr/share/moodle/lib/adodb/adodb-time.inc.php", real_path=0x0, relative_to=0x7fff9c475990 "", relative_to_len=44149294) at /build/buildd/php5-5.2.10.dfsg.1/main/fopen_wrappers.c:686 #3 0x000000000063e72a in _php_stream_fopen (filename=0x2a1aa00 "/usr/share/moodle/lib/adodb/adodb-time.inc.php", mode=0x6ecf5c "rb", opened_path=0x7fff9c479ce0, options=133) at /build/buildd/php5-5.2.10.dfsg.1/main/streams/plain_wrapper.c:893 #4 0x000000000063eaed in _php_stream_fopen_with_path (filename=0x2a1aa00 "/usr/share/moodle/lib/adodb/adodb-time.inc.php", mode=0x8500000000 <Address 0x8500000000 out of bounds>, path=0x8aadf0 ".:/usr/share/php:/usr/share/pear", opened_path=0x7fff9c479ce0, options=32767) at /build/buildd/php5-5.2.10.dfsg.1/main/streams/plain_wrapper.c:1351 #5 0x000000000063951e in _php_stream_open_wrapper_ex (path=0x2a1aa00 "/usr/share/moodle/lib/adodb/adodb-time.inc.php", mode=0x0, options=141, opened_path=0x7fff9c479ce0, context=0x0) at /build/buildd/php5-5.2.10.dfsg.1/main/streams/streams.c:1827 #6 0x00000000006242ef in php_stream_open_for_zend_ex (filename=0x2a1aa00 "/usr/share/moodle/lib/adodb/adodb-time.inc.php", handle=0x7fff9c479cd0, mode=44149294) at /build/buildd/php5-5.2.10.dfsg.1/main/main.c:1082 #7 0x000000000067d434 in zend_stream_fixup (file_handle=0x7fff9c479cd0) at /build/buildd/php5-5.2.10.dfsg.1/Zend/zend_stream.c:62 #8 0x000000000064a0bb in open_file_for_scanning (file_handle=<incomplete type>) at /build/buildd/php5-5.2.10.dfsg.1/Zend/zend_language_scanner.c:3322 #9 0x000000000064a90d in compile_file (file_handle=<incomplete type>, type=2) at /build/buildd/php5-5.2.10.dfsg.1/Zend/zend_language_scanner.c:3408 #10 0x000000000064a24d in compile_filename (type=2, filename=0x7fff9c47a7d0) at /build/buildd/php5-5.2.10.dfsg.1/Zend/zend_language_scanner.c:3465 #11 0x000000000069122a in ZEND_INCLUDE_OR_EVAL_SPEC_TMP_HANDLER (execute_data=0x7fff9c47aa10) at /build/buildd/php5-5.2.10.dfsg.1/Zend/zend_vm_execute.h:4643 #12 0x000000000068c024 in execute (op_array=0x29fcc20) at /build/buildd/php5-5.2.10.dfsg.1/Zend/zend_vm_execute.h:92 #13 0x000000000069107b in ZEND_INCLUDE_OR_EVAL_SPEC_TMP_HANDLER (execute_data=0x7fff9c481be0) at /build/buildd/php5-5.2.10.dfsg.1/Zend/zend_vm_execute.h:4672 #14 0x000000000068c024 in execute (op_array=0x29fc2d0) at /build/buildd/php5-5.2.10.dfsg.1/Zend/zend_vm_execute.h:92 #15 0x000000000069107b in ZEND_INCLUDE_OR_EVAL_SPEC_TMP_HANDLER (execute_data=0x7fff9c482270) at /build/buildd/php5-5.2.10.dfsg.1/Zend/zend_vm_execute.h:4672 #16 0x000000000068c024 in execute (op_array=0x29fb040) at /build/buildd/php5-5.2.10.dfsg.1/Zend/zend_vm_execute.h:92 #17 0x000000000069107b in ZEND_INCLUDE_OR_EVAL_SPEC_TMP_HANDLER (execute_data=0x7fff9c486a60) at /build/buildd/php5-5.2.10.dfsg.1/Zend/zend_vm_execute.h:4672 #18 0x000000000068c024 in execute (op_array=0x29dc598) at /build/buildd/php5-5.2.10.dfsg.1/Zend/zend_vm_execute.h:92 #19 0x0000000000668348 in zend_execute_scripts (type=32767, retval=0x0, file_count=-1672975480) at /build/buildd/php5-5.2.10.dfsg.1/Zend/zend.c:1215 #20 0x0000000000623308 in php_execute_script (primary_file=Cannot access memory at address 0x80009c485af0 ) at /build/buildd/php5-5.2.10.dfsg.1/main/main.c:2046 #21 0x00000000006e6ed7 in main (argc=-1672965576, argv=0x7fff9dba7d4c) at /build/buildd/php5-5.2.10.dfsg.1/sapi/cli/php_cli.c:1168 -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (700, 'testing'), (600, 'unstable'), (550, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.30-1-amd64 (SMP w/2 CPU cores) Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages php5-cli depends on: ii libbz2-1.0 1.0.5-3 high-quality block-sorting file co ii libc6 2.9-12 GNU C Library: Shared libraries ii libcomerr2 1.41.3-1 common error description library ii libdb4.7 4.7.25-7 Berkeley v4.7 Database Libraries [ ii libgssapi-krb5-2 1.7dfsg~beta3-1 MIT Kerberos runtime libraries - k ii libk5crypto3 1.7dfsg~beta3-1 MIT Kerberos runtime libraries - C ii libkrb5-3 1.7dfsg~beta3-1 MIT Kerberos runtime libraries ii libmagic1 5.03-1 File type determination library us ii libncurses5 5.7+20090803-1 shared libraries for terminal hand ii libpcre3 7.8-2 Perl 5 Compatible Regular Expressi ii libssl0.9.8 0.9.8k-3 SSL shared libraries ii libxml2 2.7.3.dfsg-2.1 GNOME XML library ii mime-support 3.46-1 MIME files 'mime.types' & 'mailcap ii php5-common 5.2.10.dfsg.1-2 Common files for packages built fr ii tzdata 2009k-3 time zone and daylight-saving time ii ucf 3.0018 Update Configuration File: preserv ii zlib1g 1:1.2.3.3.dfsg-15 compression library - runtime Versions of packages php5-cli suggests: pn php-pear <none> (no description available) -- bye, pabs http://wiki.debian.org/PaulWise
signature.asc
Description: This is a digitally signed message part

