VirtualBox

Changes between Version 17 and Version 18 of Core_dump


Ignore:
Timestamp:
Jul 9, 2009 9:01:51 AM (15 years ago)
Author:
Frank Mehnert
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Core_dump

    v17 v18  
    2323When !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.
    2424
    25 = Forcing !VirtualBox to terminate with a core dump =
    26 
    27 Sometimes it is required to force a !VirtualBox process to terminate, for example, a VM hangs for some unknown reason. This can be done as follows:
    28 {{{
    29 $ ulimit -c unlimited
    30 $ sudo echo -n 1 > /proc/sys/fs/suid_dumpable
    31 $ /usr/lib/virtualbox/VirtualBox -startvm VM_NAME &
    32 $ pidof VirtualBox
    33 7145
    34 $ kill -4 7145
    35 }}}
    36 Passing the signal number 4 (`SIGILL`) is essential! The same applies to the alternative frontends `VBoxHeadless` and `VBoxSDL`.
    3725
    3826= How to create dumps on Mac OS X =
     
    5139The core files can be found in the /cores folder.
    5240
    53 = How to minudumps on Windows =
    54 [http://support.microsoft.com/kb/315263 Please visit Microsoft site for more details about minidumps][[BR]]
    55 [http://blogs.technet.com/askperf/archive/2007/06/15/capturing-application-crash-dumps.aspx Please visit Microsoft Performance Team blog for more details about Application crash dumps]
     41
     42= Forcing !VirtualBox to terminate with a core dump =
     43Sometimes it is required to force a !VirtualBox process to terminate, for example, a VM hangs for some unknown reason. On Linux, this can be done as follows:
     44{{{
     45$ ulimit -c unlimited
     46$ sudo echo -n 1 > /proc/sys/fs/suid_dumpable
     47$ /usr/lib/virtualbox/VirtualBox -startvm VM_NAME &
     48$ pidof VirtualBox
     497145
     50$ kill -4 7145
     51}}}
     52On Mac OS X:
     53{{{
     54$ ulimit -c unlimited
     55$ /Applications/VirtualBox.app/Contents/MacOS/VirtualBox -startvm VM_NAME &
     56$ ps aux|grep VirtualBox
     57... 7145 ... VirtualBox ...
     58$ kill -4 7145
     59}}}
     60Passing the signal number 4 (`SIGILL`) is essential! The same applies to the alternative frontends `VBoxHeadless` and `VBoxSDL`.
     61
     62= How to minidumps on Windows =
     63Please visit this [http://support.microsoft.com/kb/315263 Microsoft site] for more details about minidumps[[BR]]
     64Please visit the [http://blogs.technet.com/askperf/archive/2007/06/15/capturing-application-crash-dumps.aspx Microsoft Performance Team blog] for more details about Application crash dumps

© 2023 Oracle
ContactPrivacy policyTerms of Use