[prev in list] [next in list] [prev in thread] [next in thread] 

List:       amarok-bugs-dist
Subject:    [amarok] [Bug 384332] New: amarok crash when toggling non-started amarok
From:       Darin McBride <bugzilla_noreply () kde ! org>
Date:       2017-09-04 3:21:19
Message-ID: bug-384332-71684 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=384332

            Bug ID: 384332
           Summary: amarok crash when toggling non-started amarok
           Product: amarok
           Version: 2.8-git
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: amarok-bugs-dist@kde.org
          Reporter: Tanktalus@gmail.com
  Target Milestone: 2.9

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

-- 
You are receiving this mail because:
You are the assignee for the bug.=
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic