Opened 14 years ago

Last modified 6 years ago

#25197 new defect

php5-mysql continuously crashes apache2 httpd

Reported by: scott@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.9.0
Keywords: Cc: jyrkiwahlstedt, alex@…, Schamschula (Marius Schamschula), pixilla (Bradley Giesbrecht)
Port: php5-mysql apache2

Description (last modified by jmroot (Joshua Root))

Just installed brand new MacPorts on Mac Snow Leopard 10.6.3.

I keep seeing these every few minutes in my console. Any ideas as to whats broken?

Process:         httpd [37660]
Path:            /opt/local/apache2/bin/httpd
Identifier:      httpd
Version:         ??? (???)
Code Type:       X86-64 (Native)
Parent Process:  httpd [37321]

Date/Time:       2010-06-09 20:19:27.506 -1000
OS Version:      Mac OS X 10.6.3 (10D578)
Report Version:  6

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000600000010
Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
0   libphp5.so                    	0x00000001011f0b6b zval_mark_grey + 219
1   libphp5.so                    	0x00000001011f13af gc_collect_cycles + 1407
2   libphp5.so                    	0x00000001011d3e05 zend_deactivate + 341
3   libphp5.so                    	0x000000010117d15e php_request_shutdown + 478
4   libphp5.so                    	0x00000001012629f0 php_handler + 1328
5   httpd                         	0x00000001000013ab ap_run_handler + 123
6   httpd                         	0x000000010000322a ap_invoke_handler + 122
7   httpd                         	0x0000000100024cc8 ap_process_request + 440
8   httpd                         	0x0000000100021918 ap_process_http_connection + 344
9   httpd                         	0x000000010000eaeb ap_run_process_connection + 123
10  httpd                         	0x000000010002957d child_main + 957
11  httpd                         	0x000000010002982a make_child + 266
12  httpd                         	0x000000010002a12c ap_mpm_run + 2092
13  httpd                         	0x0000000100007d68 main + 2328
14  httpd                         	0x0000000100000f84 start + 52

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000101572be8  rbx: 0x0000000600000000  rcx: 0x00000001029de410  rdx: 0x0000000101863f22
  rdi: 0x0000000102405ad8  rsi: 0x0000000101851bc8  rbp: 0x00007fff5fbff240  rsp: 0x00007fff5fbff230
   r8: 0x000000000000012c   r9: 0x0000000000000000  r10: 0x0000000000000000  r11: 0x0000000000000000
  r12: 0x0000000101572be8  r13: 0x00000001015731c0  r14: 0x0000000000000000  r15: 0x00000001015731d0
  rip: 0x00000001011f0b6b  rfl: 0x0000000000000206  cr2: 0x0000000100010000

Binary Images:
       0x100000000 -        0x10003dff7 +httpd ??? (???) <2BF40312-6801-0C1A-E300-2171F70DCAED> /opt/local/apache2/bin/httpd
       0x10006e000 -        0x10009afef +libpcre.0.dylib 1.1.0 (compatibility 1.0.0) <C919B93F-A7A2-9CF2-1C33-6906F5C44B23> /opt/local/lib/libpcre.0.dylib
       0x10009e000 -        0x1000b6ff7 +libaprutil-1.0.dylib 4.9.0 (compatibility 4.0.0) <AAC86FCF-19FE-3D76-B61F-BF17738A0CA7> /opt/local/lib/libaprutil-1.0.dylib
       0x1000c0000 -        0x1001c1fef +libdb-4.6.dylib ??? (???) <B7947443-C955-5556-7839-179B2EDCD167> /opt/local/lib/db46/libdb-4.6.dylib
       0x1001d8000 -        0x1001f7fef +libexpat.1.dylib 7.2.0 (compatibility 7.0.0) <A4AEF895-0C31-404C-66ED-E540395425DE> /opt/local/lib/libexpat.1.dylib
       0x1001fe000 -        0x1002fafe7 +libiconv.2.dylib 8.0.0 (compatibility 8.0.0) <7C98D615-6A67-49FC-9859-CDAB82C0D14A> /opt/local/lib/libiconv.2.dylib
       0x100307000 -        0x100329fff +libapr-1.0.dylib 5.2.0 (compatibility 5.0.0) <5376C26D-B3AA-74C5-D7D2-9A4D7EE9B08A> /opt/local/lib/libapr-1.0.dylib
       0x100355000 -        0x100355ff7 +mod_authn_file.so ??? (???) <94C6C668-1E70-2BAB-8645-B4E72B629FF6> /opt/local/apache2/modules/mod_authn_file.so
       0x100358000 -        0x100358fff +mod_authn_dbm.so ??? (???) <5292E895-FA67-9D6D-CC81-995201977D4B> /opt/local/apache2/modules/mod_authn_dbm.so
       0x10035b000 -        0x10035bfff +mod_authn_anon.so ??? (???) <9BFBA6F5-3F4E-41FA-1016-0DB1FCC72F83> /opt/local/apache2/modules/mod_authn_anon.so
       0x10035e000 -        0x10035ffff +mod_authn_dbd.so ??? (???) <E05F5632-620B-98F8-AE46-130448427DC2> /opt/local/apache2/modules/mod_authn_dbd.so
       0x100362000 -        0x100362fff +mod_authn_default.so ??? (???) <119EDAAF-742F-EBF7-72D6-56662DF1FBE3> /opt/local/apache2/modules/mod_authn_default.so
       0x100365000 -        0x100366ff7 +mod_authz_host.so ??? (???) <8A42BEA4-5E1C-E5DD-6AA3-2FA3E200085D> /opt/local/apache2/modules/mod_authz_host.so
       0x100369000 -        0x10036afff +mod_authz_groupfile.so ??? (???) <AC4948A6-BCF8-937F-3978-7BAC30F668F7> /opt/local/apache2/modules/mod_authz_groupfile.so
       0x10036d000 -        0x10036dfff +mod_authz_user.so ??? (???) <037AC73A-B69C-65C7-AA24-127B629037F0> /opt/local/apache2/modules/mod_authz_user.so
       0x100370000 -        0x100370fff +mod_authz_dbm.so ??? (???) <1E9FB8E3-3A80-44F0-1C82-0D9DDE1FCCC5> /opt/local/apache2/modules/mod_authz_dbm.so
       0x100373000 -        0x100373fff +mod_authz_owner.so ??? (???) <59101A8B-5370-2A7F-B58C-5F1443175126> /opt/local/apache2/modules/mod_authz_owner.so
       0x100376000 -        0x100376fff +mod_authz_default.so ??? (???) <4A910751-C12D-A99F-F7B5-C63B7C932B31> /opt/local/apache2/modules/mod_authz_default.so
       0x100379000 -        0x100379ff7 +mod_auth_basic.so ??? (???) <7AA1CF0F-4A89-C97C-DEAC-10487151F387> /opt/local/apache2/modules/mod_auth_basic.so
       0x10037c000 -        0x100380fff +mod_auth_digest.so ??? (???) <5802B628-4FC0-E8CB-DA17-351A9B9B945B> /opt/local/apache2/modules/mod_auth_digest.so
       0x100384000 -        0x100385fff +mod_file_cache.so ??? (???) <C3D41861-C818-196D-C36F-7C7CD034E2EC> /opt/local/apache2/modules/mod_file_cache.so
       0x100388000 -        0x10038efff +mod_cache.so ??? (???) <4C4FDD08-793A-7643-BC7C-E3DACE277BB7> /opt/local/apache2/modules/mod_cache.so
       0x100392000 -        0x100395fff +mod_disk_cache.so ??? (???) <A36B5723-5D64-9E66-DD14-1616BD598BC7> /opt/local/apache2/modules/mod_disk_cache.so
       0x100399000 -        0x10039cfff +mod_mem_cache.so ??? (???) <3E3FA40C-2375-8572-30CF-389DCEEFCE65> /opt/local/apache2/modules/mod_mem_cache.so
       0x1003a0000 -        0x1003a2ff7 +mod_dbd.so ??? (???) <E464CE09-3031-2797-E782-67348BB68FDC> /opt/local/apache2/modules/mod_dbd.so
       0x1003a5000 -        0x1003a6ff7 +mod_dumpio.so ??? (???) <38EA856A-AD72-58F6-4B74-9D99955B4BD7> /opt/local/apache2/modules/mod_dumpio.so
       0x1003a9000 -        0x1003abfff +mod_ext_filter.so ??? (???) <E106D915-F3C9-1EE6-1B5E-30677AF40472> /opt/local/apache2/modules/mod_ext_filter.so
       0x1003af000 -        0x1003b6ff7 +mod_include.so ??? (???) <FF71B29A-2FEE-4E1A-A8FE-76D38C9741C7> /opt/local/apache2/modules/mod_include.so
       0x1003ba000 -        0x1003bcff7 +mod_filter.so ??? (???) <D6844C32-35E4-E1E0-A2C5-0BAA14026455> /opt/local/apache2/modules/mod_filter.so
       0x1003bf000 -        0x1003c0fff +mod_substitute.so ??? (???) <B382FF6A-BBD4-C53B-ABAD-D51FB89068EA> /opt/local/apache2/modules/mod_substitute.so
       0x1003c3000 -        0x1003c6fff +mod_deflate.so ??? (???) <E681CF71-A993-29C1-029E-FACB4517E44F> /opt/local/apache2/modules/mod_deflate.so
       0x1003ca000 -        0x1003deff7 +libz.1.dylib 1.2.5 (compatibility 1.0.0) <CED4D01F-2054-94F0-E944-962F279BC84C> /opt/local/lib/libz.1.dylib
       0x1003e2000 -        0x1003e5ff7 +mod_log_config.so ??? (???) <4E331093-D0DB-9A42-6DA5-877CF8C59AFF> /opt/local/apache2/modules/mod_log_config.so
       0x1003e9000 -        0x1003eaff7 +mod_log_forensic.so ??? (???) <5FB2F9C0-AF85-5C9F-F44E-D8C662A94151> /opt/local/apache2/modules/mod_log_forensic.so
       0x1003ed000 -        0x1003edff7 +mod_logio.so ??? (???) <315EBA03-3C84-0CD2-4B02-F0FD93D275FE> /opt/local/apache2/modules/mod_logio.so
       0x1003f0000 -        0x1003f0ff7 +mod_env.so ??? (???) <6993AC37-2E77-BF5D-7DB5-CBC1B20F9AF8> /opt/local/apache2/modules/mod_env.so
       0x1003f3000 -        0x1003f6ff7 +mod_mime_magic.so ??? (???) <27EECF87-C6CA-D03E-8618-DCBA1FCB62C6> /opt/local/apache2/modules/mod_mime_magic.so
       0x1003f9000 -        0x1003f9fff +mod_cern_meta.so ??? (???) <CA60CBD4-49CF-2582-805A-B0836D02DDD0> /opt/local/apache2/modules/mod_cern_meta.so
       0x1003fc000 -        0x1003fdff7 +mod_expires.so ??? (???) <2378A070-4F92-7684-2B08-7F845D729FD0> /opt/local/apache2/modules/mod_expires.so
       0x100500000 -        0x100502fff +mod_headers.so ??? (???) <76DC198F-97DD-F9DB-C9DF-541A3E66C348> /opt/local/apache2/modules/mod_headers.so
       0x100506000 -        0x100507fff +mod_ident.so ??? (???) <60C61493-29D6-152A-4773-8C056B1500CA> /opt/local/apache2/modules/mod_ident.so
       0x10050a000 -        0x10050bff7 +mod_usertrack.so ??? (???) <A80E60EF-7281-9799-6370-B52D47232479> /opt/local/apache2/modules/mod_usertrack.so
       0x10050e000 -        0x10050efef +mod_unique_id.so ??? (???) <D1D5F173-1621-8E08-2107-9FB2A523B770> /opt/local/apache2/modules/mod_unique_id.so
       0x100511000 -        0x100512fff +mod_setenvif.so ??? (???) <E4EA2CEC-8F56-6AFA-7144-9B4E6FBEBC3D> /opt/local/apache2/modules/mod_setenvif.so
       0x100515000 -        0x100515fff +mod_version.so ??? (???) <5FBA23AD-C31F-214D-D131-213FF92D5D77> /opt/local/apache2/modules/mod_version.so
       0x100518000 -        0x100526fff +mod_proxy.so ??? (???) <6F027DE9-7A4A-8DDF-B930-463CFBEFA1AB> /opt/local/apache2/modules/mod_proxy.so
       0x10052c000 -        0x10052dfff +mod_proxy_connect.so ??? (???) <A959DA11-F0F4-C710-B1D4-DF176EB15553> /opt/local/apache2/modules/mod_proxy_connect.so
       0x100530000 -        0x100535fff +mod_proxy_ftp.so ??? (???) <E80B3B96-A449-332C-BA6D-3F77C950AC7F> /opt/local/apache2/modules/mod_proxy_ftp.so
       0x100539000 -        0x10053efff +mod_proxy_http.so ??? (???) <433CB97B-110A-9325-EE28-625F733C244A> /opt/local/apache2/modules/mod_proxy_http.so
       0x100542000 -        0x100548ff7 +mod_proxy_ajp.so ??? (???) <3E4F1202-C0ED-49E8-3328-AC509E8CE7F5> /opt/local/apache2/modules/mod_proxy_ajp.so
       0x10054c000 -        0x100550ff7 +mod_proxy_balancer.so ??? (???) <A3A6DCEA-1BDD-65FE-9540-00111823D99A> /opt/local/apache2/modules/mod_proxy_balancer.so
       0x100554000 -        0x100574fe7 +mod_ssl.so ??? (???) <FE04B822-FD79-0851-7354-7822F0EE191F> /opt/local/apache2/modules/mod_ssl.so
       0x100583000 -        0x1005c5fef +libssl.0.9.8.dylib 0.9.8 (compatibility 0.9.8) <FBB61C75-D65F-66BB-E5E2-727AC363C68F> /opt/local/lib/libssl.0.9.8.dylib
       0x1005d9000 -        0x1006edfe7 +libcrypto.0.9.8.dylib 0.9.8 (compatibility 0.9.8) <E54E7BF0-CE9D-A38C-56DE-DDD420AAD206> /opt/local/lib/libcrypto.0.9.8.dylib
       0x100751000 -        0x100753ff7 +mod_mime.so ??? (???) <6CA0C353-8A23-D1D5-E415-A6B025694873> /opt/local/apache2/modules/mod_mime.so
       0x100756000 -        0x100768ff7 +mod_dav.so ??? (???) <1295EE8A-E7AC-7C6B-1060-ED7FF0B9C2F0> /opt/local/apache2/modules/mod_dav.so
       0x10076e000 -        0x100771fff +mod_status.so ??? (???) <C43EFB57-E6B9-1859-3342-8E5AD5C44593> /opt/local/apache2/modules/mod_status.so
       0x100774000 -        0x100779ff7 +mod_autoindex.so ??? (???) <05067A45-AD5A-B82C-CDF9-FCB1A75B5093> /opt/local/apache2/modules/mod_autoindex.so
       0x10077d000 -        0x10077dfff +mod_asis.so ??? (???) <37B5641B-E08F-1043-B351-8B09F0D5D1F7> /opt/local/apache2/modules/mod_asis.so
       0x100780000 -        0x100782fff +mod_info.so ??? (???) <097AA08A-5D88-619F-05B8-8E439A783E4A> /opt/local/apache2/modules/mod_info.so
       0x100785000 -        0x100788ff7 +mod_cgi.so ??? (???) <377E64CB-FFD4-667E-9CEE-51C14C179D5F> /opt/local/apache2/modules/mod_cgi.so
       0x10078c000 -        0x100794fff +mod_dav_fs.so ??? (???) <2150C9C0-7C1B-1064-1109-93AEAFDBD9C9> /opt/local/apache2/modules/mod_dav_fs.so
       0x100799000 -        0x10079afff +mod_vhost_alias.so ??? (???) <C6A5A6E5-B45C-3E7B-CE94-BC884B2A54DD> /opt/local/apache2/modules/mod_vhost_alias.so
       0x10079d000 -        0x1007a2fff +mod_negotiation.so ??? (???) <1DF4637B-70F0-9F77-DE59-DE205D1E71ED> /opt/local/apache2/modules/mod_negotiation.so
       0x1007a6000 -        0x1007a6fff +mod_dir.so ??? (???) <108C9244-E585-EF2B-D9BA-5A342AA29D09> /opt/local/apache2/modules/mod_dir.so
       0x1007a9000 -        0x1007abff7 +mod_imagemap.so ??? (???) <035FFC63-B83E-AD28-082B-4C519D0B9205> /opt/local/apache2/modules/mod_imagemap.so
       0x1007ae000 -        0x1007aeff7 +mod_actions.so ??? (???) <CDC4DC88-B330-755B-E9E9-E727DD1579AF> /opt/local/apache2/modules/mod_actions.so
       0x1007b1000 -        0x1007b2fff +mod_speling.so ??? (???) <47DAB00E-2388-9B40-AF14-C817804D98A8> /opt/local/apache2/modules/mod_speling.so
       0x1007b5000 -        0x1007b5ff7 +mod_userdir.so ??? (???) <34EF5D73-F7CF-353A-21EB-69130D0FAFB8> /opt/local/apache2/modules/mod_userdir.so
       0x1007b8000 -        0x1007b9ff7 +mod_alias.so ??? (???) <BBE3B3EC-ABD5-CE98-8C84-8B07AC3F9DA3> /opt/local/apache2/modules/mod_alias.so
       0x1007bc000 -        0x1007c7fff +mod_rewrite.so ??? (???) <B2BDB275-52E8-5DBF-B7D5-D6FD58E8C051> /opt/local/apache2/modules/mod_rewrite.so
       0x1007cc000 -        0x1007dafff +libbz2.1.0.dylib 1.0.5 (compatibility 1.0.0) <8DCFAA43-4B92-8217-F611-76D71FFF1503> /opt/local/lib/libbz2.1.0.dylib
       0x1007df000 -        0x1007e6ff8 +Lasso8ConnectorforApache2.2.so ??? (???) /opt/local/apache2/modules/Lasso8ConnectorforApache2.2.so
       0x1007ec000 -        0x1007f0fff +mcrypt.so ??? (???) <FA87EC29-44AB-AC51-5252-F808B1A8F5B4> /opt/local/lib/php/extensions/no-debug-non-zts-20090626/mcrypt.so
       0x1007f6000 -        0x1007fcfef +libltdl.7.dylib 10.2.0 (compatibility 10.0.0) <DFCEFF07-98F3-A1A5-A547-DFBAEB7A43A8> /opt/local/lib/libltdl.7.dylib
       0x101000000 -        0x1014fcfff +libphp5.so ??? (???) <0CAA398B-2FE1-BC4D-5DBF-B616F5EB529A> /opt/local/apache2/modules/libphp5.so
       0x1015df000 -        0x101607ff7 +libreadline.6.1.dylib 6.1.0 (compatibility 6.0.0) <AC6140FD-7C33-2638-180A-132F5B01C85D> /opt/local/lib/libreadline.6.1.dylib
       0x10161d000 -        0x101647ff7 +libncurses.5.dylib 5.0.0 (compatibility 5.0.0) <05A375E3-A14F-C3EA-3370-0C6007A5F0FE> /opt/local/lib/libncurses.5.dylib
       0x101653000 -        0x101774fff +libxml2.2.dylib 10.7.0 (compatibility 10.0.0) <B83C41F3-036C-A89B-0338-07CB0AAC7838> /opt/local/lib/libxml2.2.dylib
       0x1018b2000 -        0x1018f5ff7 +gd.so ??? (???) <E06F29B5-2F2D-97BB-0D6D-240E36E7EBB4> /opt/local/lib/php/extensions/no-debug-non-zts-20090626/gd.so
       0x101905000 -        0x101984fff +libfreetype.6.dylib 11.0.0 (compatibility 11.0.0) <474B51EB-FB16-A769-D0E8-A31F29CE5CAB> /opt/local/lib/libfreetype.6.dylib
       0x101999000 -        0x1019bafe7 +libpng12.0.dylib 44.0.0 (compatibility 44.0.0) <DF166D0E-37E8-A7BD-3579-B15D455FADEA> /opt/local/lib/libpng12.0.dylib
       0x1019c1000 -        0x1019f6ff7 +libjpeg.8.dylib 9.1.0 (compatibility 9.0.0) <FEF6E02C-DA71-5DD8-7F95-8A36DE9E5806> /opt/local/lib/libjpeg.8.dylib
       0x1019fd000 -        0x101bcdfef +mbstring.so ??? (???) <B07A7D0B-4FCF-8FB7-113C-26CE9CE4B1A0> /opt/local/lib/php/extensions/no-debug-non-zts-20090626/mbstring.so
       0x101bed000 -        0x101c12fef +libmcrypt.4.dylib 9.8.0 (compatibility 9.0.0) <FE18CBD0-344D-7D8D-0819-DAAEDE4D26C0> /opt/local/lib/libmcrypt.4.dylib
       0x101c24000 -        0x101c2aff7 +mysql.so ??? (???) <498C66F1-5E73-49E8-9C79-BB87AC66AC47> /opt/local/lib/php/extensions/no-debug-non-zts-20090626/mysql.so
       0x101c30000 -        0x101c41fe7 +mysqli.so ??? (???) <3FEE8CE3-6021-DF13-639A-C4C900EB3D19> /opt/local/lib/php/extensions/no-debug-non-zts-20090626/mysqli.so
       0x101c4c000 -        0x101c4ffef +pdo_mysql.so ??? (???) <1872A2F4-2533-3516-31A1-30DF4FAF2DCC> /opt/local/lib/php/extensions/no-debug-non-zts-20090626/pdo_mysql.so
       0x101c53000 -        0x101c61fff +zip.so ??? (???) <C22845C5-091F-1804-F41F-A2BA85D0B298> /opt/local/lib/php/extensions/no-debug-non-zts-20090626/zip.so
    0x7fff5fc00000 -     0x7fff5fc3bdef  dyld 132.1 (???) <B633F790-4DDB-53CD-7ACF-2A3682BCEA9F> /usr/lib/dyld
    0x7fff80eba000 -     0x7fff80ef2ff7  libssl.0.9.8.dylib 0.9.8 (compatibility 0.9.8) <FAB9687F-0A86-A13F-7644-CE02E71140DB> /usr/lib/libssl.0.9.8.dylib
    0x7fff8167f000 -     0x7fff816fcfef  libstdc++.6.dylib 7.9.0 (compatibility 7.0.0) <35ECA411-2C08-FD7D-11B1-1B7A04921A5C> /usr/lib/libstdc++.6.dylib
    0x7fff84c17000 -     0x7fff84c18ff7  com.apple.TrustEvaluationAgent 1.1 (1) <74800EE8-C14C-18C9-C208-20BBDB982D40> /System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/TrustEvaluationAgent
    0x7fff85323000 -     0x7fff85327ff7  libmathCommon.A.dylib 315.0.0 (compatibility 1.0.0) <95718673-FEEE-B6ED-B127-BCDBDB60D4E5> /usr/lib/system/libmathCommon.A.dylib
    0x7fff85435000 -     0x7fff85446ff7  libz.1.dylib 1.2.3 (compatibility 1.0.0) <C1154E2E-B1CB-1FAD-77ED-B139BA1AB073> /usr/lib/libz.1.dylib
    0x7fff85f60000 -     0x7fff85f81fff  libresolv.9.dylib 40.0.0 (compatibility 1.0.0) <1AE68BBB-6536-125C-DE2A-13CA916D0EC4> /usr/lib/libresolv.9.dylib
    0x7fff86993000 -     0x7fff869a5fe7  libsasl2.2.dylib 3.15.0 (compatibility 3.0.0) <76B83C8D-8EFE-4467-0F75-275648AFED97> /usr/lib/libsasl2.2.dylib
    0x7fff86aa9000 -     0x7fff86bb8fe7  libcrypto.0.9.8.dylib 0.9.8 (compatibility 0.9.8) <826C2437-F760-E049-1719-9C69A3BAA4B0> /usr/lib/libcrypto.0.9.8.dylib
    0x7fff86cdd000 -     0x7fff86e9cff7  libSystem.B.dylib 125.0.1 (compatibility 1.0.0) <CB9A4929-61AF-DE71-5635-133E9EC95783> /usr/lib/libSystem.B.dylib
    0x7fff87eed000 -     0x7fff87f2afff  com.apple.LDAPFramework 2.0 (120.1) <16383FF5-0537-6298-73C9-473AEC9C149C> /System/Library/Frameworks/LDAP.framework/Versions/A/LDAP
    0x7fffffe00000 -     0x7fffffe01fff  libSystem.B.dylib ??? (???) <CB9A4929-61AF-DE71-5635-133E9EC95783> /usr/lib/libSystem.B.dylib

