php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57371 APC 3.0.12p2 segfault sma_allocate (with detailed backtrace!)
Submitted: 2006-11-12 16:37 UTC Modified: 2009-02-16 20:23 UTC
From: sylvain at jamendo dot com Assigned:
Status: No Feedback Package: APC (PECL)
PHP Version: 5.2.0 RC4 OS: Ubuntu 6.06
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2006-11-12 16:37 UTC] sylvain at jamendo dot com
Description:
------------
Medium-sized website, httpd 2.2.3 prefork, php 5.2.0 with debug, without threads.

APC installed with pecl, 3.0.12p2

As usual, apache childs start to segfault after a while... There is so much traffic in the logs I can't isolate which script crashes but it seems pretty random.

I try to stay "zen" but it's a bit frustrating to have stable software with devs from Zend crash our production servers :/

I'd welcome any patches and I'm ready to test whatever needed to make this f** segfault go away.

Here is the backtrace:



root@kirk:~# gdb /usr/local/jamendo/apache/bin/httpd /var/log/japache/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 "x86_64-linux-gnu"...(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".

Core was generated by `/usr/local/jamendo/apache/bin/httpd -k start'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /usr/local/jamendo/apache/lib/libaprutil-1.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/local/jamendo/apache/lib/libaprutil-1.so.0
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/local/jamendo/apache/lib/libapr-1.so.0...
(no debugging symbols found)...done.
Loaded symbols for /usr/local/jamendo/apache/lib/libapr-1.so.0
Reading symbols from /lib/librt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/librt.so.1
Reading symbols from /lib/libcrypt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /lib/libpthread.so.0...
(no debugging symbols found)...done.
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux-x86-64.so.2...
(no debugging symbols found)...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /lib/libnsl.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libnss_compat.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libnss_compat.so.2
Reading symbols from /lib/libnss_nis.so.2...
(no debugging symbols found)...done.
Loaded symbols for /lib/libnss_nis.so.2
Reading symbols from /lib/libnss_files.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /usr/local/jamendo/apache/modules/libphp5.so...(no debugging symbols found)...done.
Loaded symbols for /usr/local/jamendo/apache/modules/libphp5.so
Reading symbols from /usr/lib/libmysqlclient.so.14...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libmysqlclient.so.14
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/libz.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /lib/libresolv.so.2...
(no debugging symbols found)...done.
Loaded symbols for /lib/libresolv.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/local/jamendo/php/lib/php/extensions/debug-non-zts-20060613/memcache.so...done.
Loaded symbols for /usr/local/jamendo/php/lib/php/extensions/debug-non-zts-20060613/memcache.so
Reading symbols from /usr/local/jamendo/php/lib/php/extensions/debug-non-zts-20060613/apc.so...done.
Loaded symbols for /usr/local/jamendo/php/lib/php/extensions/debug-non-zts-20060613/apc.so
Reading symbols from /usr/local/jamendo/php/lib/php/extensions/debug-non-zts-20060613/geoip.so...done.
Loaded symbols for /usr/local/jamendo/php/lib/php/extensions/debug-non-zts-20060613/geoip.so
Reading symbols from /usr/local/lib/libGeoIP.so.1...done.
Loaded symbols for /usr/local/lib/libGeoIP.so.1
#0  sma_allocate (shmaddr=0x2aaaaceb6000,
    size=<value optimized out>) at /tmp/pear/cache/APC-3.0.12p2/apc_sma.c:142
142         while (prv->next != header->nfoffset) {
(gdb) bt full
#0  sma_allocate (shmaddr=0x2aaaaceb6000, size=<value optimized out>)
    at /tmp/pear/cache/APC-3.0.12p2/apc_sma.c:142
        prv = (block_t *) 0x9f201d5fd56f
        cur = (block_t *) 0x2aaaab5b7916
        realsize = 248
        last_offset = 240
        wrapped = 0
#1  0x00002aaaacb9ba1f in apc_sma_malloc (n=232) at /tmp/pear/cache/APC-3.0.12p2/apc_sma.c:358
        off = <value optimized out>
        i = <value optimized out>
        __PRETTY_FUNCTION__ = "apc_sma_malloc"
#2  0x00002aaaacb96375 in apc_copy_op_array (dst=0x0, src=0xe8, allocate=0x2aaaacb9b9c0 <apc_sma_malloc>,
    deallocate=0x2aaaacb9bbd0 <apc_sma_free>) at /tmp/pear/cache/APC-3.0.12p2/apc_compile.c:1078
        i = <value optimized out>
        local_dst_alloc = 0
        flags = <value optimized out>
        __PRETTY_FUNCTION__ = "apc_copy_op_array"
#3  0x00002aaaacb98568 in my_compile_file (h=0x7fffffe1f850, type=<value optimized out>)
    at /tmp/pear/cache/APC-3.0.12p2/apc_main.c:402
        dummy = <value optimized out>
        key = {data = {file = {device = 2306, inode = 18811942}, user = {
      identifier = 0x902 <Address 0x902 out of bounds>, identifier_len = 18811942}, fpfile = {
      fullpath = 0x902 <Address 0x902 out of bounds>, fullpath_len = 18811942}}, mtime = 1163354745,
  type = 1 '\001'}
        cache_entry = <value optimized out>
        op_array = (zend_op_array *) 0x2aaaaef5aae8
        num_functions = 983
        num_classes = 151
        ret = <value optimized out>
        alloc_op_array = <value optimized out>
        alloc_functions = <value optimized out>
        alloc_classes = <value optimized out>
        t = 1163365753
        path = <value optimized out>
        mem_size = 0
#4  0x00002aaaaba7e38e in execute () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#5  0x00002aaaaba65a9e in execute () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#6  0x00002aaaaba6623a in execute () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#7  0x00002aaaaba66f36 in execute () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#8  0x00002aaaaba65a9e in execute () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#9  0x00002aaaaba6623a in execute () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#10 0x00002aaaaba66f36 in execute () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#11 0x00002aaaaba65a9e in execute () from /usr/local/jamendo/apache/modules/libphp5.so
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#12 0x00002aaaaba6623a in execute () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#13 0x00002aaaaba66f36 in execute () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#14 0x00002aaaaba65a9e in execute () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#15 0x00002aaaabaaa417 in execute () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#16 0x00002aaaaba65a9e in execute () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#17 0x00002aaaaba6623a in execute () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#18 0x00002aaaaba66f36 in execute () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#19 0x00002aaaaba65a9e in execute () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#20 0x00002aaaaba6623a in execute () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#21 0x00002aaaaba66f36 in execute () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#22 0x00002aaaaba65a9e in execute () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#23 0x00002aaaaba6623a in execute () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#24 0x00002aaaaba66f36 in execute () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#25 0x00002aaaaba65a9e in execute () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#26 0x00002aaaaba743d6 in execute () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#27 0x00002aaaaba65a9e in execute () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#28 0x00002aaaaba3db74 in zend_execute_scripts () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#29 0x00002aaaab9deff3 in php_execute_script () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#30 0x00002aaaabac229a in zend_get_zval_ptr_ptr () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#31 0x00000000004335a5 in ap_run_handler ()
No symbol table info available.
#32 0x0000000000433a02 in ap_invoke_handler ()
No symbol table info available.
#33 0x0000000000443bd0 in ap_process_request ()
No symbol table info available.
#34 0x00000000004412dd in ap_filter_protocol ()
No symbol table info available.
#35 0x0000000000439f05 in ap_run_process_connection ()
No symbol table info available.
#36 0x0000000000456745 in ap_graceful_stop_signalled ()
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#37 0x00000000004569c4 in ap_graceful_stop_signalled ()
No symbol table info available.
#38 0x00000000004572cc in ap_mpm_run ()
No symbol table info available.
#39 0x0000000000420c31 in main ()
No symbol table info available.
(gdb)


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-11-12 16:45 UTC] sylvain at jamendo dot com
Maybe this is related... I found in the error_log :

[Sun Nov 12 22:07:08 2006] [apc-warning] GC cache entry '/home/neoexport/exports/jamendo_www_live_1163353613-51578/vh/kernel.php' (dev=2306 ino=18793131) was on gc-list for 3608 seconds
httpd: /tmp/pear/cache/APC-3.0.12p2/apc_cache.c:915: apc_cache_free_entry: Assertion `entry->ref_count == 0' failed.
[Sun Nov 12 22:07:08 2006] [notice] child pid 30132 exit signal Aborted (6), possible coredump in /var/log/japache/dump/
 [2006-11-12 16:48 UTC] sylvain at jamendo dot com
