popcorn-official / popcorn-desktop

Popcorn Time is a multi-platform, free software BitTorrent client that includes an integrated media player ( Windows / Mac / Linux ) A Butter-Project Fork
https://popcorn-time.site
Other
9.42k stars 624 forks source link

Crash after 2-4 seconds on fedora 27 and 28 #776

Closed SuspiciousDeer closed 5 years ago

SuspiciousDeer commented 6 years ago

Operating System Version: Linux fedora core 27 Popcorn Time Version: Tried on 3.10 stable, build 279 and build 200, same results

Report: Popcorntime used to work. After a system update some days ago it crashes. After updating to fedora 28 still nothing.

Terminal output and general behaviour can be seen here: https://webmshare.com/WB0bM

It does generate a core dump and crash reports.

red-I2P commented 6 years ago

Solutions found thus far: Running 0.3.9 on Fedora 28 Running 0.3.10 on a different OS via VirtualBox

Haven't seen any "real" fixes for 0.3.10 as of yet unfortunately.

vlag24 commented 6 years ago

same here, running 0.3.10 on MXLinux i686 (debian)

jeanlandim commented 6 years ago

I figured out and solved this issue on Fedora 28 (Linux 4.18.10-200.fc28.x86_64), with Popcorn Time 3.10 version.

Just download the latest NW.js (in my case v0.33.4 version https://dl.nwjs.io/v0.33.4/nwjs-v0.33.4-linux-x64.tar.gz), and extract it to root folder of PopcornTime. Be sure that extracted files overwrite the previous files.

vlag24 commented 6 years ago

@jeanlandim yeah it worked ;-) [ in my case i686 system I used https://dl.nwjs.io/v0.33.4/nwjs-v0.33.4-linux-ia32.tar.gz ] thanks, you rock !

trexx commented 6 years ago

The problem there is that those nwjs builds will be missing certain ffmpeg codecs. So you will run in to no video or audio for certain files. ffmpeg needs to be recompiled with the additional codecs enabled.

Kidlike commented 6 years ago

@jeanlandim It's a good workaround, the easiest so far. Thanks.

Of course it doesn't mean this issue is solved :) :+1: @trexx

vlag24 commented 6 years ago

@trexx yes you're right I can't watch the feed with the popcorn internal player but with vlc no problem

jeanlandim commented 6 years ago

@trexx thats true. I think rebuilding the libffmpeg.so solves codecs issue.

christianbueno1 commented 5 years ago

@trexx There is a good tutorial of that issue. Please guide us on the right path to begin to understand that.

abdulkareemnalband commented 5 years ago

I'm using flatpak build from here https://gitlab.com/Preisschild/popcorntime-flatpak it is working for me for most things

JonHeron commented 5 years ago

I tried the flatpak but it fails saying the checksum does not match? Cheers, Jon

hogarthj commented 5 years ago

For reference I don't think this is actually solved in the flurry of commits (or a different problems has surfaced that results in similar symptoms).

After grabbing the build from yesterday and clearing my config/cache directories (as the build complains that the database in them is from a newer nwjs than it contains and immediately closes after that) I get:

/opt/popcorntime/Popcorn-Time 
/opt/popcorntime/Popcorn-Time[10816]: ../../third_party/node/src/node_crypto_bio.h:83:static node::NodeBIO *node::NodeBIO::FromBIO(BIO *): Assertion `(bio->ptr) != (nullptr)' failed.
Illegal instruction (core dumped)
[10813:10813:1125/230926:ERROR:gl_context_glx.cc(235)] Couldn't make context current with X drawable.

Extracting the most recent nwjs (now 0.34.3) into the popcorn directory still works to get a working install, using VLC as the player, so that can be used as a workaround to get the bugfixes still.

Would be nice to actually get this sorted at some point ....

team-pct commented 5 years ago

IT will be sorted once we release PCT with working codec NWJS 34

aadilayub commented 5 years ago

I would recommend for this issue to be reopened, because 3.10 still doesn't work on Fedora 30 and Fedora 31 is right around the corner. I've been using 3.9 but a lot of movies and series are missing from the catalogue in that version.

Going through related issues, it looks like this problem has persisted since 2016.

vagouras commented 4 years ago

After searching how to make PCT 3.10 work with Fedora 31

  1. Download the new nw.js https://nwjs.io/downloads/ and copy all at root of PCT replace everything
  2. Download https://github.com/iteufel/nwjs-ffmpeg-prebuilt/releases and replace libffmpeg.so its in folder /lib I would like to thank everybody that fixed the problem with PCT
avra911 commented 4 years ago

@vagouras, I replaced your first step with a ci build version of PCT:

  1. Download from https://ci.popcorntime.sh/job/Popcorn-Time-Desktop/
  2. Download https://github.com/iteufel/nwjs-ffmpeg-prebuilt/releases and replace libffmpeg.so in folder /lib.

You steps did not work for me, but it helped me! :)