Change History (20)

comment:1 Changed 14 years ago by jmroot (Joshua Root)

Description: modified (diff)
Owner: changed from macports-tickets@… to imajes@…

Please use an attachment for lengthy output in future, or at least use WikiFormatting. Please also remember to cc the maintainer.

comment:2 Changed 14 years ago by jmroot (Joshua Root)

Cc: jwa@… imajes@… added
Owner: changed from imajes@… to ryandesign@…
Port: php5 added

comment:3 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

I'm not sure why either. By assigning the ticket to me Joshua has indicated he thinks php5 is implicated, which seems likely since the thread that crashed was in libphp5.so. Do you have any php extensions installed, and if so, do you still see the problem if you disable them and restart apache2?

comment:4 Changed 14 years ago by scott@…

Hi all,
So sorry! I'm very new to this. Apologies for the mistakes!

Hi ryandesign:
I disabled LoadModule php5_module modules/libphp5.so in my httpd.conf and the crashing stopped. But of course since the majority of my site is .php files, nothing on the website really worked.

I have the following php related ports installed and active:

  php5 @5.3.2_0+apache2+fastcgi+pear (active)
  php5-gd @5.3.2_1 (active)
  php5-mbstring @5.3.2_0 (active)
  php5-mcrypt @5.3.2_0 (active)
  php5-mysql @5.3.2_0+mysqlnd (active)
  php5-zip @5.3.2_0 (active)
  phpmyadmin @3.2.5_0 (active)

