Changes between Version 1 and Version 2 of Ticket #58598


Ignore:
Timestamp:
Jun 20, 2019, 12:50:16 AM (5 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

Please remember to use WikiFormatting.

I've tried the two test scripts in https://bugs.php.net/bug.php?id=77284; they work fine for me with MacPorts php73 on macOS High Sierra. I haven't tested on Mojave.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #58598

    • Property Milestone changed from MacPorts 2.6.0 to
  • Ticket #58598 – Description

    v1 v2  
    99STEPS TO REPRODUCE
    1010
    11 0) Mojave 10.14.5
    12 1) MacPorts clean install with requested per below
    13 2) install laravel (https://laravel.com)
    14 3) set up laravel and make a new site per laravel docs (implying apache, openssl, database backend etc.)
    15 4) access the site (fails to load) (I'm using localhost as my domain)
    16 5) see log files per below indicating bus error / problem in mod_php73.so
    17 6) per above github commit, create a patch for php's config.ac file adding darwin to list of hosts that will not use ifuncs
     110. Mojave 10.14.5
     121. MacPorts clean install with requested per below
     132. install laravel (https://laravel.com)
     143. set up laravel and make a new site per laravel docs (implying apache, openssl, database backend etc.)
     154. access the site (fails to load) (I'm using localhost as my domain)
     165. see log files per below indicating bus error / problem in mod_php73.so
     176. per above github commit, create a patch for php's config.ac file adding darwin to list of hosts that will not use ifuncs
    1818
    1919CONFIRMED FIXED by making patch, and reinstalling php77 from customized php local port per
    2020
    21 https://trac.macports.org/wiki/howto/PatchLocal
     21wiki:howto/PatchLocal
    2222
    2323patch assembled per github fix reference above (adding darwin) ....
    2424
    25 --------------------------------------------------------------------
    26 
     25{{{
    2726--- a/configure.ac.orig 2019-06-14 14:32:23.000000000 +0900
    2827+++ b/configure.ac      2019-06-14 14:29:02.000000000 +0900
     
    3635   AX_GCC_FUNC_ATTRIBUTE([target])
    3736 ])
    38 
    39 --------------------------------------------------------------------
     37}}}
    4038
    4139additional config info when issue encountered...
     
    4442ports requested...
    4543
     44{{{
    4645apache2                        @2.4.39_0+preforkmpm
    4746mariadb-server                 @5.5.64_0
     
    6867python37                       @3.7.3_0
    6968redis                          @5.0.5_0
     69}}}
    7070
    7171crash...
    7272
     73{{{
    7374sudo tail -50 /opt/local/var/log/apache2/error_log
    7475
     
    7980[Fri Jun 14 13:11:24.666209 2019] [core:notice] [pid 55208] AH00052: child pid 82567 exit signal Bus error (10)
    8081[Fri Jun 14 13:11:24.666230 2019] [core:notice] [pid 55208] AH00052: child pid 82566 exit signal Bus error (10)
     82}}}
    8183
    8284looking in Console.app at system reports for http...
    8385
     86{{{
    8487Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
    85880   ???                                 0x000000010cf20700 php_base64_encode + 0
     
    10210517  httpd                               0x000000010bc29e24 main + 2104
    10310618  libdyld.dylib                       0x00007fff7dbf53d5 start + 1
     107}}}