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

            Bug ID: 471802
           Summary: Crash after editing a plural
    Classification: Applications
           Product: lokalize
           Version: 23.04.2
          Platform: openSUSE
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: sdepi...@gmail.com
          Reporter: freekdekru...@kde.nl
                CC: aa...@kde.org, sha...@ukr.net
  Target Milestone: ---

Application: lokalize (23.04.2)

Qt Version: 5.15.10
Frameworks Version: 5.107.0
Operating System: Linux 6.3.9-1-default x86_64
Windowing System: X11
Distribution: "openSUSE Tumbleweed"
DrKonqi: 5.27.6 [KCrashBackend]

-- Information about the crash:
I tried to edit the file nl/messages/kdebugsettings/kdebugsettings.po in which
one element needed editing. This element has a plural. Apparently the element
with the plural (rules) needed to add an s to make the Dutch word (regel) a
plural, which is regels.
The first time I simply entered the s and lokalize crashed, leaving the .po
file unchanged. The second time, of which this the bug report, it crashed again
by entering the s. However now this file has nothing to edit anymore.

The crash can be reproduced every time.

-- Backtrace:
Application: Lokalize (lokalize), signal: Segmentation fault

[KCrash Handler]
#4  QMapNodeBase::color (this=0x0) at tools/qmap.h:93
#5  QMapDataBase::freeNodeAndRebalance (this=0x55a116cdea40, z=0x55a1191196c0)
at tools/qmap.cpp:234
#6  0x00007fcbc4742b9e in QMapData<QObject const*,
QPointer<Breeze::WidgetStateData> >::deleteNode (z=<optimized out>,
this=<optimized out>) at /usr/include/qt5/QtCore/qmap.h:281
#7  0x00007fcbc46faf1a in Breeze::BaseDataMap<QObject,
Breeze::WidgetStateData>::unregisterWidget (this=0x55a115b55228,
key=0x55a119110c50) at
/usr/src/debug/breeze-5.27.6/build/kstyle/breeze_autogen/4NBMFDNHZT/../../../../kstyle/animations/breezedatamap.h:95
#8  0x00007fcbc4702e21 in Breeze::WidgetStateEngine::unregisterWidget
(object=0x55a119110c50, this=0x55a115b551b0) at
/usr/src/debug/breeze-5.27.6/build/kstyle/breeze_autogen/4NBMFDNHZT/../../../../kstyle/animations/breezewidgetstateengine.h:144
#9  Breeze::WidgetStateEngine::unregisterWidget (object=0x55a119110c50,
this=0x55a115b551b0) at
/usr/src/debug/breeze-5.27.6/build/kstyle/breeze_autogen/4NBMFDNHZT/../../../../kstyle/animations/breezewidgetstateengine.h:132
#10 Breeze::WidgetStateEngine::qt_static_metacall (_o=0x55a115b551b0,
_a=0x7fff55cc9ce0, _id=<optimized out>, _c=<optimized out>) at
/usr/src/debug/breeze-5.27.6/build/kstyle/breeze_autogen/4NBMFDNHZT/moc_breezewidgetstateengine.cpp:74
#11 0x00007fcbd4525743 in doActivate<false> (sender=0x55a119110c50,
signal_index=0, argv=0x7fff55cc9ce0) at kernel/qobject.cpp:3937
#12 0x00007fcbd451e40f in QMetaObject::activate
(sender=sender@entry=0x55a119110c50, m=m@entry=0x7fcbd47be840
<QObject::staticMetaObject>, local_signal_index=local_signal_index@entry=0,
argv=argv@entry=0x7fff55cc9ce0) at kernel/qobject.cpp:3985
#13 0x00007fcbd451e4bf in QObject::destroyed (this=this@entry=0x55a119110c50,
_t1=<optimized out>, _t1@entry=0x55a119110c50) at .moc/moc_qobject.cpp:219
#14 0x00007fcbd53e297b in QWidget::~QWidget (this=this@entry=0x55a119110c50,
__in_chrg=<optimized out>) at kernel/qwidget.cpp:1499
#15 0x00007fcbd549553d in
QAbstractScrollAreaScrollBarContainer::~QAbstractScrollAreaScrollBarContainer
(this=0x55a119110c50, __in_chrg=<optimized out>) at
widgets/qabstractscrollarea_p.h:128
#16
QAbstractScrollAreaScrollBarContainer::~QAbstractScrollAreaScrollBarContainer
(this=0x55a119110c50, __in_chrg=<optimized out>) at
widgets/qabstractscrollarea_p.h:128
#17 0x00007fcbd4516e4e in QObjectPrivate::deleteChildren
(this=this@entry=0x7fcb8c0bf0a0) at kernel/qobject.cpp:2137
#18 0x00007fcbd53e26a6 in QWidget::~QWidget (this=0x55a11910f670,
__in_chrg=<optimized out>) at kernel/qwidget.cpp:1524
#19 0x00007fcbd5542de9 in QScrollArea::~QScrollArea (this=0x55a11910f670,
__in_chrg=<optimized out>) at widgets/qscrollarea.cpp:173
#20 0x00007fcbd4516e4e in QObjectPrivate::deleteChildren
(this=this@entry=0x55a11910d920) at kernel/qobject.cpp:2137
#21 0x00007fcbd53e26a6 in QWidget::~QWidget (this=this@entry=0x55a119109c70,
__in_chrg=<optimized out>) at kernel/qwidget.cpp:1524
#22 0x00007fcbd54c44ed in QDockWidget::~QDockWidget
(this=this@entry=0x55a119109c70, __in_chrg=<optimized out>) at
widgets/qdockwidget.cpp:1314
#23 0x000055a11536f41c in GlossaryNS::GlossaryView::~GlossaryView
(this=<optimized out>, this=<optimized out>) at
/usr/src/debug/lokalize-23.04.2/src/glossary/glossaryview.cpp:71
#24 GlossaryNS::GlossaryView::~GlossaryView (this=<optimized out>,
this=<optimized out>) at
/usr/src/debug/lokalize-23.04.2/src/glossary/glossaryview.cpp:71
#25 0x00007fcbd4516e4e in QObjectPrivate::deleteChildren
(this=this@entry=0x55a11861c6a0) at kernel/qobject.cpp:2137
#26 0x00007fcbd53e26a6 in QWidget::~QWidget (this=0x55a118127bc0,
__in_chrg=<optimized out>) at kernel/qwidget.cpp:1524
#27 0x000055a115347ec9 in EditorTab::~EditorTab (this=<optimized out>,
this=<optimized out>) at /usr/src/debug/lokalize-23.04.2/src/editortab.cpp:139
#28 0x00007fcbd4519077 in QObject::event (this=0x55a118127bc0,
e=0x55a117cc5ef0) at kernel/qobject.cpp:1334
#29 0x00007fcbd53a519e in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x55a118127bc0, e=0x55a117cc5ef0) at
kernel/qapplication.cpp:3640
#30 0x00007fcbd44ed4f8 in QCoreApplication::notifyInternal2
(receiver=0x55a118127bc0, event=0x55a117cc5ef0) at
kernel/qcoreapplication.cpp:1064
#31 0x00007fcbd44ed6be in QCoreApplication::sendEvent (receiver=<optimized
out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1462
#32 0x00007fcbd44f0af1 in QCoreApplicationPrivate::sendPostedEvents
(receiver=0x0, event_type=0, data=0x55a115973f50) at
kernel/qcoreapplication.cpp:1821
#33 0x00007fcbd44f1038 in QCoreApplication::sendPostedEvents
(receiver=<optimized out>, event_type=<optimized out>) at
kernel/qcoreapplication.cpp:1680
#34 0x00007fcbd4546c83 in postEventSourceDispatch (s=0x55a115a67bf0) at
kernel/qeventdispatcher_glib.cpp:277
#35 0x00007fcbd27168d8 in g_main_context_dispatch () from
/lib64/libglib-2.0.so.0
#36 0x00007fcbd2716ce8 in ?? () from /lib64/libglib-2.0.so.0
#37 0x00007fcbd2716d7c in g_main_context_iteration () from
/lib64/libglib-2.0.so.0
#38 0x00007fcbd4546496 in QEventDispatcherGlib::processEvents
(this=0x55a115a77420, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#39 0x00007fcbd44ebf8b in QEventLoop::exec (this=this@entry=0x7fff55cca340,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:69
#40 0x00007fcbd44f4420 in QCoreApplication::exec () at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#41 0x000055a11531d982 in main (argc=<optimized out>, argv=<optimized out>) at
/usr/src/debug/lokalize-23.04.2/src/main.cpp:126
[Inferior 1 (process 24698) detached]

Reported using DrKonqi

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

Reply via email to