Bug 219288

Summary: crashes after updating kde to version 4.4 Beta [__libc_message, malloc_printerr, QTimerInfoList::unregisterTimer]
Product: [Applications] amarok Reporter: Andreas Roth <aroth>
Component: generalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: 2.2.1   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Andreas Roth 2009-12-19 12:11:33 UTC
Application: amarok (2.2.1)
KDE Platform Version: 4.3.80 (KDE 4.3.80 (KDE 4.4 Beta1))
Qt Version: 4.6.0
Operating System: Linux 2.6.31-16-generic x86_64
Distribution: Ubuntu 9.10

-- Information about the crash:
amarok crashes (with SIGABORT) on start up. No splash screen or any other GUI element of amarok is visible prior to the crash.

The crash can be reproduced everytime.

 -- Backtrace:
Application: Amarok (amarok), signal: Aborted
[Current thread is 1 (Thread 0x7f067817a840 (LWP 4381))]

Thread 16 (Thread 0x7f066062e910 (LWP 4382)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007f06650d7c91 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f0674d08a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f06752587bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 15 (Thread 0x7f065f0e5910 (LWP 4383)):
[KCrash Handler]
#5  0x00007f06751ac4b5 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#6  0x00007f06751aff50 in *__GI_abort () at abort.c:92
#7  0x00007f06751e4c97 in __libc_message (do_abort=<value optimized out>, fmt=<value optimized out>) at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#8  0x00007f06751eedd6 in malloc_printerr (action=3, str=0x7f06752ad7da "free(): invalid pointer", ptr=<value optimized out>) at malloc.c:6217
#9  0x00007f0675ba9934 in QTimerInfoList::unregisterTimer (this=0x1b99ff0, timerId=16777249) at kernel/qeventdispatcher_unix.cpp:500
#10 0x00007f0675b96481 in QTimer::stop (this=0x386f4f0) at kernel/qtimer.cpp:257
#11 0x00007f0675b96add in QTimer::timerEvent (this=0x111d, e=0x111f) at kernel/qtimer.cpp:270
#12 0x00007f0675b8ba33 in QObject::event (this=0x386f4f0, e=0x7f065f0e4c90) at kernel/qobject.cpp:1224
#13 0x00007f0676507e8c in QApplicationPrivate::notify_helper (this=0x1a370b0, receiver=0x386f4f0, e=0x7f065f0e4c90) at kernel/qapplication.cpp:4242
#14 0x00007f067650e48d in QApplication::notify (this=0x7ffff13baa90, receiver=0x386f4f0, e=0x7f065f0e4c90) at kernel/qapplication.cpp:4125
#15 0x00007f0677c95666 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#16 0x00007f0675b7c04c in QCoreApplication::notifyInternal (this=0x7ffff13baa90, receiver=0x386f4f0, event=0x7f065f0e4c90) at kernel/qcoreapplication.cpp:704
#17 0x00007f0675ba8d52 in QCoreApplication::sendEvent (this=0x1b99ff0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#18 QTimerInfoList::activateTimers (this=0x1b99ff0) at kernel/qeventdispatcher_unix.cpp:603
#19 0x00007f0675ba5958 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#20 idleTimerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:231
#21 0x00007f066e4c6bbe in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#22 0x00007f066e4ca588 in ?? () from /lib/libglib-2.0.so.0
#23 0x00007f066e4ca6b0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#24 0x00007f0675ba5623 in QEventDispatcherGlib::processEvents (this=0x1b0d520, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#25 0x00007f0675b7a972 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#26 0x00007f0675b7ad4c in QEventLoop::exec (this=0x7f065f0e4f00, flags=) at kernel/qeventloop.cpp:201
#27 0x00007f0675a85c79 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#28 0x00007f06653331ce in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#29 0x00007f0675a886c5 in QThreadPrivate::start (arg=0x1a1db40) at thread/qthread_unix.cpp:244
#30 0x00007f0674d08a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#31 0x00007f06752587bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#32 0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 14 (Thread 0x7f065e8e4910 (LWP 4386)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f06650e8983 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f0674d08a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f06752587bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 13 (Thread 0x7f065dc75910 (LWP 4387)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f06650e8983 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f0674d08a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f06752587bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 12 (Thread 0x7f065d432910 (LWP 4388)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f06650e8983 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f0674d08a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f06752587bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7f064f02b910 (LWP 4393)):
#0  0x00007f067524aa6b in read () from /lib/libc.so.6
#1  0x00007f06643a4ad5 in ?? () from /usr/lib/libasound.so.2
#2  0x00007f066439f818 in snd_hctl_handle_events () from /usr/lib/libasound.so.2
#3  0x00007f06643a9589 in snd_mixer_handle_events () from /usr/lib/libasound.so.2
#4  0x00007f064f031d04 in ?? () from /usr/lib/xine/plugins/1.26/xineplug_ao_out_alsa.so
#5  0x00007f0674d08a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f06752587bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f064e82a910 (LWP 4394)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f06650e8983 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f0674d08a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f06752587bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 9 (Thread 0x7f064e029910 (LWP 4395)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f0675a8967b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x3190c40, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x3190c40, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f06722d4096 in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007f06722d674b in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x00007f06722d4bff in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x00007f06722d5058 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#7  0x00007f0675a886c5 in QThreadPrivate::start (arg=0x242fac0) at thread/qthread_unix.cpp:244
#8  0x00007f0674d08a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f06752587bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 8 (Thread 0x7f064d828910 (LWP 4396)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f0675a8967b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x3190c40, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x3190c40, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f06722d4096 in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007f06722d674b in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x00007f06722d6764 in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x00007f06722d4bff in ?? () from /usr/lib/libthreadweaver.so.4
#7  0x00007f06722d5058 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#8  0x00007f0675a886c5 in QThreadPrivate::start (arg=0x2f84fd0) at thread/qthread_unix.cpp:244
#9  0x00007f0674d08a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f06752587bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f064d027910 (LWP 4397)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f0675a8967b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x3190c40, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x3190c40, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f06722d4096 in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007f06722d674b in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x00007f06722d4bff in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x00007f06722d5058 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#7  0x00007f0675a886c5 in QThreadPrivate::start (arg=0x2f7b070) at thread/qthread_unix.cpp:244
#8  0x00007f0674d08a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f06752587bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f064c201910 (LWP 4398)):
#0  0x00007f06752513c2 in select () from /lib/libc.so.6
#1  0x00007f0665100725 in xine_usec_sleep () from /usr/lib/libxine.so.1
#2  0x00007f06650e57e9 in ?? () from /usr/lib/libxine.so.1
#3  0x00007f0674d08a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007f06752587bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f064b617910 (LWP 4399)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f06650db54b in ?? () from /usr/lib/libxine.so.1
#2  0x00007f06650e151d in ?? () from /usr/lib/libxine.so.1
#3  0x00007f0674d08a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007f06752587bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 4 (Thread 0x7f064ac49910 (LWP 4400)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f06650db54b in ?? () from /usr/lib/libxine.so.1
#2  0x00007f06650e2555 in ?? () from /usr/lib/libxine.so.1
#3  0x00007f0674d08a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007f06752587bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 3 (Thread 0x7f064a448910 (LWP 4401)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f06650eba0b in xine_event_wait () from /usr/lib/libxine.so.1
#2  0x00007f06650eba7e in ?? () from /usr/lib/libxine.so.1
#3  0x00007f0674d08a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007f06752587bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f0646ffc910 (LWP 4404)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f0675a8967b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x3190c40, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x3190c40, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f06722d4096 in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007f06722d674b in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x00007f06722d4bff in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x00007f06722d5058 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#7  0x00007f0675a886c5 in QThreadPrivate::start (arg=0x3a64830) at thread/qthread_unix.cpp:244
#8  0x00007f0674d08a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f06752587bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f067817a840 (LWP 4381)):
#0  0x00007f0675254d0a in mmap64 () from /lib/libc.so.6
#1  0x00007f06751df1bc in _IO_file_doallocate (fp=0x7e4ded0) at filedoalloc.c:120
#2  0x00007f06751ec61c in _IO_doallocbuf (fp=0x7e4ded0) at genops.c:423
#3  0x00007f06751ea4ec in _IO_file_xsgetn (fp=0x7e4ded0, data=0x7ffff13b8d30, n=44) at fileops.c:1405
#4  0x00007f06751e537e in *__GI_fread_unlocked (buf=<value optimized out>, size=44, count=1, fp=0xffffffffffffffff) at iofread_u.c:45
#5  0x00007f067520f845 in __tzfile_read (file=<value optimized out>, extra=0, extrap=<value optimized out>) at tzfile.c:205
#6  0x00007f067520eb02 in tzset_internal (always=<value optimized out>, explicit=<value optimized out>) at tzset.c:439
#7  0x00007f067520edf0 in __tzset () at tzset.c:592
#8  0x00007f0675f852a0 in KSystemTimeZoneBackend::offset(KTimeZone const*, long) const () from /usr/lib/libkdecore.so.5
#9  0x00007f0675f81fa2 in KTimeZone::toZoneTime(QDateTime const&, bool*) const () from /usr/lib/libkdecore.so.5
#10 0x00007f0675f72a04 in ?? () from /usr/lib/libkdecore.so.5
#11 0x00007f0675f72ade in ?? () from /usr/lib/libkdecore.so.5
#12 0x00007f0675f79df6 in KDateTime::toTimeSpec(KDateTime::Spec const&) const () from /usr/lib/libkdecore.so.5
#13 0x00007f0675f79e4f in KDateTime::currentDateTime(KDateTime::Spec const&) () from /usr/lib/libkdecore.so.5
#14 0x00007f067605010d in KLocale::formatDateTime(KDateTime const&, KLocale::DateFormat, QFlags<KLocale::DateTimeFormatOption>) const () from /usr/lib/libkdecore.so.5
#15 0x00007f066ecc9d0e in KDirModel::data(QModelIndex const&, int) const () from /usr/lib/libkio.so.5
#16 0x00007f0676aaf4d1 in QSortFilterProxyModel::data (this=<value optimized out>, index=..., role=0) at itemviews/qsortfilterproxymodel.cpp:1645
#17 0x00007f066ecef49e in KFileItemDelegate::Private::display(QModelIndex const&) const () from /usr/lib/libkio.so.5
#18 0x00007f066ecf15dd in KFileItemDelegate::Private::initStyleOption(QStyleOptionViewItemV4*, QModelIndex const&) const () from /usr/lib/libkio.so.5
#19 0x00007f066ecf1f0e in KFileItemDelegate::sizeHint(QStyleOptionViewItem const&, QModelIndex const&) const () from /usr/lib/libkio.so.5
#20 0x00007f0676a68e69 in QTreeView::sizeHintForColumn (this=<value optimized out>, column=<value optimized out>) at itemviews/qtreeview.cpp:2794
#21 0x00007f0676a38261 in QHeaderViewPrivate::resizeSections (this=0x2f530b0, globalMode=<value optimized out>, useGlobalMode=<value optimized out>) at itemviews/qheaderview.cpp:2987
#22 0x00007f067252cced in ?? () from /usr/lib/libkfile.so.4
#23 0x00007f067251c194 in ?? () from /usr/lib/libkfile.so.4
#24 0x00007f0675b8edc3 in QMetaObject::activate (sender=0x2f2c250, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3294
#25 0x00007f0676ab75e2 in QSortFilterProxyModelPrivate::_q_sourceDataChanged (this=0x2f2c0d0, source_top_left=<value optimized out>, source_bottom_right=<value optimized out>)
    at itemviews/qsortfilterproxymodel.cpp:1101
#26 0x00007f0676ab802b in QSortFilterProxyModel::qt_metacall (this=0x2f2c250, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffff13b9df0)
    at .moc/release-shared/moc_qsortfilterproxymodel.cpp:128
#27 0x00007f0672531e38 in KDirSortFilterProxyModel::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkfile.so.4
#28 0x00007f0675b8edc3 in QMetaObject::activate (sender=0x2f288b0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3294
#29 0x00007f0675bda607 in QAbstractItemModel::dataChanged (this=0x0, _t1=<value optimized out>, _t2=<value optimized out>) at .moc/release-shared/moc_qabstractitemmodel.cpp:148
#30 0x00007f066ecc9983 in KDirModel::itemChanged(QModelIndex const&) () from /usr/lib/libkio.so.5
#31 0x00007f067255acb2 in KFilePreviewGenerator::Private::dispatchIconUpdateQueue() () from /usr/lib/libkfile.so.4
#32 0x00007f067255ae37 in KFilePreviewGenerator::Private::resolveMimeType() () from /usr/lib/libkfile.so.4
#33 0x00007f067255d69d in KFilePreviewGenerator::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkfile.so.4
#34 0x00007f0675b8bd19 in QObject::event (this=0x2f66b80, e=0x7dd36b0) at kernel/qobject.cpp:1260
#35 0x00007f0676507e8c in QApplicationPrivate::notify_helper (this=0x1a370b0, receiver=0x2f66b80, e=0x7dd36b0) at kernel/qapplication.cpp:4242
#36 0x00007f067650e48d in QApplication::notify (this=0x7ffff13baa90, receiver=0x2f66b80, e=0x7dd36b0) at kernel/qapplication.cpp:4125
#37 0x00007f0677c95666 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#38 0x00007f0675b7c04c in QCoreApplication::notifyInternal (this=0x7ffff13baa90, receiver=0x2f66b80, event=0x7dd36b0) at kernel/qcoreapplication.cpp:704
#39 0x00007f0675b7e7c7 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x18d8a50) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#40 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x18d8a50) at kernel/qcoreapplication.cpp:1345
#41 0x00007f0675ba5ae3 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#42 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#43 0x00007f066e4c6bbe in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#44 0x00007f066e4ca588 in ?? () from /lib/libglib-2.0.so.0
#45 0x00007f066e4ca6b0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#46 0x00007f0675ba5623 in QEventDispatcherGlib::processEvents (this=0x18d8070, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#47 0x00007f06765b62fe in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#48 0x00007f0675b7a972 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#49 0x00007f0675b7ad4c in QEventLoop::exec (this=0x7ffff13baa20, flags=) at kernel/qeventloop.cpp:201
#50 0x00007f0675b7ea8b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#51 0x0000000000409df4 in _start ()
The current source language is "auto; currently c".

Possible duplicates by query: bug 205933.

Reported using DrKonqi
Comment 1 Dario Andres 2009-12-19 14:09:25 UTC
This looks like bug 196207. (which is a bug in a external library)
- Does Amarok run if you launch it from Konsole, writing "MALLOC_CHECK_= amarok" or "QT_NO_GLIB=1 amarok" ?
Thanks
Comment 2 Andreas Roth 2009-12-19 14:23:42 UTC
I did the following:
#> export MALLOC_CHECK_=amarok
#> export MALLOC_CHECK=amarok
#> export QT_NO_GLIB=1
and get the following output on the console:
#> amarok --debug
amarok(8246)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
amarok(8246)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
amarok(8246)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
amarok(8246)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
amarok(8246)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
amarok(8246)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
amarok(8246)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
QGraphicsLinearLayout::removeAt: invalid index 1                        
amarok(8246)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
amarok(8246)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
<unknown program name>(8245)/: Communication problem with  "amarok" , it probably crashed. 
Error message was:  "org.freedesktop.DBus.Error.NoReply" : " "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken." "                                         

*** glibc detected *** amarok: free(): invalid pointer: 0x000000000317acc0 ***
*** glibc detected *** amarok: free(): invalid pointer: 0x00000000033e91a0 ***                                        
QPainter::begin: Paint device returned engine == 0, type: 2                                                                                                   
QPainter::end: Painter not active, aborted                                                                                                                    
*** glibc detected *** amarok: free(): invalid pointer: 0x000000000328ba00 ***                                                                                
amarok(8246)/kdecore (services) KMimeTypeFactory::parseMagic: Now parsing  "/usr/share/mime/magic"                                                            
amarok(8246)/kdecore (services) KMimeTypeFactory::parseMagic: Now parsing  "/home/aroth/.local/share/mime/magic"                                              
amarok(8246)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found  0  offers for  "Amarok Script Console"                                                    
amarok(8246)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found  0  offers for  "Rating Statistics"                                                        
amarok(8246)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found  0  offers for  "LyricWiki"                                                                
amarok(8246)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found  0  offers for  "BBC"                                                                      
amarok(8246)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found  0  offers for  "Cool Streams"                                                             
amarok(8246)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found  0  offers for  "Librivox.org"                                                             
amarok(8246)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found  0  offers for  "Radio Austria"                                                            
amarok(8246)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found  0  offers for  "Radio Germany"                                                            
amarok(8246)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found  0  offers for  "RadioSwiss"                                                               
========== Starting Statistics Script ==========                                                                                                              
[RATING_STATISTICS] [SQL] SHOW TABLES                                                                                                                         
[RATING_STATISTICS] [SQL] SELECT value FROM rating_statistics_config WHERE name="ignore_unrated"                                                              
[RATING_STATISTICS] [SQL] SELECT value FROM rating_statistics_config WHERE name="reverse_results"                                                             
[RATING_STATISTICS] [SQL] SELECT value FROM rating_statistics_config WHERE name="exclude_enabled"                                                             
[RATING_STATISTICS] [SQL] SELECT value FROM rating_statistics_config WHERE name="min_tracks_per_album"                                                        
[RATING_STATISTICS] [SQL] SELECT value FROM rating_statistics_config WHERE name="results_limit"                                                               
[RATING_STATISTICS] [SQL] SELECT value FROM rating_statistics_config WHERE name="weight_rating"                                                               
[RATING_STATISTICS] [SQL] SELECT value FROM rating_statistics_config WHERE name="weight_score"                                                                
[RATING_STATISTICS] [SQL] SELECT value FROM rating_statistics_config WHERE name="weight_length"                                                               
[RATING_STATISTICS] [SQL] SELECT value FROM rating_statistics_config WHERE name="weight_playcount"                                                            
========== Finished Statistics Script ==========                                                                      

When i start amarok on the console with the given environment changes it runs without any crashes. 
Maybe it's worth mentioning that i'm using an external mysql server with a collection of 30000 tracks.
Comment 3 Dario Andres 2009-12-19 14:29:34 UTC
Mh, it should be:
#> export MALLOC_CHECK_=
#> export MALLOC_CHECK=
(set those variables to empty)

but in any case shows that this is the same glibc bug, which is fixed in a recent version. Hopefully the distributions will package it soon.

Thanks

*** This bug has been marked as a duplicate of bug 196207 ***