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 = |
| 43 | Sometimes 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 |
| 49 | 7145 |
| 50 | $ kill -4 7145 |
| 51 | }}} |
| 52 | On 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 | }}} |
| 60 | Passing the signal number 4 (`SIGILL`) is essential! The same applies to the alternative frontends `VBoxHeadless` and `VBoxSDL`. |
| 61 | |
| 62 | = How to minidumps on Windows = |
| 63 | Please visit this [http://support.microsoft.com/kb/315263 Microsoft site] for more details about minidumps[[BR]] |
| 64 | Please 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 |