When I reboot the system, sometimes I get the warning messages saying System problem detected.
When this happens, except this apport message, entire screen goes blank and after some time, session starts as usual.
Weird part is that this happens randomly and not during every reboot. Below is /etc/rc.local
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
sleep 10
rfkill block bluetooth
sudo mount /dev/sda2 /media/nitish
thunderbird&
exit 0
thunderbird when executed through terminal gives these errors
(process:2462): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
(thunderbird:2462): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::sm-connect after class was initialised
(thunderbird:2462): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::show-crash-dialog after class was initialised
(thunderbird:2462): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::display after class was initialised
(thunderbird:2462): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::default-icon after class was initialised
[calBackendLoader] Using libical backend at /usr/lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/components/libical.manifest
and then starts normally.
Does this cause any problem? Even then, why does this problem not occur every time I reboot?