Page 1 of 1

Weird bug : can't open file when i have RAID hard disk

Posted: 02 Mar 2015 10:18
by dandu
Hi,

I have a weird bug with VLC 2.2 (and the 3.0 i have compiled) : if my RAID1 hard drive are connected, i can't open files.

When i click "open a media" (ouvrir un média in french), nothing appear if my hard drive are connected. Without the drives, it works.

Is there a way to have information (and correct the bug) ?

Re: Weird bug : can't open file when i have RAID hard disk

Posted: 02 Mar 2015 11:54
by Jean-Baptiste Kempf
What OS?

Re: Weird bug : can't open file when i have RAID hard disk

Posted: 02 Mar 2015 16:41
by dandu
OS X Yosemite, 10.10.2.

It works with my classic hard disk connected, not with my RAID1 hard disk.

Re: Weird bug : can't open file when i have RAID hard disk

Posted: 02 Mar 2015 22:13
by fkuehne
How is your RAID connected and which device is it?

Re: Weird bug : can't open file when i have RAID hard disk

Posted: 03 Mar 2015 10:18
by dandu
It's... complicated.

I have a long Thunderbolt chain, with many SSD (5) and different controller. I have 2x2 SSD with RAID1 and a single SSD.

At works, i have a hard disk in Thunderbolt too and it works.

I have a message in the console, i copy it as soon as possible.

Re: Weird bug : can't open file when i have RAID hard disk

Posted: 03 Mar 2015 21:44
by dandu
The message on the console :

03/03/2015 21:42:56,625 VLC[993]: *** -[__NSArrayI objectAtIndex:]: index 18446744073709551615 beyond bounds [0 .. 3]

03/03/2015 21:42:56,628 VLC[993]: (
0 CoreFoundation 0x00007fff90ccb66c __exceptionPreprocess + 172
1 libobjc.A.dylib 0x00007fff8e1b876e objc_exception_throw + 43
2 CoreFoundation 0x00007fff90ba47de -[__NSArrayI objectAtIndex:] + 190
3 libmacosx_plugin.dylib 0x00000001056f133d -[VLCOpen qtkAudioChanged:] + 93
)

Re: Weird bug : can't open file when i have RAID hard disk

Posted: 03 Mar 2015 23:08
by dfuhrmann
That is quite interesting. If you disconnect the Raid, and show the open panel, can you take a look at the capture tab? For the audio device selection, what is selected by default, and which options exist (for selection)?

Can you reproduce the same bug with VLC 2.1.5?

Re: Weird bug : can't open file when i have RAID hard disk

Posted: 03 Mar 2015 23:46
by dandu
If i "eject" the RAID array, i will not work. If i disconnect the hardware, it works, but it's not a solution : i have my display at the end of the chain.

Very strange thing : if i disconnect Thunderbolt, launch VLC, it works even if i reconnect Thunderbolt chain. But if i close VLC and relaunch it, same problem.

With capture/audio, i have only "integrated microphone" when i can open a file. If i reconnect Thunderbolt, i have nothing more. But i have many audio output in system preference : the MacBook Internal audio, the display speakers (with USB or with DIsplayPort), and two audio codec on Thunderbolt docks. And two AirPlay devices.

Two audio codecs use the same name, is this the problem ?

And it works with no problem with VLC 2.1.5.

Re: Weird bug : can't open file when i have RAID hard disk

Posted: 04 Mar 2015 19:08
by dfuhrmann
Yes, two audio devices with the same name is likely the issue here.

Could you quickly test the debug VLC version I uploaded here?: [Removed]
This should fix the issue, and adds some more debug output on console.

Re: Weird bug : can't open file when i have RAID hard disk

Posted: 04 Mar 2015 23:43
by dandu
It works with your version.

Thank's !

Re: Weird bug : can't open file when i have RAID hard disk

Posted: 05 Mar 2015 18:57
by dfuhrmann
Thanks for testing. The fix will be part of the next release.

Re: Weird bug : can't open file when i have RAID hard disk

Posted: 05 Mar 2015 20:08
by dandu
cool, thank you !