php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56743 Cannot get APC working...
Submitted: 2005-12-22 15:46 UTC Modified: 2006-02-24 02:00 UTC
From: apinstein at mac dot com Assigned: rasmus (profile)
Status: Closed Package: APC (PECL)
PHP Version: 5.0.4 OS: Mac OS X
Private report: No CVE-ID: None
 [2005-12-22 15:46 UTC] apinstein at mac dot com
Description:
------------
I have been unable to get APC 3.0.8 working on my mac with 
PHP 5.0.4 and apache2.

I have tried numberous conig options:

./configure --enable-apc --enable-apc-mmap --with-apxs=/sw/
sbin/apxs --with-php-config=/sw/bin/php-config

./configure --enable-apc --enable-apc-mmap --enable-sem --
with-apxs=/sw/sbin/apxs --with-php-config=/sw/bin/php-config

./configure --enable-apc --enable-apc-sem --with-apxs=/sw/
sbin/apxs --with-php-config=/sw/bin/php-config 

I can get apache running (after tweaking the apc.shm_size 
param using sem). It also will start up with mmap.

However, it always crashes on the 2nd "request".

I don't have a GDB trace, but I've included an Apple 
CrashReporter dump.

Is my setup unsupported, or is there a bug?



Reproduce code:
---------------
n/a

Expected result:
----------------
Apache shouldn't crash.

Actual result:
--------------
Host Name:      g5
Date/Time:      2005-12-22 15:30:33.924 -0500
OS Version:     10.4.3 (Build 8F46)
Report Version: 3

Command: httpd
Path:    /sw/sbin/httpd
Parent:  httpd [25541]

Version: ??? (???)

PID:    25548
Thread: 0

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_PROTECTION_FAILURE (0x0002) at 0x00000104

Thread 0 Crashed:
0   libphp5.so 	0x0148eb0c do_implement_interface + 64 
(bundle1.s:283)
1   libphp5.so 	0x0148eaa4 zend_do_inherit_interfaces + 440 
(bundle1.s:283)
2   libphp5.so 	0x0148ecc0 zend_do_inheritance + 212 
(bundle1.s:283)
3   libphp5.so 	0x0148f430 do_bind_inherited_class + 256 
(bundle1.s:283)
4   libphp5.so 	0x0148f76c zend_do_early_binding + 560 
(bundle1.s:283)
5   libphp5.so 	0x014755b8 zendparse + 3052 (bundle1.s:283)
6   libphp5.so 	0x01479d60 compile_file + 320 (bundle1.s:
283)
7   apc.so     	0x026df7c8 my_compile_file + 792 
(apc_main.c:282)
8   libphp5.so 	0x014ecae8 zend_include_or_eval_handler + 
624 (bundle1.s:283)
9   libphp5.so 	0x014e05cc execute + 488 (bundle1.s:283)
10  libphp5.so 	0x014e8dbc zend_do_fcall_common_helper + 
1592 (bundle1.s:283)
11  libphp5.so 	0x014e9688 zend_do_fcall_by_name_handler + 
64 (bundle1.s:283)
12  libphp5.so 	0x014e05cc execute + 488 (bundle1.s:283)
13  libphp5.so 	0x014e8dbc zend_do_fcall_common_helper + 
1592 (bundle1.s:283)
14  libphp5.so 	0x014e9688 zend_do_fcall_by_name_handler + 
64 (bundle1.s:283)
15  libphp5.so 	0x014e05cc execute + 488 (bundle1.s:283)
16  libphp5.so 	0x014e8dbc zend_do_fcall_common_helper + 
1592 (bundle1.s:283)
17  libphp5.so 	0x014e9688 zend_do_fcall_by_name_handler + 
64 (bundle1.s:283)
18  libphp5.so 	0x014e05cc execute + 488 (bundle1.s:283)
19  libphp5.so 	0x014e8dbc zend_do_fcall_common_helper + 
1592 (bundle1.s:283)
20  libphp5.so 	0x014e9688 zend_do_fcall_by_name_handler + 
64 (bundle1.s:283)
21  libphp5.so 	0x014e05cc execute + 488 (bundle1.s:283)
22  libphp5.so 	0x014e8dbc zend_do_fcall_common_helper + 
1592 (bundle1.s:283)
23  libphp5.so 	0x014e9688 zend_do_fcall_by_name_handler + 
64 (bundle1.s:283)
24  libphp5.so 	0x014e05cc execute + 488 (bundle1.s:283)
25  libphp5.so 	0x014e8dbc zend_do_fcall_common_helper + 
1592 (bundle1.s:283)
26  libphp5.so 	0x014e9688 zend_do_fcall_by_name_handler + 
64 (bundle1.s:283)
27  libphp5.so 	0x014e05cc execute + 488 (bundle1.s:283)
28  libphp5.so 	0x014aadac zend_execute_scripts + 300 
(bundle1.s:283)
29  libphp5.so 	0x0144aef8 php_execute_script + 940 
(bundle1.s:283)
30  libphp5.so 	0x014f1fb4 php_handler + 1916 (bundle1.s:
283)
31  httpd      	0x0001fda0 ap_run_handler + 100 (config.c:
153)
32  httpd      	0x00020530 ap_invoke_handler + 236 
(config.c:366)
33  httpd      	0x0000882c ap_process_request + 108 
(http_request.c:253)
34  httpd      	0x00003530 ap_process_http_connection + 116 
(http_core.c:253)
35  httpd      	0x00019b38 ap_run_process_connection + 100 
(connection.c:43)
36  httpd      	0x00009e60 child_main + 1140 (prefork.c:611)
37  httpd      	0x00009fec make_child + 304 (prefork.c:707)
38  httpd      	0x0000a284 perform_idle_server_maintenance + 
448 (prefork.c:829)
39  httpd      	0x0000a704 ap_mpm_run + 1064 (prefork.c:
1040)
40  httpd      	0x0000be14 main + 2128 (main.c:618)
41  httpd      	0x0000293c _start + 348 (crt.c:272)
42  httpd      	0x000027dc start + 60

