Changes between Version 28 and Version 29 of Core_dump
- Timestamp:
- Jul 23, 2010 9:16:56 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Core_dump
v28 v29 5 5 $ ulimit -c unlimited 6 6 $ sudo su 7 # echo -n 1 > /proc/sys/kernel/core_uses_pid 7 8 # echo -n 1 > /proc/sys/fs/suid_dumpable 8 9 # exit … … 13 14 $ ulimit -c unlimited 14 15 $ sudo su 16 # echo -n 1 > /proc/sys/kernel/core_uses_pid 15 17 # echo -n 1 > /proc/sys/fs/suid_dumpable 16 18 # exit … … 19 21 Ensure that '''no''' startup script (`~/.bashrc`, `~/.bash_profile`, `~/.profile`) contains an instruction like `ulimit -c 0` as the limit cannot be increased once it was set to zero. 20 22 21 Starting with version 2.0.0, the !VirtualBox processes are started `suid root` . Therefore do23 Starting with version 2.0.0, the !VirtualBox processes are started `suid root`, that is, with permissions to do things that "normal" applications cannot. This is the reason for the 22 24 {{{ 23 25 $ sudo su … … 25 27 $ exit 26 28 }}} 27 before starting the VM/GUI (note that `sudo echo` will sometimes not work).29 before starting the VM/GUI (note that `sudo echo` will not do what we want here). 28 30 29 When !VirtualBox crashes, a file core.<pid> is created in the current directory. Be aware that core dumps can be very huge. Please compress the file before submitting it to a bug report. Or better don't attach the file to a report. Note that this core dump can contain a memory dump of your guest which can include sensitive information. Send it to frank _dot_ mehnert at oracle _dot_ com if the compressed file is smaller than 5MB. Contact me directly otherwise.31 When !VirtualBox or one of its processes crashes, a file core.<pid> is created in the current directory. Be aware that core dumps can be very huge. Please compress the file before submitting it to a bug report. Or better don't attach the file to a report. Note that this core dump can contain a memory dump of your guest which can include sensitive information. Send it to frank _dot_ mehnert at oracle _dot_ com if the compressed file is smaller than 5MB. Contact me directly otherwise. 30 32 33 If several core files are created, you can check which process created them using the command 34 {{{ 35 $ file core.<pid> 36 }}} 37 to be sure of the right one to send. 31 38 32 39 = How to create dumps on Mac OS X =