Skip to content

Instantly share code, notes, and snippets.

@jbq
Created April 6, 2020 20:59
Show Gist options
  • Save jbq/ba78bbd0bef92b3a28f0c7c563ff84a3 to your computer and use it in GitHub Desktop.
Save jbq/ba78bbd0bef92b3a28f0c7c563ff84a3 to your computer and use it in GitHub Desktop.
Core was generated by `apache2 -DFOREGROUND'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007fcff58e9a33 in zend_hash_apply_with_arguments () from /usr/lib/apache2/modules/libphp7.so
(gdb) bt
#0 0x00007fcff58e9a33 in zend_hash_apply_with_arguments () from /usr/lib/apache2/modules/libphp7.so
#1 0x00007fcff5792ad5 in zim_reflection_class_getProperties () from /usr/lib/apache2/modules/libphp7.so
#2 0x00007fcff4bc948d in xdebug_execute_internal (current_execute_data=0x7fcff4c209d0, return_value=0x7fcff4c208e0)
at /tmp/pear/temp/xdebug/src/base/base.c:466
#3 0x00007fcff55e645f in ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER () from /usr/lib/apache2/modules/libphp7.so
#4 0x00007fcff5959740 in execute_ex () from /usr/lib/apache2/modules/libphp7.so
#5 0x00007fcff4bc8b36 in xdebug_execute_ex (execute_data=0x7fcff4c20800) at /tmp/pear/temp/xdebug/src/base/base.c:380
#6 0x00007fcff55e63e7 in ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER () from /usr/lib/apache2/modules/libphp7.so
#7 0x00007fcff5959740 in execute_ex () from /usr/lib/apache2/modules/libphp7.so
#8 0x00007fcff4bc8b36 in xdebug_execute_ex (execute_data=0x7fcff4c20570) at /tmp/pear/temp/xdebug/src/base/base.c:380
#9 0x00007fcff55e63e7 in ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER () from /usr/lib/apache2/modules/libphp7.so
#10 0x00007fcff5959740 in execute_ex () from /usr/lib/apache2/modules/libphp7.so
#11 0x00007fcff4bc8b36 in xdebug_execute_ex (execute_data=0x7fcff4c20460) at /tmp/pear/temp/xdebug/src/base/base.c:380
#12 0x00007fcff55e63e7 in ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER () from /usr/lib/apache2/modules/libphp7.so
#13 0x00007fcff5959740 in execute_ex () from /usr/lib/apache2/modules/libphp7.so
#14 0x00007fcff4bc8b36 in xdebug_execute_ex (execute_data=0x7fcff4c201f0) at /tmp/pear/temp/xdebug/src/base/base.c:380
#15 0x00007fcff55e60a0 in ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER () from /usr/lib/apache2/modules/libphp7.so
#16 0x00007fcff5959740 in execute_ex () from /usr/lib/apache2/modules/libphp7.so
#17 0x00007fcff4bc8b36 in xdebug_execute_ex (execute_data=0x7fcff4c1ff60) at /tmp/pear/temp/xdebug/src/base/base.c:380
#18 0x00007fcff55e63e7 in ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER () from /usr/lib/apache2/modules/libphp7.so
#19 0x00007fcff5959740 in execute_ex () from /usr/lib/apache2/modules/libphp7.so
#20 0x00007fcff4bc8b36 in xdebug_execute_ex (execute_data=0x7fcff4c1fe50) at /tmp/pear/temp/xdebug/src/base/base.c:380
#21 0x00007fcff55e63e7 in ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER () from /usr/lib/apache2/modules/libphp7.so
#22 0x00007fcff5959740 in execute_ex () from /usr/lib/apache2/modules/libphp7.so
#23 0x00007fcff4bc8b36 in xdebug_execute_ex (execute_data=0x7fcff4c1fdd0) at /tmp/pear/temp/xdebug/src/base/base.c:380
#24 0x00007fcff55e63e7 in ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER () from /usr/lib/apache2/modules/libphp7.so
#25 0x00007fcff5959740 in execute_ex () from /usr/lib/apache2/modules/libphp7.so
#26 0x00007fcff4bc8b36 in xdebug_execute_ex (execute_data=0x7fcff4c1fa60) at /tmp/pear/temp/xdebug/src/base/base.c:380
#27 0x00007fcff55e63e7 in ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER () from /usr/lib/apache2/modules/libphp7.so
#28 0x00007fcff5959740 in execute_ex () from /usr/lib/apache2/modules/libphp7.so
#29 0x00007fcff4bc8b36 in xdebug_execute_ex (execute_data=0x7fcff4c1f210) at /tmp/pear/temp/xdebug/src/base/base.c:380
#30 0x00007fcff55e60a0 in ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER () from /usr/lib/apache2/modules/libphp7.so
#31 0x00007fcff5959740 in execute_ex () from /usr/lib/apache2/modules/libphp7.so
#32 0x00007fcff4bc8b36 in xdebug_execute_ex (execute_data=0x7fcff4c1f010) at /tmp/pear/temp/xdebug/src/base/base.c:380
#33 0x00007fcff55e63e7 in ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER () from /usr/lib/apache2/modules/libphp7.so
#34 0x00007fcff5959740 in execute_ex () from /usr/lib/apache2/modules/libphp7.so
#35 0x00007fcff4bc8b36 in xdebug_execute_ex (execute_data=0x7fcff4c1ed60) at /tmp/pear/temp/xdebug/src/base/base.c:380
#36 0x00007fcff55e60a0 in ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER () from /usr/lib/apache2/modules/libphp7.so
#37 0x00007fcff5959740 in execute_ex () from /usr/lib/apache2/modules/libphp7.so
#38 0x00007fcff4bc8b36 in xdebug_execute_ex (execute_data=0x7fcff4c1e320) at /tmp/pear/temp/xdebug/src/base/base.c:380
#39 0x00007fcff55e60a0 in ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER () from /usr/lib/apache2/modules/libphp7.so
#40 0x00007fcff5959740 in execute_ex () from /usr/lib/apache2/modules/libphp7.so
#41 0x00007fcff4bc8b36 in xdebug_execute_ex (execute_data=0x7fcff4c1d960) at /tmp/pear/temp/xdebug/src/base/base.c:380
#42 0x00007fcff55e60a0 in ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER () from /usr/lib/apache2/modules/libphp7.so
#43 0x00007fcff5959740 in execute_ex () from /usr/lib/apache2/modules/libphp7.so
#44 0x00007fcff4bc8b36 in xdebug_execute_ex (execute_data=0x7fcff4c1d790) at /tmp/pear/temp/xdebug/src/base/base.c:380
#45 0x00007fcff55e60a0 in ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER () from /usr/lib/apache2/modules/libphp7.so
#46 0x00007fcff5959740 in execute_ex () from /usr/lib/apache2/modules/libphp7.so
#47 0x00007fcff4bc8b36 in xdebug_execute_ex (execute_data=0x7fcff4c1d5b0) at /tmp/pear/temp/xdebug/src/base/base.c:380
#48 0x00007fcff55e60a0 in ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER () from /usr/lib/apache2/modules/libphp7.so
#49 0x00007fcff5959740 in execute_ex () from /usr/lib/apache2/modules/libphp7.so
#50 0x00007fcff4bc8b36 in xdebug_execute_ex (execute_data=0x7fcff4c1c9c0) at /tmp/pear/temp/xdebug/src/base/base.c:380
#51 0x00007fcff55e63e7 in ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER () from /usr/lib/apache2/modules/libphp7.so
#52 0x00007fcff5959740 in execute_ex () from /usr/lib/apache2/modules/libphp7.so
#53 0x00007fcff4bc8b36 in xdebug_execute_ex (execute_data=0x7fcff4c1c8a0) at /tmp/pear/temp/xdebug/src/base/base.c:380
#54 0x00007fcff55e63e7 in ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER () from /usr/lib/apache2/modules/libphp7.so
#55 0x00007fcff5959740 in execute_ex () from /usr/lib/apache2/modules/libphp7.so
#56 0x00007fcff4bc8b36 in xdebug_execute_ex (execute_data=0x7fcff4c1c3d0) at /tmp/pear/temp/xdebug/src/base/base.c:380
#57 0x00007fcff55e63e7 in ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER () from /usr/lib/apache2/modules/libphp7.so
#58 0x00007fcff5959740 in execute_ex () from /usr/lib/apache2/modules/libphp7.so
#59 0x00007fcff4bc8b36 in xdebug_execute_ex (execute_data=0x7fcff4c1c270) at /tmp/pear/temp/xdebug/src/base/base.c:380
#60 0x00007fcff55e63e7 in ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER () from /usr/lib/apache2/modules/libphp7.so
#61 0x00007fcff5959740 in execute_ex () from /usr/lib/apache2/modules/libphp7.so
#62 0x00007fcff4bc8b36 in xdebug_execute_ex (execute_data=0x7fcff4c1c180) at /tmp/pear/temp/xdebug/src/base/base.c:380
#63 0x00007fcff55e63e7 in ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER () from /usr/lib/apache2/modules/libphp7.so
#64 0x00007fcff5959740 in execute_ex () from /usr/lib/apache2/modules/libphp7.so
#65 0x00007fcff4bc8b36 in xdebug_execute_ex (execute_data=0x7fcff4c1c030) at /tmp/pear/temp/xdebug/src/base/base.c:380
#66 0x00007fcff595fb72 in zend_execute () from /usr/lib/apache2/modules/libphp7.so
#67 0x00007fcff58d96d3 in zend_execute_scripts () from /usr/lib/apache2/modules/libphp7.so
#68 0x00007fcff587a538 in php_execute_script () from /usr/lib/apache2/modules/libphp7.so
#69 0x00007fcff5961da2 in php_handler () from /usr/lib/apache2/modules/libphp7.so
#70 0x0000562cc9877a40 in ap_run_handler ()
#71 0x0000562cc9877fd6 in ap_invoke_handler ()
#72 0x0000562cc988f73c in ap_internal_redirect ()
#73 0x00007fcff6ac6325 in ?? () from /usr/lib/apache2/modules/mod_rewrite.so
#74 0x0000562cc9877a40 in ap_run_handler ()
#75 0x0000562cc9877fd6 in ap_invoke_handler ()
#76 0x0000562cc9890453 in ap_process_async_request ()
#77 0x0000562cc98905be in ap_process_request ()
#78 0x0000562cc988c82d in ?? ()
#79 0x0000562cc98818b0 in ap_run_process_connection ()
#80 0x00007fcff7a7e3df in ?? () from /usr/lib/apache2/modules/mod_mpm_prefork.so
#81 0x00007fcff7a7e6d4 in ?? () from /usr/lib/apache2/modules/mod_mpm_prefork.so
#82 0x00007fcff7a7e72f in ?? () from /usr/lib/apache2/modules/mod_mpm_prefork.so
#83 0x00007fcff7a7f2f3 in ?? () from /usr/lib/apache2/modules/mod_mpm_prefork.so
#84 0x0000562cc985a67e in ap_run_mpm ()
#85 0x0000562cc9852f57 in main ()
(gdb) zbacktrace
[0x7fcff4c209d0] ReflectionClass->getProperties() [internal function]
[0x7fcff4c20800] DeepCopy\Reflection\ReflectionHelper->getProperties(object[0x7fcff4c20850]) /var/www/html/vendor/myclabs/deep-copy/src/DeepCopy/Reflection/ReflectionHelper.php:27
[0x7fcff4c20570] DeepCopy\DeepCopy->copyObject(object[0x7fcff4c205c0]) /var/www/html/vendor/myclabs/deep-copy/src/DeepCopy/DeepCopy.php:207
[0x7fcff4c20460] DeepCopy\DeepCopy->recursiveCopy(object[0x7fcff4c204b0]) /var/www/html/vendor/myclabs/deep-copy/src/DeepCopy/DeepCopy.php:144
[0x7fcff4c201f0] DeepCopy\DeepCopy->copyObjectProperty(object[0x7fcff4c20240], object[0x7fcff4c20250]) /var/www/html/vendor/myclabs/deep-copy/src/DeepCopy/DeepCopy.php:252
[0x7fcff4c1ff60] DeepCopy\DeepCopy->copyObject(object[0x7fcff4c1ffb0]) /var/www/html/vendor/myclabs/deep-copy/src/DeepCopy/DeepCopy.php:208
[0x7fcff4c1fe50] DeepCopy\DeepCopy->recursiveCopy(object[0x7fcff4c1fea0]) /var/www/html/vendor/myclabs/deep-copy/src/DeepCopy/DeepCopy.php:144
[0x7fcff4c1fdd0] DeepCopy\DeepCopy->copy(object[0x7fcff4c1fe20]) /var/www/html/vendor/myclabs/deep-copy/src/DeepCopy/DeepCopy.php:94
[0x7fcff4c1fa60] Pimcore\Model\Version->marshalData(object[0x7fcff4c1fab0]) /var/www/html/vendor/pimcore/pimcore/models/Version.php:308
[0x7fcff4c1f210] Pimcore\Model\Version->save() /var/www/html/vendor/pimcore/pimcore/models/Version.php:199
[0x7fcff4c1f010] Pimcore\Model\Element\AbstractElement->doSaveVersion(NULL, false) /var/www/html/vendor/pimcore/pimcore/models/Element/AbstractElement.php:311
[0x7fcff4c1ed60] Pimcore\Model\DataObject\Concrete->saveVersion(false, false, NULL) /var/www/html/vendor/pimcore/pimcore/models/DataObject/Concrete.php:320
[0x7fcff4c1e320] Pimcore\Model\DataObject\Concrete->update(false, array(0)[0x7fcff4c1e380]) /var/www/html/vendor/pimcore/pimcore/models/DataObject/Concrete.php:229
[0x7fcff4c1d960] Pimcore\Model\DataObject\AbstractObject->save(array(0)[0x7fcff4c1d9b0]) /var/www/html/vendor/pimcore/pimcore/models/DataObject/AbstractObject.php:633
[0x7fcff4c1d790] Pimcore\Model\DataObject\Concrete->save() /var/www/html/vendor/pimcore/pimcore/models/DataObject/Concrete.php:753
[0x7fcff4c1d5b0] AppBundle\Model\AbstractTester->save() /var/www/html/src/AppBundle/Model/AbstractTester.php:28
[0x7fcff4c1c9c0] AppBundle\Service\CampaignService->writeParticipation(object[0x7fcff4c1ca10]) /var/www/html/src/AppBundle/Service/CampaignService.php:220
[0x7fcff4c1c8a0] AppBundle\Controller\DefaultController->writeParticipationAction(object[0x7fcff4c1c8f0]) /var/www/html/src/AppBundle/Controller/DefaultController.php:200
[0x7fcff4c1c3d0] Symfony\Component\HttpKernel\HttpKernel->handleRaw(object[0x7fcff4c1c420], 1) /var/www/html/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:146
[0x7fcff4c1c270] Symfony\Component\HttpKernel\HttpKernel->handle(object[0x7fcff4c1c2c0], 1, true) /var/www/html/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:68
[0x7fcff4c1c180] Symfony\Component\HttpKernel\Kernel->handle(object[0x7fcff4c1c1d0]) /var/www/html/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:201
[0x7fcff4c1c030] (main) /var/www/html/web/app.php:36
(gdb) quit
root@4380859388e8:/tmp/crash# php --version
PHP 7.3.16 (cli) (built: Mar 19 2020 23:34:19) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.16, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.3.16, Copyright (c) 1999-2018, by Zend Technologies
with Xdebug v2.9.4, Copyright (c) 2002-2020, by Derick Rethans
@jbq
Copy link
Author

jbq commented Apr 6, 2020

Solution: set \Pimcore\Model\Version::$disabled = true; in the code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment