Clementine plays one track and chokes.

openSUSE Tumbleweed/Gnome

System:    Host: linux-xxww Kernel: 4.8.7-1-default x86_64 (64 bit gcc: 6.2.1)
           Desktop: Gnome 3.22.2 (Gtk 3.22.3) Distro: openSUSE Tumbleweed
Machine:   Device: desktop System: Gigabyte Tecohnology product: H61M-DS2
           Mobo: INTEL model: H61M-DS2 v: x.x BIOS: American Megatrends v: F4 date: 12/21/2011
CPU:       Dual core Intel Pentium G630 (-MCP-) cache: 3072 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 10776
           clock speeds: max: 2700 MHz 1: 1609 MHz 2: 1605 MHz
Graphics:  Card: Intel 2nd Generation Core Processor Family Integrated Graphics Controller
           bus-ID: 00:02.0
           Display Server: X.org 1.18.4 driver: N/A Resolution: N/A Advanced Data: N/A for root
Audio:     Card Intel 6 Series/C200 Series Family High Definition Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0
           Sound: Advanced Linux Sound Architecture v: k4.8.7-1-default

When I play a track in Clementine I get this message about three seconds before the end of the track: ‘The stream is of a different type than handled by this element.’ The track ends and Clementine goes on to the next track. I ran Clementine from Terminal for the error messages and saw that gstreamer was implicated so I generated a list with: zypper search -si /^gstreamer/ > gstream-install.txt. There was nothing weird to my eye so I added Packman and libdvdcss, installed the Gnome packages, and switched to Packman. Clementine still chokes and the list changed to:

S | Name                                     | Type        | Version         | Arch   | Repository               
--+------------------------------------------+-------------+-----------------+--------+--------------------------
i | GStreamer Multimedia Codecs              | application |                 | noarch | (System Packages)        
i | gstreamer                                | package     | 1.8.3-1.2       | x86_64 | Main Repository (OSS)    
i | gstreamer-0_10                           | package     | 0.10.36-20.3    | x86_64 | Main Repository (OSS)    
i | gstreamer-0_10-fluendo-mp3               | package     | 21-1.2          | x86_64 | Main Repository (NON-OSS)
i | gstreamer-0_10-lang                      | package     | 0.10.36-20.3    | noarch | Main Repository (OSS)    
i | gstreamer-0_10-plugin-esd                | package     | 0.10.31-17.3    | x86_64 | Main Repository (OSS)    
i | gstreamer-0_10-plugins-bad               | package     | 0.10.23-25.26   | x86_64 | packman                  
i | gstreamer-0_10-plugins-base              | package     | 0.10.36-16.3    | x86_64 | Main Repository (OSS)    
i | gstreamer-0_10-plugins-base-lang         | package     | 0.10.36-16.3    | noarch | Main Repository (OSS)    
i | gstreamer-0_10-plugins-ffmpeg            | package     | 0.10.13-2000.45 | x86_64 | packman                  
i | gstreamer-0_10-plugins-fluendo_mpegdemux | package     | 0.10.71-2.42    | x86_64 | packman                  
i | gstreamer-0_10-plugins-fluendo_mpegmux   | package     | 0.10.4-46.36    | x86_64 | packman                  
i | gstreamer-0_10-plugins-good              | package     | 0.10.31-17.3    | x86_64 | Main Repository (OSS)    
i | gstreamer-0_10-plugins-good-extra        | package     | 0.10.31-17.3    | x86_64 | Main Repository (OSS)    
i | gstreamer-0_10-plugins-good-lang         | package     | 0.10.31-17.3    | noarch | Main Repository (OSS)    
i | gstreamer-0_10-plugins-ugly              | package     | 0.10.19-18.6    | x86_64 | packman                  
i | gstreamer-0_10-plugins-ugly-orig-addon   | package     | 0.10.19-18.6    | x86_64 | packman                  
i | gstreamer-fluendo-mp3                    | package     | 21-1.2          | x86_64 | Main Repository (NON-OSS)
i | gstreamer-libnice                        | package     | 0.1.13-3.4      | x86_64 | Main Repository (OSS)    
i | gstreamer-plugin-gstclutter-3_0          | package     | 3.0.20-1.1      | x86_64 | Main Repository (OSS)    
i | gstreamer-plugins-bad                    | package     | 1.8.3-6.5       | x86_64 | packman                  
i | gstreamer-plugins-base                   | package     | 1.8.3-1.2       | x86_64 | Main Repository (OSS)    
i | gstreamer-plugins-cogl                   | package     | 1.22.2-1.4      | x86_64 | Main Repository (OSS)    
i | gstreamer-plugins-farstream              | package     | 0.2.8-1.5       | x86_64 | Main Repository (OSS)    
i | gstreamer-plugins-good                   | package     | 1.8.3-2.1       | x86_64 | Main Repository (OSS)    
i | gstreamer-plugins-good-extra             | package     | 1.8.3-2.1       | x86_64 | Main Repository (OSS)    
i | gstreamer-plugins-libav                  | package     | 1.8.3-3.4       | x86_64 | packman                  
i | gstreamer-plugins-ugly                   | package     | 1.8.3-4.5       | x86_64 | packman                  
i | gstreamer-plugins-ugly-orig-addon        | package     | 1.8.3-4.5       | x86_64 | packman                  
i | gstreamer-utils                          | package     | 1.8.3-1.2       | x86_64 | Main Repository (OSS)   

