Bug 324197 - Amarok UI freezes on startup or while playing when a USB drive containing non-music files is mounted
Summary: Amarok UI freezes on startup or while playing when a USB drive containing non...
Status: RESOLVED DUPLICATE of bug 281312
Alias: None
Product: amarok
Classification: Applications
Component: Collections/USB mass storage and MSC (show other bugs)
Version: 2.8.0
Platform: Kubuntu Linux
: NOR crash
Target Milestone: 2.9
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-29 00:36 UTC by Pierre Maraval
Modified: 2016-06-27 08:00 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Debug messagens in the Console (88.22 KB, text/plain)
2016-06-27 00:18 UTC, João Paulo Limberger
Details
BackTrace (36.59 KB, text/plain)
2016-06-27 00:19 UTC, João Paulo Limberger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pierre Maraval 2013-08-29 00:36:10 UTC
Amarok UI freezes on startup or while playing when a NTFS USB drive containing non-music files is mounted. 

The UI freezes and the playing stops a bit later. It freezes, sometimes for several minutes. amarok and amarok collection scanner seem to be active in "System activity".

The problem seems to be heavier since I enabled the Nepomuk collection, and the indexing on the device. The device and its music collection are both very large (2TB disk, 15GB collection). The problem became worse after the whole device was (accidentally, it seems, maybe i'll file another bug if i can reproduce it) set for automatic scanning.

The console output while frozen is a continuous flow of messages similar to this one ( [text between brackets like this is a comment from me]    ):

FileTypeResolver: file /media/[path to my ntfs disk and some existing directory] (mimetype application/x-shockwave-flash[or other non musical content]) not recognized as Amarok-compatible 
void CollectionScanner::ScanningState::setLastFile(const QString&) QSharedMemory is too small to hold the data. 
It is of size 1048576 bytes but we need more than 1674544 bytes. 

Unplugging or unmounting the device generally (but not always) makes amarok return to normal faster.


Reproducible: Sometimes

Steps to Reproduce:
1.Start Amarok
2. Mount (large) USB HDD with non musical content
3. Try using amarok normally or enable the device for automatic use in the mobile device collection configuration (Media Panel).

1 and 2 are can be interchanged.
Actual Results:  
Amarok freezes while the console output while frozen is a continuous flow of messages similar to this one ( [text between brackets like this is a comment from me]    ):

FileTypeResolver: file /media/[path to my ntfs disk and some existing directory] (mimetype application/x-shockwave-flash[or other non musical content]) not recognized as Amarok-compatible 
void CollectionScanner::ScanningState::setLastFile(const QString&) QSharedMemory is too small to hold the data. 
It is of size 1048576 bytes but we need more than 1674544 bytes. 


Expected Results:  
The software should have continued working while scanning in the background.

Kubuntu 12.04 64bits, KDE 4.11, Amarok 2.8
Comment 1 Frank Krömmelbein 2013-11-17 13:38:52 UTC
Same flood of messages here with Amarok 2.8 on my Gentoo PC.
Portage 2.2.7 (default/linux/amd64/13.0/desktop/kde, gcc-4.7.3, glibc-2.15-r3, 3.12.0-gentoo x86_64)

void CollectionScanner::ScanningState::setLastFile(const QString&) QSharedMemory is too small to hold the data. 
It is of size 1048576 bytes but we need more than 2188688 bytes. 
FileTypeResolver: file /media/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/
bootleg.nfo (mimetype text/x-nfo) not recognized as Amarok-compatible 
void CollectionScanner::ScanningState::writeFull() QSharedMemory is too small to hold the data. 
It is of size 1048576 bytes but we need more than 2188756 bytes. 
void CollectionScanner::ScanningState::setLastFile(const QString&) QSharedMemory is too small to hold the data. 
It is of size 1048576 bytes but we need more than 2188594 bytes. 
void CollectionScanner::ScanningState::writeFull() QSharedMemory is too small to hold the data.
Comment 2 Frank Krömmelbein 2013-11-17 13:46:20 UTC
Sorry forget to mention, that amarok than dies on my system.
There is no entry why it died in the system logs, also no other output on the console only the messages from obove :-(
Comment 3 Myriam Schweingruber 2013-11-17 14:38:54 UTC
First of all: why would you mount a hard drive without music as a media device? Sorry, but I really don't see the use case for that. That feature is meant for Media Devices containing music, not the average hard disk.

Frank: if you don't know why it crashes, then please run it in gdb with these options:

gdb amarok
run -d --nofork
when it crashes, type:

thread apply all backtrace
Comment 4 Myriam Schweingruber 2013-11-17 14:45:10 UTC
Frank: also BTW: your disk is full, you should make space so it can write... most likely not the same issue anyway.
Comment 5 Frank Krömmelbein 2013-11-17 15:51:20 UTC
Sorry, i think i was to rush to use this bug instead of creating a new one.
My main problem was as follows:

the first time that i have used amarok at all
my huge amount of audio files are stored on an encrypted NTFS partition
amarok first died during "read in" of my audio files 

google found this bug, which i first tought was a good idea to use ;-)

i have played with the settings and disabled all unnecessary modules.
Also changed the database to use mariadb.
Now the "read in" of my audio files gone through. Endlich ;-)
So one step further i have a working collection.

But amarok still crashed 2 times after using the software for some minutes.

