Hello When trying to use the xsl functions in php from macports install like this: $xslData = '<?xml version="1.0" encoding="ISO-8859-1"?>'. '<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">'. '<xsl:output method="html" indent="no" encoding="ISO-8859-1"/>'. '<xsl:template match="/">abc</xsl:template>'. '</xsl:stylesheet>'; $xmlData = '<?xml version="1.0" encoding="ISO-8859-1"?><test/>'; $xslt = new xsltProcessor; $xslt->importStyleSheet(DomDocument::loadXML($xslData)); $result = $xslt->transformToXML(DomDocument::loadXML($xmlData)); I get this error in the log file (after a few seconds): [Thu Jan 17 20:09:19 2008] [notice] child pid 13951 exit signal Segmentation fault (11) Does anyone know why this happens. It works with the PHP standard in leopard and I have been working on/ using this code for years (also on tiger and panther) using other php- dists. I have tried posting it to the PHP bug database but they replied that it was not a PHP problem. Should I file a bug? Yours Jonas Munk Here's the crash report: Process: httpd [14154] Path: /opt/local/apache2/bin/httpd Identifier: httpd Version: ??? (???) Code Type: PPC (Native) Parent Process: httpd [13623] Date/Time: 2008-01-17 20:12:37.909 +0100 OS Version: Mac OS X 10.5.1 (9B18) Report Version: 6 Exception Type: EXC_BAD_ACCESS (SIGBUS) Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000030024 Crashed Thread: 0 Application Specific Information: *** single-threaded process forked *** Thread 0 Crashed: 0 libxml2.2.dylib 0x019e2db4 xmlXPathContextSetCache + 212 1 libxslt.1.dylib 0x01af560c xsltNewTransformContext + 540 2 libphp5.so 0x012372a8 php_xsl_apply_stylesheet + 936 3 libphp5.so 0x01237490 zif_xsl_xsltprocessor_transform_to_xml + 128 4 libphp5.so 0x012a8918 zend_do_fcall_common_helper_SPEC + 2152 5 libphp5.so 0x012a5944 execute + 388 6 libphp5.so 0x012851b8 zend_execute_scripts + 360 7 libphp5.so 0x0123cf28 php_execute_script + 616 8 libphp5.so 0x0132c248 php_handler + 1272 9 httpd 0x00002d10 ap_run_handler + 96 10 httpd 0x00003384 ap_invoke_handler + 244 11 httpd 0x00027de8 ap_process_request + 104 12 httpd 0x00024c54 ap_process_http_connection + 116 13 httpd 0x00010d60 ap_run_process_connection + 96 14 httpd 0x0002c2b8 child_main + 1240 15 httpd 0x0002c47c make_child + 316 16 httpd 0x0002cdd0 ap_mpm_run + 2128 17 httpd 0x00009338 main + 3384 18 httpd 0x00002070 start + 64 19 ??? 0xbffffbc8 0 + 3221224392 Thread 0 crashed with PPC Thread State 32: srr0: 0x019e2db4 srr1: 0x0000d930 dar: 0x00030024 dsisr: 0x42000000 r0: 0x00000000 r1: 0xbfffe730 r2: 0x24004224 r3: 0x00030000 r4: 0x00000001 r5: 0xffffffff r6: 0x00000000 r7: 0x332e6f72 r8: 0x30322f30 r9: 0x75657279 r10: 0xffffff3f r11: 0x01b00348 r12: 0x019e2ce0 r13: 0x00000000 r14: 0xbfffea90 r15: 0x01b23028 r16: 0x01366f10 r17: 0x01366f10 r18: 0x01b22fb0 r19: 0x01d09230 r20: 0x01366f10 r21: 0x01b227b8 r22: 0xbfffe828 r23: 0x00000000 r24: 0x01d09ff0 r25: 0x01b1f120 r26: 0x01d09ff0 r27: 0x00000000 r28: 0x00000001 r29: 0x01d09eb0 r30: 0x00000064 r31: 0x019e2cf4 cr: 0x44004228 xer: 0x00000000 lr: 0x019e2cf4 ctr: 0x019e2ce0 vrsave: 0x80000000 Binary Images: 0x1000 - 0x37ff7 +httpd ??? (???) /opt/local/apache2/bin/httpd 0x54000 - 0x75ff7 +libpcre.0.dylib ??? (???) /opt/local/lib/ libpcre.0.dylib 0x79000 - 0x8cffd +libaprutil-1.0.dylib ??? (???) /opt/local/ lib/libaprutil-1.0.dylib 0x94000 - 0xb2ff3 +libexpat.1.dylib ??? (???) /opt/local/lib/ libexpat.1.dylib 0xbc000 - 0xbcff1 +mod_authn_file.so ??? (???) /opt/local/ apache2/modules/mod_authn_file.so 0xbf000 - 0xbfffd +mod_authn_dbm.so ??? (???) /opt/local/ apache2/modules/mod_authn_dbm.so 0xc2000 - 0xc2ff5 +mod_authn_anon.so ??? (???) /opt/local/ apache2/modules/mod_authn_anon.so 0xc5000 - 0xc5ff5 +mod_authn_dbd.so ??? (???) /opt/local/ apache2/modules/mod_authn_dbd.so 0xc8000 - 0xc8ff8 +mod_authn_default.so ??? (???) /opt/local/ apache2/modules/mod_authn_default.so 0xcb000 - 0xcbff9 +mod_authz_host.so ??? (???) /opt/local/ apache2/modules/mod_authz_host.so 0xce000 - 0xceff9 +mod_authz_groupfile.so ??? (???) /opt/local/ apache2/modules/mod_authz_groupfile.so 0xe6000 - 0x1b6ff5 +libdb-4.4.dylib ??? (???) /opt/local/lib/ db44/libdb-4.4.dylib 0x1cc000 - 0x223fff +libsqlite3.0.dylib ??? (???) /opt/local/lib/ libsqlite3.0.dylib 0x234000 - 0x277fe7 +libsqlite.0.dylib ??? (???) /usr/local/lib/ libsqlite.0.dylib 0x311000 - 0x409ffe +libiconv.2.dylib ??? (???) /opt/local/lib/ libiconv.2.dylib 0x415000 - 0x431ff3 +libapr-1.0.dylib ??? (???) /opt/local/lib/ libapr-1.0.dylib 0x43c000 - 0x43cff0 +mod_authz_user.so ??? (???) /opt/local/ apache2/modules/mod_authz_user.so 0x43f000 - 0x43fff1 +mod_authz_dbm.so ??? (???) /opt/local/ apache2/modules/mod_authz_dbm.so 0x442000 - 0x442ffc +mod_authz_owner.so ??? (???) /opt/local/ apache2/modules/mod_authz_owner.so 0x445000 - 0x445ff9 +mod_authz_default.so ??? (???) /opt/local/ apache2/modules/mod_authz_default.so 0x448000 - 0x448ff1 +mod_auth_basic.so ??? (???) /opt/local/ apache2/modules/mod_auth_basic.so 0x44b000 - 0x44fff9 +mod_auth_digest.so ??? (???) /opt/local/ apache2/modules/mod_auth_digest.so 0x452000 - 0x453ffa +mod_file_cache.so ??? (???) /opt/local/ apache2/modules/mod_file_cache.so 0x456000 - 0x45bff7 +mod_cache.so ??? (???) /opt/local/apache2/ modules/mod_cache.so 0x45f000 - 0x461ff5 +mod_disk_cache.so ??? (???) /opt/local/ apache2/modules/mod_disk_cache.so 0x464000 - 0x467ff0 +mod_mem_cache.so ??? (???) /opt/local/ apache2/modules/mod_mem_cache.so 0x46b000 - 0x46dffd +mod_dbd.so ??? (???) /opt/local/apache2/ modules/mod_dbd.so 0x470000 - 0x471ff7 +mod_dumpio.so ??? (???) /opt/local/apache2/ modules/mod_dumpio.so 0x474000 - 0x476ff8 +mod_ext_filter.so ??? (???) /opt/local/ apache2/modules/mod_ext_filter.so 0x479000 - 0x480ff3 +mod_include.so ??? (???) /opt/local/apache2/ modules/mod_include.so 0x484000 - 0x486ff7 +mod_filter.so ??? (???) /opt/local/apache2/ modules/mod_filter.so 0x489000 - 0x48cff1 +mod_deflate.so ??? (???) /opt/local/apache2/ modules/mod_deflate.so 0x48f000 - 0x49efff +libz.1.dylib ??? (???) /opt/local/lib/libz. 1.dylib 0x4a2000 - 0x4a5ffd +mod_log_config.so ??? (???) /opt/local/ apache2/modules/mod_log_config.so 0x4a9000 - 0x4aaff7 +mod_log_forensic.so ??? (???) /opt/local/ apache2/modules/mod_log_forensic.so 0x4ad000 - 0x4adffa +mod_logio.so ??? (???) /opt/local/apache2/ modules/mod_logio.so 0x4b0000 - 0x4b0ffc +mod_env.so ??? (???) /opt/local/apache2/ modules/mod_env.so 0x4b3000 - 0x4b6ffb +mod_mime_magic.so ??? (???) /opt/local/ apache2/modules/mod_mime_magic.so 0x4b9000 - 0x4b9ff2 +mod_cern_meta.so ??? (???) /opt/local/ apache2/modules/mod_cern_meta.so 0x4bc000 - 0x4bdff7 +mod_expires.so ??? (???) /opt/local/apache2/ modules/mod_expires.so 0x4c0000 - 0x4c2ff2 +mod_headers.so ??? (???) /opt/local/apache2/ modules/mod_headers.so 0x4c5000 - 0x4c5ff7 +mod_ident.so ??? (???) /opt/local/apache2/ modules/mod_ident.so 0x4c8000 - 0x4c9ff2 +mod_usertrack.so ??? (???) /opt/local/ apache2/modules/mod_usertrack.so 0x4cc000 - 0x4ccffb +mod_unique_id.so ??? (???) /opt/local/ apache2/modules/mod_unique_id.so 0x4cf000 - 0x4d0ff4 +mod_setenvif.so ??? (???) /opt/local/apache2/ modules/mod_setenvif.so 0x4d3000 - 0x4d3ffb +mod_version.so ??? (???) /opt/local/apache2/ modules/mod_version.so 0x4d6000 - 0x4e2ff1 +mod_proxy.so ??? (???) /opt/local/apache2/ modules/mod_proxy.so 0x4e7000 - 0x4e8ffe +mod_proxy_connect.so ??? (???) /opt/local/ apache2/modules/mod_proxy_connect.so 0x4eb000 - 0x4f0ff2 +mod_proxy_ftp.so ??? (???) /opt/local/ apache2/modules/mod_proxy_ftp.so 0x4f4000 - 0x4f8ff8 +mod_proxy_http.so ??? (???) /opt/local/ apache2/modules/mod_proxy_http.so 0x4fc000 - 0x4fcff8 +mod_asis.so ??? (???) /opt/local/apache2/ modules/mod_asis.so 0x600000 - 0x605ff6 +mod_proxy_ajp.so ??? (???) /opt/local/ apache2/modules/mod_proxy_ajp.so 0x609000 - 0x60cff4 +mod_proxy_balancer.so ??? (???) /opt/local/ apache2/modules/mod_proxy_balancer.so 0x60f000 - 0x611ffd +mod_mime.so ??? (???) /opt/local/apache2/ modules/mod_mime.so 0x614000 - 0x625fff +mod_dav.so ??? (???) /opt/local/apache2/ modules/mod_dav.so 0x62a000 - 0x62dfff +mod_status.so ??? (???) /opt/local/apache2/ modules/mod_status.so 0x630000 - 0x635ffe +mod_autoindex.so ??? (???) /opt/local/ apache2/modules/mod_autoindex.so 0x639000 - 0x63bff7 +mod_info.so ??? (???) /opt/local/apache2/ modules/mod_info.so 0x63e000 - 0x641ffd +mod_cgi.so ??? (???) /opt/local/apache2/ modules/mod_cgi.so 0x645000 - 0x64dff7 +mod_dav_fs.so ??? (???) /opt/local/apache2/ modules/mod_dav_fs.so 0x651000 - 0x652ffd +mod_vhost_alias.so ??? (???) /opt/local/ apache2/modules/mod_vhost_alias.so 0x655000 - 0x65aff7 +mod_negotiation.so ??? (???) /opt/local/ apache2/modules/mod_negotiation.so 0x65e000 - 0x65eff0 +mod_dir.so ??? (???) /opt/local/apache2/ modules/mod_dir.so 0x661000 - 0x663ff7 +mod_imagemap.so ??? (???) /opt/local/apache2/ modules/mod_imagemap.so 0x666000 - 0x666ffd +mod_actions.so ??? (???) /opt/local/apache2/ modules/mod_actions.so 0x669000 - 0x66affb +mod_speling.so ??? (???) /opt/local/apache2/ modules/mod_speling.so 0x66d000 - 0x66dff3 +mod_userdir.so ??? (???) /opt/local/apache2/ modules/mod_userdir.so 0x670000 - 0x671ff1 +mod_alias.so ??? (???) /opt/local/apache2/ modules/mod_alias.so 0x674000 - 0x67eff7 +mod_rewrite.so ??? (???) /opt/local/apache2/ modules/mod_rewrite.so 0x682000 - 0x690ff3 +libexslt.0.dylib ??? (???) /opt/local/lib/ libexslt.0.dylib 0x695000 - 0x6d2fff libiodbc.2.dylib ??? (???) <ec1294441ef4d8e41675540ad676c95b> /usr/lib/libiodbc.2.dylib 0x6e0000 - 0x712fff +libmhash.2.dylib ??? (???) /opt/local/lib/ libmhash.2.dylib 0x717000 - 0x739ff7 +libmcrypt.4.dylib ??? (???) /opt/local/lib/ libmcrypt.4.dylib 0x74b000 - 0x750ffc libltdl.3.dylib ??? (???) <56c19fdb488b214d95aaeb3ab5d0479b> /usr/lib/libltdl.3.dylib 0x755000 - 0x75dff4 +libintl.8.dylib ??? (???) /opt/local/lib/ libintl.8.dylib 0x761000 - 0x7cbff3 +libfreetype.6.dylib ??? (???) /opt/local/lib/ libfreetype.6.dylib 0x7dd000 - 0x7faff3 +libpng12.0.dylib ??? (???) /opt/local/lib/ libpng12.0.dylib 0x1000000 - 0x1555ff3 +libphp5.so ??? (???) /opt/local/apache2/ modules/libphp5.so 0x1632000 - 0x1672fff +libmysqlclient.15.dylib ??? (???) /opt/local/ lib/mysql5/mysql/libmysqlclient.15.dylib 0x1784000 - 0x17a1ffd +libjpeg.62.dylib ??? (???) /opt/local/lib/ libjpeg.62.dylib 0x17a7000 - 0x17dfff7 +libssl.0.9.8.dylib ??? (???) <e5bd6b5a5e2c2229b95f3d82e999963f> /opt/local/lib/libssl.0.9.8.dylib 0x17f3000 - 0x18e9ff3 +libcrypto.0.9.8.dylib ??? (???) <738f374569ab497dfabb8336c7a261bf> /opt/local/lib/libcrypto.0.9.8.dylib 0x1942000 - 0x196fff7 +libcurl.4.dylib ??? (???) /opt/local/lib/ libcurl.4.dylib 0x1978000 - 0x1985fff +libbz2.1.0.dylib ??? (???) <68f60151102c8ff02e7a5cbe98489a4d> /opt/local/lib/libbz2.1.0.dylib 0x1989000 - 0x1a9eff7 +libxml2.2.dylib ??? (???) /opt/local/lib/ libxml2.2.dylib 0x1ad0000 - 0x1afffff +libxslt.1.dylib ??? (???) /opt/local/lib/ libxslt.1.dylib 0x8fe00000 - 0x8fe309d3 dyld 95.3 (???) <a7be977c203ec5c76b2f25a7aef66554> /usr/lib/dyld 0x900e0000 - 0x90142ffb com.apple.htmlrendering 68 (1.1.3) <e852db1c007de975fae2f0c2769c88ef> /System/Library/Frameworks/ Carbon.framework/Versions/A/Frameworks/HTMLRendering.framework/ Versions/A/HTMLRendering 0x90162000 - 0x90169fff com.apple.CommonPanels 1.2.4 (85) <0d1256175c5512c911ede094d767acfe> /System/Library/Frameworks/ Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/ A/CommonPanels 0x9030b000 - 0x9030bfff com.apple.Carbon 136 (136) <6a6a209ec9179368db7ead8382b8ee63> /System/Library/Frameworks/ Carbon.framework/Versions/A/Carbon 0x9030c000 - 0x9032cff7 libJPEG.dylib ??? (???) <92341083256fbcd28888a179ebf941ef> /System/Library/Frameworks/ ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/ Versions/A/Resources/libJPEG.dylib 0x903f2000 - 0x90405ffb com.apple.speech.synthesis.framework 3.6.59 (3.6.59) <7c299626d6167de473e85327699cdb9c> /System/Library/Frameworks/ ApplicationServices.framework/Versions/A/Frameworks/ SpeechSynthesis.framework/Versions/A/SpeechSynthesis 0x90406000 - 0x9040affe libGIF.dylib ??? (???) <d6e2a570359313a39c6783c2ecfee608> /System/Library/Frameworks/ ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/ Versions/A/Resources/libGIF.dylib 0x9040b000 - 0x90438ff3 libGL.dylib ??? (???) /System/Library/ Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib 0x90439000 - 0x90484ffb com.apple.Metadata 10.5.0 (398) <b6bb1fd5a7a9135f546b2d8cbd65eafc> /System/Library/Frameworks/ CoreServices.framework/Versions/A/Frameworks/Metadata.framework/ Versions/A/Metadata 0x90485000 - 0x905cdff3 libicucore.A.dylib ??? (???) <250daed2fb2e6bf114480e2e4da0728b> /usr/lib/libicucore.A.dylib 0x905ce000 - 0x90624fff libGLU.dylib ??? (???) /System/Library/ Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib 0x90625000 - 0x906befc3 libvDSP.dylib ??? (???) /System/Library/ Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/ Versions/A/libvDSP.dylib 0x906d9000 - 0x906f0ffb com.apple.ImageCapture 4.0 (5.0.0) /System/ Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ ImageCapture.framework/Versions/A/ImageCapture 0x90711000 - 0x9071dff3 com.apple.audio.SoundManager 3.9.2 (3.9.2) <79588842bcaf6c747a95b2120304397a> /System/Library/Frameworks/ Carbon.framework/Versions/A/Frameworks/CarbonSound.framework/Versions/ A/CarbonSound 0x90767000 - 0x90792ff7 libauto.dylib ??? (???) <c1f2bd227817ad7c7bf29ec74729ac7c> /usr/lib/libauto.dylib 0x908b1000 - 0x909faffb com.apple.ImageIO.framework 2.0.0 (2.0.0) <437c9df52645bf8bead58967ea46ef17> /System/Library/Frameworks/ ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/ Versions/A/ImageIO 0x90ad6000 - 0x90b50ffd com.apple.CFNetwork 220 (221) <00b882d3d3325526b78ded74880759fe> /System/Library/Frameworks/ CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/ Versions/A/CFNetwork 0x9176e000 - 0x91828fff libcrypto.0.9.7.dylib ??? (???) <4ea3d7e9a1c28ac7b17ed80873fe6598> /usr/lib/libcrypto.0.9.7.dylib 0x91829000 - 0x91b60fff com.apple.HIToolbox 1.5.0 (???) <fb1e7eb09bab8fc9c1675310da5b86ed> /System/Library/Frameworks/ Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/ HIToolbox 0x91c08000 - 0x91cbcfff com.apple.DesktopServices 1.4.3 (1.4.3) <2ac43f20a262ad162ff0fc8b60b8e39a> /System/Library/PrivateFrameworks/ DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv 0x91d22000 - 0x91ebbfe3 libSystem.B.dylib ??? (???) <8a6cd873dfa7ada786efac188f95ed1b> /usr/lib/libSystem.B.dylib 0x91ebc000 - 0x91f23ffb libstdc++.6.dylib ??? (???) <a4e9b10268b3ffac26d0296499b24e8e> /usr/lib/libstdc++.6.dylib 0x91f24000 - 0x9200dfff libxml2.2.dylib ??? (???) <6f383df1e1e775be0158ba947784ae13> /usr/lib/libxml2.2.dylib 0x920fa000 - 0x92184fff libvMisc.dylib ??? (???) /System/Library/ Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/ Versions/A/libvMisc.dylib 0x92185000 - 0x92366ffb com.apple.security 5.0.1 (32736) <15632bf9bbdb223194b3d79a2e48e02d> /System/Library/Frameworks/ Security.framework/Versions/A/Security 0x92367000 - 0x92667ff3 com.apple.CoreServices.CarbonCore 783 (783) <fd2acaf23e95472f78b8a077fa039986> /System/Library/Frameworks/ CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/ Versions/A/CarbonCore 0x92ab1000 - 0x92b47ff7 com.apple.LaunchServices 286 (286) <a3a0b2af862e9a8945072f8cb523678f> /System/Library/Frameworks/ CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/ Versions/A/LaunchServices 0x93308000 - 0x9334ffff com.apple.NavigationServices 3.5.1 (161) <b245f17b2b2902e1f9eeaaa6773f8126> /System/Library/Frameworks/ Carbon.framework/Versions/A/Frameworks/NavigationServices.framework/ Versions/A/NavigationServices 0x9335c000 - 0x9378bffa libGLProgrammability.dylib ??? (???) <4c75bd9e0eca8999aaa97c304f776b65> /System/Library/Frameworks/ OpenGL.framework/Versions/A/Libraries/libGLProgrammability.dylib 0x9378c000 - 0x937e8fff com.apple.HIServices 1.6.0 (???) <a3e89f96e628703a20a2d2f587f3f983> /System/Library/Frameworks/ ApplicationServices.framework/Versions/A/Frameworks/ HIServices.framework/Versions/A/HIServices 0x937e9000 - 0x938ccfeb libobjc.A.dylib ??? (???) <4a90e315bd1718c3f5ae09ee6c23e36c> /usr/lib/libobjc.A.dylib 0x93933000 - 0x93933ffb com.apple.installserver.framework 1.0 (8) / System/Library/PrivateFrameworks/InstallServer.framework/Versions/A/ InstallServer 0x93a43000 - 0x93adcffb com.apple.ApplicationServices.ATS 3.0 (???) <34fed4b41a99f16e7103e0309a062c97> /System/Library/Frameworks/ ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/ Versions/A/ATS 0x93add000 - 0x93ae0fff com.apple.help 1.1 (36) <7106d6e074a3b9835ebf1e6cc6c822ce> /System/Library/Frameworks/ Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help 0x93c95000 - 0x93cb4fff com.apple.Accelerate.vecLib 3.4 (vecLib 3.4) / System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/ vecLib.framework/Versions/A/vecLib 0x93cb5000 - 0x93ce6fff com.apple.coreui 0.1 (60) /System/Library/ PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI 0x93ce7000 - 0x93e0cff3 com.apple.CoreFoundation 6.5 (476) <9073c2bfdf6842562c8b7f0308109c02> /System/Library/Frameworks/ CoreFoundation.framework/Versions/A/CoreFoundation 0x93e0d000 - 0x93f21ffa com.apple.vImage 3.0 (3.0) /System/Library/ Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/ Versions/A/vImage 0x93f5f000 - 0x93facff7 libGLImage.dylib ??? (???) <9dbe7b634d7c01ae3684c547fbbd4d71> /System/Library/Frameworks/ OpenGL.framework/Versions/A/Libraries/libGLImage.dylib 0x945de000 - 0x9463efff com.apple.CoreText 2.0.0 (???) <88030136aacddbb747a2eae3937885f5> /System/Library/Frameworks/ ApplicationServices.framework/Versions/A/Frameworks/CoreText.framework/ Versions/A/CoreText 0x9463f000 - 0x946effff com.apple.QD 3.11.50 (???) <57b7475a61b2d27a600e0a0851d8c7be> /System/Library/Frameworks/ ApplicationServices.framework/Versions/A/Frameworks/QD.framework/ Versions/A/QD 0x946f0000 - 0x94778fff com.apple.ink.framework 101.3 (86) <66a99ad6bc695390a66dd24789e23dcc> /System/Library/Frameworks/ Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink 0x94779000 - 0x94791ffb com.apple.DictionaryServices 1.0.0 (1.0.0) <fe37191e732eeb66189185cd000a210b> /System/Library/Frameworks/ CoreServices.framework/Versions/A/Frameworks/ DictionaryServices.framework/Versions/A/DictionaryServices 0x94792000 - 0x94861fff com.apple.ColorSync 4.5.0 (4.5.0) /System/ Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ColorSync.framework/Versions/A/ColorSync 0x94862000 - 0x94862fff com.apple.Accelerate 1.4 (Accelerate 1.4) / System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate 0x94863000 - 0x94898fff com.apple.AE 402 (402) <a4b92c8ac89cc774b85fb44c48b9d882> /System/Library/Frameworks/ CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE 0x94899000 - 0x948daffb libTIFF.dylib ??? (???) <0d0a3107d26786c3708e6a511d5acec9> /System/Library/Frameworks/ ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/ Versions/A/Resources/libTIFF.dylib 0x94b58000 - 0x94b8dffb com.apple.LDAPFramework 1.4.3 (106) <d9a3a16b2d468683b68f714d11196d7b> /System/Library/Frameworks/ LDAP.framework/Versions/A/LDAP 0x94b91000 - 0x94b9cfff com.apple.speech.recognition.framework 3.7.24 (3.7.24) <ae3dc890a43a9269388301f6b59d3091> /System/Library/Frameworks/ Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/ Versions/A/SpeechRecognition 0x94c94000 - 0x94cb2fff libresolv.9.dylib ??? (???) <ee2b69c3b0d6d4a3167c307f1ee65cb5> /usr/lib/libresolv.9.dylib 0x94cb3000 - 0x94cc6fff com.apple.LangAnalysis 1.6.4 (1.6.4) <c184bb5b2859e82c5740a6fdb1e3d0bc> /System/Library/Frameworks/ ApplicationServices.framework/Versions/A/Frameworks/ LangAnalysis.framework/Versions/A/LangAnalysis 0x94cc7000 - 0x94cc7ffa com.apple.CoreServices 32 (32) <42b6dda539f7411606187335d9eae0c5> /System/Library/Frameworks/ CoreServices.framework/Versions/A/CoreServices 0x94e28000 - 0x94e41fff com.apple.CoreVideo 1.5.0 (1.5.0) <f8d7df00a92b4a11b57221546274d806> /System/Library/Frameworks/ CoreVideo.framework/Versions/A/CoreVideo 0x94e42000 - 0x94e45ffb com.apple.securityhi 3.0 (30817) <e50c0cac9048f8923b95797753d50b5c> /System/Library/Frameworks/ Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/ SecurityHI 0x94e52000 - 0x9517bfe7 libLAPACK.dylib ??? (???) /System/Library/ Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/ Versions/A/libLAPACK.dylib 0x9517c000 - 0x95183ffb com.apple.print.framework.Print 218 (220) <c049174237183efe3afce707ce2c6d67> /System/Library/Frameworks/ Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print 0x95198000 - 0x9522afff com.apple.framework.IOKit 1.5.1 (???) <591b8b0cc4261db98a6e72e38eef5f9a> /System/Library/Frameworks/ IOKit.framework/Versions/A/IOKit 0x95260000 - 0x95268fff libbsm.dylib ??? (???) <c1fca3cbe3b1c21e9b31bc89b920f34c> /usr/lib/libbsm.dylib 0x95269000 - 0x952a1fff com.apple.SystemConfiguration 1.9.0 (1.9.0) <d925dde7699e6231c88a41b0254a7591> /System/Library/Frameworks/ SystemConfiguration.framework/Versions/A/SystemConfiguration 0x95428000 - 0x95429ff8 com.apple.ApplicationServices 34 (34) <6aa5ee485bb2e656531b3505932b845f> /System/Library/Frameworks/ ApplicationServices.framework/Versions/A/ApplicationServices 0x9542a000 - 0x954abfff com.apple.print.framework.PrintCore 5.5 (245) <708e8418daf27acff77d7a9aebc54e94> /System/Library/Frameworks/ ApplicationServices.framework/Versions/A/Frameworks/ PrintCore.framework/Versions/A/PrintCore 0x954ac000 - 0x954d6ff7 libssl.0.9.7.dylib ??? (???) <5dac2e94552ad76696c35bd6886f5a92> /usr/lib/libssl.0.9.7.dylib 0x954d7000 - 0x954e5fff libz.1.dylib ??? (???) <1a70dd3594a8c5ad39d785af5da23237> /usr/lib/libz.1.dylib 0x954f1000 - 0x9584effe com.apple.QuartzCore 1.5.1 (1.5.1) <e09ec58e69e2b4b8256eaa05d8a71f88> /System/Library/Frameworks/ QuartzCore.framework/Versions/A/QuartzCore 0x9584f000 - 0x95e09fff libBLAS.dylib ??? (???) /System/Library/ Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/ Versions/A/libBLAS.dylib 0x95e0a000 - 0x95e0fff6 libmathCommon.A.dylib ??? (???) /usr/lib/ system/libmathCommon.A.dylib 0x95e10000 - 0x95e95fff libsqlite3.0.dylib ??? (???) <7b379cb4220346e99c32c427d4539496> /usr/lib/libsqlite3.0.dylib 0x95e9c000 - 0x9640eff7 com.apple.CoreGraphics 1.351.0 (???) <424b6b6e1fe858a1a0ee3adc36d40634> /System/Library/Frameworks/ ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/CoreGraphics 0x964c9000 - 0x9670dffb com.apple.Foundation 6.5.1 (677.1) <4152239382fb0f48abbcbf35bd04afa6> /System/Library/Frameworks/ Foundation.framework/Versions/C/Foundation 0x9670e000 - 0x96710ffd libRadiance.dylib ??? (???) <3d70fcb7557347829c96c9753074b3f1> /System/Library/Frameworks/ ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/ Versions/A/Resources/libRadiance.dylib 0x96711000 - 0x967dfff7 com.apple.CoreServices.OSServices 210.2 (210.2) <bad4943629f870d305f2bc7c6dfffe2d> /System/Library/Frameworks/ CoreServices.framework/Versions/A/Frameworks/OSServices.framework/ Versions/A/OSServices 0x968b6000 - 0x96931fff com.apple.SearchKit 1.2.0 (1.2.0) <1b448fbae02460eae76ee1c6883f45d6> /System/Library/Frameworks/ CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/ Versions/A/SearchKit 0x96932000 - 0x96957fff libcups.2.dylib ??? (???) <0cdb72a2f7d21cce6f7141cfb4063d4c> /usr/lib/libcups.2.dylib 0x96982000 - 0x96990ff3 com.apple.opengl 1.5.5 (1.5.5) <32b2691d8949b7dec765af89ab04ffdd> /System/Library/Frameworks/ OpenGL.framework/Versions/A/OpenGL 0x969db000 - 0x969dcfff libffi.dylib ??? (???) <11b77dbce4aa0f0b66d40014230abd1d> /usr/lib/libffi.dylib 0x969dd000 - 0x969e6fff com.apple.DiskArbitration 2.2 (2.2) <9c8f8ade43fa25b32109ef9dcc0cb5d5> /System/Library/Frameworks/ DiskArbitration.framework/Versions/A/DiskArbitration 0x969e7000 - 0x969f2ffb libgcc_s.1.dylib ??? (???) <ea47fd375407f162c76d14d64ba246cd> /usr/lib/libgcc_s.1.dylib 0x969f3000 - 0x96a1afff libxslt.1.dylib ??? (???) <3700d04090629deddb436aa2d516c56d> /usr/lib/libxslt.1.dylib 0x96a1b000 - 0x96a36ffb com.apple.openscripting 1.2.6 (???) <12270fbb14905644f78975f227328a98> /System/Library/Frameworks/ Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/ Versions/A/OpenScripting 0x96a5d000 - 0x96a78ffb libPng.dylib ??? (???) <c51ec88c87a3f0a646471165e16acd43> /System/Library/Frameworks/ ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/ Versions/A/Resources/libPng.dylib 0x96a79000 - 0x96b29fff edu.mit.Kerberos 6.0.11 (6.0.11) <16acc832b51b89fdbc563194596623c6> /System/Library/Frameworks/ Kerberos.framework/Versions/A/Kerberos 0x96b6d000 - 0x96b7dfff libsasl2.2.dylib ??? (???) <18935d5e775962f4728b91189b092d45> /usr/lib/libsasl2.2.dylib 0x96b7f000 - 0x96c06ffb com.apple.audio.CoreAudio 3.1.0 (3.1) <880a5a35ef1c5158271ee4b305b35626> /System/Library/Frameworks/ CoreAudio.framework/Versions/A/CoreAudio 0xfffec000 - 0xfffeffff libobjc.A.dylib ??? (???) /usr/lib/ libobjc.A.dylib 0xffff8000 - 0xffff9703 libSystem.B.dylib ??? (???) /usr/lib/ libSystem.B.dylib
On 2008-01-21 , at 08:58 , Jonas Munk wrote:
Does anyone know why this happens.
It works with the PHP standard in leopard and I have been working on/ using this code for years (also on tiger and panther) using other php- dists. I have tried posting it to the PHP bug database but they replied that it was not a PHP problem. Should I file a bug?
It works fine on my 10.4 system - command line and/or via web browser The following ports are currently installed: apache @1.3.37_0 (active) apache2 @2.2.6_0 (active) apachetop @0.12.5_0 (active) libxml2 @2.6.30_0 (active) libxslt @1.1.22_0 (active) php5 @5.2.5_1+apache+darwin_8+macosx+mysql5+pear (active) 8) ---------------------------------- Chris Janton - face at CentosPrime dot COM Netminder for Opus1.COM
On Jan 21, 2008, at 09:58, Jonas Munk wrote:
When trying to use the xsl functions in php from macports install like this:
$xslData = '<?xml version="1.0" encoding="ISO-8859-1"?>'. '<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">'. '<xsl:output method="html" indent="no" encoding="ISO-8859-1"/>'. '<xsl:template match="/">abc</xsl:template>'. '</xsl:stylesheet>'; $xmlData = '<?xml version="1.0" encoding="ISO-8859-1"?><test/>'; $xslt = new xsltProcessor; $xslt->importStyleSheet(DomDocument::loadXML($xslData)); $result = $xslt->transformToXML(DomDocument::loadXML($xmlData));
I get this error in the log file (after a few seconds):
[Thu Jan 17 20:09:19 2008] [notice] child pid 13951 exit signal Segmentation fault (11)
Does anyone know why this happens.
It works with the PHP standard in leopard and I have been working on/ using this code for years (also on tiger and panther) using other php- dists. I have tried posting it to the PHP bug database but they replied that it was not a PHP problem. Should I file a bug?
You sent a very similar mail 4 days ago: http://lists.macosforge.org/pipermail/macports-users/2008-January/ 008417.html I've never heard of this problem before. It works fine for me, and for Chris, though we're both using Tiger, not Leopard. This seems to be the bug you filed with the PHP team: http://bugs.php.net/bug.php?id=43883 You may want to take their advice and ask in their support channels what to do next. Unfortunately, I don't have any further suggestions. If anyone else reading this is using PHP on a PowerPC Mac and could try Jonas' reproduction recipe and let us know whether or not it works for you, that would be great. By all means file a bug in our issue tracker. I just hope someone can suggest a solution for it.
On 2008-01-21 , at 12:33 , Ryan Schmidt wrote:
I've never heard of this problem before. It works fine for me, and for Chris, though we're both using Tiger, not Leopard. This seems to be the bug you filed with the PHP team:
http://bugs.php.net/bug.php?id=43883
You may want to take their advice and ask in their support channels what to do next. Unfortunately, I don't have any further suggestions. If anyone else reading this is using PHP on a PowerPC Mac and could try Jonas' reproduction recipe and let us know whether or not it works for you, that would be great.
PPC - 10.5.1 apache2 @2.2.6_0 (active) libxml2 @2.6.30_0 (active) libxslt @1.1.22_0 (active) php5 @5.2.5_1+apache2+macosx+mysql5+pear+sqlite (active) command line PHP works just fine. attempt to access the PHP file using apache2 (from the web) and it fails. Apache error log says [Tue Jan 22 09:24:09 2008] [notice] child pid 230 exit signal Bus error (10) So it's an issue with Apache and the libraries? The simple test (isolating which call fails) says this line $xslt->importStyleSheet(DomDocument::loadXML($xslData)); fails. If you provide an invalid xsl file (like an empty string) warnings are issued for both importStyleSheet and transformToXML. 8) ---------------------------------- Chris Janton - face at CentosPrime dot COM Netminder for Opus1.COM
On 2008-01-21 , at 12:33 , Ryan Schmidt wrote:
I've never heard of this problem before. It works fine for me, and for Chris, though we're both using Tiger, not Leopard. This seems to be the bug you filed with the PHP team:
http://bugs.php.net/bug.php?id=43883
You may want to take their advice and ask in their support channels what to do next. Unfortunately, I don't have any further suggestions. If anyone else reading this is using PHP on a PowerPC Mac and could try Jonas' reproduction recipe and let us know whether or not it works for you, that would be great.
By all means file a bug in our issue tracker. I just hope someone can suggest a solution for it.
Note: PPC - 10.5.1 - Standard Apache2/PHP that comes with Leopard The test works via an http request and via the command line house58 37 # /usr/bin/php --version PHP 5.2.4 (cli) (built: Sep 23 2007 22:34:35) Copyright (c) 1997-2007 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies house58 38 # /usr/bin/php foo.php abc house58 39 # 8) ---------------------------------- Chris Janton - face at CentosPrime dot COM Netminder for Opus1.COM
Does this mean its an actual problem in macports PPC. I would really like to see it fixed and can use some time to try and fix it myself if I can get some pointers to what to do. My problem is that i need XSLT and GD but right now the leopard PHP doesn't have GD and XSLT doesn't work in macports. Should I wait for macports to get fixed or should I compile my own PHP? What is your advice? Any good alternatives? It seems Marc Liyanage doesn't compile for PPC anymore :-( Jonas Den 22/01/2008 kl. 18.13 skrev Chris Janton:
On 2008-01-21 , at 12:33 , Ryan Schmidt wrote:
I've never heard of this problem before. It works fine for me, and for Chris, though we're both using Tiger, not Leopard. This seems to be the bug you filed with the PHP team:
http://bugs.php.net/bug.php?id=43883
You may want to take their advice and ask in their support channels what to do next. Unfortunately, I don't have any further suggestions. If anyone else reading this is using PHP on a PowerPC Mac and could try Jonas' reproduction recipe and let us know whether or not it works for you, that would be great.
By all means file a bug in our issue tracker. I just hope someone can suggest a solution for it.
Note:
PPC - 10.5.1 - Standard Apache2/PHP that comes with Leopard
The test works via an http request and via the command line house58 37 # /usr/bin/php --version PHP 5.2.4 (cli) (built: Sep 23 2007 22:34:35) Copyright (c) 1997-2007 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies house58 38 # /usr/bin/php foo.php abc house58 39 #
8) ---------------------------------- Chris Janton - face at CentosPrime dot COM Netminder for Opus1.COM
participants (3)
-
Chris Janton
-
Jonas Munk
-
Ryan Schmidt