Thread 0 crashed with PPC Thread State 64:
  srr0: 0x000000000148eb0c srr1: 0x100000000200d030                        
vrsave: 0x0000000000000000
    cr: 0x24000412          xer: 0x0000000000000000   lr: 
0x000000000148eae4  ctr: 0x0000000000000000
    r0: 0x0000000000000000   r1: 0x00000000bfffae70   r2: 
0x0000000000000000   r3: 0x00000000011d73e0
    r4: 0x0000000000000000   r5: 0x0000000000000000   r6: 
0x00000000bfffafc0   r7: 0x0000000000000030
    r8: 0x0000000000000030   r9: 0x0000000000000000  r10: 
0x0000000000000001  r11: 0x0000000000000001
   r12: 0x000000009012cac0  r13: 0x000000000190d618  r14: 
0x000000000003e7ec  r15: 0x000000000003e7ec
   r16: 0x000000000003a100  r17: 0x000000000003e804  r18: 
0x000000000003e818  r19: 0x000000000000051a
   r20: 0x000000000000006f  r21: 0x000000000003c760  r22: 
0x000000000003a2bc  r23: 0x00000000026e4518
   r24: 0x0000000000000000  r25: 0x0000000043ab0ce9  r26: 
0x0000000000000008  r27: 0x00000000026df4b8
   r28: 0x00000000bfffc51c  r29: 0x00000000016ad020  r30: 
0x00000000bfffae70  r31: 0x000000000148eae4

Binary Images Description:
    0x1000 -    0x39fff httpd 	/sw/sbin/httpd
   0xf1000 -    0xf1fff mod_access.so 	/sw/lib/apache2/
modules/mod_access.so
   0xf8000 -    0xf9fff mod_auth.so 	/sw/lib/apache2/
