[vbox-dev] Fwd: memory fault -- OmniOS

Frank Mehnert frank.mehnert at oracle.com
Thu Jun 30 08:25:35 GMT 2016


Hi Geoff,

On Wednesday 29 June 2016 11:58:57 Geoff Nordli wrote:
> BTW, the core dump stack looks like this:
>  > $c
> 
> libkstat.so.1`kstat_read+0x31(289a7c0, 0, 0)
> VBoxRT.so`_Z15rtMpSolarisOncePv+0x18c()
> VBoxRT.so`RTOnceSlow+0x264()
> VBoxRT.so`RTMpGetCoreCount+0x51()
> VBoxVMM.so`CPUMR3LogCpuIds+0x8d()
> VBoxVMM.so`VMMR3InitCompleted+0x89()
> VBoxVMM.so`_Z19vmR3InitDoCompletedP2VM15VMINITCOMPLETED+0x1a()
> VBoxVMM.so`_Z11vmR3CreateUP3UVMjPFiS0_P2VMPvES3_+0x7e1()
> VBoxVMM.so`_Z18vmR3ReqProcessOneUP3UVMP5VMREQ+0x1ad()
> VBoxVMM.so`VMR3ReqProcessU+0xa8()
> VBoxVMM.so`_Z25vmR3EmulationThreadWithIdP11RTTHREADINTP6UVMCPUj+0xe8()
> VBoxRT.so`rtThreadMain+0x2c()
> VBoxRT.so`_Z18rtThreadNativeMainPv+0x51()
> libc.so.1`_thrp_setup+0x8a(ffffbf7fff125240)
> libc.so.1`_lwp_start()

thanks. I see where it's crashing. Could you compile this code on your
box with

  gcc -o foo foo.c

and provide the output?

  #include <stdio.h>
  #include <kstat.h>
  #include <sys/processor.h>

  int main(void)
  {
    int cCpus1 = sysconf(_SC_NPROCESSORS_MAX);
    int cCpus2 = sysconf(_SC_NPROCESSORS_CONF);
    printf("%d %d\n", cCpus1, cCpus2);
    return 0;
  }

Furthermore, could you provide the output of

  kstat |grep "cpu_info.*instance"|wc -l

?

Thanks,

Frank
-- 
Dr.-Ing. Frank Mehnert | Software Development Director, VirtualBox
ORACLE Deutschland B.V. & Co. KG | Werkstr. 24 | 71384 Weinstadt, Germany

ORACLE Deutschland B.V. & Co. KG
Hauptverwaltung: Riesstraße 25, D-80992 München
Registergericht: Amtsgericht München, HRA 95603

Komplementärin: ORACLE Deutschland Verwaltung B.V.
Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
Geschäftsführer: Alexander van der Ven, Jan Schultheiss, Val Maher



More information about the vbox-dev mailing list