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

            Bug ID: 382633
           Summary: Crash while using Text Editor
           Product: krita
           Version: 3.1.1
          Platform: Debian stable
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: krita-bugs-n...@kde.org
          Reporter: gibon...@gmail.com
  Target Milestone: ---

Application: krita (3.1.1)

Qt Version: 5.7.1
Frameworks Version: 5.28.0
Operating System: Linux 4.9.0-3-amd64 x86_64
Distribution: Debian GNU/Linux 9.1 (stretch)

-- Information about the crash:
Steps to reproduce the crash : 
1. open an image
2. select the text tool
3. select multiline
4. select an area
4. change font
5. change font again
6. crash

I have a similar crash on gimp
(https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=869514), maybe it's not a
coincidence.

Best regards,
Gibon

The crash can be reproduced every time.

-- Backtrace:
Application: Krita (krita), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f8b9816f8c0 (LWP 3707))]

Thread 7 (Thread 0x7f8b5eafa700 (LWP 3719)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f8ba6b82c6b in QWaitConditionPrivate::wait
(time=18446744073709551615, this=0x56073d34edc0) at
thread/qwaitcondition_unix.cpp:143
#2  QWaitCondition::wait (this=this@entry=0x56073d34ea00,
mutex=mutex@entry=0x56073d34e9f8, time=time@entry=18446744073709551615) at
thread/qwaitcondition_unix.cpp:215
#3  0x00007f8ba785a301 in QFileInfoGatherer::run (this=0x56073d34e9e8) at
dialogs/qfileinfogatherer.cpp:217
#4  0x00007f8ba6b81da8 in QThreadPrivate::start (arg=0x56073d34e9e8) at
thread/qthread_unix.cpp:368
#5  0x00007f8ba0f6a494 in start_thread (arg=0x7f8b5eafa700) at
pthread_create.c:333
#6  0x00007f8ba6283aff in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Thread 6 (Thread 0x7f8b5f2fb700 (LWP 3718)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f8ba6b82c6b in QWaitConditionPrivate::wait
(time=18446744073709551615, this=0x56073cb414a0) at
thread/qwaitcondition_unix.cpp:143
#2  QWaitCondition::wait (this=<optimized out>,
mutex=mutex@entry=0x56073cb41480, time=time@entry=18446744073709551615) at
thread/qwaitcondition_unix.cpp:215
#3  0x00007f8ba6b7be26 in QSemaphore::tryAcquire (this=0x56073cb41260,
n=n@entry=1, timeout=timeout@entry=-1) at thread/qsemaphore.cpp:220
#4  0x00007f8ba44373b3 in KisTileDataSwapper::waitForWork
(this=this@entry=0x7f8ba490a8c0
<_ZZN12_GLOBAL__N_116Q_QGS_s_instance13innerFunctionEvE6holder+64>) at
./libs/image/tiles3/swap/kis_tile_data_swapper.cpp:86
#5  0x00007f8ba44375ea in KisTileDataSwapper::run (this=0x7f8ba490a8c0
<_ZZN12_GLOBAL__N_116Q_QGS_s_instance13innerFunctionEvE6holder+64>) at
./libs/image/tiles3/swap/kis_tile_data_swapper.cpp:92
#6  0x00007f8ba6b81da8 in QThreadPrivate::start (arg=0x7f8ba490a8c0
<_ZZN12_GLOBAL__N_116Q_QGS_s_instance13innerFunctionEvE6holder+64>) at
thread/qthread_unix.cpp:368
#7  0x00007f8ba0f6a494 in start_thread (arg=0x7f8b5f2fb700) at
pthread_create.c:333
#8  0x00007f8ba6283aff in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Thread 5 (Thread 0x7f8b5fafc700 (LWP 3717)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f8ba6b82c6b in QWaitConditionPrivate::wait
(time=18446744073709551615, this=0x56073cb411c0) at
thread/qwaitcondition_unix.cpp:143
#2  QWaitCondition::wait (this=this@entry=0x56073cb3abb8,
mutex=mutex@entry=0x56073cb3abb0, time=time@entry=18446744073709551615) at
thread/qwaitcondition_unix.cpp:215
#3  0x00007f8ba6b7bb33 in QSemaphore::acquire (this=this@entry=0x7f8ba490a890
<_ZZN12_GLOBAL__N_116Q_QGS_s_instance13innerFunctionEvE6holder+16>,
n=n@entry=1) at thread/qsemaphore.cpp:143
#4  0x00007f8ba441cd2e in KisTileDataPooler::waitForWork (this=0x7f8ba490a880
<_ZZN12_GLOBAL__N_116Q_QGS_s_instance13innerFunctionEvE6holder>) at
./libs/image/tiles3/kis_tile_data_pooler.cc:165
#5  0x00007f8ba441d53a in KisTileDataPooler::run (this=0x7f8ba490a880
<_ZZN12_GLOBAL__N_116Q_QGS_s_instance13innerFunctionEvE6holder>) at
./libs/image/tiles3/kis_tile_data_pooler.cc:187
#6  0x00007f8ba6b81da8 in QThreadPrivate::start (arg=0x7f8ba490a880
<_ZZN12_GLOBAL__N_116Q_QGS_s_instance13innerFunctionEvE6holder>) at
thread/qthread_unix.cpp:368
#7  0x00007f8ba0f6a494 in start_thread (arg=0x7f8b5fafc700) at
pthread_create.c:333
#8  0x00007f8ba6283aff in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Thread 4 (Thread 0x7f8b86060700 (LWP 3711)):
#0  0x00007f8b9f71e0e9 in g_mutex_lock (mutex=mutex@entry=0x7f8b80000990) at
././glib/gthread-posix.c:1336
#1  0x00007f8b9f6d7ee9 in g_main_context_prepare
(context=context@entry=0x7f8b80000990, priority=priority@entry=0x7f8b8605fb90)
at ././glib/gmain.c:3504
#2  0x00007f8b9f6d891b in g_main_context_iterate
(context=context@entry=0x7f8b80000990, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at ././glib/gmain.c:3909
#3  0x00007f8b9f6d8b0c in g_main_context_iteration (context=0x7f8b80000990,
may_block=may_block@entry=1) at ././glib/gmain.c:3990
#4  0x00007f8ba6da606b in QEventDispatcherGlib::processEvents
(this=0x7f8b800008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f8ba6d4f9ca in QEventLoop::exec (this=this@entry=0x7f8b8605fcd0,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007f8ba6b7d0f3 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:507
#7  0x00007f8ba8de76d5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#8  0x00007f8ba6b81da8 in QThreadPrivate::start (arg=0x7f8ba8e5cd60) at
thread/qthread_unix.cpp:368
#9  0x00007f8ba0f6a494 in start_thread (arg=0x7f8b86060700) at
pthread_create.c:333
#10 0x00007f8ba6283aff in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Thread 3 (Thread 0x7f8b86f2e700 (LWP 3710)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f8b8afe275b in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#2  0x00007f8b8afe2487 in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#3  0x00007f8ba0f6a494 in start_thread (arg=0x7f8b86f2e700) at
pthread_create.c:333
#4  0x00007f8ba6283aff in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Thread 2 (Thread 0x7f8b95b75700 (LWP 3709)):
#0  0x00007f8ba627a6ad in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f8ba4b6a150 in poll (__timeout=-1, __nfds=1, __fds=0x7f8b95b74c00)
at /usr/include/x86_64-linux-gnu/bits/poll2.h:46
#2  _xcb_conn_wait (c=c@entry=0x56073607c010, cond=cond@entry=0x56073607c050,
vector=vector@entry=0x0, count=count@entry=0x0) at ../../src/xcb_conn.c:479
#3  0x00007f8ba4b6bee9 in xcb_wait_for_event (c=0x56073607c010) at
../../src/xcb_in.c:693
#4  0x00007f8b97ec3b69 in QXcbEventReader::run (this=0x56073608f060) at
qxcbconnection.cpp:1343
#5  0x00007f8ba6b81da8 in QThreadPrivate::start (arg=0x56073608f060) at
thread/qthread_unix.cpp:368
#6  0x00007f8ba0f6a494 in start_thread (arg=0x7f8b95b75700) at
pthread_create.c:333
#7  0x00007f8ba6283aff in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Thread 1 (Thread 0x7f8b9816f8c0 (LWP 3707)):
[KCrash Handler]
#6  0x00007f8ba786bf0f in QAccessibleTableCell::state (this=0x56073f5c7300) at
accessible/itemviews.cpp:1009
#7  0x00007f8b97f173a6 in AtSpiAdaptor::notify (this=0x5607363c0210,
event=<optimized out>) at linuxaccessibility/atspiadaptor.cpp:1066
#8  0x00007f8ba78ab3c0 in QListView::selectionChanged (this=0x56073c5060b0,
selected=..., deselected=...) at itemviews/qlistview.cpp:3265
#9  0x00007f8ba7885721 in QAbstractItemView::qt_static_metacall (_o=<optimized
out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at
.moc/moc_qabstractitemview.cpp:412
#10 0x00007f8ba6d7d5e9 in QMetaObject::activate
(sender=sender@entry=0x56073f25dd50, signalOffset=<optimized out>,
local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffddee891d0)
at kernel/qobject.cpp:3740
#11 0x00007f8ba6d7df07 in QMetaObject::activate
(sender=sender@entry=0x56073f25dd50, m=m@entry=0x7f8ba6f97f40
<QItemSelectionModel::staticMetaObject>,
local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffddee891d0)
at kernel/qobject.cpp:3602
#12 0x00007f8ba6d00be7 in QItemSelectionModel::selectionChanged
(this=this@entry=0x56073f25dd50, _t1=..., _t2=...) at
.moc/moc_qitemselectionmodel.cpp:478
#13 0x00007f8ba6d0544b in QItemSelectionModel::emitSelectionChanged
(this=this@entry=0x56073f25dd50, newSelection=..., oldSelection=...) at
itemmodels/qitemselectionmodel.cpp:1811
#14 0x00007f8ba6d08f92 in QItemSelectionModel::select (this=0x56073f25dd50,
selection=..., command=...) at itemmodels/qitemselectionmodel.cpp:1298
#15 0x00007f8ba6d0297c in QItemSelectionModel::select
(this=this@entry=0x56073f25dd50, index=..., command=command@entry=...) at
itemmodels/qitemselectionmodel.cpp:1159
#16 0x00007f8ba6d01034 in QItemSelectionModel::setCurrentIndex
(this=this@entry=0x56073f25dd50, index=..., command=command@entry=...) at
itemmodels/qitemselectionmodel.cpp:1373
#17 0x00007f8ba773af91 in QComboBox::showPopup (this=0x56073dda6da0) at
widgets/qcombobox.cpp:2575
#18 0x00007f8ba773bcf5 in QComboBoxPrivate::showPopupFromMouseEvent
(this=0x56073de36510, e=0x7ffddee89bd0) at widgets/qcombobox.cpp:3075
#19 0x00007f8ba767cbef in QWidget::event (this=this@entry=0x56073dda6da0,
event=event@entry=0x7ffddee89bd0) at kernel/qwidget.cpp:8781
#20 0x00007f8ba7737e16 in QComboBox::event (this=0x56073dda6da0,
event=0x7ffddee89bd0) at widgets/qcombobox.cpp:3038
#21 0x00007f8ba7634b8c in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x56073dda6da0, e=0x7ffddee89bd0) at
kernel/qapplication.cpp:3799
#22 0x00007f8ba763d1fd in QApplication::notify (this=<optimized out>,
receiver=receiver@entry=0x56073dda6da0, e=e@entry=0x7ffddee89bd0) at
kernel/qapplication.cpp:3273
#23 0x00007f8ba8820ec7 in KisApplication::notify (this=<optimized out>,
receiver=0x56073dda6da0, event=0x7ffddee89bd0) at
./libs/ui/KisApplication.cpp:532
#24 0x00007f8ba6d519e0 in QCoreApplication::notifyInternal2
(receiver=receiver@entry=0x56073dda6da0, event=event@entry=0x7ffddee89bd0) at
kernel/qcoreapplication.cpp:988
#25 0x00007f8ba763b8ad in QCoreApplication::sendEvent (event=<optimized out>,
receiver=<optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#26 QApplicationPrivate::sendMouseEvent
(receiver=receiver@entry=0x56073dda6da0, event=event@entry=0x7ffddee89bd0,
alienWidget=alienWidget@entry=0x56073dda6da0, nativeWidget=0x56073c480cb0,
buttonDown=buttonDown@entry=0x7f8ba7b3ccb0 <qt_button_down>,
lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:2771
#27 0x00007f8ba7696906 in QWidgetWindow::handleMouseEvent
(this=this@entry=0x56073c6c6f80, event=event@entry=0x7ffddee8a070) at
kernel/qwidgetwindow.cpp:617
#28 0x00007f8ba7699313 in QWidgetWindow::event (this=0x56073c6c6f80,
event=0x7ffddee8a070) at kernel/qwidgetwindow.cpp:239
#29 0x00007f8ba7634b8c in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x56073c6c6f80, e=0x7ffddee8a070) at
kernel/qapplication.cpp:3799
#30 0x00007f8ba763c341 in QApplication::notify (this=0x7ffddee8a800,
receiver=receiver@entry=0x56073c6c6f80, e=e@entry=0x7ffddee8a070) at
kernel/qapplication.cpp:3556
#31 0x00007f8ba8820ec7 in KisApplication::notify (this=<optimized out>,
receiver=0x56073c6c6f80, event=0x7ffddee8a070) at
./libs/ui/KisApplication.cpp:532
#32 0x00007f8ba6d519e0 in QCoreApplication::notifyInternal2
(receiver=receiver@entry=0x56073c6c6f80, event=event@entry=0x7ffddee8a070) at
kernel/qcoreapplication.cpp:988
#33 0x00007f8ba7099b03 in QCoreApplication::sendSpontaneousEvent
(event=0x7ffddee8a070, receiver=0x56073c6c6f80) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#34 QGuiApplicationPrivate::processMouseEvent (e=0x56073f094650) at
kernel/qguiapplication.cpp:1903
#35 0x00007f8ba709b685 in QGuiApplicationPrivate::processWindowSystemEvent
(e=e@entry=0x56073f094650) at kernel/qguiapplication.cpp:1687
#36 0x00007f8ba707961b in QWindowSystemInterface::sendWindowSystemEvents
(flags=...) at kernel/qwindowsysteminterface.cpp:659
#37 0x00007f8b97efa4c0 in userEventSourceDispatch (source=<optimized out>) at
eventdispatchers/qeventdispatcher_glib.cpp:76
#38 0x00007f8b9f6d87f7 in g_main_dispatch (context=0x7f8b900016f0) at
././glib/gmain.c:3203
#39 g_main_context_dispatch (context=context@entry=0x7f8b900016f0) at
././glib/gmain.c:3856
#40 0x00007f8b9f6d8a60 in g_main_context_iterate
(context=context@entry=0x7f8b900016f0, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at ././glib/gmain.c:3929
#41 0x00007f8b9f6d8b0c in g_main_context_iteration (context=0x7f8b900016f0,
may_block=may_block@entry=1) at ././glib/gmain.c:3990
#42 0x00007f8ba6da604f in QEventDispatcherGlib::processEvents
(this=0x5607360e92b0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#43 0x00007f8ba6d4f9ca in QEventLoop::exec (this=this@entry=0x7ffddee8a410,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#44 0x00007f8ba6d5813c in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1261
#45 0x000056073456223e in main (argc=<optimized out>, argv=<optimized out>) at
./krita/main.cc:258

Reported using DrKonqi

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

Reply via email to