Bug 103749

Summary: amarok freeze
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Michael Calmer <mc>
Component: KDEAssignee: E-mail List <kde-maintainers>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Critical    
Priority: P5 - None CC: adrian.schroeter
Version: Beta 1   
Target Milestone: ---   
Hardware: Other   
OS: All   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: gdb log of amarok's crash.
Don't see anything useful here, but maybe you will.
hopefully this helps...It consistantly crashes the same way. (SIG42)
Sorry, I should have known that..thanks for your patience. I have included a few crashes for you this time.
Amarok shows I am using Xine engine, not KDEMM.

Description Michael Calmer 2005-08-10 07:41:47 UTC
If I play a song with amarok. the application freeze. 
 
from .xsession-errors: 
 
amaroK: [Loader] Starting amarokapp.. 
amaroK: [Loader] Don't run gdb, valgrind, etc. against this binary! Use 
amarokapp. 
akode: ALSA fragment-size: 3760 
*** glibc detected *** double free or corruption (fasttop): 0x0859c630 *** 
auto_sink: Could not load polyp 
akode: ALSA fragment-size: 3760
Comment 1 Dirk Mueller 2005-08-10 08:36:28 UTC
there's something wrong here.. amarok 1.3beta3, which is included in SL10 
beta1 does not include the akode engine.  
 
can you check that you don't have something selfcompiled or leftover from 
older installations? 
Comment 2 Michael Calmer 2005-08-10 09:54:45 UTC
This was a update from 9.3 to 10.0.  
  
In 9.3 i had configured  the akode engine. When I started amarok on  
10.0 the first time it gives a message that these engine could not be 
loaded and it tries kdemm engine.  
 
$> rpm -q amarok 
amarok-1.3beta3-2 
 
 
Comment 3 Michael Calmer 2005-08-10 10:03:22 UTC
Seems to happen only at first startup. It does not freeze anymore. 
 
I configured now kdemm engine but a "akode" message appears in 
the log. 
 
QObject::connect: Cannot connect Engine::Base::statusText( const QString& ) to 
(null)::shortMessage( const QString& ) 
QObject::connect: Cannot connect Engine::Base::infoMessage( const QString& ) 
to (null)::longMessage( const QString& ) 
QLayout: Adding KToolBar/mainToolBar (child of QVBox/unnamed) to layout for 
PlaylistWindow/PlaylistWindow 
amaroK: [Loader] Starting amarokapp.. 
amaroK: [Loader] Don't run gdb, valgrind, etc. against this binary! Use 
amarokapp. 
akode: ALSA fragment-size: 3760 
QObject::disconnect: Unexpected null parameter 
QObject::connect: Cannot connect (null)::activePartChanged( KParts::Part * ) 
to KHTMLPart::slotActiveFrameChanged( KParts::Part * ) 
QObject::disconnect: Unexpected null parameter 
QObject::connect: Cannot connect (null)::activePartChanged( KParts::Part * ) 
to KHTMLPart::slotActiveFrameChanged( KParts::Part * ) 
 
Comment 4 Ulrich Windl 2005-08-16 07:22:20 UTC
I can confirm this on a new installation (partition formatted): Drag-and-Drop
from konqueror to Amarok just displays rotation "hour-hands", and nothing
happens. Amarok won't respond to anything. Killing the application and
restarting just returns to that state. I wasn't able to play any Ogg file.
Comment 5 Ulrich Windl 2005-08-18 09:26:08 UTC
I found out that once I kill knotify, amarok continues to work (see bug
#104078). However some strange messages are output anyway.
Comment 6 Michael Calmer 2005-08-25 14:02:08 UTC
I run Beta3 with xine engine now. Works fine. For me it is fixed  
Comment 7 Kirk Coombs 2005-08-26 22:20:51 UTC
I run beta2 with the xine engine, and amarok freezes on me.  It is intermittent
(I don't see anything I do that causes it).  The music stops.  If I maximize
amarok and try to start it again it freezes and I have to xkill it.
Comment 8 Kirk Coombs 2005-08-26 22:21:26 UTC
correction to comment #7: sorry I meant to say beta3.
Comment 9 Kirk Coombs 2005-08-31 17:54:34 UTC
...Still locking frequently in beta 4.  I am using the xine engine--locks
whether it uses ALSA or OSS.  This renders it almost unusable (It locks at least
once an hour).  I am moving the bug to critical.

Any logs that I can post that would be useful?

Comment 10 Christoph Thiel 2005-08-31 18:17:36 UTC
Can you gdb to it and attach the backtrace? Does ~/.xsession-errors contain any
errors/warmings?
Comment 11 Kirk Coombs 2005-08-31 18:43:15 UTC
Created attachment 48357 [details]
gdb log of amarok's crash.

That didn't take long :-)

Amarok still says open and responsive, unless you try to start the song
again...then it freezes.  I usually x-kill it and start it over again.

I am going to try grabbing the -debuginfo package and see if we get more useful
information.
Comment 12 Kirk Coombs 2005-08-31 18:43:56 UTC
Created attachment 48358 [details]
Don't see anything useful here, but maybe you will.
Comment 13 Christoph Thiel 2005-08-31 19:31:54 UTC
Could you please install the amarok-debuginfo package and attach the gdb log of
the next crash? ;)
Comment 14 Kirk Coombs 2005-08-31 19:47:47 UTC
Created attachment 48364 [details]
hopefully this helps...It consistantly crashes the same way. (SIG42)
Comment 15 Christoph Thiel 2005-08-31 19:53:36 UTC
Could you please type "bt" (backtrace) in the (gdb) promt, to make gdb output
the backtrace? That could be very helpful ;)
Comment 16 Kirk Coombs 2005-08-31 20:10:10 UTC
Created attachment 48367 [details]
Sorry, I should have known that..thanks for your patience.  I have included a few crashes for you this time.

USEFUL NOTE:

I have figured out some ways to reliably reproduce it:

While amarokapp is running in gdb...
1. Select "Settings > Configure Konsole"
2. Launch a new Konsole
3. Launch OpenOffice

That is how the crashes in this log were generated, in that order.
Comment 17 Dirk Mueller 2005-08-31 22:27:35 UTC
do you have fam or gamin installed? 
 
 
Comment 18 Adrian Schröter 2005-09-01 05:50:07 UTC
the output shows that the broken KDEMM engine was used. We have removed it 
meanwhile. Please either use xine or helix engine. 
Comment 19 Kirk Coombs 2005-09-01 14:24:39 UTC
> do you have fam or gamin installed?   
  
Yes:  
  
kcoombs@linux:~> rpm -qa | grep fam  
fam-server-2.6.10-130  
fam-2.6.10-130  
kcoombs@linux:~> rpm -qa | grep gamin  
kcoombs@linux:~> 
Comment 20 Kirk Coombs 2005-09-01 14:27:24 UTC
> the output shows that the broken KDEMM engine was used. We have removed it  
> meanwhile. Please either use xine or helix engine.  
 
That's strange...  According to the GUI I am using the xine engine (I'll post 
screenshot).  If it is using the KDEMM engine, how do I make it use the xine 
engine? 
Comment 21 Kirk Coombs 2005-09-01 14:29:35 UTC
Created attachment 48469 [details]
Amarok shows I am using Xine engine, not KDEMM.