VirtualBox

Ticket #2776 (closed defect: fixed)

Opened 1 year ago

Last modified 10 months ago

convertfromraw stdin segfaults => Fixed in SVN

Reported by: JeremyVisser Assigned to:
Priority: major Component: virtual disk
Version: VirtualBox 2.1.0 Keywords:
Cc: Guest type: other
Host type: Linux

Description

When attempting to convert a raw disk to a VDI from the commandline, it segfaults:

$ dd if=/dev/sdb | VBoxManage convertfromraw -format VDI stdin myimage.vdi

Converting from raw image file="stdin" to file="myimage.vdi"...
Segmentation fault

dd'ing to another dd works. Also, running VBoxManage convertfromraw without dd in the pipeline will result in the segfault.

Change History

2008-12-19 14:52:59 changed by klaus

You spotted a few missing parameter checks. You're calling the command with too few parameters. The "stdin" case requires the size of the image as the last parameter, as shown when dumping the list of supported commands.

The other bug (that the format parameter is mandatory and not optional, in contrast to the usage output) didn't apply, as you specified the format explicitly.

Will be all fixed in 2.1.2.

2008-12-19 15:07:12 changed by frank

  • summary changed from convertfromraw stdin segfaults to convertfromraw stdin segfaults => Fixed in SVN.

2008-12-20 01:26:56 changed by JeremyVisser

Thanks, bro. :)

2009-01-21 21:14:43 changed by frank

  • status changed from new to closed.
  • resolution set to fixed.

© 2009 Sun Microsystems, Inc.
ContactPrivacy policy