Now amarok runs from the debugger, but not crashed until now :-(
I report back when a crash occured, with the debug infos.
Should i create a new bug, or create a new one then?

Thanks very much @Myriam
Vielen Dank Myriam
Comment 6 Frank Krömmelbein 2013-11-17 15:52:44 UTC
(In reply to comment #4)
> Frank: also BTW: your disk is full, you should make space so it can write...
> most likely not the same issue anyway.

On all partitions there is enough free disc space.
Comment 7 Myriam Schweingruber 2013-11-17 18:19:48 UTC
Apparently it thought the disk was full when it tried to write the database, but could have been due to the encrypted partition?

In any case: please file a new bug, as this is not related at all. If it crashes I would really need a backtrace, then.
Comment 8 Myriam Schweingruber 2015-04-18 15:51:41 UTC
Hm, apparently we never got a backtrace for this one...
Comment 9 Myriam Schweingruber 2015-08-05 22:01:29 UTC
Closing for lack of information, please feel free to reopen if you can provide a recent backtrace.
Comment 10 João Paulo Limberger 2016-06-25 13:20:05 UTC
Hi, i have some issue...
When i try to run Amarok with my collection, amarok freeze... When i run collectionscanner in bash the process work ok.

Fedora 23

Diags of Amarok

Versão do Amarok: 2.8.0
Versão do KDE: 4.14.20
Versão do Qt: 4.8.7
Versão do Phonon: 4.9.0
Infraestrutura do Phonon: GStreamer (4.9.0)
PulseAudio: Sim

Scripts do Amarok:
Amarok Script Console 1.0 (parado)
Lyricwiki .2 (em execução)
Free Music Charts 1.6.0 (em execução)
Librivox.org 1.0 (em execução)
Cool Streams 1.0 (em execução)

Plugins do Amarok:
AudioCd Collection (habilitado)
DAAP Collection (desabilitado)
MTP Collection (habilitado)
MySQLServer Collection (habilitado)
MySQLe Collection (habilitado)
UPnP Collection (desabilitado)
Universal Mass Storage Collection (habilitado)
iPod, iPad & iPhone Collection (habilitado)
Ampache (desabilitado)
Jamendo (desabilitado)
Last.fm (habilitado)
MP3 Music Store (desabilitado)
MP3tunes (desabilitado)
Magnatune Store (desabilitado)
Podcast Directory (habilitado)
gpodder.net (desabilitado)

------------------------------------------------------

gdb amarok 
run -d --nofork when it crashes, type: thread apply all backtrace

-- FINAL DEBUG MESSAGEs --
amarok: END__: int ScriptableServiceScript::donePopulating() const [Took: 0s] 
amarok: BEGIN: LongMessageWidget::LongMessageWidget(QWidget*, const QString&, Amarok::Logger::MessageType) 
amarok: END__: LongMessageWidget::LongMessageWidget(QWidget*, const QString&, Amarok::Logger::MessageType) [Took: 0.011s] 
amarok: BEGIN: void LastFmService::onAvatarDownloaded(const QString&, QPixmap) 
amarok: END__: void LastFmService::onAvatarDownloaded(const QString&, QPixmap) [Took: 0s] 
amarok: [LastFmService] profile info  "Brazil"   "0"   "n"   "111933"   false 
amarok: [LastFmService] profile avatar:  "http://img2-ak.lst.fm/i/u/34s/5c0ae06ada984600c65ae696ecefd50c.png" 
Calling appendChild() on a null node does nothing.
amarok: BEGIN: LongMessageWidget::LongMessageWidget(QWidget*, const QString&, Amarok::Logger::MessageType) 
amarok: END__: LongMessageWidget::LongMessageWidget(QWidget*, const QString&, Amarok::Logger::MessageType) [Took: 0.003s] 
amarok: BEGIN: LongMessageWidget::LongMessageWidget(QWidget*, const QString&, Amarok::Logger::MessageType) 
amarok: END__: LongMessageWidget::LongMessageWidget(QWidget*, const QString&, Amarok::Logger::MessageType) [Took: 0.002s] 
amarok: BEGIN: void LastFmService::onAvatarDownloaded(const QString&, QPixmap) 
amarok: END__: void LastFmService::onAvatarDownloaded(const QString&, QPixmap) [Took: 0s] 
amarok: BEGIN: LongMessageWidget::LongMessageWidget(QWidget*, const QString&, Amarok::Logger::MessageType) 
amarok: END__: LongMessageWidget::LongMessageWidget(QWidget*, const QString&, Amarok::Logger::MessageType) [Took: 0.002s] 
amarok: BEGIN: void BrowserCategoryList::home() 
amarok: END__: void BrowserCategoryList::home() [Took: 0s] 
Calling appendChild() on a null node does nothing.
amarok: BEGIN: LongMessageWidget::LongMessageWidget(QWidget*, const QString&, Amarok::Logger::MessageType) 
amarok: END__: LongMessageWidget::LongMessageWidget(QWidget*, const QString&, Amarok::Logger::MessageType) [Took: 0.019s] 
amarok: BEGIN: void BrowserCategoryList::home() 
amarok: END__: void BrowserCategoryList::home() [Took: 0s] 
Calling appendChild() on a null node does nothing.
Calling appendChild() on a null node does nothing.
Calling appendChild() on a null node does nothing.
Calling appendChild() on a null node does nothing.
Calling appendChild() on a null node does nothing.

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length1=-1" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length2=-1" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length3=-1" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length4=-1" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length5=-1" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length6=-1" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length7=-1" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length1=-1" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length2=-1" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length3=-1" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length4=-1" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length5=-1" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length6=-1" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length7=-1" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length1=-1" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length2=-1" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length3=-1" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length4=-1" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length5=-1" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length6=-1" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length7=-1" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length1=-1" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length2=-1" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length3=-1" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length4=-1" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length5=-1" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length6=-1" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length7=-1" " 

amarok: [WARNING] .pls playlist: Invalid "NumberOfEntries" value.   NumberOfEntries= 0   counted= 2 

amarok: [WARNING] .pls playlist: Unrecognized line: " "numberofentries=2" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length1=-1" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length2=-1" " 

amarok: [WARNING] .pls playlist: Invalid "NumberOfEntries" value.   NumberOfEntries= 0   counted= 2 

amarok: [WARNING] .pls playlist: Unrecognized line: " "numberofentries=2" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length1=-1" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length2=-1" " 

amarok: [WARNING] .pls playlist: Invalid "NumberOfEntries" value.   NumberOfEntries= 0   counted= 2 

amarok: [WARNING] .pls playlist: Unrecognized line: " "numberofentries=2" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length1=-1" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length2=-1" " 

amarok: [WARNING] .pls playlist: Invalid "NumberOfEntries" value.   NumberOfEntries= 0   counted= 2 

amarok: [WARNING] .pls playlist: Unrecognized line: " "numberofentries=2" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length1=-1" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length2=-1" " 

amarok: [WARNING] .pls playlist: Invalid "NumberOfEntries" value.   NumberOfEntries= 0   counted= 2 

amarok: [WARNING] .pls playlist: Unrecognized line: " "numberofentries=2" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length1=-1" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length2=-1" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length1=-1" " 
---------------------------------------------------------------------------------------------------------------------
The program freezes then i kill Amarok ...

Program received signal SIGTERM, Terminated.
0x00007ffff36418ad in __lll_lock_wait () from /lib64/libpthread.so.0
(gdb) 

Calling appendChild() on a null node does nothing.
amarok: BEGIN: LongMessageWidget::LongMessageWidget(QWidget*, const QString&, Amarok::Logger::MessageType) 
amarok: END__: LongMessageWidget::LongMessageWidget(QWidget*, const QString&, Amarok::Logger::MessageType) [Took: 0.019s] 
amarok: BEGIN: void BrowserCategoryList::home() 
amarok: END__: void BrowserCategoryList::home() [Took: 0s] 
Calling appendChild() on a null node does nothing.
Calling appendChild() on a null node does nothing.
Calling appendChild() on a null node does nothing.
Calling appendChild() on a null node does nothing.
Calling appendChild() on a null node does nothing.
amarok: [WARNING] .pls playlist: Unrecognized line: " "Length1=-1" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length2=-1" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length3=-1" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length4=-1" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length5=-1" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length6=-1" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length7=-1" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length1=-1" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length2=-1" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length3=-1" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length4=-1" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length5=-1" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length6=-1" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length7=-1" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length1=-1" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length2=-1" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length3=-1" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length4=-1" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length5=-1" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length6=-1" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length7=-1" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length1=-1" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length2=-1" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length3=-1" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length4=-1" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length5=-1" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length6=-1" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length7=-1" " 

amarok: [WARNING] .pls playlist: Invalid "NumberOfEntries" value.   NumberOfEntries= 0   counted= 2 

amarok: [WARNING] .pls playlist: Unrecognized line: " "numberofentries=2" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length1=-1" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length2=-1" " 

amarok: [WARNING] .pls playlist: Invalid "NumberOfEntries" value.   NumberOfEntries= 0   counted= 2 

amarok: [WARNING] .pls playlist: Unrecognized line: " "numberofentries=2" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length1=-1" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length2=-1" " 

amarok: [WARNING] .pls playlist: Invalid "NumberOfEntries" value.   NumberOfEntries= 0   counted= 2 

amarok: [WARNING] .pls playlist: Unrecognized line: " "numberofentries=2" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length1=-1" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length2=-1" " 

amarok: [WARNING] .pls playlist: Invalid "NumberOfEntries" value.   NumberOfEntries= 0   counted= 2 

amarok: [WARNING] .pls playlist: Unrecognized line: " "numberofentries=2" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length1=-1" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length2=-1" " 

amarok: [WARNING] .pls playlist: Invalid "NumberOfEntries" value.   NumberOfEntries= 0   counted= 2 

amarok: [WARNING] .pls playlist: Unrecognized line: " "numberofentries=2" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length1=-1" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length2=-1" " 

amarok: [WARNING] .pls playlist: Unrecognized line: " "Length1=-1" " 


Program received signal SIGTERM, Terminated.
0x00007ffff36418ad in __lll_lock_wait () from /lib64/libpthread.so.0
(gdb) 
(gdb) thread apply all backtrace

Thread 21 (Thread 0x7fff78ad8700 (LWP 22372)):
#0  0x00007ffff4ac9b1d in poll () at /lib64/libc.so.6
#1  0x00007fffee6d618c in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#2  0x00007fffee6d629c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#3  0x00007fffee6d62d9 in glib_worker_main () at /lib64/libglib-2.0.so.0
#4  0x00007fffee6fc8e5 in g_thread_proxy () at /lib64/libglib-2.0.so.0
#5  0x00007ffff363961a in start_thread () at /lib64/libpthread.so.0
#6  0x00007ffff4ad559d in clone () at /lib64/libc.so.6

Thread 17 (Thread 0x7fff3145d700 (LWP 22352)):
#0  0x00007ffff363eb20 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007ffff3c3273a in QTWTF::TCMalloc_PageHeap::scavengerThread() () at /lib64/libQtScript.so.4
#2  0x00007ffff3c32769 in  () at /lib64/libQtScript.so.4
#3  0x00007ffff363961a in start_thread () at /lib64/libpthread.so.0
#4  0x00007ffff4ad559d in clone () at /lib64/libc.so.6

Thread 16 (Thread 0x7fff32300700 (LWP 22351)):
#0  0x00007ffff4ac9b1d in poll () at /lib64/libc.so.6
#1  0x00007fffee6d618c in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#2  0x00007fffee6d629c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#3  0x00007ffff52e1e7e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#4  0x00007ffff52b0131 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#5  0x00007ffff52b04a5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#6  0x00007ffff519fa99 in QThread::exec() () at /lib64/libQtCore.so.4
#7  0x00007ffff51a238c in QThreadPrivate::start(void*) () at /lib64/libQtCore.so.4
#8  0x00007ffff363961a in start_thread () at /lib64/libpthread.so.0
#9  0x00007ffff4ad559d in clone () at /lib64/libc.so.6

Thread 15 (Thread 0x7fff32b61700 (LWP 22349)):
#0  0x00007ffff4ac9b1d in poll () at /lib64/libc.so.6
#1  0x00007ffff52deb48 in qt_safe_poll(pollfd*, int, int, bool) () at /lib64/libQtCore.so.4
#2  0x00007ffff528c608 in QProcessManager::run() () at /lib64/libQtCore.so.4
#3  0x00007ffff51a238c in QThreadPrivate::start(void*) () at /lib64/libQtCore.so.4
#4  0x00007ffff363961a in start_thread () at /lib64/libpthread.so.0
#5  0x00007ffff4ad559d in clone () at /lib64/libc.so.6
---Type <return> to continue, or q <return> to quit---

Thread 14 (Thread 0x7fff9cc3f700 (LWP 22348)):
#0  0x00007ffff363eb20 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007ffff51a28f6 in QWaitCondition::wait(QMutex*, unsigned long) () at /lib64/libQtCore.so.4
#2  0x00007ffff266c6ec in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned(ThreadWeaver::Thread*) () at /lib64/libthreadweaver.so.4
#3  0x00007ffff266f3f3 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () at /lib64/libthreadweaver.so.4
#4  0x00007ffff266df4f in ThreadWeaver::Thread::run() () at /lib64/libthreadweaver.so.4
#5  0x00007ffff51a238c in QThreadPrivate::start(void*) () at /lib64/libQtCore.so.4
#6  0x00007ffff363961a in start_thread () at /lib64/libpthread.so.0
#7  0x00007ffff4ad559d in clone () at /lib64/libc.so.6

Thread 13 (Thread 0x7fff9d440700 (LWP 22347)):
#0  0x00007ffff363eb20 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007ffff51a28f6 in QWaitCondition::wait(QMutex*, unsigned long) () at /lib64/libQtCore.so.4
#2  0x00007ffff266c6ec in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned(ThreadWeaver::Thread*) () at /lib64/libthreadweaver.so.4
#3  0x00007ffff266f3f3 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () at /lib64/libthreadweaver.so.4
#4  0x00007ffff266df4f in ThreadWeaver::Thread::run() () at /lib64/libthreadweaver.so.4
#5  0x00007ffff51a238c in QThreadPrivate::start(void*) () at /lib64/libQtCore.so.4
#6  0x00007ffff363961a in start_thread () at /lib64/libpthread.so.0
#7  0x00007ffff4ad559d in clone () at /lib64/libc.so.6

Thread 12 (Thread 0x7fff9dc41700 (LWP 22346)):
#0  0x00007ffff363eb20 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007ffff51a28f6 in QWaitCondition::wait(QMutex*, unsigned long) () at /lib64/libQtCore.so.4
#2  0x00007ffff266c6ec in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned(ThreadWeaver::Thread*) () at /lib64/libthreadweaver.so.4
#3  0x00007ffff266f3f3 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () at /lib64/libthreadweaver.so.4
#4  0x00007ffff266df4f in ThreadWeaver::Thread::run() () at /lib64/libthreadweaver.so.4
#5  0x00007ffff51a238c in QThreadPrivate::start(void*) () at /lib64/libQtCore.so.4
#6  0x00007ffff363961a in start_thread () at /lib64/libpthread.so.0
#7  0x00007ffff4ad559d in clone () at /lib64/libc.so.6

Thread 11 (Thread 0x7fff9e442700 (LWP 22345)):
#0  0x00007ffff363eb20 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007ffff51a28f6 in QWaitCondition::wait(QMutex*, unsigned long) () at /lib64/libQtCore.so.4
#2  0x00007ffff266c6ec in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned(ThreadWeaver::Thread*) () at /lib64/libthreadweaver.so.4
#3  0x00007ffff266f3f3 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () at /lib64/libthreadweaver.so.4
---Type <return> to continue, or q <return> to quit---
#4  0x00007ffff266df4f in ThreadWeaver::Thread::run() () at /lib64/libthreadweaver.so.4
#5  0x00007ffff51a238c in QThreadPrivate::start(void*) () at /lib64/libQtCore.so.4
#6  0x00007ffff363961a in start_thread () at /lib64/libpthread.so.0
#7  0x00007ffff4ad559d in clone () at /lib64/libc.so.6

Thread 10 (Thread 0x7fff9ec43700 (LWP 22344)):
#0  0x00007ffff363eb20 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007ffff51a28f6 in QWaitCondition::wait(QMutex*, unsigned long) () at /lib64/libQtCore.so.4
#2  0x00007ffff519e603 in QSemaphore::acquire(int) () at /lib64/libQtCore.so.4
#3  0x00007ffff77fbbb0 in Playlists::PlaylistFileLoaderJob::run() () at /lib64/libamaroklib.so.1
#4  0x00007ffff266e712 in ThreadWeaver::JobRunHelper::runTheJob(ThreadWeaver::Thread*, ThreadWeaver::Job*) () at /lib64/libthreadweaver.so.4
#5  0x00007ffff266e91e in ThreadWeaver::Job::execute(ThreadWeaver::Thread*) () at /lib64/libthreadweaver.so.4
#6  0x00007ffff266dfeb in ThreadWeaver::Thread::run() () at /lib64/libthreadweaver.so.4
#7  0x00007ffff51a238c in QThreadPrivate::start(void*) () at /lib64/libQtCore.so.4
#8  0x00007ffff363961a in start_thread () at /lib64/libpthread.so.0
#9  0x00007ffff4ad559d in clone () at /lib64/libc.so.6

Thread 9 (Thread 0x7fff9f444700 (LWP 22343)):
#0  0x00007ffff363eb20 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007ffff51a28f6 in QWaitCondition::wait(QMutex*, unsigned long) () at /lib64/libQtCore.so.4
#2  0x00007ffff266c6ec in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned(ThreadWeaver::Thread*) () at /lib64/libthreadweaver.so.4
#3  0x00007ffff266f3f3 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () at /lib64/libthreadweaver.so.4
#4  0x00007ffff266df4f in ThreadWeaver::Thread::run() () at /lib64/libthreadweaver.so.4
#5  0x00007ffff51a238c in QThreadPrivate::start(void*) () at /lib64/libQtCore.so.4
#6  0x00007ffff363961a in start_thread () at /lib64/libpthread.so.0
#7  0x00007ffff4ad559d in clone () at /lib64/libc.so.6

Thread 8 (Thread 0x7fff9fdf3700 (LWP 22342)):
#0  0x00007ffff363eb20 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007ffff51a28f6 in QWaitCondition::wait(QMutex*, unsigned long) () at /lib64/libQtCore.so.4
#2  0x00007ffff266c6ec in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned(ThreadWeaver::Thread*) () at /lib64/libthreadweaver.so.4
#3  0x00007ffff266f3f3 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () at /lib64/libthreadweaver.so.4
#4  0x00007ffff266df4f in ThreadWeaver::Thread::run() () at /lib64/libthreadweaver.so.4
#5  0x00007ffff51a238c in QThreadPrivate::start(void*) () at /lib64/libQtCore.so.4
#6  0x00007ffff363961a in start_thread () at /lib64/libpthread.so.0
#7  0x00007ffff4ad559d in clone () at /lib64/libc.so.6
---Type <return> to continue, or q <return> to quit---

Thread 7 (Thread 0x7fffacf13700 (LWP 22341)):
#0  0x00007ffff4ac9b1d in poll () at /lib64/libc.so.6
#1  0x00007fffee6d618c in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#2  0x00007fffee6d629c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#3  0x00007ffff52e1e7e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#4  0x00007ffff52b0131 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#5  0x00007ffff52b04a5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#6  0x00007ffff519fa99 in QThread::exec() () at /lib64/libQtCore.so.4
#7  0x00007ffff5290203 in QInotifyFileSystemWatcherEngine::run() () at /lib64/libQtCore.so.4
#8  0x00007ffff51a238c in QThreadPrivate::start(void*) () at /lib64/libQtCore.so.4
#9  0x00007ffff363961a in start_thread () at /lib64/libpthread.so.0
#10 0x00007ffff4ad559d in clone () at /lib64/libc.so.6

Thread 6 (Thread 0x7fffad714700 (LWP 22340)):
#0  0x00007ffff4ac576d in write () at /lib64/libc.so.6
#1  0x00007fffecc8ca40 in gamin_write_byte () at /lib64/libfam.so.0
#2  0x00007fffecc8cbd5 in gamin_send_request () at /lib64/libfam.so.0
#3  0x00007fffecc8dcc9 in FAMMonitorDirectory () at /lib64/libfam.so.0
#4  0x00007ffff573f484 in KDirWatchPrivate::useFAM(KDirWatchPrivate::Entry*) [clone .part.47] [clone .constprop.56] () at /lib64/libkdecore.so.5
#5  0x00007ffff573f9b3 in KDirWatchPrivate::addWatch(KDirWatchPrivate::Entry*) () at /lib64/libkdecore.so.5
#6  0x00007ffff573bf4d in KDirWatchPrivate::addEntry(KDirWatch*, QString const&, KDirWatchPrivate::Entry*, bool, QFlags<KDirWatch::WatchMode>) ()
    at /lib64/libkdecore.so.5
#7  0x00007ffff573c5ed in KDirWatchPrivate::addEntry(KDirWatch*, QString const&, KDirWatchPrivate::Entry*, bool, QFlags<KDirWatch::WatchMode>) ()
    at /lib64/libkdecore.so.5
#8  0x00007ffff573c5ed in KDirWatchPrivate::addEntry(KDirWatch*, QString const&, KDirWatchPrivate::Entry*, bool, QFlags<KDirWatch::WatchMode>) ()
    at /lib64/libkdecore.so.5
#9  0x00007ffff573c5ed in KDirWatchPrivate::addEntry(KDirWatch*, QString const&, KDirWatchPrivate::Entry*, bool, QFlags<KDirWatch::WatchMode>) ()
    at /lib64/libkdecore.so.5
#10 0x00007ffff573c5ed in KDirWatchPrivate::addEntry(KDirWatch*, QString const&, KDirWatchPrivate::Entry*, bool, QFlags<KDirWatch::WatchMode>) ()
    at /lib64/libkdecore.so.5
#11 0x00007ffff573e63b in KDirWatch::addDir(QString const&, QFlags<KDirWatch::WatchMode>) () at /lib64/libkdecore.so.5
#12 0x00007ffff788b1e2 in AbstractDirectoryWatcher::run() () at /lib64/libamaroklib.so.1
#13 0x00007ffff266e712 in ThreadWeaver::JobRunHelper::runTheJob(ThreadWeaver::Thread*, ThreadWeaver::Job*) () at /lib64/libthreadweaver.so.4
#14 0x00007ffff266e91e in ThreadWeaver::Job::execute(ThreadWeaver::Thread*) () at /lib64/libthreadweaver.so.4
#15 0x00007ffff266dfeb in ThreadWeaver::Thread::run() () at /lib64/libthreadweaver.so.4
---Type <return> to continue, or q <return> to quit---
#16 0x00007ffff51a238c in QThreadPrivate::start(void*) () at /lib64/libQtCore.so.4
#17 0x00007ffff363961a in start_thread () at /lib64/libpthread.so.0
#18 0x00007ffff4ad559d in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7fffadf15700 (LWP 22339)):
#0  0x00007ffff363eec9 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fffb9f1b6c2 in my_service_thread_sleep () at /usr/lib64/mysql/libmysqld.so.18
#2  0x00007fffb9f166a8 in ma_checkpoint_background () at /usr/lib64/mysql/libmysqld.so.18
#3  0x00007ffff363961a in start_thread () at /lib64/libpthread.so.0
#4  0x00007ffff4ad559d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7ffff7ee1940 (LWP 22332)):
#0  0x00007ffff36418ad in __lll_lock_wait () at /lib64/libpthread.so.0
#1  0x00007ffff363ba46 in pthread_mutex_lock () at /lib64/libpthread.so.0
#2  0x00007fffecc8e4a4 in FAMPending () at /lib64/libfam.so.0
#3  0x00007ffff573f1f8 in KDirWatchPrivate::famEventReceived() () at /lib64/libkdecore.so.5
#4  0x00007ffff52c5a50 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /lib64/libQtCore.so.4
#5  0x00007ffff5316dfe in QSocketNotifier::activated(int) () at /lib64/libQtCore.so.4
#6  0x00007ffff52d018b in QSocketNotifier::event(QEvent*) () at /lib64/libQtCore.so.4
#7  0x00007ffff5d1793c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQtGui.so.4
#8  0x00007ffff5d1e796 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQtGui.so.4
#9  0x00007ffff6aa363a in KApplication::notify(QObject*, QEvent*) () at /lib64/libkdeui.so.5
#10 0x00007ffff52b18bd in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /lib64/libQtCore.so.4
#11 0x00007ffff52e2452 in socketNotifierSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQtCore.so.4
#12 0x00007fffee6d5e5a in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#13 0x00007fffee6d61f0 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#14 0x00007fffee6d629c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#15 0x00007ffff52e1e5e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#16 0x00007ffff5dc0436 in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtGui.so.4
#17 0x00007ffff52b0131 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#18 0x00007ffff52b04a5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#19 0x00007ffff52b6039 in QCoreApplication::exec() () at /lib64/libQtCore.so.4
#20 0x000055555555bff9 in main ()
(gdb) 
(gdb) 



Thanks!
jp
Comment 11 Myriam Schweingruber 2016-06-26 19:32:16 UTC
Thank you for the backtrace, Joao, but you do not have debugging symbols for Amarok, so it is not really helpful. Are you playing something while it scans?
Comment 12 Myriam Schweingruber 2016-06-26 19:32:51 UTC
Setting status correctly.
Comment 13 João Paulo Limberger 2016-06-26 22:23:24 UTC
(In reply to Myriam Schweingruber from comment #11)
> Thank you for the backtrace, Joao, but you do not have debugging symbols for
> Amarok, so it is not really helpful. Are you playing something while it
> scans?

Ok, i'll try to install a version with debugging symbols and send another. 
No i am not playing anything... Just open amarok with my external hd connected in usb.
Comment 14 João Paulo Limberger 2016-06-26 22:23:42 UTC
(In reply to Myriam Schweingruber from comment #12)
> Setting status correctly.

Thanks!
Comment 15 João Paulo Limberger 2016-06-26 22:43:39 UTC
(In reply to João Paulo Limberger from comment #13)
> (In reply to Myriam Schweingruber from comment #11)
> > Thank you for the backtrace, Joao, but you do not have debugging symbols for
> > Amarok, so it is not really helpful. Are you playing something while it
> > scans?
> 
> Ok, i'll try to install a version with debugging symbols and send another. 
> No i am not playing anything... Just open amarok with my external hd
> connected in usb.

I was trying to compile Amarok, but... i can't found the libpthreads ...
cat /home/joao/kde/build/amarok/CMakeFiles/CMakeError.log
...
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_050c8.dir/link.txt --verbose=1
/usr/lib64/ccache/cc   -fmessage-length=0 -DCHECK_FUNCTION_EXISTS=pthread_create -I/usr/include/taglib    CMakeFiles/cmTC_050c8.dir/CheckFunctionExists.c.o  -o cmTC_050c8 -rdynamic -lpthreads -ltag 
/usr/bin/ld: cannot find -lpthreads
...
Then i wil try to use the symbols in repository...
sudo dnf debuginfo-install amarok
Comment 16 João Paulo Limberger 2016-06-27 00:18:21 UTC
Created attachment 99710 [details]
Debug messagens in the  Console
Comment 17 João Paulo Limberger 2016-06-27 00:19:19 UTC
Created attachment 99711 [details]
BackTrace
Comment 18 João Paulo Limberger 2016-06-27 00:59:00 UTC
Hmmm...
Should i follow the instructions here:
https://community.kde.org/Amarok/Development/DebuggingHowTo
Related to debuging hangs?
Comment 19 João Paulo Limberger 2016-06-27 01:41:05 UTC
A few lines of the debug console:
Could not parse stylesheet of widget 0x5611732fb100
amarok: BEGIN: void Playlist::PrettyListView::slotPlaylistActiveTrackChanged() 
amarok:   BEGIN: void Playlist::PrettyListView::scrollToActiveTrack() 
amarok:   END__: void Playlist::PrettyListView::scrollToActiveTrack() [Took: 0s] 
amarok: END__: void Playlist::PrettyListView::slotPlaylistActiveTrackChanged() [Took: 0s] 
amarok: BEGIN: void Analyzer::Base::connectSignals() 
amarok: END__: void Analyzer::Base::connectSignals() [Took: 0s] 
Calling appendChild() on a null node does nothing.
amarok: BEGIN: virtual PopupWidget::~PopupWidget() 
amarok: END__: virtual PopupWidget::~PopupWidget() [Took: 0s] 
Calling appendChild() on a null node does nothing.
Calling appendChild() on a null node does nothing.
amarok: BEGIN: void BreadcrumbUrlMenuButton::generateMenu(const QPoint&) 
amarok:   BEGIN: BookmarkList AmarokUrlHandler::urlsByCommand(const QString&) 
amarok:     Result:  () 
amarok:   END__: BookmarkList AmarokUrlHandler::urlsByCommand(const QString&) [Took: 0s] 
amarok:   showing menu at  QPoint(681,175) 
Calling appendChild() on a null node does nothing.
amarok: END__: void BreadcrumbUrlMenuButton::generateMenu(const QPoint&) [Took: 2.2s] 
amarok: BEGIN: void BrowserCategoryList::home() 
amarok: END__: void BrowserCategoryList::home() [Took: 0.006s] 
amarok: BEGIN: void BrowserCategoryList::categoryActivated(const QModelIndex&) 
amarok:   [BrowserCategoryList] Show service:  "collections" 
amarok:   BEGIN: void BrowserCategoryList::setActiveCategory(BrowserCategory*) 
amarok:   END__: void BrowserCategoryList::setActiveCategory(BrowserCategory*) [Took: 0.008s] 
amarok: END__: void BrowserCategoryList::categoryActivated(const QModelIndex&) [Took: 0.008s] 
Calling appendChild() on a null node does nothing.
Calling appendChild() on a null node does nothing.

---------------------------------------------------------------------------------------------------


$ gdb --ex "set height 0" --ex "thread apply all bt 15" --ex "detach" --ex "q" -p $(pidof amarok)
...
Attaching to process 26693
Reading symbols from /usr/bin/amarok...Reading symbols from /usr/lib/debug/usr/bin/amarok.debug...done.
...
...
[New LWP 26707]
[New LWP 26706]
[New LWP 26704]
[New LWP 26703]
[New LWP 26702]
[New LWP 26701]
[New LWP 26700]
[New LWP 26699]
[New LWP 26698]
[New LWP 26697]
[New LWP 26696]
[New LWP 26695]
[New LWP 26694]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib64/libthread_db.so.1".
...
...
Reading symbols from /usr/lib64/qt4/plugins/script/libqtscript_xml.so.1.0.0...Reading symbols from /usr/lib/debug/usr/lib64/qt4/plugins/script/libqtscript_xml.so.1.0.0.debug...done.
done.
__lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
135     2:      movl    %edx, %eax

Thread 14 (Thread 0x7f2864e09700 (LWP 26694)):
#0  0x00007f289c9fdec9 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1  0x00007f2870c5c6c2 in my_service_thread_sleep (abstime=0x7f2864e08c40, mutex=<optimized out>, that=<optimized out>)
    at /usr/src/debug/mariadb-10.0.23/include/mysql/psi/mysql_thread.h:1202
#2  0x00007f2870c5c6c2 in my_service_thread_sleep (control=control@entry=
    0x7f287154ec70 <checkpoint_control>, sleep_time=<optimized out>)
    at /usr/src/debug/mariadb-10.0.23/storage/maria/ma_servicethread.c:118
#3  0x00007f2870c576a8 in ma_checkpoint_background (arg=0x1e) at /usr/src/debug/mariadb-10.0.23/storage/maria/ma_checkpoint.c:709
#4  0x00007f289c9f861a in start_thread (arg=0x7f2864e09700) at pthread_create.c:334
#5  0x00007f289de9459d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 13 (Thread 0x7f285ffff700 (LWP 26695)):
#0  0x00007f289de8476d in write () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f289604ba40 in gamin_write_byte (fd=fd@entry=40, data=data@entry=0x7f285fffce80 "K", len=len@entry=75) at gam_api.c:534
#2  0x00007f289604bbd5 in gamin_send_request (type=type@entry=GAM_REQ_DIR, fd=40, filename=filename@entry=0x7f2858095b78 "/run/media/joao/jp/p2p/Fotos/2009/2009-06-14/Imagen0589.jpg.files", fr=fr@entry=0x7f28580954b4, userData=userData@entry=0x7f2858095468, data=0x561171110710, has_reqnum=0) at gam_api.c:628
#3  0x00007f289604ccc9 in FAMMonitorDirectory (fc=fc@entry=0x561171107a10, filename=0x7f2858095b78 "/run/media/joao/jp/p2p/Fotos/2009/2009-06-14/Imagen0589.jpg.files", fr=fr@entry=0x7f28580954b4, userData=userData@entry=0x7f2858095468) at gam_api.c:1092
#4  0x00007f289eafe484 in KDirWatchPrivate::useFAM(KDirWatchPrivate::Entry*) (this=this@entry=0x561171107980, e=e@entry=0x7f2858095468)
    at /usr/src/debug/kdelibs-4.14.20/kdecore/io/kdirwatch.cpp:639
#5  0x00007f289eafe9b3 in KDirWatchPrivate::addWatch(KDirWatchPrivate::Entry*) (e=0x7f2858095468, this=0x561171107980)
    at /usr/src/debug/kdelibs-4.14.20/kdecore/io/kdirwatch.cpp:959
#6  0x00007f289eafe9b3 in KDirWatchPrivate::addWatch(KDirWatchPrivate::Entry*) (this=this@entry=0x561171107980, e=e@entry=0x7f2858095468) at /usr/src/debug/kdelibs-4.14.20/kdecore/io/kdirwatch.cpp:941
#7  0x00007f289eafaf4d in KDirWatchPrivate::addEntry(KDirWatch*, QString const&, KDirWatchPrivate::Entry*, bool, QFlags<KDirWatch::WatchMode>) (this=this@entry=0x561171107980, instance=instance@entry=0x561170f74a50, _path=..., sub_entry=sub_entry@entry=0x0, isDir=isDir@entry=true, watchModes=...) at /usr/src/debug/kdelibs-4.14.20/kdecore/io/kdirwatch.cpp:917
#8  0x00007f289eafb5ed in KDirWatchPrivate::addEntry(KDirWatch*, QString const&, KDirWatchPrivate::Entry*, bool, QFlags<KDirWatch::WatchMode>) (this=this@entry=0x561171107980, instance=instance@entry=0x561170f74a50, _path=..., sub_entry=sub_entry@entry=0x0, isDir=isDir@entry=true, watchModes=...) at /usr/src/debug/kdelibs-4.14.20/kdecore/io/kdirwatch.cpp:913
#9  0x00007f289eafb5ed in KDirWatchPrivate::addEntry(KDirWatch*, QString const&, KDirWatchPrivate::Entry*, bool, QFlags<KDirWatch::WatchMode>) (this=this@entry=0x561171107980, instance=instance@entry=0x561170f74a50, _path=..., sub_entry=sub_entry@entry=0x0, isDir=isDir@entry=true, watchModes=...) at /usr/src/debug/kdelibs-4.14.20/kdecore/io/kdirwatch.cpp:913
#10 0x00007f289eafb5ed in KDirWatchPrivate::addEntry(KDirWatch*, QString const&, KDirWatchPrivate::Entry*, bool, QFlags<KDirWatch::WatchMode>) (this=this@entry=0x561171107980, instance=instance@entry=0x561170f74a50, _path=..., sub_entry=sub_entry@entry=0x0, isDir=isDir@entry=true, watchModes=...) at /usr/src/debug/kdelibs-4.14.20/kdecore/io/kdirwatch.cpp:913
#11 0x00007f289eafb5ed in KDirWatchPrivate::addEntry(KDirWatch*, QString const&, KDirWatchPrivate::Entry*, bool, QFlags<KDirWatch::WatchMode>) (this=<optimized out>, instance=0x561170f74a50, _path=..., sub_entry=sub_entry@entry=0x0, isDir=isDir@entry=true, watchModes=...)
    at /usr/src/debug/kdelibs-4.14.20/kdecore/io/kdirwatch.cpp:913
#12 0x00007f289eafd63b in KDirWatch::addDir(QString const&, QFlags<KDirWatch::WatchMode>) (this=<optimized out>, _path=..., watchModes=...) at /usr/src/debug/kdelibs-4.14.20/kdecore/io/kdirwatch.cpp:1798
#13 0x00007f28a0c4a1e2 in AbstractDirectoryWatcher::run() (this=0x5611710e4f00) at ../../src/scanner/AbstractDirectoryWatcher.cpp:95
#14 0x00007f289ba2d712 in ThreadWeaver::JobRunHelper::runTheJob(ThreadWeaver::Thread*, ThreadWeaver::Job*) (this=this@entry=0x7f285fffec50, th=th@entry=0x561170fa9660, job=job@entry=0x5611710e4f00) at /usr/src/debug/kdelibs-4.14.20/threadweaver/Weaver/Job.cpp:106
#15 0x00007f289ba2d91e in ThreadWeaver::Job::execute(ThreadWeaver::Thread*) (this=0x5611710e4f00, th=0x561170fa9660)
    at /usr/src/debug/kdelibs-4.14.20/threadweaver/Weaver/Job.cpp:135

Thread 12 (Thread 0x7f285f7fe700 (LWP 26696)):
#0  0x00007f289de88b1d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f2897a9518c in g_main_context_iterate (priority=2147483647, n_fds=2, fds=0x7f2850003260, timeout=<optimized out>, context=0x7f28500009a0) at gmain.c:4135
#2  0x00007f2897a9518c in g_main_context_iterate (context=context@entry=0x7f28500009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3835
#3  0x00007f2897a9529c in g_main_context_iteration (context=0x7f28500009a0, may_block=may_block@entry=1) at gmain.c:3901
#4  0x00007f289e6a0e7e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f28500008c0, flags=...)
    at kernel/qeventdispatcher_glib.cpp:452
#5  0x00007f289e66f131 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f285f7fdc40, flags=...)
    at kernel/qeventloop.cpp:149
#6  0x00007f289e66f4a5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f285f7fdc40, flags=...)
    at kernel/qeventloop.cpp:204
#7  0x00007f289e55ea99 in QThread::exec() (this=this@entry=0x561171115070) at thread/qthread.cpp:538
#8  0x00007f289e64f203 in QInotifyFileSystemWatcherEngine::run() (this=0x561171115070) at io/qfilesystemwatcher_inotify.cpp:265
#9  0x00007f289e56138c in QThreadPrivate::start(void*) (arg=0x561171115070) at thread/qthread_unix.cpp:352
#10 0x00007f289c9f861a in start_thread (arg=0x7f285f7fe700) at pthread_create.c:334
#11 0x00007f289de9459d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 11 (Thread 0x7f285ebd0700 (LWP 26697)):
#0  0x00007f289de8e7a9 in syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f289e55fbc2 in QMutexPrivate::wait(int) (val2=0, addr2=0x0, timeout=0x0, val=2, op=0, addr=0x561170bfd510)
    at thread/qmutex_unix.cpp:99
#2  0x00007f289e55fbc2 in QMutexPrivate::wait(int) (this=this@entry=0x561170bfd510, timeout=timeout@entry=-1)
    at thread/qmutex_unix.cpp:113
#3  0x00007f289e55be85 in QMutex::lockInternal() (this=this@entry=0x7f289ba20018 <Meta::Tag::s_mutex>) at thread/qmutex.cpp:450
#4  0x00007f289b7fc84e in Meta::Tag::readTags(QString const&, bool) (this=0x7f289ba20018 <Meta::Tag::s_mutex>)
    at /usr/include/QtCore/qmutex.h:190
#5  0x00007f289b7fc84e in Meta::Tag::readTags(QString const&, bool) (m=0x7f289ba20018 <Meta::Tag::s_mutex>, this=<synthetic pointer>)
    at /usr/include/QtCore/qmutex.h:109
#6  0x00007f289b7fc84e in Meta::Tag::readTags(QString const&, bool) (path=...) at ../../shared/MetaTagLib.cpp:202
#7  0x00007f28a0bc7c2a in MetaFile::Track::Private::readMetaData() (this=0x7f28551038e0) at ../../src/core-impl/meta/file/File_p.h:166
#8  0x00007f28a0bc999c in MetaFile::Track::Track(KUrl const&) (this=0x7f28559958b0, url=..., __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../src/core-impl/meta/file/File.cpp:141
#9  0x00007f28a0bced48 in FileTrackProvider::trackForUrl(KUrl const&) (this=<optimized out>, url=...)
    at ../../src/core-impl/meta/file/FileTrackProvider.cpp:43
#10 0x00007f28a0c10b55 in CollectionManager::trackForUrl(KUrl const&) (this=0x561170f7c3a0, url=...)
    at ../../src/core-impl/collections/support/CollectionManager.cpp:479
#11 0x00007f28a0bdcb5f in MetaProxy::Worker::run() (this=0x7f28559f7f00) at ../../src/core-impl/meta/proxy/MetaProxyWorker.cpp:45
#12 0x00007f289ba2d712 in ThreadWeaver::JobRunHelper::runTheJob(ThreadWeaver::Thread*, ThreadWeaver::Job*) (this=this@entry=0x7f285ebcfc50, th=th@entry=0x56117137d4f0, job=job@entry=0x7f28559f7f00) at /usr/src/debug/kdelibs-4.14.20/threadweaver/Weaver/Job.cpp:106
#13 0x00007f289ba2d91e in ThreadWeaver::Job::execute(ThreadWeaver::Thread*) (this=0x7f28559f7f00, th=0x56117137d4f0)
    at /usr/src/debug/kdelibs-4.14.20/threadweaver/Weaver/Job.cpp:135
#14 0x00007f289ba2cfeb in ThreadWeaver::Thread::run() (this=0x56117137d4f0)
    at /usr/src/debug/kdelibs-4.14.20/threadweaver/Weaver/Thread.cpp:108
#15 0x00007f289e56138c in QThreadPrivate::start(void*) (arg=0x56117137d4f0) at thread/qthread_unix.cpp:352

Thread 10 (Thread 0x7f285e069700 (LWP 26698)):
#0  0x00007f289de8e7a9 in syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f289e55fbc2 in QMutexPrivate::wait(int) (val2=0, addr2=0x0, timeout=0x0, val=2, op=0, addr=0x561170bfd510)
    at thread/qmutex_unix.cpp:99
#2  0x00007f289e55fbc2 in QMutexPrivate::wait(int) (this=this@entry=0x561170bfd510, timeout=timeout@entry=-1)
    at thread/qmutex_unix.cpp:113
#3  0x00007f289e55be85 in QMutex::lockInternal() (this=this@entry=0x7f289ba20018 <Meta::Tag::s_mutex>) at thread/qmutex.cpp:450
#4  0x00007f289b7fc84e in Meta::Tag::readTags(QString const&, bool) (this=0x7f289ba20018 <Meta::Tag::s_mutex>)
    at /usr/include/QtCore/qmutex.h:190
#5  0x00007f289b7fc84e in Meta::Tag::readTags(QString const&, bool) (m=0x7f289ba20018 <Meta::Tag::s_mutex>, this=<synthetic pointer>)
    at /usr/include/QtCore/qmutex.h:109
#6  0x00007f289b7fc84e in Meta::Tag::readTags(QString const&, bool) (path=...) at ../../shared/MetaTagLib.cpp:202
#7  0x00007f28a0bc7c2a in MetaFile::Track::Private::readMetaData() (this=0x7f2840214b70) at ../../src/core-impl/meta/file/File_p.h:166
#8  0x00007f28a0bc999c in MetaFile::Track::Track(KUrl const&) (this=0x7f2840206030, url=..., __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../src/core-impl/meta/file/File.cpp:141
#9  0x00007f28a0bced48 in FileTrackProvider::trackForUrl(KUrl const&) (this=<optimized out>, url=...)
    at ../../src/core-impl/meta/file/FileTrackProvider.cpp:43
#10 0x00007f28a0c10b55 in CollectionManager::trackForUrl(KUrl const&) (this=0x561170f7c3a0, url=...)
    at ../../src/core-impl/collections/support/CollectionManager.cpp:479
#11 0x00007f28a0bdcb5f in MetaProxy::Worker::run() (this=0x7f28559f47c0) at ../../src/core-impl/meta/proxy/MetaProxyWorker.cpp:45
#12 0x00007f289ba2d712 in ThreadWeaver::JobRunHelper::runTheJob(ThreadWeaver::Thread*, ThreadWeaver::Job*) (this=this@entry=0x7f285e068c50, th=th@entry=0x7f28541dd7a0, job=job@entry=0x7f28559f47c0) at /usr/src/debug/kdelibs-4.14.20/threadweaver/Weaver/Job.cpp:106
#13 0x00007f289ba2d91e in ThreadWeaver::Job::execute(ThreadWeaver::Thread*) (this=0x7f28559f47c0, th=0x7f28541dd7a0)
    at /usr/src/debug/kdelibs-4.14.20/threadweaver/Weaver/Job.cpp:135
#14 0x00007f289ba2cfeb in ThreadWeaver::Thread::run() (this=0x7f28541dd7a0)
    at /usr/src/debug/kdelibs-4.14.20/threadweaver/Weaver/Thread.cpp:108
#15 0x00007f289e56138c in QThreadPrivate::start(void*) (arg=0x7f28541dd7a0) at thread/qthread_unix.cpp:352

Thread 9 (Thread 0x7f285d868700 (LWP 26699)):
#0  0x00007f289de8e7a9 in syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f289e55fbc2 in QMutexPrivate::wait(int) (val2=0, addr2=0x0, timeout=0x0, val=2, op=0, addr=0x561170bfd510)
    at thread/qmutex_unix.cpp:99
#2  0x00007f289e55fbc2 in QMutexPrivate::wait(int) (this=this@entry=0x561170bfd510, timeout=timeout@entry=-1)
    at thread/qmutex_unix.cpp:113
#3  0x00007f289e55be85 in QMutex::lockInternal() (this=this@entry=0x7f289ba20018 <Meta::Tag::s_mutex>) at thread/qmutex.cpp:450
#4  0x00007f289b7fc84e in Meta::Tag::readTags(QString const&, bool) (this=0x7f289ba20018 <Meta::Tag::s_mutex>)
    at /usr/include/QtCore/qmutex.h:190
#5  0x00007f289b7fc84e in Meta::Tag::readTags(QString const&, bool) (m=0x7f289ba20018 <Meta::Tag::s_mutex>, this=<synthetic pointer>)
    at /usr/include/QtCore/qmutex.h:109
#6  0x00007f289b7fc84e in Meta::Tag::readTags(QString const&, bool) (path=...) at ../../shared/MetaTagLib.cpp:202
#7  0x00007f28a0bc7c2a in MetaFile::Track::Private::readMetaData() (this=0x7f2838184970) at ../../src/core-impl/meta/file/File_p.h:166
#8  0x00007f28a0bc999c in MetaFile::Track::Track(KUrl const&) (this=0x7f2838180d50, url=..., __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../src/core-impl/meta/file/File.cpp:141
#9  0x00007f28a0bced48 in FileTrackProvider::trackForUrl(KUrl const&) (this=<optimized out>, url=...)
    at ../../src/core-impl/meta/file/FileTrackProvider.cpp:43
#10 0x00007f28a0c10b55 in CollectionManager::trackForUrl(KUrl const&) (this=0x561170f7c3a0, url=...)
    at ../../src/core-impl/collections/support/CollectionManager.cpp:479
#11 0x00007f28a0bdcb5f in MetaProxy::Worker::run() (this=0x7f28559f6360) at ../../src/core-impl/meta/proxy/MetaProxyWorker.cpp:45
#12 0x00007f289ba2d712 in ThreadWeaver::JobRunHelper::runTheJob(ThreadWeaver::Thread*, ThreadWeaver::Job*) (this=this@entry=0x7f285d867c50, th=th@entry=0x7f28541e6ca0, job=job@entry=0x7f28559f6360) at /usr/src/debug/kdelibs-4.14.20/threadweaver/Weaver/Job.cpp:106
#13 0x00007f289ba2d91e in ThreadWeaver::Job::execute(ThreadWeaver::Thread*) (this=0x7f28559f6360, th=0x7f28541e6ca0)
    at /usr/src/debug/kdelibs-4.14.20/threadweaver/Weaver/Job.cpp:135
#14 0x00007f289ba2cfeb in ThreadWeaver::Thread::run() (this=0x7f28541e6ca0)
    at /usr/src/debug/kdelibs-4.14.20/threadweaver/Weaver/Thread.cpp:108
#15 0x00007f289e56138c in QThreadPrivate::start(void*) (arg=0x7f28541e6ca0) at thread/qthread_unix.cpp:352

Thread 8 (Thread 0x7f285d067700 (LWP 26700)):
#0  0x00007f289de8e7a9 in syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f289e55fbc2 in QMutexPrivate::wait(int) (val2=0, addr2=0x0, timeout=0x0, val=2, op=0, addr=0x561170bfd510)
    at thread/qmutex_unix.cpp:99
#2  0x00007f289e55fbc2 in QMutexPrivate::wait(int) (this=this@entry=0x561170bfd510, timeout=timeout@entry=-1)
    at thread/qmutex_unix.cpp:113
#3  0x00007f289e55be85 in QMutex::lockInternal() (this=this@entry=0x7f289ba20018 <Meta::Tag::s_mutex>) at thread/qmutex.cpp:450
#4  0x00007f289b7fc84e in Meta::Tag::readTags(QString const&, bool) (this=0x7f289ba20018 <Meta::Tag::s_mutex>)
    at /usr/include/QtCore/qmutex.h:190
#5  0x00007f289b7fc84e in Meta::Tag::readTags(QString const&, bool) (m=0x7f289ba20018 <Meta::Tag::s_mutex>, this=<synthetic pointer>)
    at /usr/include/QtCore/qmutex.h:109
#6  0x00007f289b7fc84e in Meta::Tag::readTags(QString const&, bool) (path=...) at ../../shared/MetaTagLib.cpp:202
#7  0x00007f28a0bc7c2a in MetaFile::Track::Private::readMetaData() (this=0x7f2830171480) at ../../src/core-impl/meta/file/File_p.h:166
#8  0x00007f28a0bc999c in MetaFile::Track::Track(KUrl const&) (this=0x7f2830181d40, url=..., __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../src/core-impl/meta/file/File.cpp:141
#9  0x00007f28a0bced48 in FileTrackProvider::trackForUrl(KUrl const&) (this=<optimized out>, url=...)
    at ../../src/core-impl/meta/file/FileTrackProvider.cpp:43
#10 0x00007f28a0c10b55 in CollectionManager::trackForUrl(KUrl const&) (this=0x561170f7c3a0, url=...)
    at ../../src/core-impl/collections/support/CollectionManager.cpp:479
#11 0x00007f28a0bdcb5f in MetaProxy::Worker::run() (this=0x7f28559f7130) at ../../src/core-impl/meta/proxy/MetaProxyWorker.cpp:45
#12 0x00007f289ba2d712 in ThreadWeaver::JobRunHelper::runTheJob(ThreadWeaver::Thread*, ThreadWeaver::Job*) (this=this@entry=0x7f285d066c50, th=th@entry=0x7f28541f9390, job=job@entry=0x7f28559f7130) at /usr/src/debug/kdelibs-4.14.20/threadweaver/Weaver/Job.cpp:106
#13 0x00007f289ba2d91e in ThreadWeaver::Job::execute(ThreadWeaver::Thread*) (this=0x7f28559f7130, th=0x7f28541f9390)
    at /usr/src/debug/kdelibs-4.14.20/threadweaver/Weaver/Job.cpp:135
#14 0x00007f289ba2cfeb in ThreadWeaver::Thread::run() (this=0x7f28541f9390)
    at /usr/src/debug/kdelibs-4.14.20/threadweaver/Weaver/Thread.cpp:108
#15 0x00007f289e56138c in QThreadPrivate::start(void*) (arg=0x7f28541f9390) at thread/qthread_unix.cpp:352

Thread 7 (Thread 0x7f285c866700 (LWP 26701)):
#0  0x00007f2891ae0714 in TagLib::RefCounter::count() const (this=0x7f28280f5e30)
    at /usr/src/debug/taglib-1.11/taglib/toolkit/trefcounter.cpp:104
#1  0x00007f2891adafa5 in TagLib::ByteVector::detach() (this=this@entry=0x7f285c861240)
    at /usr/src/debug/taglib-1.11/taglib/toolkit/tbytevector.cpp:1013
#2  0x00007f2891adb410 in TagLib::ByteVector::operator[](int) (this=this@entry=0x7f285c861240, index=index@entry=195)
    at /usr/src/debug/taglib-1.11/taglib/toolkit/tbytevector.cpp:798
#3  0x00007f2891aa7eb0 in TagLib::MPEG::File::nextFrameOffset(long) (this=this@entry=0x7f282805d0e0, position=984064)
    at /usr/src/debug/taglib-1.11/taglib/mpeg/mpegfile.cpp:364
#4  0x00007f2891aa7fd7 in TagLib::MPEG::File::firstFrameOffset() (this=this@entry=0x7f282805d0e0)
    at /usr/src/debug/taglib-1.11/taglib/mpeg/mpegfile.cpp:408
#5  0x00007f2891aa8992 in TagLib::MPEG::Properties::read(TagLib::MPEG::File*) (this=this@entry=0x7f2828034df0, file=file@entry=0x7f282805d0e0) at /usr/src/debug/taglib-1.11/taglib/mpeg/mpegproperties.cpp:160
#6  0x00007f2891aa8eee in TagLib::MPEG::Properties::Properties(TagLib::MPEG::File*, TagLib::AudioProperties::ReadStyle) (this=0x7f2828034df0, file=0x7f282805d0e0, style=<optimized out>) at /usr/src/debug/taglib-1.11/taglib/mpeg/mpegproperties.cpp:79
#7  0x00007f2891aa8515 in TagLib::MPEG::File::read(bool) (this=this@entry=0x7f282805d0e0, readProperties=readProperties@entry=true)
    at /usr/src/debug/taglib-1.11/taglib/mpeg/mpegfile.cpp:473
#8  0x00007f2891aa860c in TagLib::MPEG::File::File(char const*, bool, TagLib::AudioProperties::ReadStyle) (this=0x7f282805d0e0, file=<optimized out>, readProperties=<optimized out>) at /usr/src/debug/taglib-1.11/taglib/mpeg/mpegfile.cpp:88
#9  0x00007f289b7f6bf5 in Meta::Tag::FileTypeResolver::createFile(char const*, bool, TagLib::AudioProperties::ReadStyle) const (this=<optimized out>, fileName=0x7f282817c9a8 "/run/media/joao/jp/p2p/m/A/Andreas Vollenweider/1994 Live (2CD)(192)/CD1/07 Water Moon.mp3", readProperties=<optimized out>, propertiesStyle=TagLib::AudioProperties::Fast) at ../../shared/FileTypeResolver.cpp:73
#10 0x00007f2891b0b7e9 in (anonymous namespace)::createInternal<char const*>(char const*, bool, TagLib::AudioProperties::ReadStyle) (style=TagLib::AudioProperties::Fast, readProperties=true, arg=0x7f282817c9a8 "/run/media/joao/jp/p2p/m/A/Andreas Vollenweider/1994 Live (2CD)(192)/CD1/07 Water Moon.mp3") at /usr/src/debug/taglib-1.11/taglib/fileref.cpp:104
#11 0x00007f2891b0b7e9 in (anonymous namespace)::createInternal<char const*>(char const*, bool, TagLib::AudioProperties::ReadStyle) (arg=0x7f282817c9a8 "/run/media/joao/jp/p2p/m/A/Andreas Vollenweider/1994 Live (2CD)(192)/CD1/07 Water Moon.mp3", readAudioProperties=true, audioPropertiesStyle=TagLib::AudioProperties::Fast) at /usr/src/debug/taglib-1.11/taglib/fileref.cpp:116
#12 0x00007f2891b0bef6 in TagLib::FileRef::FileRef(char const*, bool, TagLib::AudioProperties::ReadStyle) (this=0x7f285c861660, fileName=<optimized out>, readAudioProperties=<optimized out>, audioPropertiesStyle=<optimized out>)
    at /usr/src/debug/taglib-1.11/taglib/fileref.cpp:211
#13 0x00007f289b7fbbe7 in Meta::Tag::getFileRef(QString const&) (path=...) at ../../shared/MetaTagLib.cpp:104
#14 0x00007f289b7fc4de in Meta::Tag::generateUniqueId(QString const&) (path=...) at ../../shared/MetaTagLib.cpp:149
#15 0x00007f289b7fddf1 in Meta::Tag::readTags(QString const&, bool) (path=...) at ../../shared/MetaTagLib.cpp:269

Thread 6 (Thread 0x7f2845f0d700 (LWP 26702)):
#0  0x00007f289de8e7a9 in syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f289e55fbc2 in QMutexPrivate::wait(int) (val2=0, addr2=0x0, timeout=0x0, val=2, op=0, addr=0x561170bfd510)
    at thread/qmutex_unix.cpp:99
#2  0x00007f289e55fbc2 in QMutexPrivate::wait(int) (this=this@entry=0x561170bfd510, timeout=timeout@entry=-1)
    at thread/qmutex_unix.cpp:113
#3  0x00007f289e55be85 in QMutex::lockInternal() (this=this@entry=0x7f289ba20018 <Meta::Tag::s_mutex>) at thread/qmutex.cpp:450
#4  0x00007f289b7fc84e in Meta::Tag::readTags(QString const&, bool) (this=0x7f289ba20018 <Meta::Tag::s_mutex>)
    at /usr/include/QtCore/qmutex.h:190
#5  0x00007f289b7fc84e in Meta::Tag::readTags(QString const&, bool) (m=0x7f289ba20018 <Meta::Tag::s_mutex>, this=<synthetic pointer>)
    at /usr/include/QtCore/qmutex.h:109
#6  0x00007f289b7fc84e in Meta::Tag::readTags(QString const&, bool) (path=...) at ../../shared/MetaTagLib.cpp:202
#7  0x00007f28a0bc7c2a in MetaFile::Track::Private::readMetaData() (this=0x7f283c17a5e0) at ../../src/core-impl/meta/file/File_p.h:166
#8  0x00007f28a0bc999c in MetaFile::Track::Track(KUrl const&) (this=0x7f283c1832a0, url=..., __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../src/core-impl/meta/file/File.cpp:141
#9  0x00007f28a0bced48 in FileTrackProvider::trackForUrl(KUrl const&) (this=<optimized out>, url=...)
    at ../../src/core-impl/meta/file/FileTrackProvider.cpp:43
#10 0x00007f28a0c10b55 in CollectionManager::trackForUrl(KUrl const&) (this=0x561170f7c3a0, url=...)
    at ../../src/core-impl/collections/support/CollectionManager.cpp:479
#11 0x00007f28a0bdcb5f in MetaProxy::Worker::run() (this=0x7f28559f39f0) at ../../src/core-impl/meta/proxy/MetaProxyWorker.cpp:45
#12 0x00007f289ba2d712 in ThreadWeaver::JobRunHelper::runTheJob(ThreadWeaver::Thread*, ThreadWeaver::Job*) (this=this@entry=0x7f2845f0cc50, th=th@entry=0x7f2854211db0, job=job@entry=0x7f28559f39f0) at /usr/src/debug/kdelibs-4.14.20/threadweaver/Weaver/Job.cpp:106
#13 0x00007f289ba2d91e in ThreadWeaver::Job::execute(ThreadWeaver::Thread*) (this=0x7f28559f39f0, th=0x7f2854211db0)
    at /usr/src/debug/kdelibs-4.14.20/threadweaver/Weaver/Job.cpp:135
#14 0x00007f289ba2cfeb in ThreadWeaver::Thread::run() (this=0x7f2854211db0)
    at /usr/src/debug/kdelibs-4.14.20/threadweaver/Weaver/Thread.cpp:108
#15 0x00007f289e56138c in QThreadPrivate::start(void*) (arg=0x7f2854211db0) at thread/qthread_unix.cpp:352

Thread 5 (Thread 0x7f284570c700 (LWP 26703)):
#0  0x00007f289de8e7a9 in syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f289e55fbc2 in QMutexPrivate::wait(int) (val2=0, addr2=0x0, timeout=0x0, val=2, op=0, addr=0x561170bfd510)
    at thread/qmutex_unix.cpp:99
#2  0x00007f289e55fbc2 in QMutexPrivate::wait(int) (this=this@entry=0x561170bfd510, timeout=timeout@entry=-1)
    at thread/qmutex_unix.cpp:113
#3  0x00007f289e55be85 in QMutex::lockInternal() (this=this@entry=0x7f289ba20018 <Meta::Tag::s_mutex>) at thread/qmutex.cpp:450
#4  0x00007f289b7fc84e in Meta::Tag::readTags(QString const&, bool) (this=0x7f289ba20018 <Meta::Tag::s_mutex>)
    at /usr/include/QtCore/qmutex.h:190
#5  0x00007f289b7fc84e in Meta::Tag::readTags(QString const&, bool) (m=0x7f289ba20018 <Meta::Tag::s_mutex>, this=<synthetic pointer>)
    at /usr/include/QtCore/qmutex.h:109
#6  0x00007f289b7fc84e in Meta::Tag::readTags(QString const&, bool) (path=...) at ../../shared/MetaTagLib.cpp:202
#7  0x00007f28a0bc7c2a in MetaFile::Track::Private::readMetaData() (this=0x7f282c17f490) at ../../src/core-impl/meta/file/File_p.h:166
#8  0x00007f28a0bc999c in MetaFile::Track::Track(KUrl const&) (this=0x7f282c16f360, url=..., __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../src/core-impl/meta/file/File.cpp:141
#9  0x00007f28a0bced48 in FileTrackProvider::trackForUrl(KUrl const&) (this=<optimized out>, url=...)
    at ../../src/core-impl/meta/file/FileTrackProvider.cpp:43
#10 0x00007f28a0c10b55 in CollectionManager::trackForUrl(KUrl const&) (this=0x561170f7c3a0, url=...)
    at ../../src/core-impl/collections/support/CollectionManager.cpp:479
#11 0x00007f28a0bdcb5f in MetaProxy::Worker::run() (this=0x7f28559f5590) at ../../src/core-impl/meta/proxy/MetaProxyWorker.cpp:45
#12 0x00007f289ba2d712 in ThreadWeaver::JobRunHelper::runTheJob(ThreadWeaver::Thread*, ThreadWeaver::Job*) (this=this@entry=0x7f284570bc50, th=th@entry=0x7f285421d0c0, job=job@entry=0x7f28559f5590) at /usr/src/debug/kdelibs-4.14.20/threadweaver/Weaver/Job.cpp:106
#13 0x00007f289ba2d91e in ThreadWeaver::Job::execute(ThreadWeaver::Thread*) (this=0x7f28559f5590, th=0x7f285421d0c0)
    at /usr/src/debug/kdelibs-4.14.20/threadweaver/Weaver/Job.cpp:135
#14 0x00007f289ba2cfeb in ThreadWeaver::Thread::run() (this=0x7f285421d0c0)
    at /usr/src/debug/kdelibs-4.14.20/threadweaver/Weaver/Thread.cpp:108
#15 0x00007f289e56138c in QThreadPrivate::start(void*) (arg=0x7f285421d0c0) at thread/qthread_unix.cpp:352

Thread 4 (Thread 0x7f2835b29700 (LWP 26704)):
#0  0x00007f289de88b1d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f289e69db48 in qt_safe_poll(pollfd*, int, int, bool) (__timeout=-1, __nfds=1, __fds=0x7f2835b28ca0)
    at /usr/include/bits/poll2.h:46
#2  0x00007f289e69db48 in qt_safe_poll(pollfd*, int, int, bool) (fds=fds@entry=0x7f2835b28ca0, nfds=nfds@entry=1, timeout_ms=timeout_ms@entry=-1, retry_eintr=retry_eintr@entry=false) at kernel/qcore_unix.cpp:117
#3  0x00007f289e64b608 in QProcessManager::run() (this=0x7f289e9dadc0 <processManager()::processManager>) at io/qprocess_unix.cpp:263
#4  0x00007f289e56138c in QThreadPrivate::start(void*) (arg=0x7f289e9dadc0 <processManager()::processManager>)
    at thread/qthread_unix.cpp:352
#5  0x00007f289c9f861a in start_thread (arg=0x7f2835b29700) at pthread_create.c:334
#6  0x00007f289de9459d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f2835328700 (LWP 26706)):
#0  0x00007f289de88b1d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f2897a9518c in g_main_context_iterate (priority=2147483647, n_fds=1, fds=0x7f27d80013e0, timeout=<optimized out>, context=0x7f27d80009a0) at gmain.c:4135
#2  0x00007f2897a9518c in g_main_context_iterate (context=context@entry=0x7f27d80009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3835
#3  0x00007f2897a9529c in g_main_context_iteration (context=0x7f27d80009a0, may_block=may_block@entry=1) at gmain.c:3901
#4  0x00007f289e6a0e7e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f27d80008c0, flags=...)
    at kernel/qeventdispatcher_glib.cpp:452
#5  0x00007f289e66f131 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f2835327c90, flags=...)
    at kernel/qeventloop.cpp:149
#6  0x00007f289e66f4a5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f2835327c90, flags=...)
    at kernel/qeventloop.cpp:204
#7  0x00007f289e55ea99 in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:538
#8  0x00007f289e56138c in QThreadPrivate::start(void*) (arg=0x5611713a6660) at thread/qthread_unix.cpp:352
#9  0x00007f289c9f861a in start_thread (arg=0x7f2835328700) at pthread_create.c:334
#10 0x00007f289de9459d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f27e7ffd700 (LWP 26707)):
#0  0x00007f289c9fdb20 in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f289cff173a in QTWTF::TCMalloc_PageHeap::scavengerThread() (this=0x7f289d2f53a0 <QTWTF::pageheap_memory>)
    at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007f289cff1769 in QTWTF::TCMalloc_PageHeap::runScavengerThread(void*) (context=<optimized out>)
    at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007f289c9f861a in start_thread (arg=0x7f27e7ffd700) at pthread_create.c:334
#4  0x00007f289de9459d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f28a12ca940 (LWP 26693)):
#0  0x00007f289ca008ad in __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
#1  0x00007f289c9faa46 in __GI___pthread_mutex_lock (mutex=0x561171111750) at ../nptl/pthread_mutex_lock.c:116
#2  0x00007f289604d4a4 in FAMPending (fc=fc@entry=0x561171107a10) at gam_api.c:1340
#3  0x00007f289eafe1f8 in KDirWatchPrivate::famEventReceived() (this=0x561171107980)
    at /usr/src/debug/kdelibs-4.14.20/kdecore/io/kdirwatch.cpp:1525
#4  0x00007f289e684a50 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x5611710fbed0, m=m@entry=0x7f289e9d4c80 <QSocketNotifier::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffe91351340)
    at kernel/qobject.cpp:3567
#5  0x00007f289e6d5dfe in QSocketNotifier::activated(int) (this=this@entry=0x5611710fbed0, _t1=40)
    at .moc/release-shared/moc_qsocketnotifier.cpp:102
#6  0x00007f289e68f18b in QSocketNotifier::event(QEvent*) (this=0x5611710fbed0, e=0x7ffe91351620) at kernel/qsocketnotifier.cpp:316
#7  0x00007f289f0d693c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x561170cdf8a0, receiver=receiver@entry=0x5611710fbed0, e=e@entry=0x7ffe91351620) at kernel/qapplication.cpp:4565
#8  0x00007f289f0dd796 in QApplication::notify(QObject*, QEvent*) (this=this@entry=0x7ffe913519c0, receiver=receiver@entry=0x5611710fbed0, e=e@entry=0x7ffe91351620) at kernel/qapplication.cpp:4351
#9  0x00007f289fe6263a in KApplication::notify(QObject*, QEvent*) (this=0x7ffe913519c0, receiver=0x5611710fbed0, event=0x7ffe91351620)
    at /usr/src/debug/kdelibs-4.14.20/kdeui/kernel/kapplication.cpp:311
#10 0x00007f289e6708bd in QCoreApplication::notifyInternal(QObject*, QEvent*) (this=0x7ffe913519c0, receiver=0x5611710fbed0, event=event@entry=0x7ffe91351620) at kernel/qcoreapplication.cpp:955
#11 0x00007f289e6a1452 in socketNotifierSourceDispatch(GSource*, GSourceFunc, gpointer) (event=0x7ffe91351620, receiver=<optimized out>)
    at kernel/qcoreapplication.h:231
#12 0x00007f289e6a1452 in socketNotifierSourceDispatch(GSource*, GSourceFunc, gpointer) (source=0x561170ce1450)
    at kernel/qeventdispatcher_glib.cpp:117
#13 0x00007f2897a94e5a in g_main_context_dispatch (context=0x561170cdfbf0) at gmain.c:3154
#14 0x00007f2897a94e5a in g_main_context_dispatch (context=context@entry=0x561170cdfbf0) at gmain.c:3769
#15 0x00007f2897a951f0 in g_main_context_iterate (context=context@entry=0x561170cdfbf0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3840
Detaching from program: /usr/bin/amarok, process 26693
[
Comment 20 Myriam Schweingruber 2016-06-27 08:00:14 UTC
(In reply to João Paulo Limberger from comment #18)
> Hmmm...
> Should i follow the instructions here:
> https://community.kde.org/Amarok/Development/DebuggingHowTo
> Related to debuging hangs?

Yes, that is usually a good method.

Anyway, your backtrace shows this is a problem in gamin that needs to be solved upstream, and we already have a bug report about this, please see the main bug report for possible solutions. AFAIR Rex has posted a possible solution for Fedora already.

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