VirtualBox

Opened 14 years ago

Closed 8 years ago

#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 Espenlaub)

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 (2)

virtualbox-gdb-1.txt (3.3 KB ) - added by ckujau 14 years ago.
VBoxHeadless via gdb, with breakpoint in malloc_error_break
virtualbox-gdb-2.txt (15.9 KB ) - added by ckujau 14 years ago.
VBoxHeadless via gdb, with breakpoint in malloc_error_break

Download all attachments as: .zip

Change History (8)

by ckujau, 14 years ago

Attachment: virtualbox-gdb-1.txt added

VBoxHeadless via gdb, with breakpoint in malloc_error_break

comment:1 by Frank Mehnert, 14 years ago

Resolution: fixed
Status: newclosed

Please reopen if still relevant with VBox 4.0.4.

comment:2 by ckujau, 14 years ago

Resolution: fixed
Status: closedreopened

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.

by ckujau, 14 years ago

Attachment: virtualbox-gdb-2.txt added

VBoxHeadless via gdb, with breakpoint in malloc_error_break

comment:3 by Ken Makoff, 13 years ago

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 by 4F2E4A2E, 13 years ago

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 by Klaus Espenlaub, 13 years ago

Description: modified (diff)
Host type: otherMac OS X

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 by aeichner, 8 years ago

Resolution: obsolete
Status: reopenedclosed

Please reopen if still relevant with a recent VirtualBox release.

Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette