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

Geoff Nordli geoffn at gnaa.net
Thu Jun 30 14:17:23 GMT 2016



On 2016-06-30 01:25 AM, Frank Mehnert wrote:
> 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


Frank, thanks for looking at this.

/foo$ ./foo
144 32

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



Geoff








More information about the vbox-dev mailing list