modules/mod_auth.so
  0x205000 -   0x215fff libaprutil-0.0.dylib 	/sw/lib/
libaprutil-0.0.dylib
  0x249000 -   0x26efff libldap.2.dylib 	/sw/lib/libldap.
2.dylib
  0x2ea000 -   0x2fcfff libsasl2.2.dylib 	/sw/lib/
libsasl2.2.dylib
  0x32e000 -   0x35efff libssl.0.9.7.dylib 	/sw/lib/libssl.
0.9.7.dylib
  0x371000 -   0x447fff libcrypto.0.9.7.dylib 	/sw/lib/
libcrypto.0.9.7.dylib
  0x4a7000 -   0x4affff liblber.2.dylib 	/sw/lib/liblber.
2.dylib
  0x4c3000 -   0x4c6fff libgdbm.3.dylib 	/sw/lib/libgdbm.
3.dylib
  0x4d9000 -   0x578fff libdb-4.2.dylib 	/sw/lib/
libdb-4.2.dylib
  0x591000 -   0x5adfff libexpat.0.dylib 	/sw/lib/
libexpat.0.dylib
  0x5e3000 -   0x5fafff libapr-0.0.dylib 	/sw/lib/
libapr-0.0.dylib
  0x648000 -   0x6f4fff libdb-4.3.dylib 	/sw/lib/
libdb-4.3.dylib
  0x70e000 -   0x70ffff mod_file_cache.so 	/sw/lib/apache2/
modules/mod_file_cache.so
  0x716000 -   0x716fff mod_echo.so 	/sw/lib/apache2/
modules/mod_echo.so
  0x71c000 -   0x71efff mod_charset_lite.so 	/sw/lib/
apache2/modules/mod_charset_lite.so
  0x727000 -   0x72bfff mod_cache.so 	/sw/lib/apache2/
modules/mod_cache.so
  0x73e000 -   0x740fff mod_disk_cache.so 	/sw/lib/apache2/
modules/mod_disk_cache.so
  0x74a000 -   0x74dfff mod_mem_cache.so 	/sw/lib/apache2/
modules/mod_mem_cache.so
  0x75b000 -   0x75dfff mod_example.so 	/sw/lib/apache2/
modules/mod_example.so
  0x765000 -   0x765fff mod_case_filter.so 	/sw/lib/apache2/
modules/mod_case_filter.so
  0x76b000 -   0x76bfff mod_case_filter_in.so 	/sw/lib/
apache2/modules/mod_case_filter_in.so
  0x772000 -   0x774fff mod_ext_filter.so 	/sw/lib/apache2/
modules/mod_ext_filter.so
  0x77e000 -   0x785fff mod_include.so 	/sw/lib/apache2/
modules/mod_include.so
  0x796000 -   0x798fff mod_deflate.so 	/sw/lib/apache2/
modules/mod_deflate.so
  0x7a1000 -   0x7a4fff mod_log_config.so 	/sw/lib/apache2/
modules/mod_log_config.so
  0x7b0000 -   0x7b0fff mod_logio.so 	/sw/lib/apache2/
modules/mod_logio.so
  0x7b7000 -   0x7b7fff mod_env.so 	/sw/lib/apache2/modules/
mod_env.so
  0x7bd000 -   0x7bdfff mod_cern_meta.so 	/sw/lib/apache2/
modules/mod_cern_meta.so
  0x7c4000 -   0x7c5fff mod_setenvif.so 	/sw/lib/apache2/
modules/mod_setenvif.so
  0x7cd000 -   0x7cdfff mod_optional_hook_export.so 
	/sw/lib/apache2/modules/mod_optional_hook_export.so
  0x7d3000 -   0x7d3fff mod_optional_hook_import.so 
	/sw/lib/apache2/modules/mod_optional_hook_import.so
  0x7d6000 -   0x7d6fff mod_optional_fn_import.so 
	/sw/lib/apache2/modules/mod_optional_fn_import.so
  0x7dc000 -   0x7dcfff mod_optional_fn_export.so 
	/sw/lib/apache2/modules/mod_optional_fn_export.so
  0x7df000 -   0x7e1fff mod_mime.so 	/sw/lib/apache2/
