[amarok] [Bug 324197] Amarok UI freezes on startup or while playing when a USB drive containing non-music files is mounted

2016-06-27 Thread Myriam Schweingruber via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=324197

Myriam Schweingruber  changed:

   What|Removed |Added

 Status|NEEDSINFO   |RESOLVED
 Resolution|BACKTRACE   |DUPLICATE

--- Comment #20 from Myriam Schweingruber  ---
(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 ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[amarok] [Bug 324197] Amarok UI freezes on startup or while playing when a USB drive containing non-music files is mounted

2016-06-26 Thread João Paulo Limberger via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=324197

--- Comment #19 from João Paulo Limberger  ---
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  0x7f289c9fdec9 in pthread_cond_timedwait@@GLIBC_2.3.2 () at
../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1  0x7f2870c5c6c2 in my_service_thread_sleep (abstime=0x7f2864e08c40,
mutex=, that=)
at /usr/src/debug/mariadb-10.0.23/include/mysql/psi/mysql_thread.h:1202
#2  0x7f2870c5c6c2 in my_service_thread_sleep (control=control@entry=
0x7f287154ec70 , sleep_time=)
at /usr/src/debug/mariadb-10.0.23/storage/maria/ma_servicethread.c:118
#3  0x7f2870c576a8 in ma_checkpoint_background (arg=0x1e) at
/usr/src/debug/mariadb-10.0.23/storage/maria/ma_checkpoint.c:709
#4  0x7f289c9f861a in start_thread (arg=0x7f2864e09700) at
pthread_create.c:334
#5  0x7f289de9459d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 13 (Thread 0x7f285700 (LWP 26695)):
#0  0x7f289de8476d in write () at ../sysdeps/unix/syscall-template.S:84
#1  0x7f289604ba40 in gamin_write_byte (fd=fd@entry=40,
data=data@entry=0x7f285fffce80 "K", len=len@entry=75) at gam_api.c:534
#2  0x7f289604bbd5 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  0x7f289604ccc9 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  0x7f289eafe484 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  0x7f289eafe9b3 in KDirWatchPrivate::addWatch(KDirWatchPrivate::Entry*)
(e=0x7f2858095468, this=0x561171107980)
at /usr/src/debug/kdelibs-4.14.20/kdecore/io/kdirwatch.cpp:959
#6  

[amarok] [Bug 324197] Amarok UI freezes on startup or while playing when a USB drive containing non-music files is mounted

2016-06-26 Thread João Paulo Limberger via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=324197

--- Comment #18 from João Paulo Limberger  ---
Hmmm...
Should i follow the instructions here:
https://community.kde.org/Amarok/Development/DebuggingHowTo
Related to debuging hangs?

-- 
You are receiving this mail because:
You are watching all bug changes.

[amarok] [Bug 324197] Amarok UI freezes on startup or while playing when a USB drive containing non-music files is mounted

2016-06-26 Thread João Paulo Limberger via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=324197

--- Comment #17 from João Paulo Limberger  ---
Created attachment 99711
  --> https://bugs.kde.org/attachment.cgi?id=99711=edit
BackTrace

-- 
You are receiving this mail because:
You are watching all bug changes.

[amarok] [Bug 324197] Amarok UI freezes on startup or while playing when a USB drive containing non-music files is mounted

2016-06-26 Thread João Paulo Limberger via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=324197

--- Comment #16 from João Paulo Limberger  ---
Created attachment 99710
  --> https://bugs.kde.org/attachment.cgi?id=99710=edit
Debug messagens in the  Console

-- 
You are receiving this mail because:
You are watching all bug changes.

[amarok] [Bug 324197] Amarok UI freezes on startup or while playing when a USB drive containing non-music files is mounted

2016-06-26 Thread João Paulo Limberger via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=324197

--- Comment #15 from João Paulo Limberger  ---
(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

-- 
You are receiving this mail because:
You are watching all bug changes.

[amarok] [Bug 324197] Amarok UI freezes on startup or while playing when a USB drive containing non-music files is mounted

2016-06-26 Thread João Paulo Limberger via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=324197

--- Comment #14 from João Paulo Limberger  ---
(In reply to Myriam Schweingruber from comment #12)
> Setting status correctly.

Thanks!

-- 
You are receiving this mail because:
You are watching all bug changes.

[amarok] [Bug 324197] Amarok UI freezes on startup or while playing when a USB drive containing non-music files is mounted

2016-06-26 Thread João Paulo Limberger via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=324197

--- Comment #13 from João Paulo Limberger  ---
(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.

-- 
You are receiving this mail because:
You are watching all bug changes.

[amarok] [Bug 324197] Amarok UI freezes on startup or while playing when a USB drive containing non-music files is mounted

2016-06-26 Thread Myriam Schweingruber via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=324197

Myriam Schweingruber  changed:

   What|Removed |Added

 Status|REOPENED|NEEDSINFO
 Resolution|--- |BACKTRACE

--- Comment #12 from Myriam Schweingruber  ---
Setting status correctly.

-- 
You are receiving this mail because:
You are watching all bug changes.


[amarok] [Bug 324197] Amarok UI freezes on startup or while playing when a USB drive containing non-music files is mounted

2016-06-26 Thread Myriam Schweingruber via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=324197

Myriam Schweingruber  changed:

   What|Removed |Added

 Resolution|INVALID |---
 Status|RESOLVED|REOPENED
 Ever confirmed|0   |1

--- Comment #11 from Myriam Schweingruber  ---
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?

-- 
You are receiving this mail because:
You are watching all bug changes.