|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2021-05-03 10:51 UTC] mark dot roeling at cordeo dot com
[2021-05-03 10:52 UTC] nikic@php.net
[2021-05-03 10:56 UTC] sulcmil at gmail dot com
[2021-05-03 10:57 UTC] nikic@php.net
[2021-05-03 11:23 UTC] mark dot roeling at cordeo dot com
[2021-05-03 12:20 UTC] nikic@php.net
[2021-05-04 20:48 UTC] mehdi dot bounya at gmail dot com
[2021-05-11 06:41 UTC] krakjoe@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: krakjoe
[2021-05-11 06:41 UTC] krakjoe@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 22 05:00:01 2025 UTC |
Description: ------------ Hi. After upgrading to PHP 8.0.5, me and my colleagues are hitting Segmentation fault 11 on OSX 11. We're using homebrew and default php formula. - install brew - brew update - brew install php@8.0 I have homebrew default PHP configuration with APCu extension. ``` ➜ php --ini Configuration File (php.ini) Path: /usr/local/etc/php/8.0 Loaded Configuration File: /usr/local/etc/php/8.0/php.ini Scan for additional .ini files in: /usr/local/etc/php/8.0/conf.d Additional .ini files parsed: /usr/local/etc/php/8.0/conf.d/ext-apcu.ini ``` There is Symfony Console + Doctrine library in our project. - bin/console doctrine:fixtures:load --append --no-interaction --fixtures=app/fixtures This command is working well on PHP 8.0.3, but on PHP 8.0.5 it ends with segmentation fault 11. From my observation, same error occurs also using PHP development server. Here is output from lldb. ``` ❯ lldb php bin/console doctrine:fixtures:load -- --append --no-interaction --fixtures=app/fixtures/Plan/Dev (lldb) target create "php" Current executable set to 'php' (x86_64). (lldb) settings set -- target.run-args "bin/console" "doctrine:fixtures:load" "--append" "--no-interaction" "--fixtures=app/fixtures" (lldb) run Process 11978 launched: '/usr/local/bin/php' (x86_64) > loading [1] App\Fixtures\UserFixture Process 11978 stopped * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x1a) frame #0: 0x00007fff205cadc6 libsystem_c.dylib`strtoll_l + 77 libsystem_c.dylib`strtoll_l: -> 0x7fff205cadc6 <+77>: movb (%rbx), %sil 0x7fff205cadc9 <+80>: movzbl %sil, %eax 0x7fff205cadcd <+84>: testb %al, %al 0x7fff205cadcf <+86>: js 0x7fff205cadd8 ; <+95> Target 0: (php) stopped. (lldb) exit ``` Thank you for your help. Test script: --------------- ➜ php bin/console doctrine:fixtures:load --append --no-interaction --fixtures=app/fixture > loading [1] App\Fixtures\UserFixture Expected result: ---------------- It should works without segmentation fault. Actual result: -------------- Segmentation fault: 11