degeron / qmmp

Automatically exported from code.google.com/p/qmmp
0 stars 0 forks source link

QMMP crashes when I add any wma format file #722

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Start the program.
2. Open the dialogue to select an audio file (in the main portion of the 
program).
3. Select a file in .wma format.

If I add a folder/directory - rather than a file(s) -, the folder/directory 
loads but, when I try to play a .wma audio file, the program also crashes. 

What is the expected output? What do you see instead?

I expect to load or play an audio file. Instead, the program simply disappears. 
(I should note, the exact same thing happens with Audacious although I have not 
run it in terminal to see if the same problem is involved.)

What version of the product are you using? On what operating system?
QMMP 0.8.1. Linux Mint 17 Cinnamon

Please provide any additional information below.

Here is the print out from my terminal when I attempted to load a .wma file:

$ qmmp
QMMPStarter: removed invalid socket file
QmmpPluginCache: loaded plugin libalsa.so
OutputALSA: setupMixer()
OutputALSA: setupMixer() success
QmmpUiPluginCache: loaded plugin libskinned.so
MainWindow: detected wm: Mutter (Muffin)
Skin: using /home/neal/.qmmp/cache/skin
Visual: loaded plugin libanalyzer.so
Visual: loaded plugin libprojectm.so
WindowSystem: setting sticky state of window 0x3800003 to false.
QmmpPluginCache: loaded plugin libmpc.so
QmmpPluginCache: loaded plugin libopus.so
QmmpPluginCache: loaded plugin libwildmidi.so
QmmpPluginCache: loaded plugin libsid.so
QmmpPluginCache: loaded plugin libvorbis.so
QmmpPluginCache: loaded plugin libwavpack.so
QmmpPluginCache: loaded plugin libsndfile.so
QmmpPluginCache: loaded plugin libmodplug.so
QmmpPluginCache: loaded plugin libaac.so
QmmpPluginCache: loaded plugin libcdaudio.so
QmmpPluginCache: loaded plugin libcue.so
QmmpPluginCache: loaded plugin libmad.so
QmmpPluginCache: loaded plugin libflac.so
QmmpPluginCache: loaded plugin libgme.so
QmmpPluginCache: loaded plugin libffap.so
QmmpPluginCache: loaded plugin libmpg123.so
QmmpPluginCache: loaded plugin libffmpeg.so
QmmpPluginCache: loaded plugin libmplayer.so
QmmpUiPluginCache: registered internal factory qt_dialog
QtFileDialogFactory::create()

(qmmp:29406): Gtk-WARNING **: Theme directory place/72 of theme MBuntu-OSX has 
no size field

QmmpPluginCache: loaded plugin libhttp.so
QmmpPluginCache: loaded plugin libmms.so
PlayListParser: loaded plugin libm3uplaylistformat.so
PlayListParser: loaded plugin libplsplaylistformat.so
PlayListParser: loaded plugin libxspfplaylistformat.so
Segmentation fault

Original issue reported on code.google.com by nef...@gmail.com on 28 Sep 2014 at 5:24

GoogleCodeExporter commented 9 years ago
Show your libav version:

dpkg -l libav* | grep ii

Original comment by trialuser02 on 28 Sep 2014 at 6:39

GoogleCodeExporter commented 9 years ago
Here is the printout for the libav version:

~ $ dpkg -l libav* | grep ii
ii  libav-tools                                                 
6:9.16-0ubuntu0.14.04.1                             amd64        Multimedia 
player, server, encoder and transcoder
ii  libavahi-client3:amd64                                      0.6.31-4ubuntu1 
                                    amd64        Avahi client library
ii  libavahi-client3:i386                                       0.6.31-4ubuntu1 
                                    i386         Avahi client library
ii  libavahi-common-data:amd64                                  0.6.31-4ubuntu1 
                                    amd64        Avahi common data files
ii  libavahi-common-data:i386                                   0.6.31-4ubuntu1 
                                    i386         Avahi common data files
ii  libavahi-common3:amd64                                      0.6.31-4ubuntu1 
                                    amd64        Avahi common library
ii  libavahi-common3:i386                                       0.6.31-4ubuntu1 
                                    i386         Avahi common library
ii  libavahi-core7:amd64                                        0.6.31-4ubuntu1 
                                    amd64        Avahi's embeddable mDNS/DNS-SD 
library
ii  libavahi-glib1:amd64                                        0.6.31-4ubuntu1 
                                    amd64        Avahi GLib integration library
ii  libavahi-gobject0:amd64                                     0.6.31-4ubuntu1 
                                    amd64        Avahi GObject library
ii  libavahi-ui-gtk3-0:amd64                                    0.6.31-4ubuntu1 
                                    amd64        Avahi GTK+ User interface 
