Bus error in cron operation

I set up a cron job to send emails from my site using php. It worked fine. Today I got one error message " / bin / sh: line 1: 29681 Bus error ". Could you tell me what kind of error the bus is and its solutions?

Thanks in advance

Rose

+3
source share
3 answers

"bus error" probably means that the program that is being called is trying to dereference a null pointer or some similarly invalid memory address. This usually results from the use of an uninitialized value (dereferencing a null pointer) or due to the use of a value that was accidentally overwritten (for example, when a stack is popped with stored values, but lengths are miscalculated or the wrong data type used to retrieve data).

IME, . - "gdb" , "dmesg"; UNIX Systems 1991 , , ( , ), "dmesg", " ":)

SugarCRM, . 99% cron.php , . " ". , , , crontab. - , โ€‹โ€‹! , . , ... , , , , PHP, MySQL Sugar - , .

+1

.

, :

- .

`dmesg`

, /var/log/messages - .

0

, . df, .

0

Source: https://habr.com/ru/post/1766439/


All Articles