modules/mod_mime.so
  0x7ea000 -   0x7edfff mod_status.so 	/sw/lib/apache2/
modules/mod_status.so
  0x7f6000 -   0x7f6fff mod_asis.so 	/sw/lib/apache2/
modules/mod_asis.so
 0x1008000 -  0x1018fff mod_dav.so 	/sw/lib/apache2/modules/
mod_dav.so
 0x1048000 -  0x104dfff mod_autoindex.so 	/sw/lib/apache2/
modules/mod_autoindex.so
 0x105a000 -  0x105dfff mod_cgi.so 	/sw/lib/apache2/modules/
mod_cgi.so
 0x1069000 -  0x1070fff mod_dav_fs.so 	/sw/lib/apache2/
modules/mod_dav_fs.so
 0x108c000 -  0x1091fff mod_negotiation.so 	/sw/lib/apache2/
modules/mod_negotiation.so
 0x109f000 -  0x109ffff mod_dir.so 	/sw/lib/apache2/modules/
mod_dir.so
 0x10a5000 -  0x10a7fff mod_imap.so 	/sw/lib/apache2/
modules/mod_imap.so
 0x10af000 -  0x10affff mod_userdir.so 	/sw/lib/apache2/
modules/mod_userdir.so
 0x10b6000 -  0x10b7fff mod_alias.so 	/sw/lib/apache2/
modules/mod_alias.so
 0x10bf000 -  0x10c5fff mod_proxy.so 	/sw/lib/apache2/
modules/mod_proxy.so
 0x10d8000 -  0x10dbfff mod_proxy_http.so 	/sw/lib/apache2/
modules/mod_proxy_http.so
 0x10e4000 -  0x10eefff curl.so 	/sw/lib/php5/libexec/
curl.so
 0x10f2000 -  0x10f9fff mcrypt.so 	/sw/lib/php5/libexec/
mcrypt.so
 0x1205000 -  0x1672fff libphp5.so 	/sw/lib/apache2/modules/
libphp5.so
 0x1713000 -  0x173afff libming.0.2.dylib 	/sw/lib/libming.
0.2.dylib
 0x178f000 -  0x1799fff mod_rewrite.so 	/sw/lib/apache2/
modules/mod_rewrite.so
 0x17ac000 -  0x17c3fff gd.so 	/sw/lib/php5/libexec/gd.so
 0x17c9000 -  0x17f0fff libpng.3.dylib 	/sw/lib/libpng.
3.dylib
 0x17f8000 -  0x17fbfff xsl.so 	/sw/lib/php5/libexec/xsl.so
 0x2008000 -  0x20effff libxml2.2.dylib 	/sw/lib/
libxml2.2.dylib
 0x22c7000 -  0x22e5fff mod_ssl.so 	/sw/lib/apache2/modules/
mod_ssl.so
 0x2375000 -  0x2396fff libcurl.2.dylib 	/sw/lib/libcurl.
2.dylib
 0x24b4000 -  0x24c9fff libgd.2.dylib 	/sw/lib/libgd.
2.dylib
 0x2532000 -  0x2566fff libt1.5.dylib 	/sw/lib/
libt1.5.dylib
 0x25d8000 -  0x25f2fff libjpeg.62.dylib 	/sw/lib/libjpeg.
62.dylib
 0x25f9000 -  0x2620fff libpng12.0.dylib 	/sw/lib/
libpng12.0.dylib
 0x2628000 -  0x2649fff libmcrypt.4.dylib 	/sw/lib/
libmcrypt.4.dylib
 0x268d000 -  0x2692fff libltdl.3.dylib 	/sw/lib/libltdl.
3.dylib
 0x269d000 -  0x26b4fff pgsql.so 	/sw/lib/php5/libexec/