my apc config if it helps

[apc]
apc.enabled = 1
apc.shm_segments = 1
apc.shm_size = 30
apc.optimization = 0
apc.num_files_hint = 1500
apc.ttl = 0
apc.gc_ttl = 3600
apc.cache_by_default = 1
;apc.filters =
;apc.mmap_file_mask
apc.slam_defense = 0
apc.file_update_protection = 0
apc.enable_cli = 0
apc.max_file_size = 1M
apc.stat = 1
 [2006-11-12 19:23 UTC] sylvain at jamendo dot com
Same crash on another i386 server, so the problem is not amd64-related.

I'm compiling apache and php with -ggdb to have better traces if possible.

root@amidala:~# gdb /usr/local/jamendo/apache/bin/httpd /var/log/japache/dump/core.1
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/local/jamendo/apache/bin/httpd -k start'.
Program terminated with signal 11, Segmentation fault.

warning: Can't read pathname for load map: Input/output error.
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 /usr/local/jamendo/apache/lib/libaprutil-1.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/local/jamendo/apache/lib/libaprutil-1.so.0
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/local/jamendo/apache/lib/libapr-1.so.0...
(no debugging symbols found)...done.
Loaded symbols for /usr/local/jamendo/apache/lib/libapr-1.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/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/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/ld-linux.so.2...
(no debugging symbols found)...done.
Loaded symbols for /lib/ld-linux.so.2
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/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/local/jamendo/apache/modules/libphp5.so...(no debugging symbols found)...done.
Loaded symbols for /usr/local/jamendo/apache/modules/libphp5.so
Reading symbols from /usr/lib/libmysqlclient.so.14...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libmysqlclient.so.14
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/libpng12.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libpng12.so.0
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/libjpeg.so.62...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libjpeg.so.62
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/libxml2.so.2...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libxml2.so.2
Reading symbols from /usr/local/jamendo/php/lib/php/extensions/debug-non-zts-20060613/memcache.so...done.
Loaded symbols for /usr/local/jamendo/php/lib/php/extensions/debug-non-zts-20060613/memcache.so
Reading symbols from /usr/local/jamendo/php/lib/php/extensions/debug-non-zts-20060613/apc.so...done.
Loaded symbols for /usr/local/jamendo/php/lib/php/extensions/debug-non-zts-20060613/apc.so
Reading symbols from /usr/local/jamendo/php/lib/php/extensions/debug-non-zts-20060613/geoip.so...done.
Loaded symbols for /usr/local/jamendo/php/lib/php/extensions/debug-non-zts-20060613/geoip.so
Reading symbols from /usr/local/lib/libGeoIP.so.1...done.
Loaded symbols for /usr/local/lib/libGeoIP.so.1
#0  sma_allocate (shmaddr=0xb5608000, size=0)
    at /tmp/pear/cache/APC-3.0.12p2/apc_sma.c:145
145             if (cur->size == realsize || (cur->size > (sizeof(block_t) + realsize))) {
(gdb) bt full
#0  sma_allocate (shmaddr=0xb5608000, size=0) at /tmp/pear/cache/APC-3.0.12p2/apc_sma.c:145
        prv = (block_t *) 0xb7407508
        cur = (block_t *) 0x6aaaa16c
        realsize = 152
        last_offset = 3041534316
        wrapped = 0
#1  0xb741eb18 in apc_sma_malloc (n=140) at /tmp/pear/cache/APC-3.0.12p2/apc_sma.c:358
        off = <value optimized out>
        i = <value optimized out>
        __PRETTY_FUNCTION__ = "apc_sma_malloc"
#2  0xb741937f in apc_copy_op_array (dst=0x0, src=0xb55ce8e0,
    allocate=0xb741eac3 <apc_sma_malloc>, deallocate=0xb741eca5 <apc_sma_free>)
    at /tmp/pear/cache/APC-3.0.12p2/apc_compile.c:1078
        i = <value optimized out>
        local_dst_alloc = 0
        flags = <value optimized out>
        __PRETTY_FUNCTION__ = "apc_copy_op_array"
#3  0xb741b561 in my_compile_file (h=0xbf85863c, type=8)
    at /tmp/pear/cache/APC-3.0.12p2/apc_main.c:402
        dummy = <value optimized out>
        key = {data = {file = {device = 2306, inode = 755056}, user = {
      identifier = 0x902 <Address 0x902 out of bounds>, identifier_len = 0}, fpfile = {
      fullpath = 0x902 <Address 0x902 out of bounds>, fullpath_len = 0}}, mtime = 1163353638,
  type = 1 '\001'}
        cache_entry = <value optimized out>
        op_array = (zend_op_array *) 0xb55ce8e0
        num_functions = 984
        num_classes = 99
        ret = <value optimized out>
        alloc_op_array = <value optimized out>
        alloc_functions = <value optimized out>
        alloc_classes = <value optimized out>
        t = 1163376908
        path = <value optimized out>
        mem_size = 0
#4  0xb7a73b38 in zend_execute_scripts () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#5  0xb7a19bb3 in php_execute_script () from /usr/local/jamendo/apache/modules/libphp5.so
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#6  0xb7af444d in zend_get_zval_ptr_ptr () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#7  0x08073bdf in ap_run_handler ()
No symbol table info available.
#8  0x08073f61 in ap_invoke_handler ()
No symbol table info available.
#9  0x08083ece in ap_process_request ()
No symbol table info available.
#10 0x0808159b in ap_filter_protocol ()
No symbol table info available.
#11 0x0807a14f in ap_run_process_connection ()
No symbol table info available.
#12 0x08097b64 in ap_graceful_stop_signalled ()
No symbol table info available.
#13 0x08097e43 in ap_graceful_stop_signalled ()
No symbol table info available.
#14 0x080988a8 in ap_mpm_run ()
No symbol table info available.
#15 0x080620bb in main ()
No symbol table info available.
(gdb)
 [2006-11-13 07:47 UTC] sylvain at jamendo dot com
