Bug 362814 - crash on launch
Summary: crash on launch
Status: RESOLVED DOWNSTREAM
Alias: None
Product: amarok
Classification: Applications
Component: general (other bugs)
Version First Reported In: 2.8.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: 2.9
Assignee: Amarok Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-05-08 13:09 UTC by steiner
Modified: 2017-02-13 18:45 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
attachment-15650-0.html (1.56 KB, text/html)
2016-05-08 16:22 UTC, steiner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description steiner 2016-05-08 13:09:12 UTC
Application: amarok (2.8.0)
KDE Platform Version: 4.14.13
Qt Version: 4.8.6
Operating System: Linux 3.19.0-58-generic x86_64
Distribution: Ubuntu 14.04.4 LTS

-- Information about the crash:
no custom settings, didnt get that far. Amarok crashes instantly on launch.

The crash can be reproduced every time.

-- Backtrace:
Application: Amarok (amarok), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fabb0b557c0 (LWP 3375))]

Thread 5 (Thread 0x7fab8f681700 (LWP 3378)):
#0  0x00007fabad8a412d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007faba596c031 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#2  0x00007faba595d83c in pa_mainloop_poll () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#3  0x00007faba595dece in pa_mainloop_iterate () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#4  0x00007faba595df80 in pa_mainloop_run () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#5  0x00007faba596bfe3 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#6  0x00007faba06ccf08 in ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-4.0.so
#7  0x00007faba9b9f182 in start_thread (arg=0x7fab8f681700) at pthread_create.c:312
#8  0x00007fabad8b147d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7fab81720700 (LWP 3380)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007fabadf047f4 in wait (time=60000, this=0x1498b10) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=this@entry=0x1492350, mutex=mutex@entry=0x1492348, time=time@entry=60000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fabafb9212e in AbstractDirectoryWatcher::run (this=0x1492320) at ../../src/scanner/AbstractDirectoryWatcher.cpp:65
#4  0x00007fabab126cb2 in ThreadWeaver::JobRunHelper::runTheJob (this=this@entry=0x7fab8171fde0, th=th@entry=0x149a280, job=job@entry=0x1492320) at ../../../threadweaver/Weaver/Job.cpp:106
#5  0x00007fabab126e6e in ThreadWeaver::Job::execute (this=0x1492320, th=0x149a280) at ../../../threadweaver/Weaver/Job.cpp:135
#6  0x00007fabab1266bb in ThreadWeaver::Thread::run (this=0x149a280) at ../../../threadweaver/Weaver/Thread.cpp:108
#7  0x00007fabadf0432f in QThreadPrivate::start (arg=0x149a280) at thread/qthread_unix.cpp:349
#8  0x00007faba9b9f182 in start_thread (arg=0x7fab81720700) at pthread_create.c:312
#9  0x00007fabad8b147d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7fab7b2e9700 (LWP 3381)):
#0  0x00007ffe5f3f8a26 in ?? ()
#1  0x000000007fffffff in ?? ()
#2  0x00007fab7b2e8c30 in ?? ()
#3  0x00007fabad8bf92d in __GI___clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:115
#4  0x00007fabadf58ad7 in do_gettime (frac=0x7fab7b2e8b70, sec=0x7fab7b2e8b68) at tools/qelapsedtimer_unix.cpp:127
#5  qt_gettime () at tools/qelapsedtimer_unix.cpp:144
#6  0x00007fabae034f05 in updateCurrentTime (this=0x7fab74002530) at kernel/qeventdispatcher_unix.cpp:354
#7  QTimerInfoList::timerWait (this=0x7fab74002530, tm=...) at kernel/qeventdispatcher_unix.cpp:460
#8  0x00007fabae03367c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7fab7b2e8c24) at kernel/qeventdispatcher_glib.cpp:143
#9  0x00007fabae033725 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:176
#10 0x00007faba854168d in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007faba8541f03 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007faba85420ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#13 0x00007fabae0337be in QEventDispatcherGlib::processEvents (this=0x7fab740008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#14 0x00007fabae0050af in QEventLoop::processEvents (this=this@entry=0x7fab7b2e8de0, flags=...) at kernel/qeventloop.cpp:149
#15 0x00007fabae0053a5 in QEventLoop::exec (this=this@entry=0x7fab7b2e8de0, flags=...) at kernel/qeventloop.cpp:204
#16 0x00007fabadf01c5f in QThread::exec (this=this@entry=0x149cfc0) at thread/qthread.cpp:537
#17 0x00007fabadfe6823 in QInotifyFileSystemWatcherEngine::run (this=0x149cfc0) at io/qfilesystemwatcher_inotify.cpp:265
#18 0x00007fabadf0432f in QThreadPrivate::start (arg=0x149cfc0) at thread/qthread_unix.cpp:349
#19 0x00007faba9b9f182 in start_thread (arg=0x7fab7b2e9700) at pthread_create.c:312
#20 0x00007fabad8b147d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7fab724ec700 (LWP 3382)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fabadf04816 in wait (time=18446744073709551615, this=0x1499cc0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x1499bc8, mutex=0x1121de0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fabab124e6c in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1499ba0, th=0x15e7190) at ../../../threadweaver/Weaver/WeaverImpl.cpp:370
#4  0x00007fabab127903 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1406380, th=0x15e7190, previous=0x15e6f30) at ../../../threadweaver/Weaver/WorkingHardState.cpp:68
#5  0x00007fabab12661f in ThreadWeaver::Thread::run (this=0x15e7190) at ../../../threadweaver/Weaver/Thread.cpp:98
#6  0x00007fabadf0432f in QThreadPrivate::start (arg=0x15e7190) at thread/qthread_unix.cpp:349
#7  0x00007faba9b9f182 in start_thread (arg=0x7fab724ec700) at pthread_create.c:312
#8  0x00007fabad8b147d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7fabb0b557c0 (LWP 3375)):
[KCrash Handler]
#6  IA__gdk_x11_window_get_drawable_impl (window=0x0) at /build/gtk+2.0-KsZSEA/gtk+2.0-2.24.23/gdk/x11/gdkdrawable-x11.c:962
#7  0x00007fab79e21887 in topmenu_client_connect_window_widget () from /usr/lib/libtopmenu-client-gtk2.so.0
#8  0x00007fab7a02d135 in TopMenuMenuBarImpl::handleReparent(QWidget*, QWidget*, QWidget*, QWidget*) () from /usr/lib/x86_64-linux-gnu/qt4/plugins/menubar/libtopmenu-qt4-module.so
#9  0x00007fabaee27dd9 in QMenuBarPrivate::handleReparent (this=this@entry=0x15d4800) at widgets/qmenubar.cpp:1416
#10 0x00007fabaee27ee3 in QMenuBarPrivate::init (this=0x15d4800) at widgets/qmenubar.cpp:783
#11 0x00007fabaee2873f in QMenuBar::QMenuBar (this=0x15d47c0, parent=0x15d2f10) at widgets/qmenubar.cpp:819
#12 0x00007fabb061b85c in KMenuBar::KMenuBar (this=0x15d47c0, parent=<optimized out>) at ../../kdeui/widgets/kmenubar.cpp:136
#13 0x00007fabafad26c3 in ServiceBase::ServiceBase (this=0x15d3520, name=..., parent=<optimized out>, useCollectionTreeView=<optimized out>, prettyName=...) at ../../src/services/ServiceBase.cpp:160
#14 0x00007fab801a86fc in LastFmService::LastFmService (this=0x15d3520, parent=<optimized out>, name=...) at ../../../../src/services/lastfm/LastFmService.cpp:106
#15 0x00007fab801a8d59 in LastFmServiceFactory::init (this=0x168caa0) at ../../../../src/services/lastfm/LastFmService.cpp:73
#16 0x00007fabafaded32 in ServicePluginManager::initFactory (this=this@entry=0x158bad0, factory=factory@entry=0x168caa0) at ../../src/services/ServicePluginManager.cpp:114
#17 0x00007fabafadf32d in ServicePluginManager::init (this=0x158bad0, factories=...) at ../../src/services/ServicePluginManager.cpp:71
#18 0x00007fabafc7696f in Plugins::PluginManager::init (this=this@entry=0x1366cb0) at ../../src/PluginManager.cpp:91
#19 0x00007fabafc76e44 in Plugins::PluginManager::PluginManager (this=0x1366cb0, parent=<optimized out>) at ../../src/PluginManager.cpp:65
#20 0x00007fabafc76ee8 in Plugins::PluginManager::instance () at ../../src/PluginManager.cpp:44
#21 0x00007fabafc68053 in pluginManager () at ../../src/PluginManager.h:74
#22 MainWindow::MainWindow (this=0x13cb790) at ../../src/MainWindow.cpp:142
#23 0x00007fabafc4f16d in App::continueInit (this=this@entry=0x7ffe5f3deb30) at ../../src/App.cpp:440
#24 0x00007fabafc50216 in App::App (this=0x7ffe5f3deb30) at ../../src/App.cpp:175
#25 0x0000000000408387 in main (argc=<optimized out>, argv=0x7ffe5f3dec98) at ../../src/main.cpp:327

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2016-05-08 16:03:51 UTC
Is this a first installation or did it work before? For the latter: what did you change? Are you using the KDE desktop or another one?
Comment 2 steiner 2016-05-08 16:22:20 UTC
Created attachment 98843 [details]
attachment-15650-0.html

