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

macOS specific usage questions
dandu
Blank Cone
Blank Cone
Posts: 23
Joined: 25 Jan 2012 21:32

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

Postby dandu » 02 Mar 2015 10:18

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) ?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

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

Postby Jean-Baptiste Kempf » 02 Mar 2015 11:54

What OS?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

dandu
Blank Cone
Blank Cone
Posts: 23
Joined: 25 Jan 2012 21:32

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

Postby dandu » 02 Mar 2015 16:41

OS X Yosemite, 10.10.2.

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

fkuehne
Developer
Developer
Posts: 7264
Joined: 16 Mar 2004 19:37
VLC version: 0.4.6 - present
Operating System: Darwin
Location: Germany
Contact:

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

Postby fkuehne » 02 Mar 2015 22:13

How is your RAID connected and which device is it?
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

dandu
Blank Cone
Blank Cone
Posts: 23
Joined: 25 Jan 2012 21:32

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

Postby dandu » 03 Mar 2015 10:18

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.

dandu
Blank Cone
Blank Cone
Posts: 23
Joined: 25 Jan 2012 21:32

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

Postby dandu » 03 Mar 2015 21:44

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
)

dfuhrmann
Developer
Developer
Posts: 1183
Joined: 02 Jul 2012 11:09

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

Postby dfuhrmann » 03 Mar 2015 23:08

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?

dandu
Blank Cone
Blank Cone
Posts: 23
Joined: 25 Jan 2012 21:32

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

Postby dandu » 03 Mar 2015 23:46

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.

dfuhrmann
Developer
Developer
Posts: 1183
Joined: 02 Jul 2012 11:09

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

Postby dfuhrmann » 04 Mar 2015 19:08

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.
Last edited by dfuhrmann on 05 Mar 2015 18:57, edited 1 time in total.

dandu
Blank Cone
Blank Cone
Posts: 23
Joined: 25 Jan 2012 21:32

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

Postby dandu » 04 Mar 2015 23:43

It works with your version.

Thank's !

dfuhrmann
Developer
Developer
Posts: 1183
Joined: 02 Jul 2012 11:09

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

Postby dfuhrmann » 05 Mar 2015 18:57

Thanks for testing. The fix will be part of the next release.

dandu
Blank Cone
Blank Cone
Posts: 23
Joined: 25 Jan 2012 21:32

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

Postby dandu » 05 Mar 2015 20:08

cool, thank you !


Return to “VLC media player for macOS Troubleshooting”

Who is online

Users browsing this forum: No registered users and 17 guests