Here’s most of the Clementine output in Terminal (it’s too long to submit):

mike@linux-xxww:~> clementine --play
12:23:31.358 INFO  main:334                         Clementine 1.3.1 
12:23:31.484 DEBUG WorkerPool<HandlerType>:281      Starting worker 0x7fd395be66c0 "/usr/bin/clementine-tagreader" "/tmp/clementine_519107697" 
12:23:31.485 DEBUG WorkerPool<HandlerType>:281      Starting worker 0x7fd395be66c0 "/usr/bin/clementine-tagreader" "/tmp/clementine_1143742987" 
12:23:31.518 INFO  main:48                          TagReader worker connecting to "/tmp/clementine_519107697" 
12:23:31.519 DEBUG WorkerPool<HandlerType>:301      Worker 0x7fd38800cd00 connected to "/tmp/clementine_519107697" 
12:23:31.534 INFO  main:48                          TagReader worker connecting to "/tmp/clementine_1143742987" 
12:23:31.534 DEBUG WorkerPool<HandlerType>:301      Worker 0x7fd38800e170 connected to "/tmp/clementine_1143742987" 
12:23:31.616 INFO  Player:627                       Registered URL handler for "di" 
...
12:23:31.840 WARN  unknown                          QFileSystemWatcher::removePaths: list is empty 
12:23:31.840 WARN  unknown                          QFileSystemWatcher::removePaths: list is empty 
12:23:31.840 DEBUG NetworkProxyFactory:49           Detected system proxy URLs: ("", "", "", "") 
12:23:31.840 DEBUG CoverProviders:35                Registered cover provider "Amazon" 
12:23:31.840 DEBUG CoverProviders:35                Registered cover provider "MusicBrainz" 
12:23:31.843 WARN  DeviceKitLister:55               Error enumerating DeviceKit-disks devices: "org.freedesktop.DBus.Error.ServiceUnknown" "The name org.freedesktop.UDisks was not provided by any .service files" 
12:23:31.851 WARN  IconLoader:103                   Couldn't load icon "clementine-panel" 
12:23:31.877 WARN  IconLoader:103                   Couldn't load icon "clementine-panel-grey" 
12:23:31.905 DEBUG GnomeGlobalShortcutBackend:52    registering 
12:23:32.002 DEBUG MainWindow:199                   Starting 
12:23:32.013 WARN  IconLoader:103                   Couldn't load icon "find" 
12:23:32.014 WARN  IconLoader:103                   Couldn't load icon "find" 
12:23:32.019 WARN  unknown                          QPainter::begin: Paint device returned engine == 0, type: 2 
12:23:32.050 DEBUG MainWindow:273                   Initialising player 
12:23:32.053 DEBUG MainWindow:279                   Creating models 
12:23:32.055 DEBUG MainWindow:301                   Creating UI 
12:23:32.102 DEBUG MainWindow:846                   Creating equalizer 
12:23:32.103 DEBUG MainWindow:875                   Creating now playing widget 
12:23:32.147 INFO  NetworkRemote:80                 Network Remote deactivated 
12:23:32.148 DEBUG MainWindow:937                   Loading settings 
12:23:32.163 WARN  unknown                          "sni-qt/2110" WARN  12:23:32.162 void StatusNotifierItemFactory::connectToSnw() Invalid interface to SNW_SERVICE  
12:23:32.195 DEBUG MainWindow:1016                  Started 
12:23:32.233 INFO  DeviceManager:414                Device added: "/dev/sr0" 
12:23:32.412 DEBUG GnomeGlobalShortcutBackend:96    registered 
12:23:41.096 INFO  MoodbarLoader:112                Loading cached moodbar data for "/media/Avocet/Music/Banjo/BunchOfRags.wav" 
12:23:41.097 DEBUG PlaylistBackend:294              Saving playlist 2 
12:23:41.174 DEBUG MainWindow:1448                  position 0 scrobble point 55 status 0 
12:23:51.174 DEBUG MainWindow:1448                  position 10 scrobble point 55 status 0 
12:24:01.174 DEBUG MainWindow:1448                  position 20 scrobble point 55 status 0 
12:24:11.174 DEBUG MainWindow:1448                  position 30 scrobble point 55 status 0 
12:24:21.174 DEBUG MainWindow:1448                  position 40 scrobble point 55 status 0 
12:24:31.174 DEBUG MainWindow:1448                  position 50 scrobble point 55 status 0 
12:24:41.174 DEBUG MainWindow:1448                  position 60 scrobble point 55 status 0 
12:24:51.174 DEBUG MainWindow:1448                  position 70 scrobble point 55 status 0 
12:25:01.174 DEBUG MainWindow:1448                  position 80 scrobble point 55 status 0 
12:25:03.840 DEBUG Database:595                     Starting database integrity check 
12:25:03.856 DEBUG Database:656                     Starting database backup 
12:25:11.174 DEBUG MainWindow:1448                  position 90 scrobble point 55 status 0 
12:25:21.174 DEBUG MainWindow:1448                  position 100 scrobble point 55 status 0 
12:25:26.452 ERROR GstEnginePipeline:628            1 "gstwavparse.c(2231): gst_wavparse_loop (): /GstPipeline:pipeline/GstURIDecodeBin:uridecodebin-0/GstDecodeBin:decodebin0/GstWavParse:wavparse0:
No valid input found before end of stream" 
12:25:26.453 WARN  GstEngine:690                    Gstreamer error: "The stream is of a different type than handled by this element." 
12:25:26.453 ERROR logging:54                       Source ID 33 was not found when attempting to remove it 

