VirtualBox

Changes between Version 28 and Version 29 of Core_dump


Ignore:
Timestamp:
Jul 23, 2010 9:16:56 AM (14 years ago)
Author:
Michael Thayer
Comment:

Describe pid-specific core dumps on Linux

Legend:

Unmodified
Added
Removed
Modified
  • Core_dump

    v28 v29  
    55$ ulimit -c unlimited
    66$ sudo su
     7# echo -n 1 > /proc/sys/kernel/core_uses_pid
    78# echo -n 1 > /proc/sys/fs/suid_dumpable
    89# exit
     
    1314$ ulimit -c unlimited
    1415$ sudo su
     16# echo -n 1 > /proc/sys/kernel/core_uses_pid
    1517# echo -n 1 > /proc/sys/fs/suid_dumpable
    1618# exit
     
    1921Ensure 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.
    2022
    21 Starting with version 2.0.0, the !VirtualBox processes are started `suid root`. Therefore do
     23Starting 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
    2224{{{
    2325$ sudo su
     
    2527$ exit
    2628}}}
    27 before starting the VM/GUI (note that `sudo echo` will sometimes not work).
     29before starting the VM/GUI (note that `sudo echo` will not do what we want here).
    2830
    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.
     31When !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.
    3032
     33If several core files are created, you can check which process created them using the command
     34{{{
     35$ file core.<pid>
     36}}}
     37to be sure of the right one to send.
    3138
    3239= How to create dumps on Mac OS X =

© 2023 Oracle
ContactPrivacy policyTerms of Use