Any suggestions on what I should try to do to see what will stop it from crashing?

comment:5 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

You will want to use WikiFormatting in your ticket comments and descriptions. Use the Preview button to make sure your formatting looks right before submitting.

So we know the problem is related to the php5 apache2 module. Good. (You also have the fastcgi variant selected... you are also using the php5 fastcgi executable?)

Test if those php extensions are causing the problem. Reactivate php5 and restart apache2 and confirm the problem comes back. Then deactivate php5-gd, php5-mbstring, php5-mcrypt, php5-mysql and php5-zip, then restart apache2 and see if the problem is still there.

What variant of apache2 is installed?

Are there any web requests being served? What's in the apache access log and error log?

comment:6 Changed 14 years ago by scott@…

re: php 5 fastcgi executable:
Not sure. I just built php5 with fastcgi in case I needed it later but I haven't gotten around to trying it out yet since I was having this issue.

Variant of apache: apache2 @2.2.15_1+preforkmpm (active)

Webpages are being served with out an issue, httpd just keeps crashing in the background.

Here's a sample of the error log:

[Thu Jun 10 05:53:25 2010] [notice] child pid 93195 exit signal Segmentation fault (11)
[Thu Jun 10 05:58:54 2010] [notice] child pid 93167 exit signal Segmentation fault (11)
[Thu Jun 10 06:00:33 2010] [notice] child pid 93243 exit signal Segmentation fault (11)
[Thu Jun 10 06:00:42 2010] [notice] child pid 93137 exit signal Segmentation fault (11)
[Thu Jun 10 06:01:20 2010] [notice] child pid 93194 exit signal Segmentation fault (11)
[Thu Jun 10 06:01:31 2010] [notice] child pid 93165 exit signal Segmentation fault (11)
[Thu Jun 10 06:02:11 2010] [notice] child pid 93254 exit signal Segmentation fault (11)