(clementine:2110): GStreamer-CRITICAL **: 
Trying to dispose element typefind, but it is in PLAYING instead of the NULL state.
You need to explicitly set elements to the NULL state before
dropping the final reference, to allow them to clean up.
This problem may also be caused by a refcounting bug in the
application or some element.


(clementine:2110): GStreamer-CRITICAL **: 
Trying to dispose element decodebin0, but it is in PLAYING instead of the NULL state.
You need to explicitly set elements to the NULL state before
dropping the final reference, to allow them to clean up.
This problem may also be caused by a refcounting bug in the
application or some element.


(clementine:2110): GStreamer-CRITICAL **: 
Trying to dispose element uridecodebin-0, but it is in PLAYING instead of the NULL state.
You need to explicitly set elements to the NULL state before
dropping the final reference, to allow them to clean up.
This problem may also be caused by a refcounting bug in the
application or some element.


(clementine:2110): GStreamer-CRITICAL **: gst_element_set_state: assertion 'GST_IS_ELEMENT (element)' failed

(clementine:2110): GStreamer-CRITICAL **: gst_bin_remove: assertion 'GST_IS_ELEMENT (element)' failed
12:25:26.478 INFO  MoodbarLoader:112                Loading cached moodbar data for "/media/Avocet/Music/Banjo/DixieHighway.wav" 
12:25:26.482 DEBUG PlaylistBackend:294              Saving playlist 2 

(clementine:2110): GStreamer-CRITICAL **: gst_element_set_state: assertion 'GST_IS_ELEMENT (element)' failed
12:25:26.497 WARN  unknown                          QTimeLine::start: already running 
12:25:26.533 DEBUG MainWindow:1448                  position 0 scrobble point 82 status 0 
12:25:36.533 DEBUG MainWindow:1448                  position 10 scrobble point 82 status 0 
12:25:46.533 DEBUG MainWindow:1448                  position 20 scrobble point 82 status 0 
12:25:56.533 DEBUG MainWindow:1448                  position 30 scrobble point 82 status 0 
12:25:57.196 DEBUG DeviceKitLister:36               virtual DeviceKitLister::~DeviceKitLister() 
12:25:57.199 DEBUG WorkerPool<HandlerType>:176      Closing worker socket 
12:25:57.200 DEBUG WorkerPool<HandlerType>:176      Closing worker socket 
12:25:57.201 ERROR logging:54                       Source ID 560 was not found when attempting to remove it 

