Application: amarok (2.8-git) (Compiled from sources) Qt Version: 5.7.1 Frameworks Version: 5.34.0 Operating System: Linux 4.12.5-gentoo x86_64 Distribution: "NAME=Gentoo" -- Information about the crash: - What I was doing when the application crashed: I ran "amarok -t" to play/pause amarok. However, amarok wasn't running, and so the process I was launching crashed. What I expected: well, not crashing anyway. I was hoping it would notice amarok wasn't running, launch it, and toggle that (i.e., play). The crash can be reproduced every time. -- Backtrace: Application: Amarok (amarok), signal: Segmentation fault Using host libthread_db library "/lib64/libthread_db.so.1". [Current thread is 1 (Thread 0x7f3e6deeb740 (LWP 18731))] Thread 3 (Thread 0x7f3e689e9700 (LWP 18733)): #0 0x00007f3e7f7ab45d in poll () at ../sysdeps/unix/syscall-template.S:84 #1 0x00007f3e77e910bc in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x7f3e5c003020, timeout=-1, context=0x7f3e5c000990) at /var/tmp/portage/dev-libs/glib-2.50.3-r1/work/glib-2.50.3/glib/gmain.c:4228 #2 g_main_context_iterate (context=context@entry=0x7f3e5c000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /var/tmp/portage/dev-libs/glib-2.50.3-r1/work/glib-2.50.3/glib/gmain.c:3924 #3 0x00007f3e77e911cc in g_main_context_iteration (context=0x7f3e5c000990, may_block=1) at /var/tmp/portage/dev-libs/glib-2.50.3-r1/work/glib-2.50.3/glib/gmain.c:3990 #4 0x00007f3e8015f4ac in QEventDispatcherGlib::processEvents (this=0x7f3e5c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #5 0x00007f3e80102372 in QEventLoop::exec (this=this@entry=0x7f3e689e8e50, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212 #6 0x00007f3e7ff10f2b in QThread::exec (this=this@entry=0x7f3e7a5b2240 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:507 #7 0x00007f3e7a52d6e8 in QDBusConnectionManager::run (this=0x7f3e7a5b2240 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178 #8 0x00007f3e7ff16b89 in QThreadPrivate::start (arg=0x7f3e7a5b2240 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:368 #9 0x00007f3e7e6353b4 in start_thread (arg=0x7f3e689e9700) at pthread_create.c:333 #10 0x00007f3e7f7b455d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 2 (Thread 0x7f3e6aa4a700 (LWP 18732)): #0 0x00007f3e7f7ab45d in poll () at ../sysdeps/unix/syscall-template.S:84 #1 0x00007f3e736de952 in poll (__timeout=-1, __nfds=1, __fds=0x7f3e6aa49d60) at /usr/include/bits/poll2.h:46 #2 _xcb_conn_wait (c=c@entry=0x1b87c30, cond=cond@entry=0x1b87c70, vector=vector@entry=0x0, count=count@entry=0x0) at /var/tmp/portage/x11-libs/libxcb-1.12-r2/work/libxcb-1.12/src/xcb_conn.c:479 #3 0x00007f3e736e1169 in xcb_wait_for_event (c=0x1b87c30) at /var/tmp/portage/x11-libs/libxcb-1.12-r2/work/libxcb-1.12/src/xcb_in.c:693 #4 0x00007f3e6cde3389 in QXcbEventReader::run (this=0x1b95d40) at qxcbconnection.cpp:1343 #5 0x00007f3e7ff16b89 in QThreadPrivate::start (arg=0x1b95d40) at thread/qthread_unix.cpp:368 #6 0x00007f3e7e6353b4 in start_thread (arg=0x7f3e6aa4a700) at pthread_create.c:333 #7 0x00007f3e7f7b455d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 1 (Thread 0x7f3e6deeb740 (LWP 18731)): [KCrash Handler] #6 QWeakPointer<Phonon::MediaObject>::data (this=0x30) at /usr/include/qt5/QtCore/qsharedpointer_impl.h:604 #7 EngineController::playPause (this=0x0) at /var/tmp/portage/media-sound/amarok-9999/work/amarok-9999/src/EngineController.cpp:607 #8 0x00007f3e81e52fcb in App::handleCliArgs (this=this@entry=0x7ffe621ace50, cwd=...) at /var/tmp/portage/media-sound/amarok-9999/work/amarok-9999/src/App.cpp:313 #9 0x00007f3e81e5321e in App::newInstance (this=0x7ffe621ace50) at /var/tmp/portage/media-sound/amarok-9999/work/amarok-9999/src/App.cpp:605 #10 0x00007f3e81e536c8 in App::continueInit (this=this@entry=0x7ffe621ace50) at /var/tmp/portage/media-sound/amarok-9999/work/amarok-9999/src/App.cpp:424 #11 0x0000000000408647 in main (argc=2, argv=<optimized out>) at /var/tmp/portage/media-sound/amarok-9999/work/amarok-9999/src/main.cpp:346 Reported using DrKonqi
Hm, are you sure these sources are the kf5 version (pre-alpha), not the kde4 one? The kf5 versions is in such an early stage no distro should have it at all, not even in preview.
Yes, I've been running amarok from git for years and years. I get that it's not production-ready, that's always the risk of going straight to the git repo. On the other hand, I've reported a number of pre-release bugs over the years which have helped (I think) get them fixed before being released. Gentoo has "build from git" as an option for a number of packages, amarok being one. And there it's specifying the branch to be "kf5", so I'm pretty sure this is the kf5 branch :) It generally works, too. A couple of minor hiccups here and there, but I get my music, I'm happy. This particular bug isn't a major impediment or anything, but I thought that you'd want to know about a crash :)
Thank you for the feedback. Running from git is not the issue, its using pre-released versions as those can break at any time. FWIW, current git from the kde4 branch is much more stable and also runs on Plasma5
Having recompiled git today at commit c9b5bbb727068c2ec616678d1cbc6316c854b530 , this seems to be resolved. Awesome job! Thanks!