I have recompiled php+apache with -ggdb flag on the amd64 one.

The crash happened within 20 minutes. Here is the more detailed backtrace.

Please tell me how I can help you more with this issue.

root@kirk:~# gdb /usr/local/jamendo/apache/bin/httpd /var/log/japache/dump/core.1
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 "x86_64-linux-gnu"...(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".

Core was generated by `/usr/local/jamendo/apache/bin/httpd -k restart'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /usr/local/jamendo/apache/lib/libaprutil-1.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/local/jamendo/apache/lib/libaprutil-1.so.0
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/local/jamendo/apache/lib/libapr-1.so.0...
(no debugging symbols found)...done.
Loaded symbols for /usr/local/jamendo/apache/lib/libapr-1.so.0
Reading symbols from /lib/librt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/librt.so.1
Reading symbols from /lib/libcrypt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /lib/libpthread.so.0...
(no debugging symbols found)...done.
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux-x86-64.so.2...
(no debugging symbols found)...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /lib/libnsl.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libnss_compat.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libnss_compat.so.2
Reading symbols from /lib/libnss_nis.so.2...
(no debugging symbols found)...done.
Loaded symbols for /lib/libnss_nis.so.2
Reading symbols from /lib/libnss_files.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /usr/local/jamendo/apache/modules/libphp5.so...(no debugging symbols found)...done.
Loaded symbols for /usr/local/jamendo/apache/modules/libphp5.so
Reading symbols from /usr/lib/libmysqlclient.so.14...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libmysqlclient.so.14
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/libpng12.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libpng12.so.0
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/libjpeg.so.62...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libjpeg.so.62
Reading symbols from /lib/libresolv.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libresolv.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/local/jamendo/php/lib/php/extensions/debug-non-zts-20060613/memcache.so...done.
Loaded symbols for /usr/local/jamendo/php/lib/php/extensions/debug-non-zts-20060613/memcache.so
Reading symbols from /usr/local/jamendo/php/lib/php/extensions/debug-non-zts-20060613/apc.so...done.
Loaded symbols for /usr/local/jamendo/php/lib/php/extensions/debug-non-zts-20060613/apc.so
Reading symbols from /usr/local/jamendo/php/lib/php/extensions/debug-non-zts-20060613/geoip.so...done.
Loaded symbols for /usr/local/jamendo/php/lib/php/extensions/debug-non-zts-20060613/geoip.so
Reading symbols from /usr/local/lib/libGeoIP.so.1...done.
Loaded symbols for /usr/local/lib/libGeoIP.so.1
Reading symbols from /lib/libnss_dns.so.2...done.
Loaded symbols for /lib/libnss_dns.so.2
#0  sma_allocate (shmaddr=0x2aaaad16b000, size=<value optimized out>)
    at /tmp/pear/cache/APC-3.0.12p2/apc_sma.c:142
142         while (prv->next != header->nfoffset) {
(gdb) bt full
#0  sma_allocate (shmaddr=0x2aaaad16b000, size=<value optimized out>) at /tmp/pear/cache/APC-3.0.12p2/apc_sma.c:142
        prv = (block_t *) 0x6d728ffb218a1574
        cur = (block_t *) 0x2aaaab5b7916
        realsize = 32
        last_offset = 24
        wrapped = 0
#1  0x00002aaaac8f0a1f in apc_sma_malloc (n=13) at /tmp/pear/cache/APC-3.0.12p2/apc_sma.c:358
        off = <value optimized out>
        i = <value optimized out>
        __PRETTY_FUNCTION__ = "apc_sma_malloc"
#2  0x00002aaaac8e53bb in apc_xmemcpy (p=0x2aaaaf223e48, n=13, f=0x6d72655074736574)
    at /tmp/pear/cache/APC-3.0.12p2/apc.c:95
        q = <value optimized out>
#3  0x00002aaaac8e957a in my_copy_zval (dst=0x2aaaaef6acb8, src=<value optimized out>, allocate=0x20,
    deallocate=0x2aaaab5b7916 <fcntl+166>) at /tmp/pear/cache/APC-3.0.12p2/apc_compile.c:288
        __PRETTY_FUNCTION__ = "my_copy_zval"
#4  0x00002aaaac8e9777 in my_copy_znode (dst=0x2aaaaef6acb0, src=<value optimized out>, allocate=0x20,
    deallocate=0x2aaaab5b7916 <fcntl+166>) at /tmp/pear/cache/APC-3.0.12p2/apc_compile.c:355
        __PRETTY_FUNCTION__ = "my_copy_znode"
#5  0x00002aaaac8e9857 in my_copy_zend_op (dst=0x2aaaaef6ac88, src=0x2aaaaf225b50,
    allocate=0x2aaaac8f09c0 <apc_sma_malloc>, deallocate=0x2aaaac8f0bd0 <apc_sma_free>)
    at /tmp/pear/cache/APC-3.0.12p2/apc_compile.c:372
        __PRETTY_FUNCTION__ = "my_copy_zend_op"
#6  0x00002aaaac8eaf03 in apc_copy_op_array (dst=0x2aaaaef66420, src=0x2aaaaf223748,
    allocate=0x2aaaac8f09c0 <apc_sma_malloc>, deallocate=0x2aaaac8f0bd0 <apc_sma_free>)
    at /tmp/pear/cache/APC-3.0.12p2/apc_compile.c:1200
        zo = <value optimized out>
        i = 23
        local_dst_alloc = 0
        flags = (apc_opflags_t *) 0x2aaaaef664e8
        __PRETTY_FUNCTION__ = "apc_copy_op_array"
#7  0x00002aaaac8eb443 in my_copy_function (dst=0x2aaaaef66420, src=0x2aaaaf223748,
    allocate=0x2aaaac8f09c0 <apc_sma_malloc>, deallocate=0x2aaaac8f0bd0 <apc_sma_free>)
    at /tmp/pear/cache/APC-3.0.12p2/apc_compile.c:403
        __PRETTY_FUNCTION__ = "my_copy_function"
#8  0x00002aaaac8e932e in my_copy_hashtable_ex (dst=0x2aaaaef520f8, src=<value optimized out>,
---Type <return> to continue, or q <return> to quit---
    copy_fn=0x2aaaac8eb3c0 <my_copy_function>, free_fn=0x2aaaac8e9f50 <my_free_function>, holds_ptrs=0,
    allocate=0x2aaaac8f09c0 <apc_sma_malloc>, deallocate=0x2aaaac8f0bd0 <apc_sma_free>,
    check_fn=0x2aaaac8ec110 <my_check_copy_function>) at /tmp/pear/cache/APC-3.0.12p2/apc_compile.c:949
        n = 39
        curr = (Bucket *) 0x2aaaaf2236a0
        prev = (Bucket *) 0x2aaaaef66058
        newp = (Bucket *) 0x2aaaaef663b0
        first = 0
        local_dst_alloc = 0
        index = <value optimized out>
        __PRETTY_FUNCTION__ = "my_copy_hashtable_ex"
#9  0x00002aaaac8ea4a2 in apc_copy_new_classes (op_array=0x2aaaaefc46d8, old_count=<value optimized out>,
    allocate=0x2aaaac8f09c0 <apc_sma_malloc>, deallocate=0x2aaaac8f0bd0 <apc_sma_free>)
    at /tmp/pear/cache/APC-3.0.12p2/apc_compile.c:682
        key = 0x7fd7c0 "vh_lao_musiclist_unit_artist"
        key_size = 29
        elem = (zend_class_entry *) 0x2aaaaf205350
        array = (apc_class_t *) 0x2aaaaef52048
        new_count = 1
        i = 0
        __PRETTY_FUNCTION__ = "apc_copy_new_classes"
#10 0x00002aaaac8ed5a5 in my_compile_file (h=0x7ffffff63640, type=<value optimized out>)
    at /tmp/pear/cache/APC-3.0.12p2/apc_main.c:428
        dummy = <value optimized out>
        key = {data = {file = {device = 2306, inode = 18793622}, user = {identifier = 0x902 <Address 0x902 out of bounds>,
      identifier_len = 18793622}, fpfile = {fullpath = 0x902 <Address 0x902 out of bounds>, fullpath_len = 18793622}},
  mtime = 1163353625, type = 1 '\001'}
        cache_entry = <value optimized out>
        op_array = (zend_op_array *) 0x2aaaaefc46d8
        num_functions = 988
        num_classes = 148
        ret = <value optimized out>
        alloc_op_array = (zend_op_array *) 0x2aaaaef51ca8
        alloc_functions = (apc_function_t *) 0x2aaaaef52020
        alloc_classes = <value optimized out>
        t = 1163422002
---Type <return> to continue, or q <return> to quit---
        path = <value optimized out>
        mem_size = 93275
#11 0x00002aaaaba8455a in execute () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#12 0x00002aaaaba6bc6a in execute () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#13 0x00002aaaaba6c406 in execute () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#14 0x00002aaaaba6d102 in execute () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#15 0x00002aaaaba6bc6a in execute () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#16 0x00002aaaaba6c406 in execute () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#17 0x00002aaaaba6d102 in execute () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#18 0x00002aaaaba6bc6a in execute () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#19 0x00002aaaaba6c406 in execute () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#20 0x00002aaaaba6d102 in execute () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#21 0x00002aaaaba6bc6a in execute () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#22 0x00002aaaaba6c406 in execute () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#23 0x00002aaaaba6d102 in execute () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#24 0x00002aaaaba6bc6a in execute () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#25 0x00002aaaaba6c406 in execute () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#26 0x00002aaaaba6d102 in execute () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#27 0x00002aaaaba6bc6a in execute () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#28 0x00002aaaaba6c406 in execute () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#29 0x00002aaaaba6d102 in execute () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#30 0x00002aaaaba6bc6a in execute () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#31 0x00002aaaaba6c406 in execute () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#32 0x00002aaaaba6d102 in execute () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#33 0x00002aaaaba6bc6a in execute () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#34 0x00002aaaaba7a5a2 in execute () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#35 0x00002aaaaba6bc6a in execute () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#36 0x00002aaaaba43d40 in zend_execute_scripts () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#37 0x00002aaaab9e51bf in php_execute_script () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#38 0x00002aaaabac8466 in zend_get_zval_ptr_ptr () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#39 0x00000000004335a5 in ap_run_handler ()
No symbol table info available.
#40 0x0000000000433a02 in ap_invoke_handler ()
No symbol table info available.
#41 0x0000000000443bd0 in ap_process_request ()
No symbol table info available.
#42 0x00000000004412dd in ap_filter_protocol ()
No symbol table info available.
#43 0x0000000000439f05 in ap_run_process_connection ()
No symbol table info available.
#44 0x0000000000456745 in ap_graceful_stop_signalled ()
No symbol table info available.
#45 0x00000000004569c4 in ap_graceful_stop_signalled ()
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#46 0x0000000000456a3d in ap_graceful_stop_signalled ()
No symbol table info available.
#47 0x00000000004576b3 in ap_mpm_run ()
No symbol table info available.
#48 0x0000000000420c31 in main ()
No symbol table info available.
(gdb)
 [2007-01-07 10:42 UTC] sylvain at jamendo dot com
Hi! I've just had a new one :

root@kirk:~# gdb /usr/local/jamendo/apache/bin/httpd /var/log/japache/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 "x86_64-linux-gnu"...(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".

Core was generated by `/usr/local/jamendo/apache/bin/httpd -k start'.
Program terminated with signal 6, Aborted.
Reading symbols from /lib/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /usr/local/jamendo/apache/lib/libaprutil-1.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/local/jamendo/apache/lib/libaprutil-1.so.0
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/local/jamendo/apache/lib/libapr-1.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/local/jamendo/apache/lib/libapr-1.so.0
Reading symbols from /lib/librt.so.1...
(no debugging symbols found)...done.
Loaded symbols for /lib/librt.so.1
Reading symbols from /lib/libcrypt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /lib/libpthread.so.0...
(no debugging symbols found)...done.
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libc.so.6...
(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux-x86-64.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /lib/libnsl.so.1...
(no debugging symbols found)...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libnss_compat.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libnss_compat.so.2
Reading symbols from /lib/libnss_nis.so.2...
(no debugging symbols found)...done.
Loaded symbols for /lib/libnss_nis.so.2
Reading symbols from /lib/libnss_files.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /usr/local/jamendo/apache/modules/libphp5.so...
(no debugging symbols found)...done.
Loaded symbols for /usr/local/jamendo/apache/modules/libphp5.so
Reading symbols from /usr/lib/libmysqlclient.so.14...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libmysqlclient.so.14
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/libpng12.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libpng12.so.0
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/libjpeg.so.62...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libjpeg.so.62
Reading symbols from /lib/libresolv.so.2...
(no debugging symbols found)...done.
Loaded symbols for /lib/libresolv.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/local/jamendo/php/lib/php/extensions/debug-non-zts-20060613/memcache.so...done.
Loaded symbols for /usr/local/jamendo/php/lib/php/extensions/debug-non-zts-20060613/memcache.so
Reading symbols from /usr/local/jamendo/php/lib/php/extensions/debug-non-zts-20060613/apc.so...done.
Loaded symbols for /usr/local/jamendo/php/lib/php/extensions/debug-non-zts-20060613/apc.so
Reading symbols from /usr/local/jamendo/php/lib/php/extensions/debug-non-zts-20060613/geoip.so...done.
Loaded symbols for /usr/local/jamendo/php/lib/php/extensions/debug-non-zts-20060613/geoip.so
Reading symbols from /usr/local/lib/libGeoIP.so.1...done.
Loaded symbols for /usr/local/lib/libGeoIP.so.1

#0  0x00002aaaab52c11d in raise () from /lib/libc.so.6
(gdb) bt full
#0  0x00002aaaab52c11d in raise () from /lib/libc.so.6
No symbol table info available.
#1  0x00002aaaab52d84e in abort () from /lib/libc.so.6
No symbol table info available.
#2  0x00002aaaab5258f1 in __assert_fail () from /lib/libc.so.6
No symbol table info available.
#3  0x00002aaaace37d2e in apc_cache_free_entry (entry=0x2aaaaef17d88)
    at /tmp/pear/cache/APC-3.0.12p2/apc_cache.c:915
        __PRETTY_FUNCTION__ = "apc_cache_free_entry"
#4  0x00002aaaace37d49 in free_slot (slot=0x2aaaaef17e38)
    at /tmp/pear/cache/APC-3.0.12p2/apc_cache.c:165
No locals.
#5  0x00002aaaace38530 in process_pending_removals (cache=0x7a4a00)
    at /tmp/pear/cache/APC-3.0.12p2/apc_cache.c:227
        gc_sec = -1
        slot = (slot_t **) 0x2aaaaed24620
        now = 1168184625
#6  0x00002aaaace387d5 in apc_cache_insert (cache=0x7a4a00, key=
      {data = {file = {device = 2306, inode = 21332255}, user = {identifier = 0x902 <Address 0x902 out of bounds>, identifier_len = 21332255}, fpfile = {fullpath = 0x902 <Address 0x902 out of bounds>, fullpath_len = 21332255}}, mtime = 1168130528, type = 1 '\001'}, value=0x2aaab5039bf0, t=1168184625)
    at /tmp/pear/cache/APC-3.0.12p2/apc_cache.c:435
---Type <return> to continue, or q <return> to quit---
        slot = <value optimized out>
#7  0x00002aaaace3d637 in my_compile_file (h=<value optimized out>, 
    type=<value optimized out>) at /tmp/pear/cache/APC-3.0.12p2/apc_main.c:469
        dummy = <value optimized out>
        key = {data = {file = {device = 2306, inode = 21332255}, user = {
      identifier = 0x902 <Address 0x902 out of bounds>, 
      identifier_len = 21332255}, fpfile = {
      fullpath = 0x902 <Address 0x902 out of bounds>, 
      fullpath_len = 21332255}}, mtime = 1168130528, type = 1 '\001'}
        cache_entry = (apc_cache_entry_t *) 0x2aaab5039bf0
        op_array = (zend_op_array *) 0x2aaab5306c50
        num_functions = 1071
        num_classes = 169
        ret = <value optimized out>
        alloc_op_array = (zend_op_array *) 0x2aaab50205b0
        alloc_functions = (apc_function_t *) 0x2aaab5022988
        alloc_classes = (apc_class_t *) 0x2aaab5039bc0
        t = 1168184625
        path = <value optimized out>
        mem_size = 95288
