VLSub crashes constantly

macOS specific usage questions
mrelwood
New Cone
New Cone
Posts: 9
Joined: 10 Jun 2010 11:06

VLSub crashes constantly

Postby mrelwood » 27 Oct 2016 00:41

I've had this issue for quite a long time now. Every now and then the VLsub 0.9.13 extension breaks, and only crashes when clicking either Search by hash or Search by name. Opensubtitles.org is up and running, and the subtitle in question can be found via a web browser or FlixTools.app.

Removing VLC.app and org.videolan.vlc from the ~/Library/Preferences and Application Support and reinstalling VLC does not solve the issue, still only crashes. I really don't know what happens that makes it work again, but eventually it will.

Issue has been going on atleast since about VLC 2.2.0 on OS X 10.11 El Capitan, still going on VLC 2.2.4 on MacOS 10.12.1 Sierra.

ZzFDKzZ
New Cone
New Cone
Posts: 9
Joined: 03 Oct 2008 20:44

Re: VLSub crashes constantly

Postby ZzFDKzZ » 27 Oct 2016 15:31

VLSub was working fine for me until last night. It just hangs and crashes.

EDIT: I'm actually on Windows 10.

Demins
New Cone
New Cone
Posts: 1
Joined: 27 Oct 2016 21:25

Re: VLSub crashes constantly

Postby Demins » 27 Oct 2016 21:28

Same story here! Since 1 or 2 days...

xceno22
New Cone
New Cone
Posts: 8
Joined: 27 Oct 2016 23:53

Re: VLSub crashes constantly

Postby xceno22 » 28 Oct 2016 00:15

Same for me since 2 days. Also on Windows 10. Have re-installed, tried older versions as well, used 32 bit as well as 64 bit. Nothing helps.

Tommasso
New Cone
New Cone
Posts: 3
Joined: 28 Oct 2016 18:54

Re: VLSub crashes constantly

Postby Tommasso » 28 Oct 2016 18:56

same problem here in The netherlands. Since 2 days the extension VLsub 0.9.13 crashes constantly.
MAC Sierra VLC 2.2.4

xceno22
New Cone
New Cone
Posts: 8
Joined: 27 Oct 2016 23:53

Re: VLSub crashes constantly

Postby xceno22 » 28 Oct 2016 20:01

Sketches posted this in the thread that I started in the Windows section:

I found out by accident that if you wait about +/- 1 minute, after the "Extension VLsub 0.9.13 does not respond" message appears and you don't click to close vlsub, it will work and results of the search will appear (both by hash or name).

So technically it's still working but the long wait and error message are annoying.

Hope this helps.


So just let the error message be there and the subs will come up after about a minute.
I tried it and it worked for me (with Windows 10). Hope it works for you as well.
Still very annoying though...

Tommasso
New Cone
New Cone
Posts: 3
Joined: 28 Oct 2016 18:54

Re: VLSub crashes constantly

Postby Tommasso » 28 Oct 2016 20:44

xceno, yes it works this way but takes a bit of time. For the time being it will do. A solution probably comes soon I hope. Thanks for your "accident"
MAC Sierra here

xceno22
New Cone
New Cone
Posts: 8
Joined: 27 Oct 2016 23:53

Re: VLSub crashes constantly

Postby xceno22 » 29 Oct 2016 17:43

xceno, yes it works this way but takes a bit of time. For the time being it will do. A solution probably comes soon I hope. Thanks for your "accident"
MAC Sierra here
Tommasso, go to the thread that I started in the Windows-section, there are now further instructions from a developer:
https://forum.videolan.org/viewtopic.php?f=14&t=136182
Don't know if this works for Mac as well otherwise you could perhaps pm him?

mrelwood
New Cone
New Cone
Posts: 9
Joined: 10 Jun 2010 11:06

Re: VLSub crashes constantly

Postby mrelwood » 30 Oct 2016 00:45

Thank you xceno22! The process explained by Rami does indeed work for Mac too.

From Rémi Denis-Courmont at the Windows side of this forum: https://forum.videolan.org/viewtopic.ph ... 82#p449717:
OpenSubtitles.org has apparently updated their servers. That uncovered latent bugs in the very dumb HTTP support of the VLSub extension.

To work around the problem (you might need administrator privileges):
Go to the VLC installation directory.
Look for the file named lua/extensions/VLSub.luac.
Open that file in a binary or hexadecimal editor. (DO NOT USE a text editor.)
Look for the character sequence "HTTP/1.1" (without quotes).
Replace the last one by a zero: "HTTP/1.0".
Repeat the procedure; there should be a second occurence in the file.
Save the file.
(Re)start VLC.
"iHex" is a free hex editor suitable for the job, available in the Mac App Store.

mrelwood
New Cone
New Cone
Posts: 9
Joined: 10 Jun 2010 11:06

