[Vm-dev] Image crashes on launch, how to debug?

Bernhard Pieber bernhard at pieber.com
Sun Sep 20 11:55:52 UTC 2015


Hi Craig,

I must admit that I never have compiled a VM myself, nor used lldb nor gdb for that matter. However, I do have Xcode 7.0 installed on my machine, so I might try.

In the meantime I found out that if I start the VM from the command line I get the following error:
sqAllocateMemorySegmentOfSizeAboveAllocatedSizeInto mmap: Cannot allocate memory
sqAllocateMemory: initial alloc failed!

That is strange. I have 16 GB physical RAM 9 of which are currently used. That should leave plenty for a 2.66 GB image. And as I wrote it used to work fine.

Time for a restart.

Cheers,
Bernhard

> Am 20.09.2015 um 12:38 schrieb Craig Latta <craig at netjam.org>:
> 
> 
> 
> Hoi Bernhard--
> 
>> Any ideas what I could try next?
> 
>     How far did you get with lldb (the Mac OS 10.10 C debugger) or the
> broader Xcode environment? I would start the system from there, building
> your own VM with debug symbols in it if necessary, and see what
> diagnostic information you get.
> 
> 
> -C
> 
> --
> Craig Latta
> netjam.org
> +31   6 2757 7177 (SMS ok)
> + 1 415  287 3547 (no SMS)
> 



More information about the Vm-dev mailing list