Bug 420417 - Crash of lokalize when changing to a new item
Summary: Crash of lokalize when changing to a new item
Status: RESOLVED WORKSFORME
Alias: None
Product: lokalize
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Simon Depiets
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2020-04-22 10:47 UTC by Freek de Kruijf
Modified: 2022-08-19 09:17 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Freek de Kruijf 2020-04-22 10:47:46 UTC
Application: lokalize (19.12.3)

Qt Version: 5.14.1
Frameworks Version: 5.69.0
Operating System: Linux 5.6.4-1-default x86_64
Windowing system: X11
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
- What I was doing when the application crashed:
I finished editing of an item and pressed <Ctrl>+<Shift>+<PageDown> to change to the next item to be editted.

-- Backtrace:
Application: Lokalize (lokalize), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
29	  return SYSCALL_CANCEL (poll, fds, nfds, timeout);
[Current thread is 1 (Thread 0x7fe7de608840 (LWP 4130))]

Thread 11 (Thread 0x7fe7be80b700 (LWP 4145)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x3484a94) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x3484a40, cond=0x3484a68) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x3484a68, mutex=0x3484a40) at pthread_cond_wait.c:638
#3  0x00007fe7e07ee1db in QWaitConditionPrivate::wait (deadline=..., this=0x3484a40) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait (this=<optimized out>, mutex=0x12c4aa8, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007fe7e07ee299 in QWaitCondition::wait (this=this@entry=0x3098520, mutex=mutex@entry=0x12c4aa8, time=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qdeadlinetimer.h:68
#6  0x00007fe7e07eb9db in QThreadPoolThread::run (this=0x3098510) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:270
#7  0x00007fe7e07e8698 in QThreadPrivate::start (arg=0x3098510) at thread/qthread_unix.cpp:342
#8  0x00007fe7dfac2efa in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007fe7e25a03bf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 0x7fe7c8a2b700 (LWP 4141)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x30c2d68) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x30c2d18, cond=0x30c2d40) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x30c2d40, mutex=0x30c2d18) at pthread_cond_wait.c:638
#3  0x00007fe7cb4d72db in ?? () from /usr/lib64/dri/r600_dri.so
#4  0x00007fe7cb4d6a97 in ?? () from /usr/lib64/dri/r600_dri.so
#5  0x00007fe7dfac2efa in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fe7e25a03bf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7fe7c922c700 (LWP 4140)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x30c2d68) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x30c2d18, cond=0x30c2d40) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x30c2d40, mutex=0x30c2d18) at pthread_cond_wait.c:638
#3  0x00007fe7cb4d72db in ?? () from /usr/lib64/dri/r600_dri.so
#4  0x00007fe7cb4d6a97 in ?? () from /usr/lib64/dri/r600_dri.so
#5  0x00007fe7dfac2efa in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fe7e25a03bf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7fe7c9a2d700 (LWP 4139)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x30c2d68) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x30c2d18, cond=0x30c2d40) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x30c2d40, mutex=0x30c2d18) at pthread_cond_wait.c:638
#3  0x00007fe7cb4d72db in ?? () from /usr/lib64/dri/r600_dri.so
#4  0x00007fe7cb4d6a97 in ?? () from /usr/lib64/dri/r600_dri.so
#5  0x00007fe7dfac2efa in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fe7e25a03bf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7fe7ca22e700 (LWP 4138)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x30c2d68) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x30c2d18, cond=0x30c2d40) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x30c2d40, mutex=0x30c2d18) at pthread_cond_wait.c:638
#3  0x00007fe7cb4d72db in ?? () from /usr/lib64/dri/r600_dri.so
#4  0x00007fe7cb4d6a97 in ?? () from /usr/lib64/dri/r600_dri.so
#5  0x00007fe7dfac2efa in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fe7e25a03bf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7fe7caa2f700 (LWP 4137)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x32090a4) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x3209050, cond=0x3209078) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x3209078, mutex=0x3209050) at pthread_cond_wait.c:638
#3  0x00007fe7cb4d72db in ?? () from /usr/lib64/dri/r600_dri.so
#4  0x00007fe7cb4d6a97 in ?? () from /usr/lib64/dri/r600_dri.so
#5  0x00007fe7dfac2efa in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fe7e25a03bf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7fe7d9354700 (LWP 4135)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x220af90) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x220af40, cond=0x220af68) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x220af68, mutex=0x220af40) at pthread_cond_wait.c:638
#3  0x00007fe7e07ee1db in QWaitConditionPrivate::wait (deadline=..., this=0x220af40) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait (this=<optimized out>, mutex=0x11647d8, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007fe7e07ee299 in QWaitCondition::wait (this=this@entry=0x22090e0, mutex=mutex@entry=0x11647d8, time=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qdeadlinetimer.h:68
#6  0x00007fe7e07eb9db in QThreadPoolThread::run (this=0x22090d0) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:270
#7  0x00007fe7e07e8698 in QThreadPrivate::start (arg=0x22090d0) at thread/qthread_unix.cpp:342
#8  0x00007fe7dfac2efa in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007fe7e25a03bf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fe7d9bf7700 (LWP 4134)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x21de6f4) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x21de6a0, cond=0x21de6c8) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x21de6c8, mutex=0x21de6a0) at pthread_cond_wait.c:638
#3  0x00007fe7e07ee1db in QWaitConditionPrivate::wait (deadline=..., this=0x21de6a0) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait (this=<optimized out>, mutex=0x129cfd0, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007fe7e07ee299 in QWaitCondition::wait (this=this@entry=0x129cfd8, mutex=mutex@entry=0x129cfd0, time=time@entry=18446744073709551615) at ../../include/QtCore/../../src/corelib/kernel/qdeadlinetimer.h:68
#6  0x00007fe7e18e7e75 in QFileInfoGatherer::run (this=0x129cfc0) at dialogs/qfileinfogatherer.cpp:315
#7  0x00007fe7e07e8698 in QThreadPrivate::start (arg=0x129cfc0) at thread/qthread_unix.cpp:342
#8  0x00007fe7dfac2efa in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007fe7e25a03bf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fe7dafa5700 (LWP 4132)):
#0  0x00007fe7def6ffd9 in g_source_unref_internal (source=0x7fe7cc004da0, context=0x7fe7cc000c20, have_lock=1) at ../glib/gmain.c:2126
#1  0x00007fe7def715a5 in g_source_iter_next (iter=iter@entry=0x7fe7dafa4b70, source=source@entry=0x7fe7dafa4b68) at ../glib/gmain.c:1014
#2  0x00007fe7def72803 in g_main_context_prepare (context=context@entry=0x7fe7cc000c20, priority=priority@entry=0x7fe7dafa4bf0) at ../glib/gmain.c:3504
#3  0x00007fe7def7326b in g_main_context_iterate (context=context@entry=0x7fe7cc000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:3934
#4  0x00007fe7def7345f in g_main_context_iteration (context=0x7fe7cc000c20, may_block=may_block@entry=1) at ../glib/gmain.c:4015
#5  0x00007fe7e0a14c0b in QEventDispatcherGlib::processEvents (this=0x7fe7cc000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007fe7e09bcb9b in QEventLoop::exec (this=this@entry=0x7fe7dafa4d30, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:136
#7  0x00007fe7e07e75ce in QThread::exec (this=this@entry=0x7fe7e0e0dda0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:118
#8  0x00007fe7e0d8b507 in QDBusConnectionManager::run (this=0x7fe7e0e0dda0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:179
#9  0x00007fe7e07e8698 in QThreadPrivate::start (arg=0x7fe7e0e0dda0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:342
#10 0x00007fe7dfac2efa in start_thread (arg=<optimized out>) at pthread_create.c:477
#11 0x00007fe7e25a03bf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fe7dc55b700 (LWP 4131)):
#0  0x00007fe7e2595acf in __GI___poll (fds=fds@entry=0x7fe7dc55ac68, nfds=nfds@entry=1, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fe7deac3772 in poll (__timeout=-1, __nfds=1, __fds=0x7fe7dc55ac68) at /usr/include/bits/poll2.h:46
#2  _xcb_conn_wait (cond=<optimized out>, count=<optimized out>, vector=<optimized out>, c=<optimized out>) at xcb_conn.c:480
#3  _xcb_conn_wait (c=0x117a3d0, cond=<optimized out>, vector=0x0, count=0x0) at xcb_conn.c:436
#4  0x00007fe7deac443a in xcb_wait_for_event (c=c@entry=0x117a3d0) at xcb_in.c:697
#5  0x00007fe7dc752ab0 in QXcbEventQueue::run (this=0x118e9b0) at qxcbeventqueue.cpp:228
#6  0x00007fe7e07e8698 in QThreadPrivate::start (arg=0x118e9b0) at thread/qthread_unix.cpp:342
#7  0x00007fe7dfac2efa in start_thread (arg=<optimized out>) at pthread_create.c:477
#8  0x00007fe7e25a03bf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fe7de608840 (LWP 4130)):
[KCrash Handler]
#6  0x00007fe7e098efc2 in QSortFilterProxyModel::parent (child=..., this=0x1273dd0) at itemmodels/qsortfilterproxymodel.cpp:2174
#7  QSortFilterProxyModel::parent (this=0x1273dd0, child=...) at itemmodels/qsortfilterproxymodel.cpp:2167
#8  0x00000000004a69ea in QModelIndex::parent (this=<optimized out>, this=<optimized out>) at /usr/include/qt5/QtCore/qabstractitemmodel.h:443
#9  TM::DBFilesModel::updateStats (this=0x1273dd0, topLeft=..., bottomRight=...) at /usr/src/debug/lokalize-19.12.3-1.1.x86_64/src/tm/dbfilesmodel.cpp:161
#10 0x00007fe7e09eaa19 in QObject::event (this=0x1273dd0, e=0x7fe7d00090a0) at kernel/qobject.cpp:1339
#11 0x00007fe7e16b7caf in QApplicationPrivate::notify_helper (this=this@entry=0x1164950, receiver=receiver@entry=0x1273dd0, e=e@entry=0x7fe7d00090a0) at kernel/qapplication.cpp:3684
#12 0x00007fe7e16c0df0 in QApplication::notify (this=0x7ffd62e3dce0, receiver=0x1273dd0, e=0x7fe7d00090a0) at kernel/qapplication.cpp:3430
#13 0x00007fe7e09be002 in QCoreApplication::notifyInternal2 (receiver=0x1273dd0, event=0x7fe7d00090a0) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:153
#14 0x00007fe7e09c0794 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1163d70) at kernel/qcoreapplication.cpp:1832
#15 0x00007fe7e0a15573 in postEventSourceDispatch (s=s@entry=0x123b910) at kernel/qeventdispatcher_glib.cpp:277
#16 0x00007fe7def73048 in g_main_dispatch (context=0x7fe7d4005000) at ../glib/gmain.c:3216
#17 g_main_context_dispatch (context=context@entry=0x7fe7d4005000) at ../glib/gmain.c:3881
#18 0x00007fe7def733d0 in g_main_context_iterate (context=context@entry=0x7fe7d4005000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:3954
#19 0x00007fe7def7345f in g_main_context_iteration (context=0x7fe7d4005000, may_block=may_block@entry=1) at ../glib/gmain.c:4015
#20 0x00007fe7e0a14bee in QEventDispatcherGlib::processEvents (this=0x123ce70, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#21 0x00007fe7e09bcb9b in QEventLoop::exec (this=this@entry=0x7ffd62e3dc10, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:136
#22 0x00007fe7e09c4972 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:118
#23 0x00007fe7e0fbb56c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1866
#24 0x00007fe7e16b7c25 in QApplication::exec () at kernel/qapplication.cpp:2824
#25 0x0000000000452f08 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/lokalize-19.12.3-1.1.x86_64/src/main.cpp:137
[Inferior 1 (process 4130) detached]

Possible duplicates by query: bug 403262, bug 398594, bug 307631, bug 274398, bug 273746.

Reported using DrKonqi
Comment 1 Simon Depiets 2020-04-22 14:07:00 UTC
That was a one-off right ?
I think the project tree segfaults sometimes but I haven't been able to make it reproductible, so I'm very interested if you can.
Comment 2 Freek de Kruijf 2020-04-23 10:23:36 UTC
(In reply to Simon Depiets from comment #1)
> That was a one-off right ?
> I think the project tree segfaults sometimes but I haven't been able to make
> it reproductible, so I'm very interested if you can.

It apparently was a one-off. It did not occur afterwards, despite heavy editing of many files.
Comment 3 Freek de Kruijf 2022-08-19 09:17:52 UTC
Not seen lately.