Re: VLSub crashes constantly

Postby mrelwood » 30 Oct 2016 00:51

For those who are overwhelmed by the process, here is the patched VLSub.luac (I made it version 9.9.13 to differentiate it from official versions):

EDIT: Unsafe link removed. The file can be downloaded from the VLC bug report here:
https://trac.videolan.org/vlc/ticket/17566
Last edited by mrelwood on 30 Oct 2016 16:35, edited 1 time in total.

A7ibaba
New Cone
New Cone
Posts: 1
Joined: 30 Oct 2016 12:12

Re: VLSub crashes constantly

Postby A7ibaba » 30 Oct 2016 12:13

For those who are overwhelmed by the process, here is the patched VLSub.luac (I made it version 9.9.13 to differentiate it from official versions):
http://ge.tt/5zF41wf2
Web site is unsafe and safari doesn't allow downloads nor visits

Mystik
New Cone
New Cone
Posts: 9
Joined: 14 Aug 2015 12:11
VLC version: 2.2.4
Operating System: Windows 10 64-bit
Location: Internet
Contact:

Re: VLSub crashes constantly

Postby Mystik » 30 Oct 2016 12:36

This has been discussed in VLSub GitHub.
Opensubtitles says this is due to CloudFlare.
They also provided a temporary hosts file fix once a new version of VLSub is live.

https://github.com/exebetche/vlsub/issu ... -256975577

Used this one and it worked for me.
Jack of all trades, master of none.

xceno22
New Cone
New Cone
Posts: 8
Joined: 27 Oct 2016 23:53

Re: VLSub crashes constantly

Postby xceno22 » 30 Oct 2016 14:50

Thank you xceno22! The process explained by Rami does indeed work for Mac too.
Great :)

mrelwood
New Cone
New Cone
Posts: 9
Joined: 10 Jun 2010 11:06

Re: VLSub crashes constantly

Postby mrelwood » 30 Oct 2016 16:29

For those who are overwhelmed by the process, here is the patched VLSub.luac (I made it version 9.9.13 to differentiate it from official versions):
Link removed
Web site is unsafe and safari doesn't allow downloads nor visits
Not a surprise there, it was just the first found by Google...

Edit:
You can download the modified VLSub.luac from the VLC bug report here:
https://trac.videolan.org/vlc/ticket/17566

Another temporary fix is to edit Operating System's hosts file as described here:
https://github.com/exebetche/vlsub/issu ... -256975577
Last edited by mrelwood on 30 Oct 2016 21:00, edited 1 time in total.

ZzFDKzZ
New Cone
New Cone
Posts: 9
Joined: 03 Oct 2008 20:44

Re: VLSub crashes constantly

Postby ZzFDKzZ » 30 Oct 2016 19:58

For those who are overwhelmed by the process, here is the patched VLSub.luac (I made it version 9.9.13 to differentiate it from official versions):
http://ge.tt/5zF41wf2
Web site is unsafe and safari doesn't allow downloads nor visits
Not a surprise there, it was just the first found by Google...

Edit:
You can download the modified VLSub.luac from the VLC bug report here:
https://trac.videolan.org/vlc/ticket/17566

Another temporary fix is to edit Operating System's hosts file as described here:
https://github.com/exebetche/vlsub/issu ... -256975577
Thank you! That worked!

mrelwood
New Cone
New Cone
Posts: 9
Joined: 10 Jun 2010 11:06

Re: VLSub crashes constantly

Postby mrelwood » 30 Oct 2016 23:56

I got asked about this in a private message. The point is to help everybody, so I answer here.

In a Mac the "installation directory" referred to in the Windows forums, is Applications/VLC.app. To see the contents, right click (ctrl click) VLC.app and select "Show Package Contents". The path to the VLSub.luac is:
VLC.app/Contents/MacOS/share/lua/extensions/

Regarding the hex editor, the free iHex from the Mac App Store works fine. It has a search function, so you can just search for "HTTP/1.1".

Tommasso
New Cone
New Cone
Posts: 3
Joined: 28 Oct 2016 18:54

Re: VLSub crashes constantly

Postby Tommasso » 31 Oct 2016 20:09

well, thanks everybody, but it was a lot of abracadabra for me.
There was no search function for HTTP/1.1 but after endless scrolling I found and changed it.
I found the HTTP/1.1 and even could change it in HTTP/1.0
Did not have to restart VLC, it worked right away, also after restarting.
And it works. MAC SIERRA again
BUT DO I HAVE TO RECHANGE IN TIME?
I mean back to HTTP/1.1 ????
And when?
Or wil some kind of automatical update follow?
Tom


Return to “VLC media player for macOS Troubleshooting”

Who is online

Users browsing this forum: No registered users and 2 guests