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

            Bug ID: 486608
           Summary: Lokalize crashed while saving file
    Classification: Applications
           Product: lokalize
           Version: 24.02.2
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: sdepi...@gmail.com
          Reporter: kishor...@gmail.com
                CC: aa...@kde.org, sha...@ukr.net
  Target Milestone: ---

Application: lokalize (24.02.2)

Qt Version: 6.7.0
Frameworks Version: 6.1.0
Operating System: Linux 6.8.9-arch1-1 x86_64
Windowing System: X11
Distribution: Arch Linux
DrKonqi: 6.0.4 [KCrashBackend]

-- Information about the crash:
It crashed when I saved a file (by pressing Ctrl+S) after making some changes.
When I reopened the file, I found that all the changes had been saved. I am not
able to reproduce this consistently, but it has happened multiple times.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Lokalize (lokalize), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized
out>}
[KCrash Handler]
#6  0x00007e9f0fa6b4a5 in QSortFilterProxyModelPrivate::updateChildrenMapping
(this=0x5e25819af730, source_parent=..., parent_mapping=<optimized out>,
orient=<optimized out>, start=<optimized out>, end=358, delta_item_count=1,
remove=true) at itemmodels/qsortfilterproxymodel.cpp:1200
#7  0x00007e9f0fa7f4ab in QSortFilterProxyModelPrivate::source_items_removed
(this=0x5e25819af730, source_parent=..., start=358, end=<optimized out>,
orient=Qt::Vertical) at itemmodels/qsortfilterproxymodel.cpp:1146
#8  0x00007e9f0fa7c183 in QSortFilterProxyModelPrivate::source_items_removed
(orient=Qt::Vertical, end=<optimized out>, start=<optimized out>,
source_parent=..., this=0x5e25819af730) at
itemmodels/qsortfilterproxymodel.cpp:1106
#9  QSortFilterProxyModelPrivate::_q_sourceRowsRemoved (end=<optimized out>,
start=<optimized out>, source_parent=..., this=0x5e25819af730) at
itemmodels/qsortfilterproxymodel.cpp:1738
#10 QSortFilterProxyModel::qt_static_metacall (_o=<optimized out>,
_c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at
.moc/moc_qsortfilterproxymodel.cpp:284
#11 0x00007e9f0fac8b63 in doActivate<false> (sender=0x5e2580cd19b0,
signal_index=15, argv=0x7ffdc8076600) at kernel/qobject.cpp:3937
#12 0x00007e9f0fa4f4e3 in QAbstractItemModel::rowsRemoved
(this=this@entry=0x5e2580cd19b0, _t1=..., _t2=<optimized out>, _t3=<optimized
out>, _t4=...) at .moc/moc_qabstractitemmodel.cpp:606
#13 0x00007e9f0fa4f647 in QAbstractItemModel::endRemoveRows
(this=this@entry=0x5e2580cd19b0) at itemmodels/qabstractitemmodel.cpp:2837
#14 0x00005e25800bf0c1 in ProjectModel::po_rowsInserted (this=0x5e2580cd19b0,
po_parent=<optimized out>, first=<optimized out>, last=<optimized out>) at
/usr/src/debug/lokalize/lokalize-24.02.2/src/project/projectmodel.cpp:272
#15 0x00007e9f0fac89a7 in QtPrivate::QSlotObjectBase::call (a=0x7ffdc80768d0,
r=<optimized out>, this=0x5e2580c91390, this=<optimized out>, r=<optimized
out>, a=<optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#16 doActivate<false> (sender=0x5e2580cd19d8, signal_index=13,
argv=0x7ffdc80768d0) at kernel/qobject.cpp:3925
#17 0x00007e9f0fa4f013 in QAbstractItemModel::rowsInserted
(this=this@entry=0x5e2580cd19d8, _t1=..., _t2=<optimized out>, _t3=<optimized
out>, _t4=...) at .moc/moc_qabstractitemmodel.cpp:592
#18 0x00007e9f0fa4f177 in QAbstractItemModel::endInsertRows
(this=0x5e2580cd19d8) at itemmodels/qabstractitemmodel.cpp:2782
#19 0x00007e9f11690ea9 in KDirModelPrivate::_k_slotNewItems (this=<optimized
out>, directoryUrl=<optimized out>, items=<optimized out>) at
/usr/src/debug/kio5/kio-5.115.0/src/widgets/kdirmodel.cpp:589
#20 0x00007e9f0fac89a7 in QtPrivate::QSlotObjectBase::call (a=0x7ffdc8076ba0,
r=<optimized out>, this=0x5e2580ce1410, this=<optimized out>, r=<optimized
out>, a=<optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#21 doActivate<false> (sender=0x5e2580c73350, signal_index=16,
argv=0x7ffdc8076ba0) at kernel/qobject.cpp:3925
#22 0x00007e9f1151824f in KCoreDirLister::itemsAdded (this=<optimized out>,
_t1=..., _t2=...) at
/usr/src/debug/kio5/build/src/core/KF5KIOCore_autogen/include/moc_kcoredirlister.cpp:565
#23 0x00007e9f115189cd in KCoreDirListerPrivate::emitItems
(this=0x5e2580cd9520) at
/usr/src/debug/kio5/kio-5.115.0/src/core/kcoredirlister.cpp:2562
#24 0x00007e9f1151fe3e in KCoreDirListerCache::slotUpdateResult
(this=<optimized out>, j=<optimized out>) at
/usr/include/c++/13.2.1/bits/unique_ptr.h:199
#25 0x00007e9f0fac89a7 in QtPrivate::QSlotObjectBase::call (a=0x7ffdc8076e40,
r=<optimized out>, this=0x5e25831803f0, this=<optimized out>, r=<optimized
out>, a=<optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#26 doActivate<false> (sender=0x5e2582f986d0, signal_index=6,
argv=0x7ffdc8076e40) at kernel/qobject.cpp:3925
#27 0x00007e9f10d40a7a in KJob::result (this=this@entry=0x5e2582f986d0,
_t1=<optimized out>, _t1@entry=0x5e2582f986d0, _t2=...) at
/usr/src/debug/kcoreaddons5/build/src/lib/KF5CoreAddons_autogen/include/moc_kjob.cpp:633
#28 0x00007e9f10d46a5c in KJob::finishJob (this=0x5e2582f986d0,
emitResult=<optimized out>) at
/usr/src/debug/kcoreaddons5/kcoreaddons-5.115.0/src/lib/jobs/kjob.cpp:98
#29 0x00007e9f0fac89a7 in QtPrivate::QSlotObjectBase::call (a=0x7ffdc8076f10,
r=<optimized out>, this=0x5e2582234410, this=<optimized out>, r=<optimized
out>, a=<optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#30 doActivate<false> (sender=0x5e2582729390, signal_index=7,
argv=0x7ffdc8076f10) at kernel/qobject.cpp:3925
#31 0x00007e9f114c79da in KIO::SlaveInterface::dispatch (this=0x5e2582729390,
_cmd=104, rawdata=...) at
/usr/src/debug/kio5/kio-5.115.0/src/core/slaveinterface.cpp:149
#32 0x00007e9f114c247a in KIO::SlaveInterface::dispatch (this=0x5e2582729390)
at /usr/src/debug/kio5/kio-5.115.0/src/core/slaveinterface.cpp:78
#33 0x00007e9f114c4ed2 in KIO::Slave::gotInput (this=0x5e2582729390) at
/usr/src/debug/kio5/kio-5.115.0/src/core/slave.cpp:354
#34 0x00007e9f0fac89a7 in QtPrivate::QSlotObjectBase::call (a=0x7ffdc8077150,
r=<optimized out>, this=0x5e2582254250, this=<optimized out>, r=<optimized
out>, a=<optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#35 doActivate<false> (sender=0x5e25826f4c60, signal_index=3,
argv=0x7ffdc8077150) at kernel/qobject.cpp:3925
#36 0x00007e9f0fabb4da in QObject::event (this=0x5e25826f4c60,
e=0x5e2582272560) at kernel/qobject.cpp:1347
#37 0x00007e9f107578ff in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x5e25826f4c60, e=0x5e2582272560) at
kernel/qapplication.cpp:3640
#38 0x00007e9f0fa93a68 in QCoreApplication::notifyInternal2
(receiver=0x5e25826f4c60, event=0x5e2582272560) at
kernel/qcoreapplication.cpp:1064
#39 0x00007e9f0fa989cb in QCoreApplicationPrivate::sendPostedEvents
(receiver=0x0, event_type=0, data=0x5e2580b05580) at
kernel/qcoreapplication.cpp:1821
#40 0x00007e9f0fadea48 in postEventSourceDispatch (s=0x5e2580bef6f0) at
kernel/qeventdispatcher_glib.cpp:277
#41 0x00007e9f0dd20199 in g_main_dispatch (context=0x7e9f04000ed0) at
../glib/glib/gmain.c:3344
#42 0x00007e9f0dd7f3bf in g_main_context_dispatch_unlocked
(context=0x7e9f04000ed0) at ../glib/glib/gmain.c:4152
#43 g_main_context_iterate_unlocked.isra.0
(context=context@entry=0x7e9f04000ed0, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4217
#44 0x00007e9f0dd1f712 in g_main_context_iteration (context=0x7e9f04000ed0,
may_block=1) at ../glib/glib/gmain.c:4282
#45 0x00007e9f0fae288c in QEventDispatcherGlib::processEvents
(this=0x5e2580b217e0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#46 0x00007e9f0fa92774 in QEventLoop::exec (this=this@entry=0x7ffdc80775d0,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:69
#47 0x00007e9f0fa93c13 in QCoreApplication::exec () at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#48 0x00007e9f0ff2bef2 in QGuiApplication::exec () at
kernel/qguiapplication.cpp:1870
#49 0x00007e9f10755cda in QApplication::exec () at kernel/qapplication.cpp:2832
#50 0x00005e2580062c91 in main (argc=<optimized out>, argv=<optimized out>) at
/usr/src/debug/lokalize/lokalize-24.02.2/src/main.cpp:135
[Inferior 1 (process 29103) detached]

Reported using DrKonqi

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

Reply via email to