[php-maint] Bug#395996: php5-cli: crash while running moodle cron
job
Laurent Bonnaud
Laurent.Bonnaud at inpg.fr
Sun Oct 29 11:09:15 CET 2006
Package: php5-cli
Version: 5.1.6-5
Severity: important
Hi,
every 5 minutes, I receive this email from cron:
Subject: Cron <www-data at irancy> [ -f /usr/share/moodle/admin/cron.php ] && /usr/bin/php -f /usr/share/moodle/admin/cron.php > /dev/null
/bin/sh: line 1: 20244 Segmentation fault /usr/bin/php -f /usr/share/moodle/admin/cron.php >/dev/null
Here is the problem:
www-data at irancy:~$ /usr/bin/php -f /usr/share/moodle/admin/cron.php
Server Time: Sun, 29 Oct 2006 10:59:31 +0100
Starting activity modules
Finished activity modules
Starting blocks
Finished blocks
Running backups if required...
Checking backup status...INACTIVE
Backup tasks finished.
Cron script completed correctly
Execution took 0.201929 seconds
Segmentation fault
www-data at irancy:~$ gdb /usr/bin/php
GNU gdb 6.4.90-debian
Copyright (C) 2006 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/i686/cmov/libthread_db.so.1".
(gdb) run -f /usr/share/moodle/admin/cron.php
Starting program: /usr/bin/php -f /usr/share/moodle/admin/cron.php
Failed to read a valid object file image from memory.
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1216002368 (LWP 10687)]
Error while reading shared library symbols:
Cannot find new threads: generic error
Server Time: Sun, 29 Oct 2006 10:59:50 +0100
Starting activity modules
Finished activity modules
Starting blocks
Finished blocks
Running backups if required...
Checking backup status...INACTIVE
Backup tasks finished.
Cron script completed correctly
Execution took 0.565442 seconds
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1216002368 (LWP 10687)]
0xb73442f0 in ?? ()
(gdb) bt
#0 0xb73442f0 in ?? ()
#1 0xb7891fa5 in CRYPTO_lock (mode=9, type=1, file=0xb7975a13 "err.c", line=353) at cryptlib.c:489
#2 0xb78fdf4f in int_err_del () at err.c:353
#3 0xb78ff77a in ERR_free_strings () at err.c:672
#4 0xb75e0c47 in Curl_ossl_cleanup () at ../../../lib/ssluse.c:580
#5 0xb75f1b80 in Curl_ssl_cleanup () at ../../../lib/sslgen.c:185
#6 0xb75e9d9f in curl_global_cleanup () at ../../../lib/easy.c:294
#7 0xb7f47fa7 in zm_shutdown_curl () from /usr/lib/php5/20051025/curl.so
#8 0x08285eea in module_destructor ()
#9 0x0828bad5 in zend_hash_quick_find ()
#10 0x0828bdd7 in zend_hash_graceful_reverse_destroy ()
#11 0x0828256c in zend_shutdown ()
#12 0x0823fea5 in php_module_shutdown ()
#13 0x0830ff3f in main ()
(gdb) The program is running. Exit anyway? (y or n) y
-- System Information:
Debian Release: 4.0
APT prefers unstable
APT policy: (100, 'unstable'), (99, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-1-686
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Versions of packages php5-cli depends on:
ii libbz2-1 1.0.3-6 high-quality block-sorting file co
ii libc6 2.5-0exp2 GNU C Library: Shared libraries
ii libcomer 1.39+1.40-WIP-2006.10.02+dfsg-2 common error description library
ii libdb4.4 4.4.20-8 Berkeley v4.4 Database Libraries [
ii libkrb53 1.4.4-3 MIT Kerberos runtime libraries
ii libmagic 4.17-4 File type determination library us
ii libncurs 5.5-5 Shared libraries for terminal hand
ii libpcre3 6.7-1 Perl 5 Compatible Regular Expressi
ii libssl0. 0.9.8c-3 SSL shared libraries
ii libxml2 2.6.27.dfsg-1 GNOME XML library
ii mime-sup 3.37-1 MIME files 'mime.types' & 'mailcap
ii php5-com 5.1.6-5 Common files for packages built fr
ii ucf 2.0016 Update Configuration File: preserv
ii zlib1g 1:1.2.3-13 compression library - runtime
php5-cli recommends no packages.
-- no debconf information
More information about the pkg-php-maint
mailing list