How should I disable to extensions to php5? Should I just rebuild php5 without the +fastcgi variant and test?

comment:7 in reply to:  6 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to scott@…:

How should I disable to extensions to php5?

By deactivating the ports of those extensions:

sudo port deactivate php5-gd php5-mbstring php5-mcrypt php5-mysql php5-zip

and then restarting apache2.

comment:8 Changed 14 years ago by scott@…

Okay that fixed it.

I re-enabled php5-mysql and things are still working without any crashes.

I have a feeling this has to do with phpmyadmin because the other extensions were installed along with phpmyadmin.

comment:9 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Can you identify specifically which extension is causing the crash? Re-enable them one by one until you figure out which one it is. phpmyadmin is just a web app so it can't really be causing the crash itself; if apache is crashing while someone is using phpmyadmin it's probably because it's trying to use a particular extension at that moment.

comment:10 Changed 14 years ago by scott@…

Oops! I spoke too soon. The crash is back.

It seemed to have returned when I re-enabled php5-mysql. I'm going to run it for a few minutes off and see if that stops the crashing. Will report back shortly.

comment:11 Changed 14 years ago by scott@…

It is indeed php5-mysql. Turning it off stopped the crashes altogether.

Is there anything else you'd like me to look at?

comment:12 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

And you can have all the other php extensions enabled and there's no problem?

