subtitle downloads hang

Bug #1639750 reported by Götz Waschk
26
This bug affects 4 people
Affects Status Importance Assigned to Milestone
VLC media player
Unknown
Unknown
vlc (Debian)
Fix Released
Unknown
vlc (Ubuntu)
Fix Released
Medium
Unassigned
Xenial
Fix Released
Medium
Unassigned
Yakkety
Fix Released
Medium
Unassigned
Zesty
Fix Released
Medium
Unassigned

Bug Description

[Impact]
The subtitle download process hangs, error messages appear in the console. Then and error message appears. Every user trying to download a subtitle for a video will get an error.

[Test Case]
1. Start VLC
2. Click on View → Download Subtitles
3. Select 'Subtitles language' English
4. Click on Search by name' or 'Search by hash'

After a while, a window titled 'Extension not responding' appears.

6. After a long waiting time, click on the first search result and click the 'Download selection' link.

Nothing happens

[Regression Potential]
Low. The subtitle downloader wasn't working, worst thing that would happen would be the patched subtitle downloader to cause a crash when used.

[Original bug report]
The vlc plugin VLSub for downloading subtitles doesn't work anymore. After clicking 'search' I get a message: 'Extension 'VLsub 0.9.13' does not respond. Do you want to kill it now?

On the console, these messages appear:
[00007f6170001668] http access error: error: HTTP/1.1 522 Origin Connection Time-out
[00007f6144000f58] http access error: error: HTTP/1.1 522 Origin Connection Time-out
[00007f6170001668] http access error: error: HTTP/1.1 522 Origin Connection Time-out
[00007f6144000f58] http access error: error: HTTP/1.1 522 Origin Connection Time-out
[00007f6170001668] access_mms access error: error: HTTP/1.1 522 Origin Connection Time-out
[00007f6170000958] core art finder error: no suitable access module for `http://services.tvrage.com/feeds/search.php?show=Family Guy'
[00007f6144000f58] access_mms access error: error: HTTP/1.1 522 Origin Connection Time-out
[00007f6144000958] core art finder error: no suitable access module for `http://services.tvrage.com/feeds/search.php?show=Family Guy'

This is in 16.04.1 LTS with vlc 2.2.2-5.

Revision history for this message
Götz Waschk (goetz-waschk) wrote :

It looks like there's a fixed extension available:
https://addons.videolan.org/p/1154045/

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in vlc (Ubuntu):
status: New → Confirmed
Revision history for this message
Simon P. (simpre) wrote :

Yes, the fixed extension indeed fixed it! Thanks for the link

When I was using the old VLsubs extension and tried to find a sub by hash, my VLC player crashed, so it is quite annoying bug.

Revision history for this message
Andrej Shadura (andrew.sh) wrote :
Revision history for this message
Andrej Shadura (andrew.sh) wrote :

I'd like to propose a fix for this in yakkety, vlc=2.2.4-4ubuntu0.16.10.1.

Revision history for this message
Mattia Rizzolo (mapreri) wrote :

Sure. It needs to be fixed in zesty first though. Maybe you can get sramacher to release quicker? :) (or, tbf, I could do a Team Upload being in the debian-multimedia team, but I'd rather not, I've never touched vlc)

Revision history for this message
Andrej Shadura (andrew.sh) wrote :

As you can see he'll upload it "soon" :)

Revision history for this message
Mattia Rizzolo (mapreri) wrote : Re: [Bug 1639750] Re: subtitle downloads hang

On Fri, Dec 09, 2016 at 05:57:03PM -0000, Andrew Shadura wrote:
> As you can see he'll upload it "soon" :)

please poke once he does (even on IRC if you feel so).

