Plexamp Linux crash on launch

Alright, I started this bug report in Aug '19, we’re now 6 months later and there is no fix in sight, despite I and the folks in this thread finding the cause of te bug ourselves about 5 months ago. Even with the ENV quick fix mentioned above, plexamp really is janky, and this comes in addition to the web player being completely broken on every device I have (Linux & windows) & the Android app crashing completely every so often.

As someone wiser than I once said, the good thing about open-source software is if you’re upset enough you can fix it yourself - well I sure would love to patch this myself, but I can’t, so I have now migrated my media library to Jellyfin. It doesn’t have most of the features Plex has, it’s jankier than Plex visually, but their web player works at least, and I can hope to see & to participate in the evolution of their solutions to any problems I encounter, which definitely contrasts with the 6 months of near-silence from the Plexamp team in this thread.

As there’s a chance you’ll read this: Elan, from every comment i’ve seen from the plex folks you guys seem really cool and I’m sure you’re working on very neat stuff behind the scenes, but people here and on reddit aren’t upset for no reason - I can’t find a nice way to say this but the state of Plex apps, the web player, plexamp, the Android app, truly is unacceptable for a production environment, and I don’t think “We’re working on a rewrite so we can’t patch the current apps” is a healthy way to do things when we’ve been waiting for 6 months for a simple dependency fix which would let us actually boot Plexamp.

2 Likes

Really could not agree more, thanks so much for the Jellyfin suggestion.

About Elan, I heard him on the Self Hosted show. He complained heavily about the “flak” he gets from threads like this. I also disagree with his claims that there are things Plex does better than anyone else, that was probably once true but is no longer true. They’ve completely missed the point of AppImage too if they’re not shipping a stable Pango with the app, which would have made this a non-issue. This is the most ridiculous thing they have failed to accomplish in 6 months, just fixing this unbelievably basic packaging issue.

Just about any Linux user could have fixed this bug by themselves and shipped an AppImage by now. It’s infuriating when you pay and support this company to see this neglect.

I agreed with him, like you can feel sorry for anyone until you see the problems up front.

Plex has always been one of those things where you use it despite it being proprietary because it’s just a bit easier. But at this point, it doesn’t give me the capabilities I need, so I can no longer justify full continuation. I’ve always wanted to ween myself off it when I realized how poorly the database handles itself and has for years. The inability to properly refresh it and discover new items, poor state management, having to flush it in certain circumstances by manually moving files around in the filesystem instead of having some sort of access from the UI, etc.

A lot like the necessity of Windows for its pseudo free awesome apps, I now need to get away from it because it’s annoying me on a daily basis. Not least because of the continuous integration with annoying services, which Elan claims is Plex “doing things better than anyone else” on the SelfHosted show. Which is just a coping strategy in my view.

They’re going to find that the source code isn’t what makes them money soon when people start using the now more powerful FOSS stuff.

Great app. But:

  • Haven’t been able to use it for 6 months
  • Ain’t no source code
  • Spent hours of my time investigating why

Also! I want Discord integration in Plexamp. But I can’t implement it because it’s not open source. A crying shame too considering it’d be easy, since it uses MPD and there are plenty of other places to pull that integration code in from. What a farce.

3 Likes

image

6 Likes

@elan This error has not been solved since August 2019 and although thanks to @EquateBrand and @Tom_2 we can use the program we have the problem of the tray menu. In September 2019 you said you were working on the new version that solved this error and other things, but we don’t know anything else. Could you tell us more about this new version?

Thank you

1 Like

@Tom_2 did most of it, I just helped. :slight_smile:

Thanks @EquateBrand for the clarification,

Sorry for the delay, but we’re in the final stages now of dev/testing for the new release.

2 Likes

Would be good if I could see that branch on github and compile it for myself. It’s ridiculous keeping this proprietary.

Doesn’t that boil down to personal choice, given that we’ve expended the effort developing the app?

No, as a matter of logical fact it’s ridiculous. Plexamp relies on Plex, nobody is asking you to make Plex open source. All keeping Plexamp proprietary does is make issues like this fester. It’s like not releasing the code for a game server that people then have to reverse engineer years later and release to the open source, because the idiots who made it didn’t release the code for it, just silly.

2 Likes

I have to agree. I’ve been missing plexamp for way too long. So long that I’ve gotten used to not having it. And now that Plex Media Player will no longer support the windowed/“web mode”, it’s going to suck even more not having plexamp.

Yet I’m not as mad with plex’s devs as @MatthewCroughan, I must coincide with him this “error” was silly, and every other electron-based app out there based on Harfbuzz 1.4.2, released a new version with the dependency in a few days because it was ridiculous easy to solve, and you get all your paying customers in the dark for months until any generous linux enthusiast gave a workaround. That’s why I also think you should release the source code of Plexamp, what can be inside the code what compromises your business model?
I think it will be a win-win situation. Probably you must gain anything in plexamp, that should explain why you are developing new features instead making the current ones working as expected? So, releasing the code as open source, probably the maintenance will be just accepting PR from the open source community. So everyone would be happier, you won’t need to work on a tool you are not taking profit and users will have for what they paid.
Besides, we are on 2020. Even Microsoft embraced the open source, you should rethink your approach to the open source community which has fed a great percentage of your code.

1 Like

Thank you!
A new version of Linux PlexAMP will be appreciated as this well fits into one of my quarantine project to setup new audio box.

I hate to rain on anyone’s parade, but the new release still doesn’t work… :frowning:

