Ticket #3510 (closed defect: fixed)
Out of memory allocating the partition descriptor => fixed in svn
|Reported by:||TerryE||Owned by:|
Forum Topic #14342 refers.
A couple of people have reported this error which seems to relate to a logic flaw in VBoxInternalManage.cpp routine CmdCreateRawVMDK. Looking at the code (search for the title to this report), this is in a loop which is checking that the partition is readable. The way it seems to do this is to malloc ...cPartDataSectors * 512 (that is the size of the entire partition and then reads the entire partition into into this buffer). Needless to say this will barf for anything other than small partition and result this error.
The confusing thing is that the field cPartDataSectors isn't what it's name implies. It is only computed in in the case of extended partitions, meaning that you will only get this error when trying to map logical partitions. This whole logic is definitely flawed.