VirtualBox

Changes between Version 5 and Version 6 of Core_dump


Ignore:
Timestamp:
Sep 16, 2008 7:18:01 AM (16 years ago)
Author:
Frank Mehnert
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Core_dump

    v5 v6  
    33A core dump is very helpful for helping us tracking down crashes of !VirtualBox. To create a core dump, start !VirtualBox from a command line (e.g. xterm):
    44{{{
    5 ulimit -c unlimited
    6 VirtualBox
     5$ ulimit -c unlimited
     6$ VirtualBox
     7}}}
     8or better start the VM directly:
     9{{{
     10$ ulimit -c unlimited
     11$ /usr/lib/virtualbox/VirtualBox -startvm VM_NAME
    712}}}
    813Ensure 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.
     
    1015Starting with version 2.0.0, the !VirtualBox processes are started `suid root`. Therefore do
    1116{{{
    12 echo -n 1 > /proc/sys/fs/suid_dumpable
     17$ sudo echo -n 1 > /proc/sys/fs/suid_dumpable
    1318}}}
    1419before starting the VM/GUI.
    1520
    1621When !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 sun _dot_ com if the compressed file is smaller than 5MB. Contact me directly otherwise.
     22
     23= Forcing !VirtualBox to terminate with core dump =
     24
     25Sometimes it is required to force a !VirtualBox process to terminate, for example, a VM hangs for some unknown reason. This can be done like this (I assume that the VM was started from the GUI):
     26{{{
     27$ /usr/lib/virtualbox/VirtualBox -startvm VM_NAME &
     28$ pidof VirtualBox
     297145
     30$ kill -4 7145
     31}}}
     32Passing the signal number 4 `SIGKILL` is essential! The same applies to the alternative frontends `VBoxHeadless` and `VBoxSDL`.

© 2023 Oracle
ContactPrivacy policyTerms of Use