VirtualBox

14 年 前 建立

7 年 前 更新

#8801 reopened defect

only printable Serial-Number allowed for the USB-filter

回報者: BjoernC 負責人:
元件: USB 版本: VirtualBox 4.0.6
關鍵字: 副本:
Guest type: Windows Host type: Linux

描述

Hi, when i want to make an permanent filter for an USB-Device, which has none-printable characters, the whole VM will crash at the next startup. The failure which is shown, said that in line X a wrong value has been readed. For a workaround, the serial-number could be deleted and the VM will start. The USB-device was an ST-Link from STMicroelectronics.

附加檔案 (4)

VM.png (70.3 KB ) - 14 年 前, 由 BjoernC 新增
in this screenshot you can see the none-printable characters an how i had added this device to the filter
usbhost.txt (1.8 KB ) - 14 年 前, 由 BjoernC 新增
The output of the command VBoxManage list usbhost
Vboxversion.png (12.9 KB ) - 14 年 前, 由 BjoernC 新增
VBoxversion (screenshot taken of the helpmenue -> About)
virtualBox.png (30.5 KB ) - 14 年 前, 由 BjoernC 新增
Main error-message of VBox

下載所有附檔: .zip

更動歷史 (18)

14 年 前BjoernC 編輯

附檔: 新增 VM.png

in this screenshot you can see the none-printable characters an how i had added this device to the filter

comment:1 14 年 前Frank Mehnert 編輯

Can you add the output of VBoxManage list usbhost?

14 年 前BjoernC 編輯

附檔: 新增 usbhost.txt

The output of the command VBoxManage list usbhost

comment:2 14 年 前BjoernC 編輯

the output of the command, is added in the file: usbhost.txt

comment:3 14 年 前Frank Mehnert 編輯

Thanks. Are you sure that you are using VBox 4.0.6? Sorry for asking, but in 4.0.4 we fixed a related bug so I want to be sure.

14 年 前BjoernC 編輯

附檔: 新增 Vboxversion.png

VBoxversion (screenshot taken of the helpmenue -> About)

comment:4 14 年 前Frank Mehnert 編輯

Thanks. When this crash happens, which process crashes, the VM process (VirtualBox) or the VBoxSVC daemon? Could you provide me a Core_dump?

14 年 前BjoernC 編輯

附檔: 新增 virtualBox.png

Main error-message of VBox

comment:5 14 年 前BjoernC 編輯

I've tried to generate the dumpfiles, but there are no entries. But the Problem ist not, that VBox crashes. The main Problem is, that VBox is not able to read the *.vbox file. The screenshot, which shows the error-message i will attach to this error report.

comment:6 13 年 前Donuts 編輯

I am experiencing this problem with VirtualBox 4.0.12 on Xubuntu 9.10 x86 host.

I have a Compro VideoMate C200 USB video capture device, USB VID:PID 185B:0200. It seems to have garbage/binary/non-printable characters for its serial number. lsusb -vv shows a couple of garbage characters for the iSerial field.

The problem seems to be that VirtualBox writes the garbage/binary characters to the .vbox config file. Then when you next start the VirtualBox Manager, it refuses to start the VM. I got a similar error message to the original submitter, along with this text: "PCDATA invalid Char value 3."

Looking at the .vbox file for the VM, there is this line:

<DeviceFilter name="Compro VM C200 [0001]" active="true" vendorId="185b" productId="0200" revision="0001" manufacturer="Compro" product="VM C200" serialNumber="&#xF2; " remote="0"/>

(Note the serialNumber field contains garbage which may not reproduce properly. The invalid character shows as a little box with 00 03 in with the font I'm using here.)

After manually editing the .vbox file to remove the serialNumber field from that line, I could use the VM again.

comment:7 11 年 前pavel12 編輯

I got the same error in VirtualBox v. 4.2.16 on Ubuntu after adding a USB device filter for an STLink/v2. There were strange looking character in the "serialNumber" field. After I manually deleted the affected lines from the .vbox file, the error would go away.

最後由 pavel12 編輯於 11 年 前 (上一筆) (差異)

comment:8 11 年 前Michael Thayer 編輯

If you can reproduce this, could you please post the relevant extract of the .vbox file like the commenter before you? Thanks.

comment:9 11 年 前Michael Thayer 編輯

And the error message you get from VirtualBox. Text is sufficient, screen shot not needed.

comment:10 11 年 前Michael Thayer 編輯

I have tried and failed to reproduce this by modifying the serial number string read from a USB device on my Ubuntu 13.04 host in the debugger. VirtualBox accepts the string, but simply strips the problematic character when it writes out the .vbox file. If I manually modify the .vbox file to contain a &#x3 character in the string I do prevent VirtualBox from loading it; furthermore the character dropped from the string obviously prevents the filter from being useful. Nonetheless I would be interested to be able to reproduce your error.

comment:11 9 年 前Frank Mehnert 編輯

狀態: newclosed
處理結果: fixed

Hopefully fixed in VBox 5.0.18.

comment:12 7 年 前LocutusOfBorg 編輯

狀態: closedreopened
處理結果: fixed

Hello, I have confirmation that this seems to be still an issue with 5.1.26, I'll provide new details when I get them

comment:13 7 年 前LocutusOfBorg 編輯

Still present in 5.1.26. After creating a filter for STM32 development board, VM is marked 'unavailable'. Removing the offending line from the .vbox file makes the VM available again/

comment:14 7 年 前LocutusOfBorg 編輯

<DeviceFilter name="STMicroelectronics STM32 STLink [0100]" active="true" vendorId="0483" productId="3748" revision="0100" manufacturer="STMicroelectronics" product="STM32 STLink" serialNumber="R&#xFF;h q&#x88;HU0 g" remote="0"/>

hexdump of the serialNumber only:

Graham, [08.09.17 09:54] 00000000 52 26 23 78 46 46 3b 68 06 71 26 23 78 38 38 3b |R&#xFF;h.q&#x88;| 00000010 48 55 30 06 04 67 |HU0..g|

注意: 瀏覽 TracTickets 來幫助您使用待辦事項功能

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