pgsql.so
 0x26ba000 -  0x26cffff libpq.4.dylib 	/sw/lib/libpq.
4.dylib
 0x26d8000 -  0x26e3fff apc.so 	/sw/lib/php5/libexec/apc.so
 0x2816000 -  0x2823fff java.so 	/sw/lib/php5/20041030/
java.so
 0x284b000 -  0x2858fff libexslt.0.dylib 	/sw/lib/
libexslt.0.dylib
 0x287f000 -  0x28a9fff libxslt.1.dylib 	/sw/lib/libxslt.
1.dylib
 0x2927000 -  0x29dcfff imap.so 	/sw/lib/php5/libexec/
imap.so
0x20000000 - 0x2000efff libbz2.1.dylib 	/sw/lib/
libbz2.1.dylib
0x20040000 - 0x2012dfff libiconv.2.dylib 	/sw/lib/
libiconv.2.dylib
0x20270000 - 0x20274fff libintl.1.dylib 	/sw/lib/libintl.
1.dylib
0x8fe00000 - 0x8fe54fff dyld 44.2	/usr/lib/dyld
0x90000000 - 0x901b3fff libSystem.B.dylib 	/usr/lib/
libSystem.B.dylib
0x9020b000 - 0x9020ffff libmathCommon.A.dylib 	/usr/lib/
system/libmathCommon.A.dylib
0x90211000 - 0x90264fff com.apple.CoreText 1.0.1 (???)
	/System/Library/Frameworks/
ApplicationServices.framework/Versions/A/Frameworks/
CoreText.framework/Versions/A/CoreText
0x90291000 - 0x90342fff ATS 	/System/Library/Frameworks/
ApplicationServices.framework/Versions/A/Frameworks/
ATS.framework/Versions/A/ATS
0x90371000 - 0x906aefff com.apple.CoreGraphics 1.256.27 
(???)	/System/Library/Frameworks/
ApplicationServices.framework/Versions/A/Frameworks/
CoreGraphics.framework/Versions/A/CoreGraphics
0x9073a000 - 0x90813fff com.apple.CoreFoundation 6.4.4 
(368.18)	/System/Library/Frameworks/
CoreFoundation.framework/Versions/A/CoreFoundation
0x9085c000 - 0x9085cfff com.apple.CoreServices 10.4 (???)
	/System/Library/Frameworks/CoreServices.framework/
Versions/A/CoreServices
0x9085e000 - 0x90960fff libicucore.A.dylib 	/usr/lib/
libicucore.A.dylib
0x909ba000 - 0x90a3efff libobjc.A.dylib 	/usr/lib/
libobjc.A.dylib
0x90a68000 - 0x90ad6fff com.apple.framework.IOKit 1.4 (???)
	/System/Library/Frameworks/IOKit.framework/Versions/A/
IOKit
0x90aed000 - 0x90afffff libauto.dylib 	/usr/lib/
libauto.dylib
0x90b06000 - 0x90dddfff com.apple.CoreServices.CarbonCore 
671.2	/System/Library/Frameworks/CoreServices.framework/
Versions/A/Frameworks/CarbonCore.framework/Versions/A/
CarbonCore
0x90e43000 - 0x90ec3fff com.apple.CoreServices.OSServices 
4.1	/System/Library/Frameworks/CoreServices.framework/
Versions/A/Frameworks/OSServices.framework/Versions/A/
OSServices
0x90f0d000 - 0x90f4efff com.apple.CFNetwork 10.4.3 (129.2)
	/System/Library/Frameworks/CoreServices.framework/
Versions/A/Frameworks/CFNetwork.framework/Versions/A/
CFNetwork
0x90f63000 - 0x90f7bfff com.apple.WebServices 1.1.2 (1.1.0)
	/System/Library/Frameworks/CoreServices.framework/
Versions/A/Frameworks/WebServicesCore.framework/Versions/A/
WebServicesCore
0x90f8b000 - 0x9100cfff com.apple.SearchKit 1.0.4
	/System/Library/Frameworks/CoreServices.framework/