library for GTK3
ii  libavalon-framework-java                                    4.2.0-9         
                                    all          Common framework for Java 
server applications
ii  libavc1394-0:amd64                                          0.5.4-2         
                                    amd64        control IEEE 1394 audio/video 
devices
ii  libavc1394-0:i386                                           0.5.4-2         
                                    i386         control IEEE 1394 audio/video 
devices
ii  libavcodec-extra-54:amd64                                   
6:9.16-0ubuntu0.14.04.1                             amd64        Libav codec 
library (additional codecs)
ii  libavdevice53:amd64                                         
6:9.16-0ubuntu0.14.04.1                             amd64        Libav device 
handling library
ii  libavfilter3:amd64                                          
6:9.16-0ubuntu0.14.04.1                             amd64        Libav video 
filtering library
ii  libavformat54:amd64                                         
6:9.16-0ubuntu0.14.04.1                             amd64        Libav file 
format library
ii  libavidemux0                                                
1:2.5.4-0ubuntu14                                   amd64        a free video 
editor - shared libraries
ii  libavresample1:amd64                                        
7:1.2.5-1~trusty1                                   amd64        FFmpeg audo 
resampling library
ii  libavutil52:amd64                                           
7:1.2.5-1~trusty1                                   amd64        FFmpeg utility 
library

Original comment by nef...@gmail.com on 28 Sep 2014 at 2:37

GoogleCodeExporter commented 9 years ago
Looks like you have some incompatible ffmpeg libraries. You should install  
libavresample1 and libavutil52 from official repository.

Original comment by trialuser02 on 28 Sep 2014 at 3:45

GoogleCodeExporter commented 9 years ago
Thanks. After I posted my libav, I poked around a bit and noticed that a number 
of packages in my system were upgradable. So, I ran sudo apt-get upgrade, which 
made quite a number of changes. I rebooted the computer after that. None of 
that helped. I also checked whether libavresample1 and libavutil52 are 
installed. Libavresample1 did not come from the official repository so, because 
that repository was not official, I removed the package (which removed quite a 
number of other packages), the repository (which I do not need, as it turns 
out) and reinstalled it from the official repository. Things are not any 
better. Below is, first, what happens when I start the program in the terminal; 
then, below that is the current libav versions:

~ $ qmmp
QMMPStarter: removed invalid socket file
QmmpPluginCache: loaded plugin libalsa.so
OutputALSA: setupMixer()
OutputALSA: setupMixer() success
QmmpUiPluginCache: loaded plugin libnotifier.so
QmmpUiPluginCache: loaded plugin libstatusicon.so
"sni-qt/7402" WARN  12:18:39.009 void StatusNotifierItemFactory::connectToSnw() 
Invalid interface to SNW_SERVICE 
QmmpUiPluginCache: loaded plugin libtrackchange.so
QmmpUiPluginCache: loaded plugin libskinned.so
MainWindow: detected wm: Mutter (Muffin)
Skin: using /home/neal/.qmmp/cache/skin
Visual: loaded plugin libanalyzer.so
WindowSystem: setting sticky state of window 0x2e00011 to false.
QmmpPluginCache: loaded plugin libmpc.so
QmmpPluginCache: loaded plugin libopus.so
QmmpPluginCache: loaded plugin libwildmidi.so
QmmpPluginCache: loaded plugin libsid.so
QmmpPluginCache: loaded plugin libvorbis.so
QmmpPluginCache: loaded plugin libwavpack.so
QmmpPluginCache: loaded plugin libsndfile.so
QmmpPluginCache: loaded plugin libmodplug.so
QmmpPluginCache: loaded plugin libaac.so
QmmpPluginCache: loaded plugin libcdaudio.so
QmmpPluginCache: loaded plugin libcue.so
QmmpPluginCache: loaded plugin libmad.so
QmmpPluginCache: loaded plugin libflac.so
QmmpPluginCache: loaded plugin libgme.so
QmmpPluginCache: loaded plugin libffap.so
QmmpPluginCache: loaded plugin libmpg123.so
QmmpPluginCache: loaded plugin libffmpeg.so
QmmpPluginCache: loaded plugin libmplayer.so
QmmpUiPluginCache: registered internal factory qt_dialog
QtFileDialogFactory::create()

(qmmp:7402): Gtk-WARNING **: Theme directory place/72 of theme MBuntu-OSX has 
no size field

QmmpPluginCache: loaded plugin libhttp.so
QmmpPluginCache: loaded plugin libmms.so
PlayListParser: loaded plugin libm3uplaylistformat.so
PlayListParser: loaded plugin libplsplaylistformat.so
PlayListParser: loaded plugin libxspfplaylistformat.so
Segmentation fault

NOW, THE LIBAV:

 ~ $ dpkg -l libav* | grep ii
