[Pkg-virtualbox-devel] Bug#760517: bad error message hides real problems

Joey Hess joeyh at debian.org
Thu Sep 4 22:01:50 UTC 2014


Package: virtualbox
Version: 4.3.14-dfsg-1
Severity: normal

The first error message in this strace is output by
/usr/lib/virtualbox/VBoxXPCOMIPCD, and points to an actual, understandable
and fixable problem:

23157 write(1, "Wrong mode (42700) of '/tmp/.vbo"..., 94) = 94
23157 exit_group(0)                     = ?
23157 +++ exited with 0 +++

But virtualbox then throws that error away instead of displaying it, and
instead gives the user some nonsense message about factories with strange
stuff numeric error codes and addresses and talk of COM objects (on Linux?!).

23144 <... poll resumed> )              = 1 ([{fd=6, revents=POLLHUP}])
23144 read(6, "", 1)                    = 0
23144 close(6)                          = 0
23144 write(2, "VBoxManage", 10)        = 10
23144 write(2, ": ", 2)                 = 2
23144 write(2, "error: ", 7)            = 7
23144 write(2, "Failed to create the VirtualBox "..., 39) = 39
23144 write(2, "\n", 1)                 = 1
23144 write(2, "VBoxManage", 10)        = 10
23144 write(2, ": ", 2)                 = 2
23144 write(2, "error: ", 7)            = 7
23144 write(2, "Code NS_ERROR_FACTORY_NOT_REGIST"..., 102) = 102
23144 write(2, "\n", 1)                 = 1
23144 write(2, "VBoxManage", 10)        = 10
23144 write(2, ": ", 2)                 = 2
23144 write(2, "error: ", 7)            = 7
23144 write(2, "Most likely, the VirtualBox COM "..., 73) = 73
23144 write(2, "\n", 1)                 = 1
23144 read(4, 0x7fff1037d3cf, 1)        = -1 EAGAIN (Resource temporarily unavailable)

virtualbox should display the original, real error message instead of
(or at least in addition to) this generic, useless one.

-- 
see shy jo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 811 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-virtualbox-devel/attachments/20140904/43c1663c/attachment.sig>


More information about the Pkg-virtualbox-devel mailing list