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

            Bug ID: 404323
           Summary: Spectacle crash in "Rectangular region" mode
           Product: Spectacle
           Version: unspecified
          Platform: Compiled Sources
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: General
          Assignee: m...@baloneygeek.com
          Reporter: kbar...@blackpanther.hu
  Target Milestone: ---

Application: spectacle (18.08.2 - A Dearth of Dank Memes)
 (Compiled from sources)
Qt Version: 5.11.1
Frameworks Version: 5.51.0
Operating System: Linux 4.18.16-desktop-1bP x86_64
Distribution: "blackPanther OS 18.1"

-- Information about the crash:
- What I was doing when the application crashed:
started first time correctly and
I've set "Rectangular region" with  three seconds delay, then do it "Take a New
Screenshot"
Application crashed after 3 second

Plasma working with 3 monitor, i disconnected them, but crash still persists in
"Rectangular region" mode only!

-- Backtrace:
Application: Spectacle (spectacle), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
28        return SYSCALL_CANCEL (nanosleep, requested_time, remaining);
[Current thread is 1 (Thread 0x7f99e76a7600 (LWP 26359))]

Thread 4 (Thread 0x7f99d1274700 (LWP 26364)):
#0  0x000000366c2f6769 in __GI___poll (fds=0x7f99c0004a00, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x000000366da4cbee in g_main_context_poll (priority=<optimized out>,
n_fds=1, fds=0x7f99c0004a00, timeout=<optimized out>, context=0x7f99c0000bf0)
at gmain.c:4221
#2  g_main_context_iterate (context=context@entry=0x7f99c0000bf0,
block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at
gmain.c:3915
#3  0x000000366da4ccfc in g_main_context_iteration (context=0x7f99c0000bf0,
may_block=may_block@entry=1) at gmain.c:3981
#4  0x0000003b160b26bb in QEventDispatcherGlib::processEvents
(this=0x7f99c0000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x0000003b1606234b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
../../include/QtCore/../../src/corelib/global/qflags.h:71
#6  0x0000003b15eb9796 in QThread::exec() () at thread/qthread.cpp:525
#7  0x0000003b172a0995 in QQmlThreadPrivate::run (this=0x15d1e30) at
qml/ftw/qqmlthread.cpp:148
#8  0x0000003b15ec2dfc in QThreadPrivate::start(void*) () at
thread/qthread_unix.cpp:367
#9  0x000000366c408037 in start_thread (arg=0x7f99d1274700) at
pthread_create.c:486
#10 0x000000366c30247f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f99d2041700 (LWP 26362)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x1249118) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x12490c8, cond=0x12490f0)
at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x12490f0, mutex=0x12490c8) at
pthread_cond_wait.c:655
#3  0x00007f99d257a8c3 in cnd_wait (mtx=0x12490c8, cond=0x12490f0) at
../../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x1337340) at u_queue.c:270
#5  0x00007f99d257a657 in impl_thrd_routine (p=<optimized out>) at
../../include/c11/threads_posix.h:87
#6  0x000000366c408037 in start_thread (arg=0x7f99d2041700) at
pthread_create.c:486
#7  0x000000366c30247f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f99d3fff700 (LWP 26361)):
#0  0x000000366c2f6769 in __GI___poll (fds=0x7f99cc004db0, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x000000366da4cbee in g_main_context_poll (priority=<optimized out>,
n_fds=1, fds=0x7f99cc004db0, timeout=<optimized out>, context=0x7f99cc000bf0)
at gmain.c:4221
#2  g_main_context_iterate (context=context@entry=0x7f99cc000bf0,
block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at
gmain.c:3915
#3  0x000000366da4ccfc in g_main_context_iteration (context=0x7f99cc000bf0,
may_block=may_block@entry=1) at gmain.c:3981
#4  0x0000003b160b26bb in QEventDispatcherGlib::processEvents
(this=0x7f99cc000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x0000003b1606234b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
../../include/QtCore/../../src/corelib/global/qflags.h:71
#6  0x0000003b15eb9796 in QThread::exec() () at thread/qthread.cpp:525
#7  0x0000003b17415b35 in QDBusConnectionManager::run (this=0x3b1748cda0
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
qdbusconnection.cpp:178
#8  0x0000003b15ec2dfc in QThreadPrivate::start(void*) () at
thread/qthread_unix.cpp:367
#9  0x000000366c408037 in start_thread (arg=0x7f99d3fff700) at
pthread_create.c:486
#10 0x000000366c30247f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f99e76a7600 (LWP 26359)):
[KCrash Handler]
#6  0x0000003b160924f7 in QObject::setProperty(char const*, QVariant const&) ()
at kernel/qobject.h:121
#7  0x0000000000433c2a in QuickEditor::QuickEditor (this=<optimized out>,
pixmap=..., parent=<optimized out>) at
/usr/src/debug/spectacle-18.08.2/src/QuickEditor/QuickEditor.cpp:117
#8  0x0000000000436641 in X11ImageGrabber::grabRectangularRegion
(this=0x11fbda0) at
/usr/src/debug/spectacle-18.08.2/src/PlatformBackends/X11ImageGrabber.cpp:668
#9  0x0000003b16096b89 in QtPrivate::QSlotObjectBase::call (a=0x7ffcaff7b2e8,
r=<optimized out>, this=<optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:376
#10 QSingleShotTimer::timerEvent (this=0x15175b0) at kernel/qtimer.cpp:318
#11 0x0000003b1608bc8b in QObject::event(QEvent*) () at kernel/qobject.cpp:1232
#12 0x00007f99e821e201 in QApplicationPrivate::notify_helper
(this=this@entry=0x11558e0, receiver=receiver@entry=0x15175b0,
e=e@entry=0x7ffcaff7b590) at kernel/qapplication.cpp:3727
#13 0x00007f99e82253d0 in QApplication::notify(QObject*, QEvent*) () at
kernel/qapplication.cpp:3486
#14 0x0000003b16063599 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() at
../../include/QtCore/5.11.1/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:307
#15 0x0000003b160b1bc8 in QCoreApplication::sendEvent (event=0x7ffcaff7b590,
receiver=<optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#16 QTimerInfoList::activateTimers() () at kernel/qtimerinfo_unix.cpp:643
#17 0x0000003b160b2374 in timerSourceDispatch (source=<optimized out>) at
kernel/qeventdispatcher_glib.cpp:182
#18 0x000000366da4c8f5 in g_main_dispatch (context=0x7f99d4004ff0) at
gmain.c:3182
#19 g_main_context_dispatch (context=context@entry=0x7f99d4004ff0) at
gmain.c:3847
#20 0x000000366da4cc78 in g_main_context_iterate
(context=context@entry=0x7f99d4004ff0, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3920
#21 0x000000366da4ccfc in g_main_context_iteration (context=0x7f99d4004ff0,
may_block=may_block@entry=1) at gmain.c:3981
#22 0x0000003b160b26a3 in QEventDispatcherGlib::processEvents (this=0x11b43e0,
flags=...) at kernel/qeventdispatcher_glib.cpp:423
#23 0x00007f99d8efd581 in QPAEventDispatcherGlib::processEvents
(this=0x11b43e0, flags=...) at qeventdispatcher_glib.cpp:69
#24 0x0000003b1606234b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
../../include/QtCore/../../src/corelib/global/qflags.h:71
#25 0x0000003b1606a158 in QCoreApplication::exec() () at
kernel/qcoreapplication.cpp:1336
#26 0x000000000041c140 in main (argc=<optimized out>, argv=<optimized out>) at
/usr/src/debug/spectacle-18.08.2/src/Main.cpp:157
[Inferior 1 (process 26359) detached]

Reported using DrKonqi

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

Reply via email to