Apache Bus error (7) during upgrade process from 8.0.3 to 9.0.0

Hello everyone!

I am working on an upgrade of a Sugar 8.0.0 instance to 8.0.3 and then on to 9.0.0 and we are doing some tests on our test server, however the upgrade process seems to crash randomly at some points (and sometimes it does not crash). The error log in apache shows the following error:

error_log:[] [core:notice] [pid 2189:tid 140247669761792] AH00052: child pid 7543 exit signal Bus error (7)


Is this something you have seen happening before? Happens on a quite old CentOS with PHP 7.1

Any help would be greatly appreciated,

Georgi

Parents
  • hey Georgi

    my Integros teammates have warned that such an issue should be a subject of investigation.
    However, they gave a few ideas from their experience that probably could be of help: 
    - there could be smth left uncleared in the environment - check whether the cache is deactivated, or old sessions left in Redis 
    - there also could be a custom code deprecated in the target Sugar version, some third party library deployed as PHP module

    Best,
    Dmytro

    Best Regards,
    Dmytro Chupylka

    integroscrm.com
    We make work in Sugar CRM system faster, more convenient and efficient

  • Hi Dmytro.

    Thanks for the insight. I suspect that the Bus Error might have something to do with file read/write operations.

    The sugar upgrader seems to write some kind of state into a specific file at quite a rapid rate. Do you have some experience or further insight on this aspect?

    Similar Bus Error is quite easy to reproduce with a simple script performing a file_put_contents() if the script is called often enough.


Reply
  • Hi Dmytro.

    Thanks for the insight. I suspect that the Bus Error might have something to do with file read/write operations.

    The sugar upgrader seems to write some kind of state into a specific file at quite a rapid rate. Do you have some experience or further insight on this aspect?

    Similar Bus Error is quite easy to reproduce with a simple script performing a file_put_contents() if the script is called often enough.


Children
No Data