Ticket #7396 (closed defect: obsolete)
FreeTSD: failed to destroy key when starting a Windows VM
Reported by: | ckujau | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 3.2.8 |
Keywords: | Cc: | ||
Guest type: | Windows | Host type: | Mac OS X |
Description (last modified by klaus) (diff)
When starting a Windows (XP, NT4) VM via VBoxHeadless, the following error appears on the console:
$ VBoxHeadless -s winxp FreeTSD: failed to destroy key: Undefined error: 0 VBoxHeadless(27472,0xb058b000) malloc: *** error for object 0x11ce50: double free *** set a breakpoint in malloc_error_break to debug
The VM gets started normally however and is running just fine. So, despite the "error" it's just a warning. I've seen this for a while now and a quick search reveals that this warning has been there in 3.2.6 too. I don't know about earlier releases though.
My host system (and the system in the blogentry above) is MacOS 10.6.4. I'm running in 32bit mode now, don't know if this happens for other host types too.
Attachments
Change History
Changed 13 years ago by ckujau
-
attachment
virtualbox-gdb-1.txt
added
comment:1 Changed 12 years ago by frank
- Status changed from new to closed
- Resolution set to fixed
Please reopen if still relevant with VBox 4.0.4.
comment:2 Changed 12 years ago by ckujau
- Status changed from closed to reopened
- Resolution fixed deleted
Yes, it still happens with VBox 4.0.4 (now with MacOS 10.6.6). Again, it does not have any impact AFAICT. I just noticed it's also happening for a Ubuntu Linux VM. I've only seen this for Windows VMs before:
$ VBoxHeadless -s ubuntu Oracle VM VirtualBox Headless Interface 4.0.4 (C) 2008-2011 Oracle Corporation All rights reserved. FreeTSD: failed to destroy key: Undefined error: 0 VBoxHeadless(36080,0xb04e7000) malloc: *** error for object 0x11dc20: double free *** set a breakpoint in malloc_error_break to debug VRDE server is listening on port 38909.
Changed 12 years ago by ckujau
-
attachment
virtualbox-gdb-2.txt
added
VBoxHeadless via gdb, with breakpoint in malloc_error_break
comment:3 Changed 11 years ago by mankoff
I am having this same error, but unlike the OP, the virtual machine does not start.
$ VBoxHeadless -s Ubuntu Oracle VM VirtualBox Headless Interface 4.1.8 (C) 2008-2011 Oracle Corporation All rights reserved. FreeTSD: failed to destroy key: Undefined error: 0 Segmentation fault
It would be nice to be able to start the VM from the command line. Is there a work-around?
comment:4 Changed 11 years ago by 4F2E4A2E
Exactly the same here:
Oracle VM VirtualBox Headless Interface 4.1.8 (C) 2008-2011 Oracle Corporation All rights reserved. FreeTSD: failed to destroy key: Undefined error: 0 Segmentation fault: 11
MacOSX Lion 10.7.2
comment:5 Changed 11 years ago by klaus
- Host type changed from other to Mac OS X
- Description modified (diff)
The "FreeTSD: failed to destroy key" message is (and always was) completely harmless. So this bug is just a random collection of crashes which probably have very little in common, and there are no details what could be the root cause.
Just a crash in malloc on OSX...
comment:6 Changed 7 years ago by aeichner
- Status changed from reopened to closed
- Resolution set to obsolete
Please reopen if still relevant with a recent VirtualBox release.
VBoxHeadless via gdb, with breakpoint in malloc_error_break