Bug 107992

Summary: amarok crashes during startup
Product: [Applications] amarok Reporter: Thomas Klausner <tk>
Component: generalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED WORKSFORME    
Severity: crash    
Priority: NOR    
Version: 1.2.4   
Target Milestone: ---   
Platform: NetBSD pkgsrc   
OS: NetBSD   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Thomas Klausner 2005-06-23 12:49:13 UTC
Version:           1.2.4 (using KDE KDE 3.4.1)
Installed from:    NetBSD pkgsrc
Compiler:          gcc 3.3.3 (NetBSD nb3 20040520) 
OS:                NetBSD

amarok crashes during every startup.
This started appearing after I upgraded by system and reinstalled the packages.
It scans the collection, and when it's at 100%, it crashes and tries to send mail,
but doesn't find kmail (not installed), gives me a confirmation box for not finding
kmail, and exits.

Might be related to http://bugs.kde.org/show_bug.cgi?id=105716 but the backtrace is different.

I extracted (parts of ) the mail contents with ktrace, so here comes:
       "\^N\0\0\0kmail\0--composer\0-s\0001.2.4 [___stripped][validity: 1.00][\
        frames:  46][gst]\0-c\0\0-b\0\0--body\0amaroK has crashed! We're terri\
        bly sorry about this :( 
        
        But, all is not lost! You could potentially help us fix the crash. ama\
        roK has attached a backtrace that describes the crash, so just click s\
        end, or if you have time, write a brief description of how the crash h\
        appened first. 
        
        Many thanks.
        
        Engine:     gst-engine
        Build date: Jun 20 2005
        CC version: 3.3.3 (NetBSD nb3 20040520)
        KDElibs:    3.4.1
        TagLib:     1.3.1 
        NDEBUG:     true\0--attach\0/home/wiz/.kde/share/kde/apps/amarok/backt\
        race\0--\0=?utf8?b?YW1hcm9rLWJhY2t0cmFjZXNAbGlzdHMuc2YubmV0?=\0\^A\0\0\
        \0DISPLAY=:0.0\0\0\0\0\0hiro.nih.at;1119517910;440343;612_TIME0\0"
        
       "/usr/pkg/bin/amarokapp: ELF 32-bit LSB executable, Intel 80386, versio\
        n 1 (SYSV), for NetBSD 3.99.6, dynamically linked (uses shared libs), \
        stripped 
        
       "==== file `which amarokapp` =======
        /usr/pkg/bin/amarokapp: ELF 32-bit LSB executable, Intel 80386, versio\
        n 1 (SYSV), for NetBSD 3.99.6, dynamically linked (uses shared libs), \
        stripped
                    ==== (gdb) bt =====================
        
        0xbc046c7f in wait4 () from /usr/lib/libc.so.12
        #0  0xbc046c7f in wait4 () from /usr/lib/libc.so.12
        #1  0xbc258f57 in wait4 () from /usr/lib/libpthread.so.0
        #2  0xbc07e4d1 in waitpid () from /usr/lib/libc.so.12
        #3  0x081591a5 in amaroK::Crash::crashHandler(int) ()
        #4  0xbc25b17b in pthread__signal_deferred () from /usr/lib/libpthread\
        .so.0
        #0  0xbc046c7f in wait4 () from /usr/lib/libc.so.12
        No symbol table info available.
        #1  0xbc258f57 in wait4 () from /usr/lib/libpthread.so.0
        No symbol table info available.
        #2  0xbc07e4d1 in waitpid () from /usr/lib/libc.so.12
        No symbol table info available.
        #3  0x081591a5 in amaroK::Crash::crashHandler(int) ()
        No symbol table info available.
        #4  0xbc25b17b in pthread__signal_deferred () from /usr/lib/libpthread\
        .so.0
        No symbol table info available.
        ==== (gdb) thread apply all bt ====
        Thread 4 (Thread 27 ()):
        #0  0xbc259177 in pthread__locked_switch () from /usr/lib/libpthread.s\
        o.0
        #1  0xbc25d149 in pthread__block () from /usr/lib/libpthread.so.0
        #2  0xbc25e895 in pthread_cond_wait () from /usr/lib/libpthread.so.0
        #3  0xb9068e99 in gst_thread_main_loop (arg=0x8b61e00) at gstthread.c:\
        707
        #4  0xb8ea1200 in g_static_private_free () from /usr/pkg/lib/libglib-2\
        .0.so.0
        #5  0xbc25fd6d in pthread_create () from /usr/lib/libpthread.so.0
        Thread 3 (Thread 28 ()):
        #0  0xbc259177 in pthread__locked_switch () from /usr/lib/libpthread.s\
        o.0
        #1  0xbc25d149 in pthread__block () from /usr/lib/libpthread.so.0
        #2  0xbc25e895 in pthread_cond_wait () from /usr/lib/libpthread.so.0 
        #3  0xb905db4b in gst_queue_get (pad=0x8b66e00) at gstqueue.c:852
        #4  0xb9057f32 in gst_pad_call_get_function (pad=0x8b66e00) at gstpad.\
        c:4562
        #5  0xb8e40f32 in gst_plugin_desc ()
           from /usr/pkg/lib/gstreamer-0.8/libgstoptscheduler.so
        
        #6  0xb8e4069c in gst_plugin_desc ()
           from /usr/pkg/lib/gstreamer-0.8/libgstoptscheduler.so
        #7  0xb8e4092d in gst_plugin_desc ()
           from /usr/pkg/lib/gstreamer-0.8/libgstoptscheduler.so
        #8  0xb8e40a76 in gst_plugin_desc ()
           from /usr/pkg/lib/gstreamer-0.8/libgstoptscheduler.so
        #9  0xb8e44089 in gst_plugin_desc ()
           from /usr/pkg/lib/gstreamer-0.8/libgstoptscheduler.so 
        #10 0xb906142e in gst_scheduler_iterate (sched=0x8b66600) at gstschedu\
        ler.c:744
        #11 0xb903a4f9 in gst_bin_iterate_func (bin=0x8b66500) at gstbin.c:128\
        1
        #12 0xb9073fb7 in gst_marshal_BOOLEAN__VOID (closure=0x89ab920, 
            return_value=0xb95ffc68, n_param_values=1, param_values=0xb95ffda8\
        ,
            invocation_hint=0xb95ffc90, marshal_data=0xb903a474) at gstmarshal\
        .c:509
        #13 0xb8ff298d in g_cclosure_new_swap () from /usr/pkg/lib/libgobject-\
        2.0.so.0
        #14 0xb8ff2762 in g_closure_invoke () from /usr/pkg/lib/libgobject-2.0\
        .so.0
        #15 0xb90017cf in g_signal_emit_by_name ()
           from /usr/pkg/lib/libgobject-2.0.so.0
        #16 0xb9000cf1 in g_signal_emit_valist () from /usr/pkg/lib/libgobject\
        -2.0.so.0
        #17 0xb9001120 in g_signal_emit () from /usr/pkg/lib/libgobject-2.0.so\
        .0  
        #18 0xb903a696 in gst_bin_iterate (bin=0x8b66500) at gstbin.c:1341
        #19 0xb9068fa5 in gst_thread_main_loop (arg=0x8b66500) at gstthread.c:\
        675
        #20 0xb8ea1200 in g_static_private_free () from /usr/pkg/lib/libglib-2\
        .0.so.0
        #21 0xbc25fd6d in pthread_create () from /usr/lib/libpthread.so.0
        Thread 2 (LWP 2):
        #0  0xbc046c7f in wait4 () from /usr/lib/libc.so.12
        #1  0xbc258f57 in wait4 () from /usr/lib/libpthread.so.0
        #2  0xbc07e4d1 in waitpid () from /usr/lib/libc.so.12
        #3  0x081591a5 in amaroK::Crash::crashHandler(int) ()
        #4  0xbc25b17b in pthread__signal_deferred () from /usr/lib/libpthread\
        .so.0
        Thread 1 (LWP 1):
        #0  0xbc0472d3 in sa_yield () from /usr/lib/libc.so.12
        #1  0xbc26005f in pthread () from /usr/lib/libpthread.so.0
        #0  0xbc046c7f in wait4 () from /usr/lib/libc.so.12


        ==== kdBacktrace() ================


I tried moving away the following directories:
.gstreamer-0.8
.kde
When I then started amarok, it gave me the first run wizard,
I didn't allow it to add any files to its collection, and it
still crashed.

I'm using gstreamer-0.8.10 and gst-plugins-0.8.9.
Comment 1 Thomas Klausner 2005-06-26 14:27:44 UTC
This crash is probably caused by gst-plugins. I filed a bug with them:
 http://bugzilla.gnome.org/show_bug.cgi?id=309043                                                                                 
You can close this PR.
Comment 2 Thomas Klausner 2005-06-26 14:28:34 UTC
Just saw I can resolve it myself (didn't show up because I wasn't logged in).