--
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18 4D18 4B04 3FCD B944 4540 .''`.
more about me: https://mapreri.org : :' :
Launchpad user: https://launchpad.net/~mapreri `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia `-

Changed in vlc (Debian):
status: Unknown → Confirmed
Mathew Hodson (mhodson)
Changed in vlc (Ubuntu Yakkety):
importance: Undecided → Medium
Changed in vlc (Ubuntu Zesty):
importance: Undecided → Medium
tags: added: xenial
Revision history for this message
Mattia Rizzolo (mapreri) wrote :

Version 2.2.4-11 in zesty fixes this.

Changed in vlc (Ubuntu Zesty):
status: Confirmed → Fix Released
Revision history for this message
Mattia Rizzolo (mapreri) wrote :

uploaded the SRU, now in the unapproved queue.

Changed in vlc (Ubuntu Yakkety):
status: New → Fix Committed
Changed in vlc (Debian):
status: Confirmed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Missing SRU information

Thanks for uploading the fix for this bug report to -proposed. However, when reviewing the package in -proposed and the details of this bug report I noticed that the bug description is missing information required for the SRU process. You can find full details at http://wiki.ubuntu.com/StableReleaseUpdates#Procedure but essentially this bug is missing some of the following: a statement of impact, a test case and details regarding the regression potential. Thanks in advance!

Revision history for this message
Götz Waschk (goetz-waschk) wrote :

I'll try to do that paperwork:
[Impact]
The subtitle downloading process is hanging, there is an error message. Every user trying to download a subtitle for a movie will get the error.
[Test Case]
1. start vlc
2. click on View->Download Subtitles
3. select 'subtitles language' English
4. fill 'title' with Avatar
5. click on 'search by name'

You'll get the window titled 'Extension not responding'.
6. After a long waiting time, click on the first search result and click the 'download selection' link
Nothing happens
[Regression Potential]
Low. The subtitle downloader wasn't working, worst thing that would happen would be the patched subtitle downloader to cause a crash when used.

Revision history for this message
Hades_6_6_6 (mguillemenet) wrote :

There is an easy available workaround available.
edit /lib/vlc/lua/extensions/VLSub.luac and replace all occurrences of "HTTP/1.1" with "HTTP/1.0" (even if it is a binary file). At least it worked for me:

sudo vi /usr/lib/vlc/lua/extensions/VLSub.luac
:%s#HTTP/1.1#HTTP/1.0#g
:wq

Mattia Rizzolo (mapreri)
description: updated
description: updated
description: updated
Revision history for this message
Andy Whitcroft (apw) wrote :

The upload for Yakkety seems to have a malformed bug reference. This affects bug tracking for the SRU.

Revision history for this message
Mattia Rizzolo (mapreri) wrote :

umpf, the missing '#' ?
ahem, do you want to reject and we reupload with the additional # ?

Revision history for this message
Łukasz Zemczak (sil2100) wrote :

I have rejected the vlc from the yakkety queue and re-uploaded with a fixed changelog. This should be good to go into yakkety-proposed. Thanks for the packaging the fix!

tags: added: verification-needed
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Please test proposed package

Hello Götz, or anyone else affected,

Accepted vlc into yakkety-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/vlc/2.2.4-4ubuntu0.16.10.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Revision history for this message
Götz Waschk (goetz-waschk) wrote :

Hi Łukasz, there's only an update for yakkety, but I don't run it, I'm on xenial, so I cannot test this.

Mathew Hodson (mhodson)
Changed in vlc (Ubuntu Xenial):
importance: Undecided → Medium
Revision history for this message
Andrej Shadura (andrew.sh) wrote :

I have tested this and it works as expected.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package vlc - 2.2.4-4ubuntu0.16.10.1

---------------
vlc (2.2.4-4ubuntu0.16.10.1) yakkety; urgency=medium

  [ Sebastian Ramacher ]
  * debian/patches/VLSub-don-t-pretend-to-support-HTTP-1.1.patch: Apply
    upstream to fix VLSub incorrectly announcing HTTP 1.1 support.
    (Closes: #847559; LP: #1639750)

 -- Andrew Shadura <email address hidden> Fri, 09 Dec 2016 18:01:48 +0100

Changed in vlc (Ubuntu Yakkety):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for vlc has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Brian Murray (brian-murray) wrote :

It looks like this still needs fixing in Xenial, so I modified the debdiff for 16.04 and uploaded it to the queue for review by the SRU team.

Revision history for this message
Łukasz Zemczak (sil2100) wrote : Please test proposed package

Hello Götz, or anyone else affected,

Accepted vlc into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/vlc/2.2.2-5ubuntu0.16.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in vlc (Ubuntu Xenial):
status: New → Fix Committed
tags: removed: verification-done
tags: added: verification-needed
Revision history for this message
Götz Waschk (goetz-waschk) wrote :

Dear Łukasz, I have successfully tested the proposed update on xenial, thanks.

Revision history for this message
Mattia Rizzolo (mapreri) wrote :

Thank you for your tests, Götz!

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package vlc - 2.2.2-5ubuntu0.16.04.1

---------------
vlc (2.2.2-5ubuntu0.16.04.1) xenial; urgency=medium

  [ Sebastian Ramacher ]
  * debian/patches: Apply upstream to fix VLSub incorrectly announcing HTTP
    1.1 support. (LP: #1639750)

 -- Brian Murray <email address hidden> Tue, 21 Feb 2017 15:23:51 -0800

Changed in vlc (Ubuntu Xenial):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.