KERNEL- PANIC

Before rebooting my routerOS 3.28 i hade no problem. But after rebboting the machine i got an error similar to this

exec.. 00000004
kernel panic not syncing…

I have re installed and every thing seems to be ok.
But in case of next time what is the probable cause of this problem. so that i can avoid it next time.

This could be caused by bad hardware, or damaged RouterOS packages. Reinstall should fix it unless it’s really some bad RAM or something else in your PC.

Like i said i already fixed it with a reinstall. i just needed to know what might have cause it. Thanks anyways,.