#8  0x00002aaaaba8455a in execute ()
   from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#9  0x00002aaaaba6bc6a in execute ()
   from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#10 0x00002aaaaba6c406 in execute ()
   from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#11 0x00002aaaaba6d102 in execute ()
   from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#12 0x00002aaaaba6bc6a in execute ()
   from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#13 0x00002aaaaba6c406 in execute ()
   from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#14 0x00002aaaaba6d102 in execute ()
   from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#15 0x00002aaaaba6bc6a in execute ()
   from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#16 0x00002aaaaba6c406 in execute ()
   from /usr/local/jamendo/apache/modules/libphp5.so
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#17 0x00002aaaaba6d102 in execute ()
   from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#18 0x00002aaaaba6bc6a in execute ()
   from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#19 0x00002aaaaba6c406 in execute ()
   from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#20 0x00002aaaaba6d102 in execute ()
   from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#21 0x00002aaaaba6bc6a in execute ()
   from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#22 0x00002aaaaba6c406 in execute ()
   from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#23 0x00002aaaaba6d102 in execute ()
   from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#24 0x00002aaaaba6bc6a in execute ()
---Type <return> to continue, or q <return> to quit---
   from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#25 0x00002aaaaba6c406 in execute ()
   from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#26 0x00002aaaaba6d102 in execute ()
   from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#27 0x00002aaaaba6bc6a in execute ()
   from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#28 0x00002aaaaba6c406 in execute ()
   from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#29 0x00002aaaaba6d102 in execute ()
   from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#30 0x00002aaaaba6bc6a in execute ()
   from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#31 0x00002aaaaba7a5a2 in execute ()
   from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#32 0x00002aaaaba6bc6a in execute ()
   from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#33 0x00002aaaaba43d40 in zend_execute_scripts ()
   from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#34 0x00002aaaab9e51bf in php_execute_script ()
   from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#35 0x00002aaaabac8466 in zend_get_zval_ptr_ptr ()
   from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#36 0x00000000004335a5 in ap_run_handler ()
