Bug 308086 - NFS related. Amarok works for a minute or so before becoming completely unresponsive.
Summary: NFS related. Amarok works for a minute or so before becoming completely unres...
Status: RESOLVED WORKSFORME
Alias: None
Product: amarok
Classification: Applications
Component: Collection Browser (show other bugs)
Version: 2.6.0
Platform: Gentoo Packages Linux
: NOR critical
Target Milestone: 2.7
Assignee: Amarok Developers
URL: http://forum.kde.org/viewtopic.php?f=...
Keywords:
Depends on: 281312
Blocks:
  Show dependency treegraph
 
Reported: 2012-10-08 18:42 UTC by eArquilla
Modified: 2012-11-15 13:35 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description eArquilla 2012-10-08 18:42:20 UTC
Media is on a NAS box. NFS share. I discussed this problem in the amarok forum: http://forum.kde.org/viewtopic.php?f=115&t=98855 and an admin had this to say:
"Based upon that strace output I believe it may either be in the process of attempting to close - or one of it's children may be in the process of doing so."

strace output ends with:
sendmsg(3, {msg_name(0)=NULL, msg_iov(2)=[{"l\1\0\1\23\0\0\0\2\0\0\0\177\0\0\0\1\1o\0\25\0\0\0/org/fre"..., 144}, {"\16\0\0\0org.kde.amarok\0", 19}], msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 163
poll([{fd=3, events=POLLIN}], 1, 25000) = 1 ([{fd=3, revents=POLLIN}])
recvmsg(3, {msg_name(0)=NULL, msg_iov(1)=[{"l\2\1\1\4\0\0\0\3\0\0\0=\0\0\0\6\1s\0\6\0\0\0:1.346\0\0"..., 2048}], msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_CMSG_CLOEXEC) = 84
recvmsg(3, 0x7fffaff2db50, MSG_CMSG_CLOEXEC) = -1 EAGAIN (Resource temporarily unavailable)
sendmsg(3, {msg_name(0)=NULL, msg_iov(2)=[{"l\1\0\1+\0\0\0\3\0\0\0\202\0\0\0\1\1o\0\20\0\0\0/MainApp"..., 152}, {"\0\0\0\0#\0\0\0\0\0\0\17/home/earquilla\0\0\0\1\377"..., 43}], msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 195
poll([{fd=3, events=POLLIN}], 1, -1)    = ? ERESTART_RESTARTBLOCK (Interrupted by signal)
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7371, si_status=0, si_utime=0, si_stime=0} ---
restart_syscall(<... resuming interrupted call ...>

most of the time when amarok is unresponsive, "top" does not reveal anything. however, if i catch it at the right time, i will see:
19289 (username)  20   0 66688 7880 5724 D    0  0.2   0:01.79 amarokcollectio

Which the same amarok admin informed me "Yes, D means blocked on disk (or any input/output in general really - which could be it's communication with Amarok itself even)."


Reproducible: Always

Steps to Reproduce:
1. Log into KDE
2. Open amarok
3. Wait thirty seconds to a minute

Actual Results:  
Program is completely unresponsive. If the amarok window is open and I try to close it by clicking the "X" at the top right, eventually it will tell me amarok is unresponsive and I can kill the program. If the amarok window is not open, clicking on the icon in my system tray does not do anything. Right clicking on the icon results in a delay of 10 seconds before any options pop up, but no matter what I click nothing happens. Quit, play, configure amarok, nothing happens.

Expected Results:  
I would like amarok to not hang. 

My NFS share works perfectly fine otherwise. XBMC and VLC have no problems whatsoever playing the music. I have a separate NFS share for videos, and those work perfectly too. Also, Clementine has no problems playing my music and never hangs.
Comment 1 Myriam Schweingruber 2012-10-08 23:45:57 UTC
A complete backtrace would be really nice to have, please see also http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports how to get it with gdb. What we need is the part after the bt command.
Comment 2 Myriam Schweingruber 2012-10-21 09:09:32 UTC
Any news about this?
Comment 3 eArquilla 2012-11-13 16:52:09 UTC
To get this backtrace I changed my CFLAGS from 

CFLAGS="-march=corei7-avx -O2 -pipe"
to
CFLAGS="-march=corei7-avx -O1 -ggdb"

I also added the line
FEATURES="splitdebug"

I reinstalled amarok with the following USE flags:
USE="cdda embedded opengl semantic-desktop utils -daap -debug -ipod -lastfm -mp3tunes -mtp -ofa"

The following is the backtrace

~ $ gdb amarok
GNU gdb (Gentoo 7.3.1 p2) 7.3.1
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.gentoo.org/>...
Reading symbols from /usr/bin/amarok...Reading symbols from /usr/lib64/debug/usr/bin/amarok.debug...done.
done.
(gdb) set args --nofork
(gdb) run
Starting program: /usr/bin/amarok --nofork
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
[0xa4a368] main services discovery error: no suitable services discovery module
[New Thread 0x7fffdc68c700 (LWP 13762)]
WARNING: Phonon::createPath: Cannot connect  Phonon::MediaObject ( no objectName ) to  Phonon::AudioDataOutput ( no objectName ). 
Object::connect: No such signal Phonon::VLC::MediaObject::angleChanged(int) in /var/tmp/portage/media-libs/phonon-4.6.0-r1/work/phonon-4.6.0/phonon/mediacontroller.cpp:64
Object::connect: No such signal Phonon::VLC::MediaObject::availableAnglesChanged(int) in /var/tmp/portage/media-libs/phonon-4.6.0-r1/work/phonon-4.6.0/phonon/mediacontroller.cpp:65
********************************************************************************************** 
** AMAROK WAS STARTED IN NORMAL MODE. IF YOU WANT TO SEE DEBUGGING INFORMATION, PLEASE USE: ** 
** amarok --debug                                                                           ** 
********************************************************************************************** 
[New Thread 0x7fffda545700 (LWP 13763)]
[Thread 0x7fffda545700 (LWP 13763) exited]
[New Thread 0x7fffda545700 (LWP 13764)]
[New Thread 0x7fffd3fff700 (LWP 13765)]
[New Thread 0x7fffd31e6700 (LWP 13766)]
[New Thread 0x7fffd29e5700 (LWP 13767)]
[New Thread 0x7fffd21e4700 (LWP 13768)]
amarok(13759)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
amarok(13759)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
amarok(13759)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
[New Thread 0x7fffd0d66700 (LWP 13769)]
[New Thread 0x7fffc3fff700 (LWP 13770)]
QWidget::insertAction: Attempt to insert null action
amarok(13759)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
Object::disconnect: Unexpected null parameter
Object::disconnect: Unexpected null parameter
[New Thread 0x7fffc35f2700 (LWP 13771)]
[New Thread 0x7fffc2df1700 (LWP 13773)]
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x5200012
[New Thread 0x7fffb5b77700 (LWP 13783)]
[New Thread 0x7fffb416b700 (LWP 13784)]
^C                                                                                                  //THIS IS WHERE AMAROK FROZE. I did not know how to get back to the (gdb) prompt so I pressed ctrl+C
Program received signal SIGINT, Interrupt.
0x00007ffff2a0c834 in __lll_lock_wait () from /lib64/libpthread.so.0
(gdb) bt
#0  0x00007ffff2a0c834 in __lll_lock_wait () from /lib64/libpthread.so.0
#1  0x00007ffff2a08140 in _L_lock_533 () from /lib64/libpthread.so.0
#2  0x00007ffff2a07fd9 in pthread_mutex_lock () from /lib64/libpthread.so.0
#3  0x00007fffedfebbe3 in FAMPending () from /usr/lib64/libfam.so.0
#4  0x00007ffff56c9e00 in ?? () from /usr/lib64/libkdecore.so.5
#5  0x00007ffff525d509 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00007ffff52aa2ee in QSocketNotifier::activated(int) () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007ffff526680b in QSocketNotifier::event(QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007ffff5c69c14 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#9  0x00007ffff5c6e931 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#10 0x00007ffff79a0726 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#11 0x00007ffff524984c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#12 0x00007ffff5277c55 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#13 0x00007fffef58f313 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#14 0x00007fffef58f660 in ?? () from /usr/lib64/libglib-2.0.so.0
#15 0x00007fffef58f724 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#16 0x00007ffff5278646 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#17 0x00007ffff5d0ccae in ?? () from /usr/lib64/qt4/libQtGui.so.4
#18 0x00007ffff52483a2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#19 0x00007ffff52485f7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#20 0x00007ffff524d3c5 in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
#21 0x000000000040bd78 in main (argc=<optimized out>, argv=<optimized out>) at /var/tmp/portage/media-sound/amarok-2.6.0/work/amarok-2.6.0/src/main.cpp:306
Comment 4 eArquilla 2012-11-13 16:55:54 UTC
If it matters, I noticed that right when it freezes, in the lower left hand corner it says "Scanning music". It is immediate: when that message appears it is immediately unresponsive. 

This is odd because I can manually click Tools->Update Collection and it will NOT freeze amarok. Yet when the message "Scanning music" comes up on its own, that is the single indicator that amarok will no longer be responsive.
Comment 5 Myriam Schweingruber 2012-11-13 17:16:45 UTC
That doesn't look like a crash in Amarok. Could you please install the missing debugging symbols for Qt, libfam and KDE, and when it freezes, run a full backtrace, e.g. the command is:

thread apply all bt

See also http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports#Retrieving_a_backtrace_when_an_uncaught_exception_is_causing_a_crash
Comment 6 eArquilla 2012-11-13 17:52:06 UTC
i put the debug use flag into my /etc/make.conf file and tried to emerge amarok, kdelibs, qt-core, phonon-kde, qt-gui, and glib, but that results in a complete mess of package conflicts that i have no idea how to resolve. i'm a simple user, no package maintainer or developer. 

****************************************************************************************************************
Calculating dependencies... done!
[ebuild   R    ] dev-libs/glib-2.32.4-r1:2  USE="debug* (-fam) (-selinux) -static-libs -systemtap {-test} -utils -xattr (-doc%)" 0 kB
[ebuild   R    ] x11-libs/qt-core-4.8.2:4  USE="debug* exceptions glib iconv icu qt3support ssl (-aqua) (-c++0x) -optimized-qmake -pch (-qpa)" 0 kB
[ebuild   R    ] x11-libs/qt-script-4.8.2:4  USE="debug* exceptions iconv (-aqua) (-c++0x) (-jit) -pch (-qpa)" 0 kB
[ebuild   R    ] x11-libs/qt-sql-4.8.2:4  USE="debug* exceptions qt3support sqlite (-aqua) (-c++0x) -firebird -freetds -mysql* -oci8 -odbc -pch -postgres (-qpa)" 0 kB
[ebuild   R    ] x11-libs/qt-dbus-4.8.2:4  USE="debug* exceptions (-aqua) (-c++0x) -pch (-qpa)" 0 kB
[ebuild   R    ] x11-libs/qt-gui-4.8.2:4  USE="accessibility dbus debug* exceptions gif glib mng qt3support tiff xinerama xv (-aqua) (-c++0x) -cups -egl -gtkstyle -nas -nis -pch (-qpa) -trace" 0 kB
[ebuild   R    ] x11-libs/qt-qt3support-4.8.2:4  USE="accessibility debug* exceptions (-aqua) (-c++0x) -pch (-qpa)" 0 kB
[ebuild   R   ~] kde-base/kdelibs-4.9.3:4  USE="acl alsa bzip2 debug* fam handbook mmx nls opengl (policykit) semantic-desktop spell sse sse2 ssl udev udisks upower -3dnow (-altivec) (-aqua) -doc -jpeg2k -kerberos -lzma -openexr {-test} (-udisks2) (-upnp) -zeroconf" 0 kB
[ebuild   R   ~] kde-base/phonon-kde-4.9.3:4  USE="alsa debug* (-aqua) -pulseaudio" 0 kB
[ebuild   R   ~] media-sound/amarok-2.6.0:4  USE="cdda debug* embedded opengl semantic-desktop utils -daap -ipod -lastfm -mp3tunes -mtp -ofa" LINGUAS="-bs -ca -cs -da -de -el -en_GB -es -et -eu -fi -ga -gl -hu -it -ja -lt -lv -nb -nl -pa -pl -pt -pt_BR -ru -sl -sr -sr@latin -sv -uk -zh_TW" 0 kB

Total: 10 packages (10 reinstalls), Size of downloads: 0 kB

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

x11-libs/qt-gui:4

  (x11-libs/qt-gui-4.8.2::gentoo, ebuild scheduled for merge) pulled in by
    ~x11-libs/qt-gui-4.8.2[accessibility=,aqua=,c++0x=,debug=,qpa=,qt3support] required by (x11-libs/qt-qt3support-4.8.2::gentoo, ebuild scheduled for merge)
    ~x11-libs/qt-gui-4.8.2[aqua=,c++0x=,debug=,glib=,qpa=,qt3support] required by (x11-libs/qt-core-4.8.2::gentoo, ebuild scheduled for merge)

  (x11-libs/qt-gui-4.8.2::gentoo, installed) pulled in by
    ~x11-libs/qt-gui-4.8.2[aqua=,c++0x=,debug=,qpa=] required by (x11-libs/qt-multimedia-4.8.2::gentoo, installed)
    ~x11-libs/qt-gui-4.8.2[aqua=,c++0x=,debug=,egl=,qpa=,qt3support=] required by (x11-libs/qt-opengl-4.8.2::gentoo, installed)
    ~x11-libs/qt-gui-4.8.2[accessibility=,aqua=,c++0x=,debug=,qpa=,qt3support] required by (x11-libs/qt-qt3support-4.8.2::gentoo, installed)
    ~x11-libs/qt-gui-4.8.2[accessibility=,aqua=,c++0x=,debug=,qpa=,qt3support=] required by (x11-libs/qt-declarative-4.8.2::gentoo, installed)
    ~x11-libs/qt-gui-4.8.2[aqua=,c++0x=,debug=,glib=,qpa=,qt3support] required by (x11-libs/qt-core-4.8.2::gentoo, installed)
    ~x11-libs/qt-gui-4.8.2[accessibility=,aqua=,c++0x=,debug=,qpa=] required by (x11-libs/qt-svg-4.8.2::gentoo, installed)
    ~x11-libs/qt-gui-4.8.2[aqua=,debug=,qpa=] required by (x11-libs/qt-webkit-4.8.2::gentoo, installed)

x11-libs/qt-qt3support:4

  (x11-libs/qt-qt3support-4.8.2::gentoo, installed) pulled in by
    ~x11-libs/qt-qt3support-4.8.2[accessibility=,aqua=,c++0x=,debug=,qpa=] required by (x11-libs/qt-declarative-4.8.2::gentoo, installed)
    ~x11-libs/qt-qt3support-4.8.2[aqua=,c++0x=,debug=,qpa=] required by (x11-libs/qt-gui-4.8.2::gentoo, installed)

  (x11-libs/qt-qt3support-4.8.2::gentoo, ebuild scheduled for merge) pulled in by
    ~x11-libs/qt-qt3support-4.8.2[aqua=,c++0x=,debug=,qpa=] required by (x11-libs/qt-gui-4.8.2::gentoo, ebuild scheduled for merge)

x11-libs/qt-sql:4

  (x11-libs/qt-sql-4.8.2::gentoo, ebuild scheduled for merge) pulled in by
    ~x11-libs/qt-sql-4.8.2[aqua=,c++0x=,debug=,qpa=,qt3support] required by (x11-libs/qt-qt3support-4.8.2::gentoo, ebuild scheduled for merge)

  (x11-libs/qt-sql-4.8.2::gentoo, installed) pulled in by
    ~x11-libs/qt-sql-4.8.2[aqua=,c++0x=,debug=,qpa=,qt3support] required by (x11-libs/qt-qt3support-4.8.2::gentoo, installed)
    ~x11-libs/qt-sql-4.8.2[aqua=,c++0x=,debug=,qpa=,qt3support=] required by (x11-libs/qt-declarative-4.8.2::gentoo, installed)
    >=x11-libs/qt-sql-4.5.0:4[mysql?,postgres?] required by (app-office/akonadi-server-1.8.1::gentoo, installed)

x11-libs/qt-core:4

  (x11-libs/qt-core-4.8.2::gentoo, installed) pulled in by
    ~x11-libs/qt-core-4.8.2[aqua=,c++0x=,debug=,qpa=,qt3support=] required by (x11-libs/qt-opengl-4.8.2::gentoo, installed)
    ~x11-libs/qt-core-4.8.2[aqua=,c++0x=,debug=,qpa=] required by (x11-libs/qt-test-4.8.2::gentoo, installed)
    ~x11-libs/qt-core-4.8.2[aqua=,c++0x=,debug=,qpa=] required by (x11-libs/qt-dbus-4.8.2::gentoo, installed)
    ~x11-libs/qt-core-4.8.2[aqua=,c++0x=,debug=,qpa=,qt3support=] required by (x11-libs/qt-sql-4.8.2::gentoo, installed)
    ~x11-libs/qt-core-4.8.2[aqua=,c++0x=,qpa=,debug=,glib=,qt3support=] required by (x11-libs/qt-gui-4.8.2::gentoo, installed)
    ~x11-libs/qt-core-4.8.2[aqua=,c++0x=,debug=,qpa=] required by (x11-libs/qt-svg-4.8.2::gentoo, installed)
    ~x11-libs/qt-core-4.8.2[aqua=,c++0x=,debug=,qpa=,qt3support] required by (x11-libs/qt-qt3support-4.8.2::gentoo, installed)
    ~x11-libs/qt-core-4.8.2[aqua=,debug=,ssl,qpa=] required by (x11-libs/qt-webkit-4.8.2::gentoo, installed)
    ~x11-libs/qt-core-4.8.2[aqua=,c++0x=,debug=,qpa=] required by (x11-libs/qt-script-4.8.2::gentoo, installed)
    ~x11-libs/qt-core-4.8.2[aqua=,c++0x=,debug=,qpa=] required by (x11-libs/qt-xmlpatterns-4.8.2::gentoo, installed)
    ~x11-libs/qt-core-4.8.2[aqua=,c++0x=,debug=,qpa=] required by (x11-libs/qt-multimedia-4.8.2::gentoo, installed)
    ~x11-libs/qt-core-4.8.2[aqua=,c++0x=,debug=,qpa=,qt3support=] required by (x11-libs/qt-declarative-4.8.2::gentoo, installed)

  (x11-libs/qt-core-4.8.2::gentoo, ebuild scheduled for merge) pulled in by
    ~x11-libs/qt-core-4.8.2[aqua=,c++0x=,debug=,qpa=] required by (x11-libs/qt-dbus-4.8.2::gentoo, ebuild scheduled for merge)
    ~x11-libs/qt-core-4.8.2[aqua=,c++0x=,qpa=,debug=,glib=,qt3support=] required by (x11-libs/qt-gui-4.8.2::gentoo, ebuild scheduled for merge)
    ~x11-libs/qt-core-4.8.2[aqua=,c++0x=,debug=,qpa=] required by (x11-libs/qt-script-4.8.2::gentoo, ebuild scheduled for merge)
    ~x11-libs/qt-core-4.8.2[aqua=,c++0x=,debug=,qpa=,qt3support=] required by (x11-libs/qt-sql-4.8.2::gentoo, ebuild scheduled for merge)
    ~x11-libs/qt-core-4.8.2[aqua=,c++0x=,debug=,qpa=,qt3support] required by (x11-libs/qt-qt3support-4.8.2::gentoo, ebuild scheduled for merge)

x11-libs/qt-dbus:4

  (x11-libs/qt-dbus-4.8.2::gentoo, ebuild scheduled for merge) pulled in by
    ~x11-libs/qt-dbus-4.8.2[aqua=,c++0x=,qpa=,debug=] required by (x11-libs/qt-gui-4.8.2::gentoo, ebuild scheduled for merge)

  (x11-libs/qt-dbus-4.8.2::gentoo, installed) pulled in by
    ~x11-libs/qt-dbus-4.8.2[aqua=,c++0x=,qpa=,debug=] required by (x11-libs/qt-gui-4.8.2::gentoo, installed)

x11-libs/qt-script:4

  (x11-libs/qt-script-4.8.2::gentoo, ebuild scheduled for merge) pulled in by
    ~x11-libs/qt-script-4.8.2[aqua=,c++0x=,qpa=,debug=] required by (x11-libs/qt-gui-4.8.2::gentoo, ebuild scheduled for merge)

  (x11-libs/qt-script-4.8.2::gentoo, installed) pulled in by
    ~x11-libs/qt-script-4.8.2[aqua=,c++0x=,debug=,qpa=] required by (x11-libs/qt-declarative-4.8.2::gentoo, installed)
    ~x11-libs/qt-script-4.8.2[aqua=,c++0x=,qpa=,debug=] required by (x11-libs/qt-gui-4.8.2::gentoo, installed)

****************************************************************************************************************


this probably isn't helpful since i haven't installed the debugging symbols, but the full backtrace shows:

^C
Program received signal SIGINT, Interrupt.
0x00007ffff2a0c834 in __lll_lock_wait () from /lib64/libpthread.so.0
(gdb) thread apply all bt

Thread 14 (Thread 0x7fffa8174700 (LWP 14517)):
#0  0x00007ffff48e0ad3 in poll () from /lib64/libc.so.6
#1  0x00007fffde12b952 in ?? () from /usr/lib64/libasound.so.2
#2  0x00007fffde12f644 in ?? () from /usr/lib64/libasound.so.2
#3  0x00007fffde13ac3b in ?? () from /usr/lib64/libasound.so.2
#4  0x00007fffdd533c03 in ?? () from /usr/lib64/vlc/plugins/audio_output/libalsa_plugin.so
#5  0x00007fffdd9bd5cb in ?? () from /usr/lib64/libvlccore.so.5
#6  0x00007fffdd9bb3d1 in ?? () from /usr/lib64/libvlccore.so.5
#7  0x00007fffdd98f1af in ?? () from /usr/lib64/libvlccore.so.5
#8  0x00007fffdd98fcc7 in ?? () from /usr/lib64/libvlccore.so.5
#9  0x00007fffdd98fe9b in ?? () from /usr/lib64/libvlccore.so.5
#10 0x00007ffff2a05ec6 in start_thread () from /lib64/libpthread.so.0
#11 0x00007ffff48e96ed in clone () from /lib64/libc.so.6

Thread 13 (Thread 0x7fffb5a97700 (LWP 14516)):
#0  0x00007ffff2a0a14e in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fffdd9e1449 in vlc_cond_timedwait () from /usr/lib64/libvlccore.so.5
#2  0x00007fffdd9a0f49 in ?? () from /usr/lib64/libvlccore.so.5
#3  0x00007fffdd9a1a85 in ?? () from /usr/lib64/libvlccore.so.5
#4  0x00007ffff2a05ec6 in start_thread () from /lib64/libpthread.so.0
#5  0x00007ffff48e96ed in clone () from /lib64/libc.so.6

Thread 12 (Thread 0x7fffc2df1700 (LWP 14505)):
#0  0x00007ffff2a09dcc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ffff0d5d242 in ?? () from /usr/lib64/qt4/libQtScript.so.4
#2  0x00007ffff0d5d279 in ?? () from /usr/lib64/qt4/libQtScript.so.4
#3  0x00007ffff2a05ec6 in start_thread () from /lib64/libpthread.so.0
#4  0x00007ffff48e96ed in clone () from /lib64/libc.so.6

Thread 11 (Thread 0x7fffc35f2700 (LWP 14503)):
#0  0x00007ffff48e30e3 in select () from /lib64/libc.so.6
#1  0x00007ffff52279df in ?? () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007ffff514af2b in ?? () from /usr/lib64/qt4/libQtCore.so.4
#3  0x00007ffff2a05ec6 in start_thread () from /lib64/libpthread.so.0
#4  0x00007ffff48e96ed in clone () from /lib64/libc.so.6

Thread 10 (Thread 0x7fffc3fff700 (LWP 14502)):
#0  0x00007ffff48e0ad3 in poll () from /lib64/libc.so.6
#1  0x00007fffef58f5f6 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fffef58f724 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007ffff52785df in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007ffff52483a2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#5  0x00007ffff52485f7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00007ffff5147f27 in QThread::exec() () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007ffff514af2b in ?? () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007ffff2a05ec6 in start_thread () from /lib64/libpthread.so.0
#9  0x00007ffff48e96ed in clone () from /lib64/libc.so.6

Thread 9 (Thread 0x7fffd0d66700 (LWP 14501)):
#0  0x00007ffff2a09dcc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fffebc41c3c in ?? () from /usr/lib64/qt4/libQtWebKit.so.4
#2  0x00007fffebc41d69 in ?? () from /usr/lib64/qt4/libQtWebKit.so.4
#3  0x00007ffff2a05ec6 in start_thread () from /lib64/libpthread.so.0
#4  0x00007ffff48e96ed in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7fffd21e4700 (LWP 14500)):
#0  0x00007ffff2a09dcc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ffff514b42b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007ffff1d36a4b in ?? () from /usr/lib64/libthreadweaver.so.4
#3  0x00007ffff1d392eb in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x00007ffff1d39304 in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x00007ffff1d39304 in ?? () from /usr/lib64/libthreadweaver.so.4
#6  0x00007ffff1d3815f in ?? () from /usr/lib64/libthreadweaver.so.4
#7  0x00007ffff1d381eb in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#8  0x00007ffff514af2b in ?? () from /usr/lib64/qt4/libQtCore.so.4
#9  0x00007ffff2a05ec6 in start_thread () from /lib64/libpthread.so.0
#10 0x00007ffff48e96ed in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7fffd29e5700 (LWP 14499)):
#0  0x00007ffff2a09dcc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ffff514b42b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007ffff1d36a4b in ?? () from /usr/lib64/libthreadweaver.so.4
#3  0x00007ffff1d392eb in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x00007ffff1d3815f in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x00007ffff1d381eb in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#6  0x00007ffff514af2b in ?? () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007ffff2a05ec6 in start_thread () from /lib64/libpthread.so.0
#8  0x00007ffff48e96ed in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7fffd31e6700 (LWP 14498)):
#0  0x00007ffff48dc00d in write () from /lib64/libc.so.6
#1  0x00007fffedfeab5a in ?? () from /usr/lib64/libfam.so.0
#2  0x00007fffedfeac4d in ?? () from /usr/lib64/libfam.so.0
#3  0x00007fffedfeb758 in FAMMonitorDirectory () from /usr/lib64/libfam.so.0
#4  0x00007ffff56c9a17 in ?? () from /usr/lib64/libkdecore.so.5
#5  0x00007ffff56c9da4 in ?? () from /usr/lib64/libkdecore.so.5
#6  0x00007ffff56c7c7b in ?? () from /usr/lib64/libkdecore.so.5
#7  0x00007ffff56c855e in ?? () from /usr/lib64/libkdecore.so.5
#8  0x00007ffff56c855e in ?? () from /usr/lib64/libkdecore.so.5
#9  0x00007ffff56c855e in ?? () from /usr/lib64/libkdecore.so.5
#10 0x00007ffff56c8d3b in KDirWatch::addDir(QString const&, QFlags<KDirWatch::WatchMode>) () from /usr/lib64/libkdecore.so.5
#11 0x00007fffdb4646ed in DirWatchJob::run (this=0x2b52610) at /var/tmp/portage/media-sound/amarok-2.6.0/work/amarok-2.6.0/src/core-impl/collections/db/ScanManager.cpp:384
#12 0x00007ffff1d3896b in ?? () from /usr/lib64/libthreadweaver.so.4
#13 0x00007ffff1d38adc in ThreadWeaver::Job::execute(ThreadWeaver::Thread*) () from /usr/lib64/libthreadweaver.so.4
#14 0x00007ffff1d3812f in ?? () from /usr/lib64/libthreadweaver.so.4
#15 0x00007ffff1d381eb in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#16 0x00007ffff514af2b in ?? () from /usr/lib64/qt4/libQtCore.so.4
#17 0x00007ffff2a05ec6 in start_thread () from /lib64/libpthread.so.0
#18 0x00007ffff48e96ed in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7fffd3fff700 (LWP 14497)):
#0  0x00007ffff2a09dcc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ffff514b42b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007ffff1d36a4b in ?? () from /usr/lib64/libthreadweaver.so.4
#3  0x00007ffff1d392eb in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x00007ffff1d39304 in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x00007ffff1d39304 in ?? () from /usr/lib64/libthreadweaver.so.4
#6  0x00007ffff1d3815f in ?? () from /usr/lib64/libthreadweaver.so.4
#7  0x00007ffff1d381eb in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#8  0x00007ffff514af2b in ?? () from /usr/lib64/qt4/libQtCore.so.4
#9  0x00007ffff2a05ec6 in start_thread () from /lib64/libpthread.so.0
#10 0x00007ffff48e96ed in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7fffda545700 (LWP 14496)):
#0  0x00007ffff48e0ad3 in poll () from /lib64/libc.so.6
#1  0x00007fffef58f5f6 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fffef58f724 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007ffff5278646 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007ffff52483a2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#5  0x00007ffff52485f7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00007ffff5147f27 in QThread::exec() () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007ffff522835f in ?? () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007ffff514af2b in ?? () from /usr/lib64/qt4/libQtCore.so.4
#9  0x00007ffff2a05ec6 in start_thread () from /lib64/libpthread.so.0
#10 0x00007ffff48e96ed in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fffdc68c700 (LWP 14494)):
#0  0x00007ffff2a09dcc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fffdd97f7ed in ?? () from /usr/lib64/libvlccore.so.5
#2  0x00007ffff2a05ec6 in start_thread () from /lib64/libpthread.so.0
#3  0x00007ffff48e96ed in clone () from /lib64/libc.so.6
#0  0x00007ffff2a0c834 in __lll_lock_wait () from /lib64/libpthread.so.0
#1  0x00007ffff2a08140 in _L_lock_533 () from /lib64/libpthread.so.0
#2  0x00007ffff2a07fd9 in pthread_mutex_lock () from /lib64/libpthread.so.0
#3  0x00007fffedfebbe3 in FAMPending () from /usr/lib64/libfam.so.0
#4  0x00007ffff56c9e00 in ?? () from /usr/lib64/libkdecore.so.5
#5  0x00007ffff525d509 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00007ffff52aa2ee in QSocketNotifier::activated(int) () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007ffff526680b in QSocketNotifier::event(QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007ffff5c69c14 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#9  0x00007ffff5c6e931 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#10 0x00007ffff79a0726 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#11 0x00007ffff524984c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#12 0x00007ffff5277c55 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#13 0x00007fffef58f313 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#14 0x00007fffef58f660 in ?? () from /usr/lib64/libglib-2.0.so.0
#15 0x00007fffef58f724 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#16 0x00007ffff52785df in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#17 0x00007ffff5d0ccae in ?? () from /usr/lib64/qt4/libQtGui.so.4
#18 0x00007ffff52483a2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#19 0x00007ffff52485f7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#20 0x00007ffff524d3c5 in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
#21 0x000000000040bd78 in main (argc=<optimized out>, argv=<optimized out>) at /var/tmp/portage/media-sound/amarok-2.6.0/work/amarok-2.6.0/src/main.cpp:306
Comment 7 eArquilla 2012-11-13 17:54:48 UTC
^I didn't paste the backtrace correctly.

^C
Program received signal SIGINT, Interrupt.
0x00007ffff2a0c834 in __lll_lock_wait () from /lib64/libpthread.so.0
(gdb) thread apply all bt

Thread 14 (Thread 0x7fffa8174700 (LWP 14517)):
#0  0x00007ffff48e0ad3 in poll () from /lib64/libc.so.6
#1  0x00007fffde12b952 in ?? () from /usr/lib64/libasound.so.2
#2  0x00007fffde12f644 in ?? () from /usr/lib64/libasound.so.2
#3  0x00007fffde13ac3b in ?? () from /usr/lib64/libasound.so.2
#4  0x00007fffdd533c03 in ?? () from /usr/lib64/vlc/plugins/audio_output/libalsa_plugin.so
#5  0x00007fffdd9bd5cb in ?? () from /usr/lib64/libvlccore.so.5
#6  0x00007fffdd9bb3d1 in ?? () from /usr/lib64/libvlccore.so.5
#7  0x00007fffdd98f1af in ?? () from /usr/lib64/libvlccore.so.5
#8  0x00007fffdd98fcc7 in ?? () from /usr/lib64/libvlccore.so.5
#9  0x00007fffdd98fe9b in ?? () from /usr/lib64/libvlccore.so.5
#10 0x00007ffff2a05ec6 in start_thread () from /lib64/libpthread.so.0
#11 0x00007ffff48e96ed in clone () from /lib64/libc.so.6

Thread 13 (Thread 0x7fffb5a97700 (LWP 14516)):
#0  0x00007ffff2a0a14e in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fffdd9e1449 in vlc_cond_timedwait () from /usr/lib64/libvlccore.so.5
#2  0x00007fffdd9a0f49 in ?? () from /usr/lib64/libvlccore.so.5
#3  0x00007fffdd9a1a85 in ?? () from /usr/lib64/libvlccore.so.5
#4  0x00007ffff2a05ec6 in start_thread () from /lib64/libpthread.so.0
#5  0x00007ffff48e96ed in clone () from /lib64/libc.so.6

Thread 12 (Thread 0x7fffc2df1700 (LWP 14505)):
#0  0x00007ffff2a09dcc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ffff0d5d242 in ?? () from /usr/lib64/qt4/libQtScript.so.4
#2  0x00007ffff0d5d279 in ?? () from /usr/lib64/qt4/libQtScript.so.4
#3  0x00007ffff2a05ec6 in start_thread () from /lib64/libpthread.so.0
#4  0x00007ffff48e96ed in clone () from /lib64/libc.so.6

Thread 11 (Thread 0x7fffc35f2700 (LWP 14503)):
#0  0x00007ffff48e30e3 in select () from /lib64/libc.so.6
#1  0x00007ffff52279df in ?? () from /usr/lib64/qt4/libQtCore.so.4
---Type <return> to continue, or q <return> to quit---
#2  0x00007ffff514af2b in ?? () from /usr/lib64/qt4/libQtCore.so.4
#3  0x00007ffff2a05ec6 in start_thread () from /lib64/libpthread.so.0
#4  0x00007ffff48e96ed in clone () from /lib64/libc.so.6

Thread 10 (Thread 0x7fffc3fff700 (LWP 14502)):
#0  0x00007ffff48e0ad3 in poll () from /lib64/libc.so.6
#1  0x00007fffef58f5f6 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fffef58f724 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007ffff52785df in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007ffff52483a2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#5  0x00007ffff52485f7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00007ffff5147f27 in QThread::exec() () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007ffff514af2b in ?? () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007ffff2a05ec6 in start_thread () from /lib64/libpthread.so.0
#9  0x00007ffff48e96ed in clone () from /lib64/libc.so.6

Thread 9 (Thread 0x7fffd0d66700 (LWP 14501)):
#0  0x00007ffff2a09dcc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fffebc41c3c in ?? () from /usr/lib64/qt4/libQtWebKit.so.4
#2  0x00007fffebc41d69 in ?? () from /usr/lib64/qt4/libQtWebKit.so.4
#3  0x00007ffff2a05ec6 in start_thread () from /lib64/libpthread.so.0
#4  0x00007ffff48e96ed in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7fffd21e4700 (LWP 14500)):
#0  0x00007ffff2a09dcc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ffff514b42b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007ffff1d36a4b in ?? () from /usr/lib64/libthreadweaver.so.4
#3  0x00007ffff1d392eb in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x00007ffff1d39304 in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x00007ffff1d39304 in ?? () from /usr/lib64/libthreadweaver.so.4
#6  0x00007ffff1d3815f in ?? () from /usr/lib64/libthreadweaver.so.4
#7  0x00007ffff1d381eb in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#8  0x00007ffff514af2b in ?? () from /usr/lib64/qt4/libQtCore.so.4
---Type <return> to continue, or q <return> to quit---  
#9  0x00007ffff2a05ec6 in start_thread () from /lib64/libpthread.so.0
#10 0x00007ffff48e96ed in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7fffd29e5700 (LWP 14499)):
#0  0x00007ffff2a09dcc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ffff514b42b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007ffff1d36a4b in ?? () from /usr/lib64/libthreadweaver.so.4
#3  0x00007ffff1d392eb in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x00007ffff1d3815f in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x00007ffff1d381eb in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#6  0x00007ffff514af2b in ?? () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007ffff2a05ec6 in start_thread () from /lib64/libpthread.so.0
#8  0x00007ffff48e96ed in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7fffd31e6700 (LWP 14498)):
#0  0x00007ffff48dc00d in write () from /lib64/libc.so.6
#1  0x00007fffedfeab5a in ?? () from /usr/lib64/libfam.so.0
#2  0x00007fffedfeac4d in ?? () from /usr/lib64/libfam.so.0
#3  0x00007fffedfeb758 in FAMMonitorDirectory () from /usr/lib64/libfam.so.0
#4  0x00007ffff56c9a17 in ?? () from /usr/lib64/libkdecore.so.5
#5  0x00007ffff56c9da4 in ?? () from /usr/lib64/libkdecore.so.5
#6  0x00007ffff56c7c7b in ?? () from /usr/lib64/libkdecore.so.5
#7  0x00007ffff56c855e in ?? () from /usr/lib64/libkdecore.so.5
#8  0x00007ffff56c855e in ?? () from /usr/lib64/libkdecore.so.5
#9  0x00007ffff56c855e in ?? () from /usr/lib64/libkdecore.so.5
#10 0x00007ffff56c8d3b in KDirWatch::addDir(QString const&, QFlags<KDirWatch::WatchMode>) () from /usr/lib64/libkdecore.so.5
#11 0x00007fffdb4646ed in DirWatchJob::run (this=0x2b52610) at /var/tmp/portage/media-sound/amarok-2.6.0/work/amarok-2.6.0/src/core-impl/collections/db/ScanManager.cpp:384
#12 0x00007ffff1d3896b in ?? () from /usr/lib64/libthreadweaver.so.4
#13 0x00007ffff1d38adc in ThreadWeaver::Job::execute(ThreadWeaver::Thread*) () from /usr/lib64/libthreadweaver.so.4
#14 0x00007ffff1d3812f in ?? () from /usr/lib64/libthreadweaver.so.4
#15 0x00007ffff1d381eb in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#16 0x00007ffff514af2b in ?? () from /usr/lib64/qt4/libQtCore.so.4
#17 0x00007ffff2a05ec6 in start_thread () from /lib64/libpthread.so.0
---Type <return> to continue, or q <return> to quit---
#18 0x00007ffff48e96ed in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7fffd3fff700 (LWP 14497)):
#0  0x00007ffff2a09dcc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ffff514b42b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007ffff1d36a4b in ?? () from /usr/lib64/libthreadweaver.so.4
#3  0x00007ffff1d392eb in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x00007ffff1d39304 in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x00007ffff1d39304 in ?? () from /usr/lib64/libthreadweaver.so.4
#6  0x00007ffff1d3815f in ?? () from /usr/lib64/libthreadweaver.so.4
#7  0x00007ffff1d381eb in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#8  0x00007ffff514af2b in ?? () from /usr/lib64/qt4/libQtCore.so.4
#9  0x00007ffff2a05ec6 in start_thread () from /lib64/libpthread.so.0
#10 0x00007ffff48e96ed in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7fffda545700 (LWP 14496)):
#0  0x00007ffff48e0ad3 in poll () from /lib64/libc.so.6
#1  0x00007fffef58f5f6 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fffef58f724 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007ffff5278646 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007ffff52483a2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#5  0x00007ffff52485f7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00007ffff5147f27 in QThread::exec() () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007ffff522835f in ?? () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007ffff514af2b in ?? () from /usr/lib64/qt4/libQtCore.so.4
#9  0x00007ffff2a05ec6 in start_thread () from /lib64/libpthread.so.0
#10 0x00007ffff48e96ed in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fffdc68c700 (LWP 14494)):
#0  0x00007ffff2a09dcc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fffdd97f7ed in ?? () from /usr/lib64/libvlccore.so.5
#2  0x00007ffff2a05ec6 in start_thread () from /lib64/libpthread.so.0
#3  0x00007ffff48e96ed in clone () from /lib64/libc.so.6
---Type <return> to continue, or q <return> to quit---

Thread 1 (Thread 0x7fffe22f67c0 (LWP 14491)):
#0  0x00007ffff2a0c834 in __lll_lock_wait () from /lib64/libpthread.so.0
#1  0x00007ffff2a08140 in _L_lock_533 () from /lib64/libpthread.so.0
#2  0x00007ffff2a07fd9 in pthread_mutex_lock () from /lib64/libpthread.so.0
#3  0x00007fffedfebbe3 in FAMPending () from /usr/lib64/libfam.so.0
#4  0x00007ffff56c9e00 in ?? () from /usr/lib64/libkdecore.so.5
#5  0x00007ffff525d509 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00007ffff52aa2ee in QSocketNotifier::activated(int) () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007ffff526680b in QSocketNotifier::event(QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007ffff5c69c14 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#9  0x00007ffff5c6e931 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#10 0x00007ffff79a0726 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#11 0x00007ffff524984c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#12 0x00007ffff5277c55 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#13 0x00007fffef58f313 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#14 0x00007fffef58f660 in ?? () from /usr/lib64/libglib-2.0.so.0
#15 0x00007fffef58f724 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#16 0x00007ffff52785df in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#17 0x00007ffff5d0ccae in ?? () from /usr/lib64/qt4/libQtGui.so.4
#18 0x00007ffff52483a2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#19 0x00007ffff52485f7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#20 0x00007ffff524d3c5 in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
#21 0x000000000040bd78 in main (argc=<optimized out>, argv=<optimized out>) at /var/tmp/portage/media-sound/amarok-2.6.0/work/amarok-2.6.0/src/main.cpp:306
Comment 8 Myriam Schweingruber 2012-11-13 18:27:43 UTC
That does still not look like an Amarok problem, more like a Qt or KDE one. But you should make sure your installation has no packaging conflicts, especially the kdelibs and qtlibs should be up-to-date, else running Amarok properly might be a problem.
Comment 9 eArquilla 2012-11-13 18:43:50 UTC
Everything should be up to date. I'm running KDE 4.9.3 as well as Amarok 2.6.0. Both of these are "unstable" according to Gentoo- not sure how much more up to date I can get. I regularly update my entire system.

I don't know why it took me so long to think of this- since I realized Amarok freezes right after it says "Scanning music", I simply unchecked "Watch folders for changes" in Settings->Configure amarok. 

It's actually working now! I got through an entire song and it moved to the next song for the first time.
Comment 10 eArquilla 2012-11-13 19:04:54 UTC
Everything is working great now. If the issue pops up again I will update. 

Any ideas what could be causing this? Why would "Watch folders for changes" cause amarok to hang, while manually updating the collection does not?
Comment 11 Myriam Schweingruber 2012-11-13 20:44:32 UTC
Thank you for the feedback. This makes sense, as monitoring network shares for folder changes is not a good idea.
Comment 12 Rex Dieter 2012-11-14 18:54:04 UTC
you may be seeing a gamin deadlock:
https://bugzilla.gnome.org/show_bug.cgi?id=669292
Comment 13 Myriam Schweingruber 2012-11-15 12:52:04 UTC
Similar to bug 281312
Comment 14 Rex Dieter 2012-11-15 13:35:22 UTC
yep, that's the one (I couldn't find).  thanks.