Versions/A/Frameworks/SearchKit.framework/Versions/A/
SearchKit
0x91052000 - 0x9107bfff com.apple.Metadata 10.4.3 
(121.20.2)	/System/Library/Frameworks/
CoreServices.framework/Versions/A/Frameworks/
Metadata.framework/Versions/A/Metadata
0x9108c000 - 0x9109afff libz.1.dylib 	/usr/lib/libz.
1.dylib
0x9109d000 - 0x9125ffff com.apple.security 4.2 (24844)
	/System/Library/Frameworks/Security.framework/Versions/
A/Security
0x91362000 - 0x9136bfff com.apple.DiskArbitration 2.1
	/System/Library/Frameworks/DiskArbitration.framework/
Versions/A/DiskArbitration
0x91372000 - 0x91399fff com.apple.SystemConfiguration 1.8.1
	/System/Library/Frameworks/
SystemConfiguration.framework/Versions/A/SystemConfiguration
0x913ac000 - 0x913b4fff libgcc_s.1.dylib 	/usr/lib/
libgcc_s.1.dylib
0x913b9000 - 0x913d9fff libmx.A.dylib 	/usr/lib/
libmx.A.dylib
0x913df000 - 0x913e7fff libbsm.dylib 	/usr/lib/
libbsm.dylib
0x914a7000 - 0x914a7fff com.apple.ApplicationServices 10.4 
(???)	/System/Library/Frameworks/
ApplicationServices.framework/Versions/A/ApplicationServices
0x914a9000 - 0x914e1fff com.apple.AE 1.5 (297)	/System/
Library/Frameworks/ApplicationServices.framework/Versions/A/
Frameworks/AE.framework/Versions/A/AE
0x914fc000 - 0x915c9fff com.apple.ColorSync 4.4.3
	/System/Library/Frameworks/
ApplicationServices.framework/Versions/A/Frameworks/
ColorSync.framework/Versions/A/ColorSync
0x9161e000 - 0x916b1fff com.apple.print.framework.PrintCore 
4.3 (172.3)	/System/Library/Frameworks/
ApplicationServices.framework/Versions/A/Frameworks/
PrintCore.framework/Versions/A/PrintCore
0x916f8000 - 0x917b5fff com.apple.QD 3.8.18 (???)
	/System/Library/Frameworks/
ApplicationServices.framework/Versions/A/Frameworks/
QD.framework/Versions/A/QD
0x917f3000 - 0x91851fff com.apple.HIServices 1.5.1 (???)
	/System/Library/Frameworks/
ApplicationServices.framework/Versions/A/Frameworks/
HIServices.framework/Versions/A/HIServices
0x9187f000 - 0x918a3fff com.apple.LangAnalysis 1.6.1
	/System/Library/Frameworks/
ApplicationServices.framework/Versions/A/Frameworks/
LangAnalysis.framework/Versions/A/LangAnalysis
0x918b7000 - 0x918dcfff com.apple.FindByContent 1.5
	/System/Library/Frameworks/
ApplicationServices.framework/Versions/A/Frameworks/
FindByContent.framework/Versions/A/FindByContent
0x918ef000 - 0x91931fff com.apple.LaunchServices 10.4.5 
(168)	/System/Library/Frameworks/
ApplicationServices.framework/Versions/A/Frameworks/
LaunchServices.framework/Versions/A/LaunchServices
0x9194d000 - 0x91961fff com.apple.speech.synthesis.framework 
3.3	/System/Library/Frameworks/
ApplicationServices.framework/Versions/A/Frameworks/
SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x9196f000 - 0x919a8fff com.apple.ImageIO.framework 1.4.3
	/System/Library/Frameworks/