I start the track on line 34, get the error on 49, the message on 51, Clementine chokes, and the next track starts on 81.

So the question is, can you derive any useful meaning from this?

Mike

a lot of your gstreamer 1.0 packages are from OSS not packman while this might not be the cause it certainly doesn’t look good as most of the file format and codec support comes from the gstreamer plugins you have only ugly from packman the good and the bad are from OSS
what’s your repo list

zypper lr -d

as you’re on TW make sure packman has a higher priority then OSS if not packages might get pulled from OSS instead

I also noticed the limited number of packman packages. However, the packages you marked do not seem to be available in packman via Yast. Here’s the zypper lr -d output:

Repository priorities in effect:                                                             (See 'zypper lr -P' for details)
      90 (raised priority)  :  1 repository  
      99 (default priority) :  2 repositories
     120 (lowered priority) :  2 repositories

#  | Alias                               | Name                              | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                                                | Service
---+-------------------------------------+-----------------------------------+---------+-----------+---------+----------+--------+----------------------------------------------------------------------------------------------------+--------
 1 | download.opensuse.org-non-oss       | Main Repository (NON-OSS)         | Yes     | (r ) Yes  | No      |  120     | yast2  | http://download.opensuse.org/tumbleweed/repo/non-oss/                                              |        
 2 | download.opensuse.org-oss           | Main Repository (OSS)             | Yes     | (r ) Yes  | No      |  120     | yast2  | http://download.opensuse.org/tumbleweed/repo/oss/                                                  |        
 3 | download.opensuse.org-tumbleweed    | Main Update Repository            | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/tumbleweed/                                                    |        
 4 | http-download.opensuse.org-360cab93 | home:lazka0:ql-stable             | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/repositories/home:/lazka0:/ql-stable/openSUSE_Tumbleweed/             |        
 5 | http-download.opensuse.org-bb1390df | home:sumski:hazard:to:your:stereo | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/repositories/home:/sumski:/hazard:/to:/your:/stereo/openSUSE_Factory/ |        
 6 | http-download.opensuse.org-e0d0864e | openSUSE:Tumbleweed               | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/repositories/openSUSE:/Tumbleweed/standard/                           |        
 7 | libdvdcss                           | libdvdcss                         | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://opensuse-guide.org/repo/openSUSE_Tumbleweed/                                                |        
 8 | packman                             | packman                           | Yes     | (r ) Yes  | Yes     |   90     | rpm-md | http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/                                |        
 9 | repo-debug                          | openSUSE-Tumbleweed-Debug         | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/tumbleweed/repo/oss/                                            |        
10 | repo-source                         | openSUSE-Tumbleweed-Source        | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/source/tumbleweed/repo/oss/                                           |        

Repos 4-6 were added to accommodate Quod Libet and they are not otherwise needed.

you’re right I just checked and gstreamer-plugins-good are gpl lgpl with no patented code
your repo’s look good
I’d say is redo a vendor change to packman

zypper dup --from 8

if that doesn’t fix things maybe file a bug report

re: zypper dup --from 8, been there, done that. Just the same I’ll try it again in case the stars are realigned.

Since I’ve not seen any other problems reported here I’ll wait on a bug report. It’s not fair to raise the red flag early.

maybe your gstreamer cache got corrupted try cleaning it

rm -r ~/.cache/gstreamer-1.0/

try a different gstreamer based player like amarok or totem (gnome videos) to make sure it’s clementine and not gstreamer

Cleaning out the cache didn’t change anything.

I loaded Quod Libet and got the same error. However, Quod Libet lets me change the backend to Xine and that resolves the problem. I could find no such setting in Clementine. It would be satisfying to resolve the problem but I have other things to do so I’m letting it go. Thanks for your help.

Mike

Yesterday’s update included a raft of gstreamer packs and one of them, or a dependency, fixed things for Clementine.

Mike