What version of mysql is it talking to? Is mysql running on the same server or a different one?

You could try rebuilding php5-mysql with a different variant. By default it uses the mysqlnd variant, but you could try the mysql5 variant instead. To do so:

sudo port install php5-mysql +mysql5

comment:13 Changed 14 years ago by scott@…

I know it's php5-mysql because i've left phpmyadmin and all the rest of the extensions off and it only crashes with php5-mysql.

MySQL is

mysql5 @5.1.47_0 (active)
mysql5-server @5.1.47_0 (active)

and it's running on the same server.

I'll try to rebuild using the variants you described and report back.

comment:14 Changed 14 years ago by scott@…

I just tried the php5-mysql +mysql5 option, and it seems to crash less, but still crashes.

Anything else I should try?

comment:15 Changed 14 years ago by scott@…

I tried a few other things last night to see if I could resolve this on my own but It still seems to be php5-mysql that is the culprit. Any other suggestions?

comment:16 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: imajes@… removed
Port: php5-mysql added; php5 removed
Summary: Apache2 continuous crashing but not sure whyphp5-mysql continuously crashes apache2 httpd

Sorry I have not responded to this ticket in a year, but I didn't know what else to suggest. Were you ever able to resolve it? If not, all of these ports have been updated in the past year, so try updating them.

