VirtualBox

Changes between Version 18 and Version 19 of Core_dump


Ignore:
Timestamp:
Sep 3, 2009 1:47:53 AM (15 years ago)
Author:
vasily Levchenko
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Core_dump

    v18 v19  
    3939The core files can be found in the /cores folder.
    4040
     41= How to create dumps on OpenSolaris =
     42To get core on OpenSolaris host create coreadm.conf file
     43{{{
     44# cat /etc/coreadm.conf
     45COREADM_GLOB_PATTERN=/tmp/cores/core.%f.%p
     46COREADM_GLOB_CONTENT=all
     47COREADM_INIT_PATTERN=%f.%p
     48COREADM_INIT_CONTENT=all
     49COREADM_GLOB_ENABLED=yes
     50COREADM_PROC_ENABLED=yes
     51COREADM_GLOB_SETID_ENABLED=yes
     52COREADM_PROC_SETID_ENABLED=yes
     53COREADM_GLOB_LOG_ENABLED=yes
     54}}}
     55then enforce coreadm(1) to read configuration from file
     56{{{
     57# coreadm -U
     58# pfexec svcs | grep coreadm
     59online         20:40:11 svc:/system/coreadm:default
     60# pfexec svcadm restart coreadm
     61# pfexec svcs | grep coreadm
     62online          5:30:22 svc:/system/coreadm:default
     63# ulimit -c unlimited
     64}}}
     65
     66After mentioned above manipulations core files will appear in /var/cores folder
    4167
    4268= Forcing !VirtualBox to terminate with a core dump =
     
    5884$ kill -4 7145
    5985}}}
     86
     87On OpenSolaris:
     88{{{
     89# ulimit -c unlimited
     90# /opt/VirtualBox/amd64/bin/VirtualBox -startvm VM_NAME &
     91# ps aux|grep VirtualBox
     92... 7145 ... VirtualBox ...
     93# kill -4 7145
     94}}}
     95
     96You can find result core file according location specified in coreadm
     97{{{
     98# coreadm
     99}}}
     100
    60101Passing the signal number 4 (`SIGILL`) is essential! The same applies to the alternative frontends `VBoxHeadless` and `VBoxSDL`.
    61102
     103
     104 
    62105= How to minidumps on Windows =
    63106Please visit this [http://support.microsoft.com/kb/315263 Microsoft site] for more details about minidumps[[BR]]

© 2023 Oracle
ContactPrivacy policyTerms of Use