No symbol table info available.
#37 0x0000000000433a02 in ap_invoke_handler ()
No symbol table info available.
#38 0x0000000000443bd0 in ap_process_request ()
No symbol table info available.
#39 0x00000000004412dd in ap_filter_protocol ()
No symbol table info available.
#40 0x0000000000439f05 in ap_run_process_connection ()
No symbol table info available.
#41 0x0000000000456745 in ap_graceful_stop_signalled ()
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#42 0x00000000004569c4 in ap_graceful_stop_signalled ()
No symbol table info available.
#43 0x00000000004572cc in ap_mpm_run ()
No symbol table info available.
#44 0x0000000000420c31 in main ()
No symbol table info available.
(gdb)
 [2007-02-06 19:53 UTC] shire@php.net
Your message states that you have apc.shm_size = 30, can you verify how much of this memory is being typically consumed just before and after you see these problems?  (you can do this by using the apc.php file that accompanies the apc package.)  Some other statistics on this page may prove usefu l as well.  

Please also try out the latest CVS and if there's *simple* code to reproduce it, that would be helpful, thanks.
 [2007-02-17 14:48 UTC] sylvain at sylvainzimmer dot com
Full post now, please delete the others :(
--

Me again.

upgraded to httpd 2.2.4, php 5.2.1, APC CVS.

Still the same segfault. I was just about to hang myself a minute ago. My boss is just going to kill me anyway.

PLEASE have a look at this 3-month-old bug in a stable package. PLEASE if there is a workaround or a configure flag or whatever... just tell me. I can give you any informations/traces you want to help.

Segfault happens whether shm_size=92 or 128.

Here is the output of apc.php. 10 minutes after restart (after segfault :/), cache is 78% full.

APC Version    3.0.13-dev
PHP Version    5.2.1
Server Software    Japache/2.2.4 (Unix)
Shared Memory    1 Segment(s) with 92.0 MBytes
Start Time    2007/02/17 20:13:57
Uptime    10 minutes
File Upload Support    1
File Cache Information
Cached Files    865 ( 63.3 MBytes)
Hits    166095
Misses    899
Request Rate (hits, misses)    278.32 cache requests/second
Hit Rate    276.82 cache requests/second
Miss Rate    1.50 cache requests/second
Insert Rate    1.44 cache requests/second
Cache full count    0
User Cache Information
Cached Variables    0 ( 0.0 Bytes)
Hits    0
Misses    0
Request Rate (hits, misses)    0.00 cache requests/second
Hit Rate    0.00 cache requests/second
Miss Rate    0.00 cache requests/second
Insert Rate    0.00 cache requests/second
Cache full count    0
Runtime Settings
apc.cache_by_default    1
apc.enable_cli    0
apc.enabled    1
apc.file_update_protection    0
apc.filters    
apc.gc_ttl    3600
apc.include_once_override    0
apc.max_file_size    1M
apc.mmap_file_mask    
apc.num_files_hint    1500
apc.report_autofilter    0
apc.rfc1867    0
apc.shm_segments    1
apc.shm_size    92
apc.slam_defense    0
apc.stat    1
apc.stat_ctime    0
apc.ttl    0
apc.user_entries_hint    100
apc.user_ttl    0
apc.write_lock    1




Backtrace:



root@spock:~# gdb /usr/local/jamendo/apache/bin/httpd /var/log/japache/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 "x86_64-linux-gnu"...(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".

Core was generated by `/usr/local/jamendo/apache/bin/httpd -k start'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /usr/local/jamendo/apache/lib/libaprutil-1.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/local/jamendo/apache/lib/libaprutil-1.so.0
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/local/jamendo/apache/lib/libapr-1.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/local/jamendo/apache/lib/libapr-1.so.0
Reading symbols from /lib/librt.so.1...
(no debugging symbols found)...done.
Loaded symbols for /lib/librt.so.1
Reading symbols from /lib/libcrypt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /lib/libpthread.so.0...
(no debugging symbols found)...done.
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libc.so.6...
(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux-x86-64.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /lib/libnsl.so.1...
(no debugging symbols found)...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libnss_compat.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libnss_compat.so.2
Reading symbols from /lib/libnss_nis.so.2...
(no debugging symbols found)...done.
Loaded symbols for /lib/libnss_nis.so.2
Reading symbols from /lib/libnss_files.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /usr/local/jamendo/apache/modules/libphp5.so...
(no debugging symbols found)...done.
Loaded symbols for /usr/local/jamendo/apache/modules/libphp5.so
Reading symbols from /usr/lib/libmysqlclient.so.14...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libmysqlclient.so.14
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/libpng12.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libpng12.so.0
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/libjpeg.so.62...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libjpeg.so.62
Reading symbols from /lib/libresolv.so.2...
(no debugging symbols found)...done.
Loaded symbols for /lib/libresolv.so.2
Reading symbols from /usr/lib/libssl.so.0.9.8...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libssl.so.0.9.8
Reading symbols from /usr/lib/libcrypto.so.0.9.8...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libcrypto.so.0.9.8
Reading symbols from /usr/lib/libcurl.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libcurl.so.3
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...
---Type <return> to continue, or q <return> to quit---
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libk5crypto.so.3
Reading symbols from /usr/lib/libkrb5support.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libkrb5support.so.0
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/libidn.so.11...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libidn.so.11
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/local/jamendo/php/lib/php/extensions/debug-non-zts-20060613/memcache.so...(no debugging symbols found)...done.
Loaded symbols for /usr/local/jamendo/php/lib/php/extensions/debug-non-zts-20060613/memcache.so
Reading symbols from /usr/local/jamendo/php/lib/php/extensions/debug-non-zts-20060613/apc.so...done.
Loaded symbols for /usr/local/jamendo/php/lib/php/extensions/debug-non-zts-20060613/apc.so
Reading symbols from /usr/local/jamendo/php/lib/php/extensions/debug-non-zts-20060613/geoip.so...done.
Loaded symbols for /usr/local/jamendo/php/lib/php/extensions/debug-non-zts-20060613/geoip.so
Reading symbols from /usr/local/lib/libGeoIP.so.1...done.
Loaded symbols for /usr/local/lib/libGeoIP.so.1
#0  sma_allocate
    (shmaddr=0x2aaaadda1000, size=<value optimized out>)
    at /root/pecl/apc/apc_sma.c:155
155     /root/pecl/apc/apc_sma.c: No such file or directory.
        in /root/pecl/apc/apc_sma.c
(gdb) 
(gdb) 
(gdb) bt full
#0  sma_allocate (shmaddr=0x2aaaadda1000, size=<value optimized out>)
    at /root/pecl/apc/apc_sma.c:155
        prv = (block_t *) 0x2aaaadde2002
        cur = (block_t *) 0x22aaaadda1000
        realsize = 256
        last_offset = 562949953421312
        wrapped = 0
        __PRETTY_FUNCTION__ = "sma_allocate"
#1  0x00002aaaada86f5f in apc_sma_malloc (n=232)
    at /root/pecl/apc/apc_sma.c:404
        off = <value optimized out>
        i = <value optimized out>
        __PRETTY_FUNCTION__ = "apc_sma_malloc"
#2  0x00002aaaada8413c in apc_copy_op_array (dst=0x0, src=0x2000000000000, 
    allocate=0x2aaaada86ef0 <apc_sma_malloc>, 
    deallocate=0x2aaaada87150 <apc_sma_free>)
    at /root/pecl/apc/apc_compile.c:1102
        i = <value optimized out>
        local_dst_alloc = 0
        flags = <value optimized out>
        __PRETTY_FUNCTION__ = "apc_copy_op_array"
#3  0x00002aaaada85cc8 in my_compile_file (h=0x7fffffa34ba0, 
    type=<value optimized out>) at /root/pecl/apc/apc_main.c:408
---Type <return> to continue, or q <return> to quit---
        dummy = <value optimized out>
        key = {data = {file = {device = 2306, inode = 13292342}, user = {
      identifier = 0x902 <Address 0x902 out of bounds>, 
      identifier_len = 13292342}, fpfile = {
      fullpath = 0x902 <Address 0x902 out of bounds>, 
      fullpath_len = 13292342}}, mtime = 1171720760, type = 1 '\001'}
        cache_entry = <value optimized out>
        op_array = (zend_op_array *) 0x2aaab39fcdf8
        num_functions = 1047
        num_classes = 127
        ret = <value optimized out>
        alloc_op_array = <value optimized out>
        alloc_functions = <value optimized out>
        alloc_classes = <value optimized out>
        t = 1171739634
        path = <value optimized out>
        mem_size = 0
#4  0x00002aaaabad825a in execute ()
   from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#5  0x00002aaaaba938d3 in execute ()
   from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#6  0x00002aaaaba9406f in execute ()
   from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#7  0x00002aaaaba94d6b in execute ()
   from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#8  0x00002aaaaba938d3 in execute ()
   from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#9  0x00002aaaaba9406f in execute ()
   from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#10 0x00002aaaaba94d6b in execute ()
   from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#11 0x00002aaaaba938d3 in execute ()
   from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#12 0x00002aaaaba9406f in execute ()
   from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#13 0x00002aaaaba94d6b in execute ()
   from /usr/local/jamendo/apache/modules/libphp5.so
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#14 0x00002aaaaba938d3 in execute ()
   from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#15 0x00002aaaabaa229b in execute ()
   from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#16 0x00002aaaaba938d3 in execute ()
   from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#17 0x00002aaaaba697f3 in zend_execute_scripts ()
   from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#18 0x00002aaaaba09250 in php_execute_script ()
   from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#19 0x00002aaaabaf0548 in zend_get_zval_ptr_ptr ()
   from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#20 0x00000000004335e5 in ap_run_handler ()
No symbol table info available.
#21 0x0000000000433a4c in ap_invoke_handler ()
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#22 0x0000000000443ce0 in ap_process_request ()
No symbol table info available.
#23 0x00000000004413ed in ap_filter_protocol ()
No symbol table info available.
#24 0x000000000043a015 in ap_run_process_connection ()
No symbol table info available.
#25 0x0000000000456855 in ap_graceful_stop_signalled ()
No symbol table info available.
#26 0x0000000000456ad4 in ap_graceful_stop_signalled ()
No symbol table info available.
#27 0x00000000004573dc in ap_mpm_run ()
No symbol table info available.
#28 0x0000000000420cd1 in main ()
No symbol table info available.
(gdb)
 [2007-02-17 21:38 UTC] shire@php.net
Can you try out the following new ini settings to see if it helps?

apc.file_update_protection=15
apc.slam_defense=75

I see apc.stat is on, are these files being updated regularly with rsync, svn, or changing at all while the server is running?
 [2007-02-18 01:50 UTC] rasmus@php.net
Turning on apc.write_lock might be a better option here.  This ensures that only one process at a time can add new entries to the cache, so it effectively fixes any cache slams caused by frequent file updates.
 [2007-02-18 07:40 UTC] sylvain at jamendo dot com
Thanks for your suggestions!

shire: I'll turn off the apc stat, yes, thanks for the suggestion

rasmus: My write_lock seems already on in the config (I pasted it in the previous message). Do I have to change another flag or compile option?

I've been monitoring apc.php every 10 minutes and one server ran into a strange status: it had 10000+ expunges and counting, the cache was completely fragmented and there was only 700kb left, mainly in little 56bytes parts I think. I'll join a screenshot if that happens again and wait to see if that condition leads to the segfault.
 [2007-02-18 15:25 UTC] shire@php.net
We have a known issues with high load and full memory, and this sounds like that scenario.   The expunges should only happen once you've filled up your memory.  To rule this out, can we try to increase your memory size again, and make sure that you actually have extra space leftover?

Yep, looks like your write lock is already enabled.
 [2007-02-18 15:53 UTC] sylvain at jamendo dot com
Thanks shire,

Do you know how to fix these known issues? The problem is not systematic, with 92M we usually have 4 to 10 expunges a day which seems quite ok. I've added a daemon which checks for expunge count >1000 and resets the cache.
 [2007-02-18 17:12 UTC] rasmus@php.net
On your APC info page, what is your "Cache Full Count" at when you have these problems?  Or is that what you mean by 1000's of expunges per day?

There are 2 reasons that your cache will fill up and get cleaned.  1. your files are changing rapidly and new versions keep getting added which will eventually force a cache full state and a cleanup.  2. You simply have more scripts to cache than will fit in your cache.  

The first case of rapidly changing files isn't easily fixable, other than perhaps simply not caching the files that change all the time by filtering them out with apc.filter.  For the second case the easy fix is to just allocate more space for APC, or if for some reason you can't do that, again use apc.filter to filter out large scripts that aren't hit very often.  The APC info page can help you identify these.

We do have some anecdotal reports of problems when the cache fills up constantly and Gopal is contemplating an allocator rewrite after we get the current code released.  But even if we find the edge case causing this, having your cache constantly cleaning itself up isn't helping your performance, so even without the crash you would want to get this under control.
 [2007-02-18 18:24 UTC] sylvain at jamendo dot com
>On your APC info page, what is your "Cache Full Count" at when you have
>these problems?  Or is that what you mean by 1000's of expunges per
day?

Cache full count is usually <20, growing a few units a day.

We have lots of small scripts (5000+) that can't be all in the cache at once so I have no problem with cache full events occuring a few times a day if they clean the less used files.

When I ran into the cache full count>10000 problem, I guess the cleaning algorithm wasn't cleaning hard enough, because our request rate was the same and the cache usage was still very high. (maybe too many small free 56byte blocks can make the algorithm fail?)
 [2007-02-18 19:29 UTC] rasmus@php.net
When apc.ttl is set to 0 then the entire cache is dumped when it fills up.  I found that it was too expensive to lock the cache and loop through the whole thing looking for stale entries in this case and it is much quicker to just dump the whole thing and let it repopulate itself.  If you set apc.ttl to non-zero then it will behave as you might expect, but during each of these cleanups the cache is going to be locked on you.

You can have a look at apc_cache_expunge() in apc_cache.c for the expunge logic.  It doesn't care about the sizes of the slots.
 [2007-02-19 09:21 UTC] gopalv82 at yahoo dot com
Did any process exit with a timeout before this started ?

The symptoms are very similar to another problem I've patched up with some "borrowed" bsd-specific code - *if* you've got a process exiting sideways out of a loop (on a time out exceeded), this is highly likely to be the very same.

http://news.php.net/php.internals/17172

Pretty old and dusty issue, I suppose.
 [2007-05-03 08:15 UTC] sylvinus at jamendo dot com
Months pass and still no fix for this bug.

Another different backtrace:

root@spock:~# gdb /usr/local/jamendo/apache/bin/httpd /var/log/japache/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 "x86_64-linux-gnu"...(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".

Core was generated by `/usr/local/jamendo/apache/bin/httpd -k start'.
Program terminated with signal 6, Aborted.
Reading symbols from /lib/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /usr/local/jamendo/apache/lib/libaprutil-1.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/local/jamendo/apache/lib/libaprutil-1.so.0
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/local/jamendo/apache/lib/libapr-1.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/local/jamendo/apache/lib/libapr-1.so.0
Reading symbols from /lib/librt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/librt.so.1
Reading symbols from /lib/libcrypt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /lib/libpthread.so.0...
(no debugging symbols found)...done.
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux-x86-64.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /lib/libnsl.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libnss_compat.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libnss_compat.so.2
Reading symbols from /lib/libnss_nis.so.2...
(no debugging symbols found)...done.
Loaded symbols for /lib/libnss_nis.so.2
Reading symbols from /lib/libnss_files.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /usr/local/jamendo/apache/modules/libphp5.so...(no debugging symbols found)...done.
Loaded symbols for /usr/local/jamendo/apache/modules/libphp5.so
Reading symbols from /usr/lib/libmysqlclient.so.14...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libmysqlclient.so.14
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/libpng12.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libpng12.so.0
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/libjpeg.so.62...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libjpeg.so.62
Reading symbols from /lib/libresolv.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libresolv.so.2
Reading symbols from /usr/lib/libssl.so.0.9.8...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libssl.so.0.9.8
Reading symbols from /usr/lib/libcrypto.so.0.9.8...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libcrypto.so.0.9.8
Reading symbols from /usr/lib/libcurl.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libcurl.so.3
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 /usr/lib/libkrb5support.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libkrb5support.so.0
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/libidn.so.11...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libidn.so.11
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/local/jamendo/php/lib/php/extensions/debug-non-zts-20060613/memcache.so...(no debugging symbols found)...done.
Loaded symbols for /usr/local/jamendo/php/lib/php/extensions/debug-non-zts-20060613/memcache.so
Reading symbols from /usr/local/jamendo/php/lib/php/extensions/debug-non-zts-20060613/apc.so...done.
Loaded symbols for /usr/local/jamendo/php/lib/php/extensions/debug-non-zts-20060613/apc.so
Reading symbols from /usr/local/jamendo/php/lib/php/extensions/debug-non-zts-20060613/geoip.so...done.
Loaded symbols for /usr/local/jamendo/php/lib/php/extensions/debug-non-zts-20060613/geoip.so
Reading symbols from /usr/local/lib/libGeoIP.so.1...done.
Loaded symbols for /usr/local/lib/libGeoIP.so.1
Reading symbols from /usr/local/jamendo/php/lib/php/extensions/debug-non-zts-20060613/pdo.so...done.
Loaded symbols for /usr/local/jamendo/php/lib/php/extensions/debug-non-zts-20060613/pdo.so
Reading symbols from /usr/local/jamendo/php/lib/php/extensions/debug-non-zts-20060613/pdo_mysql.so...done.
Loaded symbols for /usr/local/jamendo/php/lib/php/extensions/debug-non-zts-20060613/pdo_mysql.so
#0  0x00002aaaab52c11d in raise () from /lib/libc.so.6
(gdb) bt full
#0  0x00002aaaab52c11d in raise () from /lib/libc.so.6
No symbol table info available.
#1  0x00002aaaab52d84e in abort () from /lib/libc.so.6
No symbol table info available.
#2  0x00002aaaab5258f1 in __assert_fail () from /lib/libc.so.6
No symbol table info available.
#3  0x00002aaaada878e4 in sma_allocate (shmaddr=<value optimized out>, size=<value optimized out>) at /tmp/pear/cache/APC-3.0.14/apc_sma.c:192
        prv = (block_t *) 0x7cf4
        cur = (block_t *) 0x6
        realsize = <value optimized out>
        last_offset = 8
        wrapped = 0
        __PRETTY_FUNCTION__ = "sma_allocate"
#4  0x00002aaaada87bcf in apc_sma_malloc (n=232) at /tmp/pear/cache/APC-3.0.14/apc_sma.c:415
        off = <value optimized out>
        i = <value optimized out>
        __PRETTY_FUNCTION__ = "apc_sma_malloc"
#5  0x00002aaaada84b94 in apc_copy_op_array (dst=0x0, src=0x7cf4, allocate=0x2aaaada87b60 <apc_sma_malloc>, deallocate=0x2aaaada87dc0 <apc_sma_free>) at /tmp/pear/cache/APC-3.0.14/apc_compile.c:1105
        varname = <value optimized out>
        i = <value optimized out>
        local_dst_alloc = 0
        fileinfo = {
  fullpath = "?&\213\000\000\000\000\000 !&#371;?*\000\033@-???\177\000\000\027&#932586;*\000\000?+???\177\000\000?^???*\000\000\000\000\000\000?*\000\000\004\000\000\000\000\000\000\000??&#60138;*\000\000(!&#371;?*\000\000Prc", '\0' <repeats 13 times>, "\004\000\000\000\000\000\000\000??&#60138;*\000\000?)&#307;?*\000\000\001", '\0' <repeats 15 times>, "?)&#307;C\000\000\000`*&#1195;?*\000\000\000\000\000\000\001\000\000\000?)&#307;?*\000\000?pc\000\000\000\000\000h)&#307;?*\000\000\001\000\000\000\027\000\000\000?&\213\000\000\000\000\000?&\213\000\000\000\000\000"..., st_buf = {st_dev = 3419483840034923887, 
    st_ino = 3419204576949074021, st_nlink = 6876825581328884074, st_mode = 1601664887, st_uid = 1702259052, st_gid = 925970783, pad0 = 825374263, st_rdev = 3761970453849256758, 
    st_size = 8083791406813097784, st_blksize = 8245926409419253093, st_blocks = 7021802515887126319, st_atim = {tv_sec = 123593861000035, tv_nsec = 0}, st_mtim = {tv_sec = 0, tv_nsec = 0}, 
    st_ctim = {tv_sec = 0, tv_nsec = 0}, __unused = {0, 0, 0}}}
        canon_path = '\0' <repeats 3168 times>, "??&#307;?*\000\000?pc\000\000\000\000\000h)&#307;?*\000\000Prc\000\000\000\000\000?@\003", '\0' <repeats 13 times>, "pI???\177\000\000\202X???*", '\0' <repeats 18 times>, "X\036\000\000\000\000\000\000??&#307;?*\000\000\000\000\001\000\004\000K\000?\000?\000m\001?\001M\001?\000`\001?\001?\001)\002f\002\214\002?\002M\001)\002f\002?pc\000\000\000\000\000X\006\000\000\000\000\000\000x?&#307;?*\000\000Prc\000\000\000\000\000x?&#307;?*\000\000\004\000\000\000\000\000\000\000??&#60138;*\000\000??&#307;?*\000\000\001"...
        fullpath = <value optimized out>
        flags = <value optimized out>
        __PRETTY_FUNCTION__ = "apc_copy_op_array"
#6  0x00002aaaada86979 in my_compile_file (h=0x7fffffd95d30, type=<value optimized out>) at /tmp/pear/cache/APC-3.0.14/apc_main.c:418
        dummy = <value optimized out>
        key = {data = {file = {device = 2306, inode = 11425425}, user = {identifier = 0x902 <Address 0x902 out of bounds>, identifier_len = 11425425}, fpfile = {
      fullpath = 0x902 <Address 0x902 out of bounds>, fullpath_len = 11425425}}, mtime = 1177621674, type = 1 '\001'}
        cache_entry = <value optimized out>
        op_array = (zend_op_array *) 0x2aaab3c24db8
        num_functions = 1048
        num_classes = 132
        ret = <value optimized out>
        alloc_op_array = <value optimized out>
---Type <return> to continue, or q <return> to quit---
        alloc_functions = <value optimized out>
        alloc_classes = <value optimized out>
        t = 1178194937
        path = <value optimized out>
        mem_size = 0
#7  0x00002aaaabad825a in execute () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#8  0x00002aaaaba938d3 in execute () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#9  0x00002aaaaba9406f in execute () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#10 0x00002aaaaba94d6b in execute () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#11 0x00002aaaaba938d3 in execute () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#12 0x00002aaaaba9406f in execute () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#13 0x00002aaaaba94d6b in execute () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#14 0x00002aaaaba938d3 in execute () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#15 0x00002aaaaba9406f in execute () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#16 0x00002aaaaba94d6b in execute () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#17 0x00002aaaaba938d3 in execute () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#18 0x00002aaaabaa229b in execute () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#19 0x00002aaaaba938d3 in execute () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#20 0x00002aaaaba697f3 in zend_execute_scripts () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#21 0x00002aaaaba09250 in php_execute_script () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#22 0x00002aaaabaf0548 in zend_get_zval_ptr_ptr () from /usr/local/jamendo/apache/modules/libphp5.so
No symbol table info available.
#23 0x00000000004335e5 in ap_run_handler ()
No symbol table info available.
#24 0x0000000000433a4c in ap_invoke_handler ()
No symbol table info available.
#25 0x0000000000443ce0 in ap_process_request ()
No symbol table info available.
#26 0x00000000004413ed in ap_filter_protocol ()
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#27 0x000000000043a015 in ap_run_process_connection ()
No symbol table info available.
#28 0x0000000000456855 in ap_graceful_stop_signalled ()
No symbol table info available.
#29 0x0000000000456ad4 in ap_graceful_stop_signalled ()
No symbol table info available.
#30 0x00000000004573dc in ap_mpm_run ()
No symbol table info available.
#31 0x0000000000420cd1 in main ()
No symbol table info available.
(gdb)
 [2007-05-04 19:30 UTC] gopalv82 at yahoo dot com
I don't think you heard me the first time ...

> Did any process exit with a timeout before this started ?
 [2008-08-27 15:21 UTC] shire@php.net
Changing status to 'feedback' as we haven't heard anything back on this one.  Also, can you try the latest CVS version if this is still a problem?  There's a couple new changes that probably won't completely fix this issue but may make it a little less severe.
 [2009-02-16 20:23 UTC] shire@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sat Jan 25 23:01:24 2020 UTC