ApplicationServices.framework/Versions/A/Frameworks/
ImageIO.framework/Versions/A/ImageIO
0x919bd000 - 0x91a83fff libcrypto.0.9.7.dylib 	/usr/lib/
libcrypto.0.9.7.dylib
0x91ad0000 - 0x91ae5fff libcups.2.dylib 	/usr/lib/
libcups.2.dylib
0x91aea000 - 0x91b06fff libJPEG.dylib 	/System/Library/
Frameworks/ApplicationServices.framework/Versions/A/
Frameworks/ImageIO.framework/Versions/A/Resources/
libJPEG.dylib
0x91b0b000 - 0x91b7afff libJP2.dylib 	/System/Library/
Frameworks/ApplicationServices.framework/Versions/A/
Frameworks/ImageIO.framework/Versions/A/Resources/
libJP2.dylib
0x91b91000 - 0x91b95fff libGIF.dylib 	/System/Library/
Frameworks/ApplicationServices.framework/Versions/A/
Frameworks/ImageIO.framework/Versions/A/Resources/
libGIF.dylib
0x91b97000 - 0x91bc8fff libRaw.dylib 	/System/Library/
Frameworks/ApplicationServices.framework/Versions/A/
Frameworks/ImageIO.framework/Versions/A/Resources/
libRaw.dylib
0x91bcc000 - 0x91c0ffff libTIFF.dylib 	/System/Library/
Frameworks/ApplicationServices.framework/Versions/A/
Frameworks/ImageIO.framework/Versions/A/Resources/
libTIFF.dylib
0x91c16000 - 0x91c2ffff libPng.dylib 	/System/Library/
Frameworks/ApplicationServices.framework/Versions/A/
Frameworks/ImageIO.framework/Versions/A/Resources/
libPng.dylib
0x91c34000 - 0x91c37fff libRadiance.dylib 	/System/Library/
Frameworks/ApplicationServices.framework/Versions/A/
Frameworks/ImageIO.framework/Versions/A/Resources/
libRadiance.dylib
0x91c39000 - 0x91c39fff com.apple.Accelerate 1.1.1 
(Accelerate 1.1.1)	/System/Library/Frameworks/
Accelerate.framework/Versions/A/Accelerate
0x91c3b000 - 0x91d25fff com.apple.vImage 2.0	/System/
Library/Frameworks/Accelerate.framework/Versions/A/
Frameworks/vImage.framework/Versions/A/vImage
0x91d2d000 - 0x91d4cfff com.apple.Accelerate.vecLib 3.1.1 
(vecLib 3.1.1)	/System/Library/Frameworks/
Accelerate.framework/Versions/A/Frameworks/vecLib.framework/
Versions/A/vecLib
0x91db8000 - 0x91e1dfff libvMisc.dylib 	/System/Library/
Frameworks/Accelerate.framework/Versions/A/Frameworks/
vecLib.framework/Versions/A/libvMisc.dylib
0x91e27000 - 0x91eb9fff libvDSP.dylib 	/System/Library/
Frameworks/Accelerate.framework/Versions/A/Frameworks/
vecLib.framework/Versions/A/libvDSP.dylib
0x91ed3000 - 0x92463fff libBLAS.dylib 	/System/Library/
Frameworks/Accelerate.framework/Versions/A/Frameworks/
vecLib.framework/Versions/A/libBLAS.dylib
0x924ab000 - 0x927bbfff libLAPACK.dylib 	/System/Library/
Frameworks/Accelerate.framework/Versions/A/Frameworks/
vecLib.framework/Versions/A/libLAPACK.dylib
0x94d1e000 - 0x94d3bfff libresolv.9.dylib 	/usr/lib/
libresolv.9.dylib
0x95240000 - 0x95367fff edu.mit.Kerberos 5.5.20	/System/
Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
0x96802000 - 0x96815fff libpam.1.dylib 	/usr/lib/libpam.
1.dylib
0x9b405000 - 0x9b446fff libfreetype.6.dylib 	/usr/X11R6/
lib/libfreetype.6.dylib
0x9b457000 - 0x9b471fff libexpat.0.dylib 	/usr/X11R6/lib/
libexpat.0.dylib
0x9b477000 - 0x9b491fff libfontconfig.1.dylib 	/usr/X11R6/
lib/libfontconfig.1.dylib
0x9c558000 - 0x9c563fff libXext.6.dylib 	/usr/X11R6/lib/
libXext.6.dylib
0x9c568000 - 0x9c630fff libX11.6.dylib 	/usr/X11R6/lib/
libX11.6.dylib
0x9c9ab000 - 0x9c9b6fff libXpm.4.dylib 	/usr/X11R6/lib/
libXpm.4.dylib



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-12-22 16:15 UTC] rasmus@php.net
How about trying it on a hello world script first instead of a tricky OOP script?
 [2005-12-22 16:52 UTC] apinstein at mac dot com