Hi Myriam, Very sorry to bother you on a Sunday.
Changed nothing, this is a fresh install of Black Lab Linux distro. Amarok was part of the pre-installed package.
Just double clicked on its icon and boom. Crash. 

Machine is HP 8460p
Intel i5 proc.
Intel 180 Gig SSD
8Gig ram
Desktop is XFCE ( oh, this might be the issue and if so please pardon my inept and dull question, newbs~!)

p


> From: bugzilla_noreply@kde.org
> To: steinernyc@outlook.com
> Subject: [amarok] [Bug 362814] crash on launch
> Date: Sun, 8 May 2016 16:03:51 +0000
> 
> https://bugs.kde.org/show_bug.cgi?id=362814
> 
> Myriam Schweingruber <myriam@kde.org> changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>              Status|UNCONFIRMED                 |NEEDSINFO
>          Resolution|---                         |WAITINGFORINFO
> 
> --- Comment #1 from Myriam Schweingruber <myriam@kde.org> ---
> Is this a first installation or did it work before? For the latter: what did
> you change? Are you using the KDE desktop or another one?
> 
> -- 
> You are receiving this mail because:
> You reported the bug.
 		 	   		  =
Comment 3 Myriam Schweingruber 2016-05-08 19:46:26 UTC
I guess Amarok crashes because there is something missing, please try forcing a reinstall of Amarok. 
If that doesn't help, you should report this to your distribution, I strongly suspect a packaging error. Since in your report it suggests the package is not made by Black Lab Linux ( but is made by Kubuntu which is built against Kubuntu libraries), a mismatch in the installation of the necessary KDE dependencies is possible. If they use packages from other distros, they also need to make sure to use all the correct libraries.
Comment 4 Christoph Feck 2016-05-10 23:59:25 UTC
I see references to GTK libraries called from Qt code. It is possible that you are using a GTK style for Qt, which causes the crash. Try changing the widget style that Qt applications use to e.g. Oxygen. For help, please ask in a forum of your distribution.
Comment 5 Christoph Feck 2016-05-11 00:01:24 UTC
Oh, it looks like there are some "topmenu" Qt patches. If those are in separate packages, try uninstalling them. Otherwise I suggest to report this issue to the bug tracker of your distribution.
Comment 6 Myriam Schweingruber 2016-06-12 13:00:25 UTC
(In reply to Christoph Feck from comment #5)
> Oh, it looks like there are some "topmenu" Qt patches. If those are in
> separate packages, try uninstalling them. Otherwise I suggest to report this
> issue to the bug tracker of your distribution.

Any news on this? Did you report this to your distribution? If yes, it would be nice if you could give a link to the report.
Comment 7 Myriam Schweingruber 2017-02-13 18:45:24 UTC
Closing for lack of feedback. Should be reported o the distribution anyway.