Couldn't install shortcut for Shift+CommandOrControl+Space.
Couldn't install shortcut for Shift+Command+Control+Option+0.
Couldn't install shortcut for Shift+Command+Control+Option+1.
Couldn't install shortcut for Shift+Command+Control+Option+2.
Couldn't install shortcut for Shift+Command+Control+Option+3.
Couldn't install shortcut for Shift+Command+Control+Option+4.
Couldn't install shortcut for Shift+Command+Control+Option+5.
Couldn't install shortcut for Shift+CommandOrControl+Option+Right.
Couldn't install shortcut for CommandOrControl+Option+Up.
Couldn't install shortcut for CommandOrControl+Option+Down.
Couldn't install shortcut for Shift+Alt+Space.
Couldn't install shortcut for MediaPlayPause.
Couldn't install shortcut for MediaPreviousTrack.
Couldn't install shortcut for MediaNextTrack.
Started Media Service: false
Linux: Registering MPRIS service.
../../sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc:**CRASHING**:seccomp-bpf failure in syscall 0230

No bueno…

System info:

Kernel: 5.5.11-151.current 
OS: Solus x86_64 
1 Like

@kz6fittycent

I had a similar error. Try running the appimage with this flag:

./Plexamp-3.0.0.AppImage --disable-seccomp-filter-sandbox

Seems to be an Electron -> glibc/binutils issue
see https://bbs.archlinux.org/viewtopic.php?id=229859

2 Likes

Cannot believe… long waited version simply doesn’t work. :man_facepalming:

$./Plexamp-3.0.0.AppImage 
xdg-mime: application argument missing
Try 'xdg-mime --help' for more information.
Couldn't install shortcut for MediaPlayPause.
Couldn't install shortcut for MediaPreviousTrack.
Couldn't install shortcut for MediaNextTrack.
Started Media Service: false
Linux: Registering MPRIS service.
../../sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc:**CRASHING**:seccomp-bpf failure in syscall 0230
(node:60275) Electron: Loading non context-aware native modules in the renderer process is deprecated and will stop working at some point in the future, please see https://github.com/electron/electron/issues/18397 for more information
(node:60275) Electron: Loading non context-aware native modules in the renderer process is deprecated and will stop working at some point in the future, please see https://github.com/electron/electron/issues/18397 for more information
5.6.4-arch1-1
Arch Linux

I really hope Plex shows a bit of love to us, we’re having a lot of patience, but this starts to be ridiculous.

EDITED: @motoaxe suggestion works for me.
It connects and plays music, my first impressions
I like

  • It lets choose a server/library
  • resizable window
  • seems sounds loud, not like the old version
  • integrates well with Plasma (lockscreen and KDE Connect)

I don’t like

  • Doesn’t have tray icon, so I have to have it opened, wasting task bar space
  • Lyrics engine very poor, just searching for commercial or very popular songs
  • Doesn’t let browse library: Though there’s a workaround: [Feature Request] Android - Browse Library
  • Cannot be installed system-wide, just being run

Doesn’t start in Manjaro 19.02. Luckily @motoaxe posted the command line parameters to get it running. Looks to be a clone of the iTunes version and that’s OK.

Sounds great.

It would be nice for the desktop version to have a few more features.

try clicking on the artist name while playing

Neither did version 1.1 and that is pretty much intentional.
Though there’s a workaround: [Feature Request] Android - Browse Library - #2 by SimonXCIV

On Fedora 31, attempting to play media causes a segfault:

Apr 17 14:22:32 rot kernel: Opening Thread[743662]: segfault at 30000010e ip 00007f592092e93b sp 00007f58f5ef5990 error 4 in treble.node[7f592076c000+41e000]
Apr 17 14:22:32 rot kernel: Code: 35 06 6d 1a 00 4c 89 e7 49 0f 44 d5 31 c0 e8 8c a7 fd ff 49 8b 46 10 48 8b 6c 24 30 48 8b 40 10 48 89 ef 48 8b 00 48 8b 40 20 <48> 8b 30 e8 ad 2d f0 ff 31 d2 48 89 d9 be 03 00 00 00 48 89 ef e8
Apr 17 14:22:32 rot audit[743574]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=1 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 pid=743574 comm=4F70656E696E6720546872656164 exe="/tmp/.mount_PlexamEqvn2i/plexamp" sig=11 res=1
...snip...
Apr 17 14:22:37 rot systemd-coredump[743665]: Process 743574 (plexamp) of user 1000 dumped core.
                                              
                                              Stack trace of thread 743662:
                                              #0  0x00007f592092e93b n/a (/tmp/.mount_PlexamEqvn2i/resources/treble/treble.node)

The stderr doesn’t have anything about parts of the application dying:

% Plexamp-3.0.0.AppImage        
Fontconfig warning: "/usr/share/fontconfig/conf.avail/05-reset-dirs-sample.conf", line 6: unknown element "reset-dirs"
Started Media Service: false
Linux: Registering MPRIS service.
[744083:0417/142800.136319:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
(node:744090) Electron: Loading non context-aware native modules in the renderer process is deprecated and will stop working at some point in the future, please see https://github.com/electron/electron/issues/18397 for more information
(node:744090) Electron: Loading non context-aware native modules in the renderer process is deprecated and will stop working at some point in the future, please see https://github.com/electron/electron/issues/18397 for more information
Checking for update
(node:744090) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(node:744090) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
Update for version 3.0.0 is not available (latest version: 3.0.0, downgrade is disallowed).
checkForUpdatesAndNotify called, downloadPromise is null

The application is now stuck on a screen that never displays.

1 Like

Do as @motoaxe suggested