I didn't realize that the cache cared about the source, so I 
didn't think of this.

I have just re-tried this with a simple helloworld.php and 
it works fine repeatedly. 

Then as soon as I hit my complex script, it dies.

So looks like you're on to something... what's next?
 [2006-02-09 12:18 UTC] fred dot cohen at iridium dot com
I think we're seeing the same bug here on Solaris Sparc.
PHP Version is 5.1.2, APC 3.0.8 was compiled using
./configure --enable-apc --enable-apc-mmap --with-apxs=/sw/
sbin/apxs --with-php-config=/sw/bin/php-config

GDB Backtrace:
#0  0xffffffff796d77b0 in zend_do_inherit_interfaces () from /usr/local/apache/libexec/libphp5.so
#1  0xffffffff796d78b8 in zend_do_inheritance () from /usr/local/apache/libexec/libphp5.so
#2  0xffffffff796d7db0 in do_bind_inherited_class () from /usr/local/apache/libexec/libphp5.so
#3  0xffffffff79707b5c in ZEND_DECLARE_INHERITED_CLASS_SPEC_HANDLER () from /usr/local/apache/libexec/libphp5.so
#4  0xffffffff797061b8 in execute () from /usr/local/apache/libexec/libphp5.so
#5  0xffffffff7970a810 in ZEND_INCLUDE_OR_EVAL_SPEC_CONST_HANDLER () from /usr/local/apache/libexec/libphp5.so
#6  0xffffffff797061b8 in execute () from /usr/local/apache/libexec/libphp5.so
#7  0xffffffff7970a810 in ZEND_INCLUDE_OR_EVAL_SPEC_CONST_HANDLER () from /usr/local/apache/libexec/libphp5.so
#8  0xffffffff797061b8 in execute () from /usr/local/apache/libexec/libphp5.so
#9  0xffffffff796ebf74 in zend_execute_scripts () from /usr/local/apache/libexec/libphp5.so
#10 0xffffffff796a9ce8 in php_execute_script () from /usr/local/apache/libexec/libphp5.so
#11 0xffffffff797597ac in apache_php_module_main () from /usr/local/apache/libexec/libphp5.so
#12 0xffffffff7975a5ec in send_php () from /usr/local/apache/libexec/libphp5.so
#13 0xffffffff79759a44 in send_parsed_php () from /usr/local/apache/libexec/libphp5.so
#14 0x0000000100011bb4 in ap_invoke_handler ()
#15 0x00000001000395ec in process_request_internal ()
#16 0x0000000100038878 in ap_process_request ()
#17 0x000000010002d9c0 in child_main ()
#18 0x000000010002b3e8 in make_child ()
#19 0x00000001000299d0 in standalone_main ()
#20 0x00000001000259d4 in main ()
 
I'm still trying to track down what code exactly does it.  But it's looking like ADODB using OCI8 driver will cause it predictably.  It will run once as it's cached and then cause a segfault in apache (1.3.31) the next time it's called.
 [2006-02-09 12:21 UTC] rasmus@php.net
We should see some movement on this stuff soon.  I don't have time this week, but we'll get to it next week.
 [2006-02-24 02:00 UTC] rasmus@php.net
This should be fixed in CVS now.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 27 16:01:29 2024 UTC