Kaffeine bombs on mpeg's
Last night, all of a sudden, Kaffeine player 0.7.1
stopped playing mpegs.
When you try, it bombs and displays the error dialog
box,
"Kaffeine Player - The KDE Crash Handler
Short Description
The application Kaffeine Player (kaffeine) crashed and caused the signal
11 (SIGSEGV).
What is this?
An application mostly receives the SIGSEGV signal due to a bug in the
application. The application was asked to save its documents.
What can I do?
You might want to send a bug report for this application. Check if it is
listed on http://bugs.kde.org, otherwise mail the author Please include
as much information as possible maybe the original documents, if you
have a way to reproduce the error, include this also."
Rebooted several times from power-off with the same result.
Today, I verified kaffeine does exactly the same thing with
mpeg files stored on my local home directory. A day ago, kaffeine
played mpeg's perfectly, both locally and hypertext-links.
Right now, I'm looking through http://bugs.kde.org for clues.
Just thought I'd ask,
Has anybody else encountered this or have a clue as to what might have made this application break?
Would reinstalling this application help? Is there an easy way to do that with apt-get? I already did a $apt-get update. Could that have made kaffeine break?
Alan
P.S. ERROR MESSAGES
When I run as regular user, ($kaffeine &), I get the following error messages:
ASSERT: "i <= nodes" in /usr/share/qt3/include/qvaluelist.h (373)
DVB 0 : No such file or directory
DVB 1 : No such file or directory
DVB 2 : No such file or directory
DVB 3 : No such file or directory
KCrash: Application 'kaffeine' crashing...
system call fstat: Bad file descriptor
system call fstat: Bad file descriptor
system call fstat: Bad file descriptor
system call fstat: Bad file descriptor
system call fstat: Bad file descriptor
When I run as superuser, (#kaffeine &), I get the following error messages:
kbuildsycoca running...
ASSERT: "i <= nodes" in /usr/share/qt3/include/qvaluelist.h (373)
DVB 0 : No such file or directory
DVB 1 : No such file or directory
DVB 2 : No such file or directory
DVB 3 : No such file or directory
KWrited - Listening on Device /dev/pts/4
kded: Launching previous backup analyse.
KCrash: Application 'kaffeine' crashing...
system call fstat: Bad file descriptor
system call fstat: Bad file descriptor
system call fstat: Bad file descriptor
system call fstat: Bad file descriptor
system call fstat: Bad file descriptor




version
which MEPIS version are you using?? If it is 3.4 or lower, you are using Debian repos, and yes, that might cause things to break. If it is 6, updating should not break things.
Newbie or not Newbie, there's always a question
I'm using SimplyMepis 6.0
I'm using SimplyMepis 6.0
tests
test a few things:
- can you play mpegs in other apps (mplayer, kplayer)?
- can kaffeine play other formats (avi)?
If other apps play the mpegs fine, it is not a library issue, and therefore kaffeine is the culprit.
Before reinstalling kaffeine, try this:
- go to home/.kde/share/apps and delete folder kaffeine
- go to home/.kde/share/config and delete kaffeinerc
Now try again
Newbie or not Newbie, there's always a question
Thanks for your ideas,
Thanks for your ideas, carlops. I tried them and here's what happened:
mplayer never even opened a dialog box:
$ mplayer &
[1] 27877
$ mplayer: error while loading shared libraries: libmad.so.0: cannot open shared object file: No such file or directory
[1]+ Exit 127 mplayer
kplayer opened a dialog box
But when I load an mpeg, it just displays "Error" in the lower lefthand window-bottom
No sound, nothing.
(Didn't try these apps as root.)
Then I tried the other media types with kaffeine:
kaffeine downloads a .wmv and plays the audio. It opens a dialog box that says:
A problem occur while loading a library or a decoder: wmvdmod.dll
No video from the .wmv.
kaffeine played an .avi fine, both audio and video.
kaffeine keeps bombing on .mpeg's as described earlier.
I renamed the file .kde/share/apps/kaffeine and the subdirectory .kde/share/apps/kaffeine/ as you suggested. Same results on all three media types (mpeg, avi, wmv).
So I only got one app, kaffeine, to play .avi's. None of the three app.'s I tried will play an mpeg.
Any other ideas?
libmad0
do a purge and then an install of package libmad0 via synaptic. I think that package is what's causing the issue....
Newbie or not Newbie, there's always a question
I don't know how to use
I don't know how to use synaptic. I'm using KDE.
synaptic
You should use synaptic. It is in the system menu. It is a lot better than Kpackage I tell you.
So: find synaptic in the system menu, press the reload button, search libmad0 and first remove then reinstall.
You can also use the console:
- open a console
- su (password)
- apt-get remove libmad0 --purge
- wait till done, then apt-get install libmad0
now try again.
Oh, had I mentioned you should use synaptic
Newbie or not Newbie, there's always a question
Do you think I should try
Do you think I should try using synaptic?

Actually, I did last night. I can't remember what command I typed....I think it was "update" or "upgrade" or something like that. The console window then spat out a bunch of
stuff to be upgraded. carlops, I'm glad you mentioned libmad0. It was one of the libraries listed in the synaptic console window. Then I typed "I" to install the upgrades and closed Synaptic. That was my first encounter with synaptic, so I was afraid I might break something important. So far, not.
I have opened kpackage. That is all I have ever done with it. I will stick to the command line since it appears synaptic is part of the default installation.
Now kaffeine plays .avi's and .mpegs, but not .wmv's. That's the way it worked originally, so I am happy that you helped me restore it to proper working condition. You are a good person. I very much appreciate your help.
Alan
great
Glad it works...
Ah, and one more thing
ceterum censeo synapticum esse usendum.....
cheers
Newbie or not Newbie, there's always a question
Userland?
Should I have run synaptic & made the library upgrade(s)
as user first,
then waited for a trial period to evaluate the changes,
before running synaptic as superuser ?
Is that even possible ?
Or must one have root priv's to even run synaptic?
Alan
Synaptic can be started from
Synaptic can be started from the menu. It will ask you for the root password.
And yeah, MEPIS 6 comes out of the box with a crippled libmad0 package, due to licensing issues. That's why you always need to do an update / upgrade first.
I find it strange that Kaffeine used to work before you did the upgrade. It normally fails from the very first time you use it if libmad0 has not been upgraded. But I guess miracles do happen from time to time....
Newbie or not Newbie, there's always a question
Oh, I see that running
Oh, I see that running synaptic as a regular user puts it into "read-only" mode. Anyway, thanks again for pointing out the library to be updated and synaptic's upgrade option.
Much appreciated.
Alan
running synaptic
it should ask for root password when you run it from the menu.
Newbie or not Newbie, there's always a question