Bug 423569 - Dragonplayer's *snap package* crashes each time one tries to play a video.
Summary: Dragonplayer's *snap package* crashes each time one tries to play a video.
Status: RESOLVED FIXED
Alias: None
Product: neon
Classification: KDE Neon
Component: Snaps (show other bugs)
Version: unspecified
Platform: Snap Linux
: NOR crash
Target Milestone: ---
Assignee: Scarlett Moore
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-27 04:49 UTC by Sai Vinoba
Modified: 2023-04-06 17:42 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
dragonplayer-crash-error-log (98.76 KB, text/x-log)
2020-06-27 04:49 UTC, Sai Vinoba
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sai Vinoba 2020-06-27 04:49:15 UTC
Created attachment 129714 [details]
dragonplayer-crash-error-log

SUMMARY
The snap version of dragonplayer crashes (each time one tries to play a movie)

STEPS TO REPRODUCE
1. Choose a movie to play.
2. Select 'Open with' and choose dragon plyaer (snap version)

OBSERVED RESULT
The player crashes.

EXPECTED RESULT
Normal operation; play the selected movie.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Lubuntu 20.04 / 20.10 
SW Version: 19.04.2
KDE Frameworks Version: 5.61
Qt Version: 5.12.3

ADDITIONAL INFORMATION
The .deb package works just fine. It is the snap package that is crashing. The deb package is at higher version (version: 20.04.2, frameworks: 5.71, Qt version: 5.14.2) than snap, which is surprising to me, as a snap (or flatpak) is understood to be always latest?!

I've attached error log that I get when I try to launch dragonplayer from terminal. It mainly gives error about not having permission to /usr/share/alsa/alsa.conf. See attachement.

I asked for assistance in snapcraft forum (https://forum.snapcraft.io/t/dragon-player-crashing/18491) and was asked to check snap connections. Following is what I have.

sai@lubox:~/Documents$ snap connections dragon 
    Interface                             Plug                          Slot                                                  Notes
    content[kde-frameworks-5-core18-all]  dragon:kde-frameworks-5-plug  kde-frameworks-5-core18:kde-frameworks-5-core18-slot  -
    dbus                                  -                             dragon:session-dbus-interface                         -
    desktop                               dragon:desktop                :desktop                                              -
    desktop-legacy                        dragon:desktop-legacy         :desktop-legacy                                       -
    home                                  dragon:home                   :home                                                 -
    network                               dragon:network                :network                                              -
    network-bind                          dragon:network-bind           :network-bind                                         -
    opengl                                dragon:opengl                 :opengl                                               -
    pulseaudio                            dragon:pulseaudio             :pulseaudio                                           -
    unity7                                dragon:unity7                 :unity7                                               -
    x11                                   dragon:x11                    :x11                                                  -

From the comments, the connections seem OK, except that <quote>the snap uses the obsolete pulseaudio interface instaed of the new “audio-playback/audio-record” ones </quote>.
Comment 1 Scarlett Moore 2023-04-06 17:42:44 UTC
Please update to the latest version in store 22.12.3