comment:17 Changed 12 years ago by alex@…

This is STILL an issue...

Process:         running job [66045]
Path:            /opt/local/apache2/*/httpd
Identifier:      running job
Version:         ??? (???)
Code Type:       X86-64 (Native)
Parent Process:  running job [66044]

Date/Time:       2011-11-10 22:12:01.966 -0500
OS Version:      Mac OS X Server 10.7.2 (11C74)
Report Version:  9

Crashed Thread:  0

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000

Application Specific Information:
dyld: launch, loading dependent libraries

Dyld Error Message:
  Library not loaded: /usr/local/lib/libdb-4.8.dylib
  Referenced from: /opt/local/apache2/*/httpd
  Reason: image not found

Binary Images:
       0x100000000 -        0x10003efef +httpd (??? - ???) <3A4C59F5-E2FC-328E-9D65-8FDF21A2682A> /opt/local/apache2/*/httpd
       0x100070000 -        0x10008cff7  libaprutil-1.0.dylib (4.10.0 - compatibility 4.0.0) <E6827C47-96C9-3DBE-8D7B-8C617ED0E0C3> /usr/lib/libaprutil-1.0.dylib
       0x100098000 -        0x1000b6fef +libexpat.1.dylib (7.2.0 - compatibility 7.0.0) <F297198E-55D1-37B1-A6BD-FD621AA4178A> /opt/local/lib/libexpat.1.dylib
    0x7fff60052000 -     0x7fff60086ac7  dyld (195.5 - ???) <B372EB7D-DCD8-30CE-9342-E06CADD7CACA> /usr/lib/dyld
    0x7fff8de01000 -     0x7fff8de2cfff  libpcre.0.dylib (1.1.0 - compatibility 1.0.0) <7D3CDB0A-840F-3856-8F84-B4A50E66431B> /usr/lib/libpcre.0.dylib

comment:18 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: alex@… added

alex, yours is clearly a different issue from the one in this ticket; yours is caused by you having had libraries (namely libdb-4.8.dylib) in /usr/local at the time that you installed the apache2 port, and it linked with that db library, and you then removed that db library, which is why you now get an error that it can't be found. This kind of problem is why we don't support users installing things in /usr/local. Please remove anything left in /usr/local, then rebuild apache2 and any other port you built during the time you had things in /usr/local.

comment:19 Changed 9 years ago by jmroot (Joshua Root)

php5-mysql is replaced by php53-mysql. Is this still relevant?

comment:20 Changed 6 years ago by jmroot (Joshua Root)

Cc: Schamschula pixilla added
Note: See TracTickets for help on using tickets.