ii  libavahi-client3:amd64                                      0.6.31-4ubuntu1 
                                    amd64        Avahi client library
ii  libavahi-client3:i386                                       0.6.31-4ubuntu1 
                                    i386         Avahi client library
ii  libavahi-common-data:amd64                                  0.6.31-4ubuntu1 
                                    amd64        Avahi common data files
ii  libavahi-common-data:i386                                   0.6.31-4ubuntu1 
                                    i386         Avahi common data files
ii  libavahi-common3:amd64                                      0.6.31-4ubuntu1 
                                    amd64        Avahi common library
ii  libavahi-common3:i386                                       0.6.31-4ubuntu1 
                                    i386         Avahi common library
ii  libavahi-core7:amd64                                        0.6.31-4ubuntu1 
                                    amd64        Avahi's embeddable mDNS/DNS-SD 
library
ii  libavahi-glib1:amd64                                        0.6.31-4ubuntu1 
                                    amd64        Avahi GLib integration library
ii  libavahi-gobject0:amd64                                     0.6.31-4ubuntu1 
                                    amd64        Avahi GObject library
ii  libavahi-ui-gtk3-0:amd64                                    0.6.31-4ubuntu1 
                                    amd64        Avahi GTK+ User interface 
library for GTK3
ii  libavalon-framework-java                                    4.2.0-9         
                                    all          Common framework for Java 
server applications
ii  libavc1394-0:amd64                                          0.5.4-2         
                                    amd64        control IEEE 1394 audio/video 
devices
ii  libavc1394-0:i386                                           0.5.4-2         
                                    i386         control IEEE 1394 audio/video 
devices
ii  libavcodec-extra-54:amd64                                   
6:9.16-0ubuntu0.14.04.1                             amd64        Libav codec 
library (additional codecs)
ii  libavdevice53:amd64                                         
6:9.16-0ubuntu0.14.04.1                             amd64        Libav device 
handling library
ii  libavformat54:amd64                                         
6:9.16-0ubuntu0.14.04.1                             amd64        Libav file 
format library
ii  libavidemux0                                                
1:2.5.4-0ubuntu14                                   amd64        a free video 
editor - shared libraries
ii  libavresample1:amd64                                        
6:9.16-0ubuntu0.14.04.1                             amd64        Libav audo 
resampling library
ii  libavutil52:amd64                                           
7:1.2.5-1~trusty1                                   amd64        FFmpeg utility 
library

Original comment by nef...@gmail.com on 28 Sep 2014 at 4:24

GoogleCodeExporter commented 9 years ago
liavutil should be  6:9.16-0ubuntu0.14.04 too

Original comment by trialuser02 on 28 Sep 2014 at 4:38

GoogleCodeExporter commented 9 years ago
I think I fixed things. Here is what I did. I ran a comparison between the 
libav versions shown above. Two packages, libav-tools and libavfilter3, were 
removed. So, I re-installed them. Now everything works.

So far as liavutil, if I were to reinstall the package6:9.16-0ubuntu0.14.04 
version with the using Synaptic, it would effectively uninstall 50 other 
packages including major packages like nemo (i.e., Mint's replacement for 
nautilus). I am not going down that path although I see that 7:1.2.5-1~trusty1 
has had issues.

Original comment by nef...@gmail.com on 28 Sep 2014 at 5:03

GoogleCodeExporter commented 9 years ago
While the problem is solved for .wma, one other file format seems to cause a 
crash, the m4a file format.

Original comment by nef...@gmail.com on 28 Sep 2014 at 5:55

GoogleCodeExporter commented 9 years ago
Please, generate backtrace using gdb.

Original comment by trialuser02 on 6 Oct 2014 at 3:40

GoogleCodeExporter commented 9 years ago
Sorry to get back to you so slowly. My system updated - and I missed this when 
I was doing an update - the various packages (e.g. libavresample1 and 
libavutil52) from the "trusty1" repository instead of the official ubuntu 
repository. At least for now, I cannot switch back to the ubuntu version of the 
packages, because my system insists on also removing basically my entire 
system. This does not thrill me as I like QMMP. However, I do not like it 
enough to break the entire system. 

Original comment by nef...@gmail.com on 13 Oct 2014 at 5:20

GoogleCodeExporter commented 9 years ago
I have now solved the problem entirely. Now that all of the pertinent packages 
are from the official repository - although, this ended up requiring me to have 
to force install official repository packages that I downloaded from ubuntu 
(along with removing the trust1 repository) and fixing 2 other packages that 
broke as a result -, QMMP runs perfectly.

Thank you for your help. It was very much appreciated.

Original comment by nef...@gmail.com on 16 Oct 2014 at 7:23

GoogleCodeExporter commented 9 years ago

Original comment by trialuser02 on 17 Oct 2014 at 6:25