[MacPorts] #74304: Crash with CCRandomGenerateBytes on ElCapitano

MacPorts noreply at macports.org
Sat Aug 8 13:58:39 UTC 2026


#74304: Crash with CCRandomGenerateBytes on ElCapitano
------------------------+----------------------------------------------
  Reporter:  quwax      |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:
Resolution:             |   Keywords:  CCRandomGenerateBytes, ElCapitan
      Port:  php83-fpm  |
------------------------+----------------------------------------------
Changes (by quwax):

 * port:  php83 => php83-fpm


Old description:

> Hello
> php-fpm 83 is crashing on El Capitan here:
> 0   libdispatch.dylib                   0x00007fff84d11661
> _dispatch_queue_push_queue + 345
> 1   libdispatch.dylib                   0x00007fff84d0fb06
> _dispatch_queue_wakeup_with_qos_slow + 126
> 2   libcorecrypto.dylib                 0x00007fff966beddc
> ccrng_CommonCrypto_generate + 309
> 3   libcommonCrypto.dylib               0x00007fff90ea148f
> CCRandomGenerateBytes + 28
> 4   php-fpm83                           0x0000000104e7a4e7
> php_random_bytes + 13
> 5   php-fpm83                           0x0000000104f0f6a3 zif_uniqid +
> 198
> 6   php-fpm83                           0x000000010500e5b0
> ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER + 80
> 7   php-fpm83                           0x0000000104fd9cc7 execute_ex +
> 89
> 8   php-fpm83                           0x0000000104fd9ee2 zend_execute +
> 331
> 9   php-fpm83                           0x0000000104fba2e8
> zend_execute_scripts + 272
> 10  php-fpm83                           0x0000000104f57a59
> php_execute_script + 397
> 11  php-fpm83                           0x000000010509e080 main + 6485
> 12  libdyld.dylib                       0x00007fff912295ad start + 1
>
> or here:
> 0   libdispatch.dylib                   0x00007fff84d11661
> _dispatch_queue_push_queue + 345
> 1   libdispatch.dylib                   0x00007fff84d0fb06
> _dispatch_queue_wakeup_with_qos_slow + 126
> 2   libcorecrypto.dylib                 0x00007fff966beddc
> ccrng_CommonCrypto_generate + 309
> 3   libcommonCrypto.dylib               0x00007fff90ea148f
> CCRandomGenerateBytes + 28
> 4   php-fpm83                           0x0000000104e7a4e7
> php_random_bytes + 13
> 5   php-fpm83                           0x0000000104e79a30
> zif_random_bytes + 117
> 6   php-fpm83                           0x000000010500ee64
> ZEND_DO_FCALL_BY_NAME_SPEC_RETVAL_USED_HANDLER + 271
> 7   php-fpm83                           0x0000000104fd9cc7 execute_ex +
> 89
> 8   php-fpm83                           0x0000000104fd9ee2 zend_execute +
> 331
> 9   php-fpm83                           0x0000000104fba2e8
> zend_execute_scripts + 272
> 10  php-fpm83                           0x0000000104f57a59
> php_execute_script + 397
> 11  php-fpm83                           0x000000010509e080 main + 6485
> 12  libdyld.dylib                       0x00007fff912295ad start + 1

New description:

 Hello
 php-fpm 83 is crashing on El Capitan here:
 0   libdispatch.dylib                   0x00007fff84d11661
 _dispatch_queue_push_queue + 345
 1   libdispatch.dylib                   0x00007fff84d0fb06
 _dispatch_queue_wakeup_with_qos_slow + 126
 2   libcorecrypto.dylib                 0x00007fff966beddc
 ccrng_CommonCrypto_generate + 309
 3   libcommonCrypto.dylib               0x00007fff90ea148f
 CCRandomGenerateBytes + 28
 4   php-fpm83                           0x0000000104e7a4e7
 php_random_bytes + 13
 5   php-fpm83                           0x0000000104f0f6a3 zif_uniqid +
 198
 6   php-fpm83                           0x000000010500e5b0
 ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER + 80
 7   php-fpm83                           0x0000000104fd9cc7 execute_ex + 89
 8   php-fpm83                           0x0000000104fd9ee2 zend_execute +
 331
 9   php-fpm83                           0x0000000104fba2e8
 zend_execute_scripts + 272
 10  php-fpm83                           0x0000000104f57a59
 php_execute_script + 397
 11  php-fpm83                           0x000000010509e080 main + 6485
 12  libdyld.dylib                       0x00007fff912295ad start + 1

 or here:
 0   libdispatch.dylib                   0x00007fff84d11661
 _dispatch_queue_push_queue + 345
 1   libdispatch.dylib                   0x00007fff84d0fb06
 _dispatch_queue_wakeup_with_qos_slow + 126
 2   libcorecrypto.dylib                 0x00007fff966beddc
 ccrng_CommonCrypto_generate + 309
 3   libcommonCrypto.dylib               0x00007fff90ea148f
 CCRandomGenerateBytes + 28
 4   php-fpm83                           0x0000000104e7a4e7
 php_random_bytes + 13
 5   php-fpm83                           0x0000000104e79a30
 zif_random_bytes + 117
 6   php-fpm83                           0x000000010500ee64
 ZEND_DO_FCALL_BY_NAME_SPEC_RETVAL_USED_HANDLER + 271
 7   php-fpm83                           0x0000000104fd9cc7 execute_ex + 89
 8   php-fpm83                           0x0000000104fd9ee2 zend_execute +
 331
 9   php-fpm83                           0x0000000104fba2e8
 zend_execute_scripts + 272
 10  php-fpm83                           0x0000000104f57a59
 php_execute_script + 397
 11  php-fpm83                           0x000000010509e080 main + 6485
 12  libdyld.dylib                       0x00007fff912295ad start + 1

 In cli echo uniqid('', true), "\n"; is working

--

-- 
Ticket URL: <https://trac.macports.org/ticket/74304#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list