Bug 474132 - Lokalize crashes when opening Czech translation of Merkuro from Summit
Summary: Lokalize crashes when opening Czech translation of Merkuro from Summit
Status: RESOLVED FIXED
Alias: None
Product: lokalize
Classification: Applications
Component: general (other bugs)
Version First Reported In: 23.08.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Simon Depiets
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-09-04 10:01 UTC by Vit Pelcak
Modified: 2023-09-07 20:53 UTC (History)
2 users (show)

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


Attachments
valgrind log (14.85 KB, text/plain)
2023-09-05 09:36 UTC, Vit Pelcak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vit Pelcak 2023-09-04 10:01:36 UTC
Application: lokalize (23.08.0)

Qt Version: 5.15.10
Frameworks Version: 5.109.0
Operating System: Linux 6.4.11-1-default x86_64
Windowing System: X11
Distribution: "openSUSE Tumbleweed"
DrKonqi: 5.27.7 [CoredumpBackend]

-- Information about the crash:
For Czech translation I use Summit.

When I try to open Merkuro translation kde/trunk/l10n-support/cs/summit/messages/merkuro/merkuro.po Lokalize crashes immediately.

The crash can be reproduced every time.

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

           PID: 29475 (lokalize)
           UID: 1000 (vpelcak)
           GID: 1000 (vpelcak)
        Signal: 11 (SEGV)
     Timestamp: Mon 2023-09-04 11:40:05 CEST (7s ago)
  Command Line: /usr/bin/lokalize
    Executable: /usr/bin/lokalize
 Control Group: /user.slice/user-1000.slice/user@1000.service/app.slice/app-\x2fusr\x2fbin\x2flokalize-a3da520156114f0a84bb443ec819dc35.scope
          Unit: user@1000.service
     User Unit: app-\x2fusr\x2fbin\x2flokalize-a3da520156114f0a84bb443ec819dc35.scope
         Slice: user-1000.slice
     Owner UID: 1000 (vpelcak)
       Boot ID: 05756921611c4ffa812197486495b97a
    Machine ID: 38b527dc6f2545a09538567a4df2721a
      Hostname: titan
       Storage: /var/lib/systemd/coredump/core.lokalize.1000.05756921611c4ffa812197486495b97a.29475.1693820405000000.zst (present)
  Size on Disk: 15.2M
       Message: Process 29475 (lokalize) of user 1000 dumped core.
                
                Stack trace of thread 29475:
                #0  0x00007f8f9e891e0c __pthread_kill_implementation (libc.so.6 + 0x91e0c)
                #1  0x00007f8f9e83f0e6 raise (libc.so.6 + 0x3f0e6)
                #2  0x00007f8fa05f992d _ZN6KCrash19defaultCrashHandlerEi (libKF5Crash.so.5 + 0x792d)
                #3  0x00007f8f9e83f1b0 __restore_rt (libc.so.6 + 0x3f1b0)
                #4  0x000055f314cf08ac _ZN12MergeCatalog17copyToBaseCatalogEi (lokalize + 0xa98ac)
                #5  0x000055f314d56f5d _ZN7Catalog11loadFromUrlERK7QStringS2_Pib (lokalize + 0x10ff5d)
                #6  0x000055f314cb5162 _ZN9EditorTab8fileOpenE7QStringS0_4QMapIS0_P13QMdiSubWindowEb (lokalize + 0x6e162)
                #7  0x000055f314ca71b1 _ZN18LokalizeMainWindow8fileOpenE7QStringibRKS0_b (lokalize + 0x601b1)
                #8  0x000055f314ca7bfc _ZN18LokalizeMainWindow9fileOpen_E7QStringb (lokalize + 0x60bfc)
                #9  0x000055f314cb0980 _ZN9QtPrivate11QSlotObjectIM18LokalizeMainWindowFP9EditorTab7QStringbENS_4ListIJRKS4_bEEEvE4implEiPNS_15QSlotObjectBaseEP7QObjectPPvPb (lokalize + 0x69980)
                #10 0x00007f8f9f325812 _ZN9QtPrivate15QSlotObjectBase4callEP7QObjectPPv (libQt5Core.so.5 + 0x325812)
                #11 0x000055f314d06076 _ZN10ProjectTab17fileOpenRequestedERK7QStringb (lokalize + 0xbf076)
                #12 0x00007f8f9f325812 _ZN9QtPrivate15QSlotObjectBase4callEP7QObjectPPv (libQt5Core.so.5 + 0x325812)
                #13 0x000055f314d80995 _ZN13ProjectWidget17fileOpenRequestedERK7QStringb (lokalize + 0x139995)
                #14 0x00007f8f9f325812 _ZN9QtPrivate15QSlotObjectBase4callEP7QObjectPPv (libQt5Core.so.5 + 0x325812)
                #15 0x00007f8fa02112c5 _ZN17QAbstractItemView9activatedERK11QModelIndex (libQt5Widgets.so.5 + 0x4112c5)
                #16 0x00007f8fa02152f5 _ZN17QAbstractItemView17mouseReleaseEventEP11QMouseEvent (libQt5Widgets.so.5 + 0x4152f5)
                #17 0x00007f8f9ffe6d68 _ZN7QWidget5eventEP6QEvent (libQt5Widgets.so.5 + 0x1e6d68)
                #18 0x00007f8fa0091f7e _ZN6QFrame5eventEP6QEvent (libQt5Widgets.so.5 + 0x291f7e)
                #19 0x00007f8f9f2ed2eb _ZN23QCoreApplicationPrivate29sendThroughObjectEventFiltersEP7QObjectP6QEvent (libQt5Core.so.5 + 0x2ed2eb)
                #20 0x00007f8f9ffa518e _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5 + 0x1a518e)
                #21 0x00007f8f9ffad5cf _ZN12QApplication6notifyEP7QObjectP6QEvent (libQt5Widgets.so.5 + 0x1ad5cf)
                #22 0x00007f8f9f2ed568 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5 + 0x2ed568)
                #23 0x00007f8f9ffab92e _ZN19QApplicationPrivate14sendMouseEventEP7QWidgetP11QMouseEventS1_S1_PS1_R8QPointerIS0_Ebb (libQt5Widgets.so.5 + 0x1ab92e)
                #24 0x00007f8f9ffff7fd _ZN13QWidgetWindow16handleMouseEventEP11QMouseEvent (libQt5Widgets.so.5 + 0x1ff7fd)
                #25 0x00007f8fa0002d1f _ZN13QWidgetWindow5eventEP6QEvent (libQt5Widgets.so.5 + 0x202d1f)
                #26 0x00007f8f9ffa519e _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5 + 0x1a519e)
                #27 0x00007f8f9f2ed568 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5 + 0x2ed568)
                #28 0x00007f8f9f77d0eb _ZN22QGuiApplicationPrivate17processMouseEventEPN29QWindowSystemInterfacePrivate10MouseEventE (libQt5Gui.so.5 + 0x17d0eb)
                #29 0x00007f8f9f75036c _ZN22QWindowSystemInterface22sendWindowSystemEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Gui.so.5 + 0x15036c)
                #30 0x00007f8f9c71b1aa n/a (libQt5XcbQpa.so.5 + 0x6d1aa)
                #31 0x00007f8f9d6699b8 g_main_context_dispatch (libglib-2.0.so.0 + 0x5d9b8)
                #32 0x00007f8f9d669dc8 n/a (libglib-2.0.so.0 + 0x5ddc8)
                #33 0x00007f8f9d669e5c g_main_context_iteration (libglib-2.0.so.0 + 0x5de5c)
                #34 0x00007f8f9f3464a6 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x3464a6)
                #35 0x00007f8f9f2ebffb _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2ebffb)
                #36 0x00007f8f9f2f4490 _ZN16QCoreApplication4execEv (libQt5Core.so.5 + 0x2f4490)
                #37 0x000055f314ca2a26 main (lokalize + 0x5ba26)
                #38 0x00007f8f9e8281b0 __libc_start_call_main (libc.so.6 + 0x281b0)
                #39 0x00007f8f9e828279 __libc_start_main@@GLIBC_2.34 (libc.so.6 + 0x28279)
                #40 0x000055f314ca3875 _start (lokalize + 0x5c875)
                
                Stack trace of thread 29478:
                #0  0x00007f8f9e88c50e __futex_abstimed_wait_common (libc.so.6 + 0x8c50e)
                #1  0x00007f8f9e88f250 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8f250)
                #2  0x00007f8f920c7fcb n/a (radeonsi_dri.so + 0xc7fcb)
                #3  0x00007f8f921111b7 n/a (radeonsi_dri.so + 0x1111b7)
                #4  0x00007f8f9e88ff64 start_thread (libc.so.6 + 0x8ff64)
                #5  0x00007f8f9e91847c __clone3 (libc.so.6 + 0x11847c)
                
                Stack trace of thread 29481:
                #0  0x00007f8f9e88c50e __futex_abstimed_wait_common (libc.so.6 + 0x8c50e)
                #1  0x00007f8f9e88f250 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8f250)
                #2  0x00007f8f920c7fcb n/a (radeonsi_dri.so + 0xc7fcb)
                #3  0x00007f8f921111b7 n/a (radeonsi_dri.so + 0x1111b7)
                #4  0x00007f8f9e88ff64 start_thread (libc.so.6 + 0x8ff64)
                #5  0x00007f8f9e91847c __clone3 (libc.so.6 + 0x11847c)
                
                Stack trace of thread 29479:
                #0  0x00007f8f9e88c50e __futex_abstimed_wait_common (libc.so.6 + 0x8c50e)
                #1  0x00007f8f9e88f250 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8f250)
                #2  0x00007f8f920c7fcb n/a (radeonsi_dri.so + 0xc7fcb)
                #3  0x00007f8f921111b7 n/a (radeonsi_dri.so + 0x1111b7)
                #4  0x00007f8f9e88ff64 start_thread (libc.so.6 + 0x8ff64)
                #5  0x00007f8f9e91847c __clone3 (libc.so.6 + 0x11847c)
                
                Stack trace of thread 29484:
                #0  0x00007f8f9e88c50e __futex_abstimed_wait_common (libc.so.6 + 0x8c50e)
                #1  0x00007f8f9e88f250 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8f250)
                #2  0x00007f8f9f10987b _ZN21QWaitConditionPrivate4waitE14QDeadlineTimer (libQt5Core.so.5 + 0x10987b)
                #3  0x00007f8fa01daaec _ZN17QFileInfoGatherer3runEv (libQt5Widgets.so.5 + 0x3daaec)
                #4  0x00007f8f9f103ffd operator() (libQt5Core.so.5 + 0x103ffd)
                #5  0x00007f8f9e88ff64 start_thread (libc.so.6 + 0x8ff64)
                #6  0x00007f8f9e91847c __clone3 (libc.so.6 + 0x11847c)
                
                Stack trace of thread 29477:
                #0  0x00007f8f9e909d2f __poll (libc.so.6 + 0x109d2f)
                #1  0x00007f8f9d1638aa n/a (libxcb.so.1 + 0xe8aa)
                #2  0x00007f8f9d16541c xcb_wait_for_event (libxcb.so.1 + 0x1041c)
                #3  0x00007f8f9c71a130 n/a (libQt5XcbQpa.so.5 + 0x6c130)
                #4  0x00007f8f9f103ffd operator() (libQt5Core.so.5 + 0x103ffd)
                #5  0x00007f8f9e88ff64 start_thread (libc.so.6 + 0x8ff64)
                #6  0x00007f8f9e91847c __clone3 (libc.so.6 + 0x11847c)
                
                Stack trace of thread 29480:
                #0  0x00007f8f9e88c50e __futex_abstimed_wait_common (libc.so.6 + 0x8c50e)
                #1  0x00007f8f9e88f250 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8f250)
                #2  0x00007f8f920c7fcb n/a (radeonsi_dri.so + 0xc7fcb)
                #3  0x00007f8f921111b7 n/a (radeonsi_dri.so + 0x1111b7)
                #4  0x00007f8f9e88ff64 start_thread (libc.so.6 + 0x8ff64)
                #5  0x00007f8f9e91847c __clone3 (libc.so.6 + 0x11847c)
                
                Stack trace of thread 29494:
                #0  0x00007f8f9e88c50e __futex_abstimed_wait_common (libc.so.6 + 0x8c50e)
                #1  0x00007f8f9e88f250 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8f250)
                #2  0x00007f8f9f10987b _ZN21QWaitConditionPrivate4waitE14QDeadlineTimer (libQt5Core.so.5 + 0x10987b)
                #3  0x00007f8f9f1076dc _ZN17QThreadPoolThread3runEv (libQt5Core.so.5 + 0x1076dc)
                #4  0x00007f8f9f103ffd operator() (libQt5Core.so.5 + 0x103ffd)
                #5  0x00007f8f9e88ff64 start_thread (libc.so.6 + 0x8ff64)
                #6  0x00007f8f9e91847c __clone3 (libc.so.6 + 0x11847c)
                
                Stack trace of thread 29485:
                #0  0x00007f8f9e88c50e __futex_abstimed_wait_common (libc.so.6 + 0x8c50e)
                #1  0x00007f8f9e88f250 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8f250)
                #2  0x00007f8f9f10987b _ZN21QWaitConditionPrivate4waitE14QDeadlineTimer (libQt5Core.so.5 + 0x10987b)
                #3  0x00007f8f9f1076dc _ZN17QThreadPoolThread3runEv (libQt5Core.so.5 + 0x1076dc)
                #4  0x00007f8f9f103ffd operator() (libQt5Core.so.5 + 0x103ffd)
                #5  0x00007f8f9e88ff64 start_thread (libc.so.6 + 0x8ff64)
                #6  0x00007f8f9e91847c __clone3 (libc.so.6 + 0x11847c)
                
                Stack trace of thread 29476:
                #0  0x00007f8f9e909d2f __poll (libc.so.6 + 0x109d2f)
                #1  0x00007f8f9d669d3e n/a (libglib-2.0.so.0 + 0x5dd3e)
                #2  0x00007f8f9d669e5c g_main_context_iteration (libglib-2.0.so.0 + 0x5de5c)
                #3  0x00007f8f9f3464a6 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x3464a6)
                #4  0x00007f8f9f2ebffb _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2ebffb)
                #5  0x00007f8f9f102dce _ZN7QThread4execEv (libQt5Core.so.5 + 0x102dce)
                #6  0x00007f8fa0618517 n/a (libQt5DBus.so.5 + 0x1a517)
                #7  0x00007f8f9f103ffd operator() (libQt5Core.so.5 + 0x103ffd)
                #8  0x00007f8f9e88ff64 start_thread (libc.so.6 + 0x8ff64)
                #9  0x00007f8f9e91847c __clone3 (libc.so.6 + 0x11847c)
                ELF object binary architecture: AMD x86-64

[New LWP 29475]
[New LWP 29478]
[New LWP 29481]
[New LWP 29479]
[New LWP 29484]
[New LWP 29477]
[New LWP 29480]
[New LWP 29494]
[New LWP 29485]
[New LWP 29476]

This GDB supports auto-downloading debuginfo from the following URLs:
  <https://debuginfod.opensuse.org/>
Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal]
Debuginfod has been disabled.
To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/usr/bin/lokalize'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f8f9e891e0c in __pthread_kill_implementation () from /lib64/libc.so.6
[Current thread is 1 (Thread 0x7f8f9cb16980 (LWP 29475))]
[Current thread is 1 (Thread 0x7f8f9cb16980 (LWP 29475))]

Thread 10 (Thread 0x7f8f9a7656c0 (LWP 29476)):
#0  0x00007f8f9e909d2f in poll () from /lib64/libc.so.6
#1  0x00007f8f9d669d3e in ?? () from /lib64/libglib-2.0.so.0
#2  0x00007f8f9d669e5c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f8f9f3464a6 in QEventDispatcherGlib::processEvents (this=0x7f8f94000b70, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#4  0x00007f8f9f2ebffb in QEventLoop::exec (this=this@entry=0x7f8f9a764bd0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#5  0x00007f8f9f102dce in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007f8fa0618517 in ?? () from /lib64/libQt5DBus.so.5
#7  0x00007f8f9f103ffd in operator() (__closure=<optimized out>) at thread/qthread_unix.cpp:350
#8  (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=...) at thread/qthread_unix.cpp:287
#9  QThreadPrivate::start (arg=0x7f8fa0691060) at thread/qthread_unix.cpp:310
#10 0x00007f8f9e88ff64 in start_thread () from /lib64/libc.so.6
#11 0x00007f8f9e91847c in clone3 () from /lib64/libc.so.6

Thread 9 (Thread 0x7f8f777fe6c0 (LWP 29485)):
#0  0x00007f8f9e88c50e in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007f8f9e88f250 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f8f9f10987b in QWaitConditionPrivate::wait (deadline=..., this=0x55f3172f2690) at thread/qwaitcondition_unix.cpp:146
#3  QWaitCondition::wait (this=this@entry=0x55f3172f51f0, mutex=mutex@entry=0x55f3150f6c28, deadline=...) at thread/qwaitcondition_unix.cpp:225
#4  0x00007f8f9f1076dc in QThreadPoolThread::run (this=0x55f3172f51e0) at thread/qthreadpool.cpp:140
#5  0x00007f8f9f103ffd in operator() (__closure=<optimized out>) at thread/qthread_unix.cpp:350
#6  (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=...) at thread/qthread_unix.cpp:287
#7  QThreadPrivate::start (arg=0x55f3172f51e0) at thread/qthread_unix.cpp:310
#8  0x00007f8f9e88ff64 in start_thread () from /lib64/libc.so.6
#9  0x00007f8f9e91847c in clone3 () from /lib64/libc.so.6

Thread 8 (Thread 0x7f8f6a0e16c0 (LWP 29494)):
#0  0x00007f8f9e88c50e in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007f8f9e88f250 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f8f9f10987b in QWaitConditionPrivate::wait (deadline=..., this=0x55f317f5b820) at thread/qwaitcondition_unix.cpp:146
#3  QWaitCondition::wait (this=this@entry=0x55f317fa2ce0, mutex=mutex@entry=0x55f315315c98, deadline=...) at thread/qwaitcondition_unix.cpp:225
#4  0x00007f8f9f1076dc in QThreadPoolThread::run (this=0x55f317fa2cd0) at thread/qthreadpool.cpp:140
#5  0x00007f8f9f103ffd in operator() (__closure=<optimized out>) at thread/qthread_unix.cpp:350
#6  (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=...) at thread/qthread_unix.cpp:287
#7  QThreadPrivate::start (arg=0x55f317fa2cd0) at thread/qthread_unix.cpp:310
#8  0x00007f8f9e88ff64 in start_thread () from /lib64/libc.so.6
#9  0x00007f8f9e91847c in clone3 () from /lib64/libc.so.6

Thread 7 (Thread 0x7f8f90ffd6c0 (LWP 29480)):
#0  0x00007f8f9e88c50e in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007f8f9e88f250 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f8f920c7fcb in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f8f921111b7 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#4  0x00007f8f9e88ff64 in start_thread () from /lib64/libc.so.6
#5  0x00007f8f9e91847c in clone3 () from /lib64/libc.so.6

Thread 6 (Thread 0x7f8f99f646c0 (LWP 29477)):
#0  0x00007f8f9e909d2f in poll () from /lib64/libc.so.6
#1  0x00007f8f9d1638aa in ?? () from /lib64/libxcb.so.1
#2  0x00007f8f9d16541c in xcb_wait_for_event () from /lib64/libxcb.so.1
#3  0x00007f8f9c71a130 in ?? () from /lib64/libQt5XcbQpa.so.5
#4  0x00007f8f9f103ffd in operator() (__closure=<optimized out>) at thread/qthread_unix.cpp:350
#5  (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=...) at thread/qthread_unix.cpp:287
#6  QThreadPrivate::start (arg=0x55f31510cc30) at thread/qthread_unix.cpp:310
#7  0x00007f8f9e88ff64 in start_thread () from /lib64/libc.so.6
#8  0x00007f8f9e91847c in clone3 () from /lib64/libc.so.6

Thread 5 (Thread 0x7f8f77fff6c0 (LWP 29484)):
#0  0x00007f8f9e88c50e in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007f8f9e88f250 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f8f9f10987b in QWaitConditionPrivate::wait (deadline=..., this=0x55f3172c95e0) at thread/qwaitcondition_unix.cpp:146
#3  QWaitCondition::wait (this=this@entry=0x55f316f3a538, mutex=mutex@entry=0x55f316f3a530, deadline=...) at thread/qwaitcondition_unix.cpp:225
#4  0x00007f8fa01daaec in QFileInfoGatherer::run (this=0x55f316f3a520) at dialogs/qfileinfogatherer.cpp:316
#5  0x00007f8f9f103ffd in operator() (__closure=<optimized out>) at thread/qthread_unix.cpp:350
#6  (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=...) at thread/qthread_unix.cpp:287
#7  QThreadPrivate::start (arg=0x55f316f3a520) at thread/qthread_unix.cpp:310
#8  0x00007f8f9e88ff64 in start_thread () from /lib64/libc.so.6
#9  0x00007f8f9e91847c in clone3 () from /lib64/libc.so.6

Thread 4 (Thread 0x7f8f917fe6c0 (LWP 29479)):
#0  0x00007f8f9e88c50e in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007f8f9e88f250 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f8f920c7fcb in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f8f921111b7 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#4  0x00007f8f9e88ff64 in start_thread () from /lib64/libc.so.6
#5  0x00007f8f9e91847c in clone3 () from /lib64/libc.so.6

Thread 3 (Thread 0x7f8f84bff6c0 (LWP 29481)):
#0  0x00007f8f9e88c50e in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007f8f9e88f250 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f8f920c7fcb in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f8f921111b7 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#4  0x00007f8f9e88ff64 in start_thread () from /lib64/libc.so.6
#5  0x00007f8f9e91847c in clone3 () from /lib64/libc.so.6

Thread 2 (Thread 0x7f8f91fff6c0 (LWP 29478)):
#0  0x00007f8f9e88c50e in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007f8f9e88f250 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f8f920c7fcb in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f8f921111b7 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#4  0x00007f8f9e88ff64 in start_thread () from /lib64/libc.so.6
#5  0x00007f8f9e91847c in clone3 () from /lib64/libc.so.6

Thread 1 (Thread 0x7f8f9cb16980 (LWP 29475)):
[KCrash Handler]
#4  0x000055f314cf08ac in MergeCatalog::copyToBaseCatalog (this=0x55f3196c5500, options=0) at /usr/src/debug/lokalize-23.08.0/src/mergemode/mergecatalog.cpp:285
#5  0x000055f314d56f5d in Catalog::loadFromUrl (this=<optimized out>, filePath=..., saidUrl=..., fileSize=0x0, fast=<optimized out>) at /usr/src/debug/lokalize-23.08.0/src/catalog/catalog.cpp:601
#6  0x000055f314cb5162 in EditorTab::fileOpen (this=0x55f3194e5ea0, filePath=..., suggestedDirPath=..., openedFiles=..., silent=<optimized out>) at /usr/src/debug/lokalize-23.08.0/src/editortab.cpp:849
#7  0x000055f314ca71b1 in LokalizeMainWindow::fileOpen (this=0x55f315568bf0, filePath=..., entry=entry@entry=0, setAsActive=true, mergeFile=..., silent=silent@entry=false) at /usr/src/debug/lokalize-23.08.0/src/lokalizemainwindow.cpp:243
#8  0x000055f314ca7bfc in LokalizeMainWindow::fileOpen_ (this=<optimized out>, filePath=..., setAsActive=<optimized out>) at /usr/src/debug/lokalize-23.08.0/src/lokalizemainwindow.cpp:213
#9  0x000055f314cb0980 in QtPrivate::FunctorCall<QtPrivate::IndexesList<0, 1>, QtPrivate::List<QString const&, bool>, void, EditorTab* (LokalizeMainWindow::*)(QString, bool)>::call (arg=<optimized out>, o=<optimized out>, f=<optimized out>) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:152
#10 QtPrivate::FunctionPointer<EditorTab* (LokalizeMainWindow::*)(QString, bool)>::call<QtPrivate::List<QString const&, bool>, void> (arg=<optimized out>, o=<optimized out>, f=<optimized out>) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:185
#11 QtPrivate::QSlotObject<EditorTab* (LokalizeMainWindow::*)(QString, bool), QtPrivate::List<QString const&, bool>, void>::impl (which=<optimized out>, this_=<optimized out>, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:418
#12 0x00007f8f9f325812 in QtPrivate::QSlotObjectBase::call (a=0x7fff80e60190, r=0x55f315568bf0, this=0x55f3172ad1b0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#13 doActivate<false> (sender=0x55f317173db0, signal_index=13, argv=0x7fff80e60190) at kernel/qobject.cpp:3925
#14 0x00007f8f9f31e47f in QMetaObject::activate (sender=<optimized out>, m=<optimized out>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7fff80e60190) at kernel/qobject.cpp:3985
#15 0x000055f314d06076 in ProjectTab::fileOpenRequested (this=<optimized out>, _t1=..., _t2=<optimized out>) at /usr/src/debug/lokalize-23.08.0/build/src/liblokalize_autogen/include/moc_projecttab.cpp:385
#16 0x00007f8f9f325812 in QtPrivate::QSlotObjectBase::call (a=0x7fff80e60310, r=0x55f317173db0, this=0x55f3171a4c10) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#17 doActivate<false> (sender=0x7f8f8c006870, signal_index=16, argv=0x7fff80e60310) at kernel/qobject.cpp:3925
#18 0x00007f8f9f31e47f in QMetaObject::activate (sender=sender@entry=0x7f8f8c006870, m=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff80e60310) at kernel/qobject.cpp:3985
#19 0x000055f314d80995 in ProjectWidget::fileOpenRequested (_t2=true, _t1=..., this=0x7f8f8c006870) at /usr/src/debug/lokalize-23.08.0/build/src/liblokalize_autogen/include/moc_projectwidget.cpp:163
#20 ProjectWidget::slotItemActivated (index=..., this=0x7f8f8c006870) at /usr/src/debug/lokalize-23.08.0/src/project/projectwidget.cpp:376
#21 ProjectWidget::slotItemActivated (this=0x7f8f8c006870, index=...) at /usr/src/debug/lokalize-23.08.0/src/project/projectwidget.cpp:369
#22 0x00007f8f9f325812 in QtPrivate::QSlotObjectBase::call (a=0x7fff80e60440, r=0x7f8f8c006870, this=0x55f317184fc0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#23 doActivate<false> (sender=0x7f8f8c006870, signal_index=10, argv=0x7fff80e60440) at kernel/qobject.cpp:3925
#24 0x00007f8f9f31e47f in QMetaObject::activate (sender=sender@entry=0x7f8f8c006870, m=m@entry=0x7f8fa04d98c0 <QAbstractItemView::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7fff80e60440) at kernel/qobject.cpp:3985
#25 0x00007f8fa02112c5 in QAbstractItemView::activated (this=this@entry=0x7f8f8c006870, _t1=...) at .moc/moc_qabstractitemview.cpp:668
#26 0x00007f8fa02152f5 in QAbstractItemView::mouseReleaseEvent (this=0x7f8f8c006870, event=<optimized out>) at itemviews/qabstractitemview.cpp:1951
#27 0x00007f8f9ffe6d68 in QWidget::event (this=this@entry=0x7f8f8c006870, event=event@entry=0x7fff80e60ad0) at kernel/qwidget.cpp:9045
#28 0x00007f8fa0091f7e in QFrame::event (this=0x7f8f8c006870, e=0x7fff80e60ad0) at widgets/qframe.cpp:550
#29 0x00007f8f9f2ed2eb in QCoreApplicationPrivate::sendThroughObjectEventFilters (receiver=receiver@entry=0x55f317173ce0, event=event@entry=0x7fff80e60ad0) at kernel/qcoreapplication.cpp:1190
#30 0x00007f8f9ffa518e in QApplicationPrivate::notify_helper (this=this@entry=0x55f3150f6e50, receiver=receiver@entry=0x55f317173ce0, e=e@entry=0x7fff80e60ad0) at kernel/qapplication.cpp:3634
#31 0x00007f8f9ffad5cf in QApplication::notify (this=<optimized out>, receiver=<optimized out>, e=0x7fff80e60ad0) at kernel/qapplication.cpp:3084
#32 0x00007f8f9f2ed568 in QCoreApplication::notifyInternal2 (receiver=0x55f317173ce0, event=0x7fff80e60ad0) at kernel/qcoreapplication.cpp:1064
#33 0x00007f8f9f2ed73e in QCoreApplication::sendSpontaneousEvent (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1474
#34 0x00007f8f9ffab92e in QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x55f317173ce0, event=event@entry=0x7fff80e60ad0, alienWidget=<optimized out>, nativeWidget=0x55f317173db0, buttonDown=buttonDown@entry=0x7f8fa04f2330 <qt_button_down>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2622
#35 0x00007f8f9ffff7fd in QWidgetWindow::handleMouseEvent (this=this@entry=0x55f317173f10, event=event@entry=0x7fff80e60d80) at kernel/qwidgetwindow.cpp:684
#36 0x00007f8fa0002d1f in QWidgetWindow::event (this=0x55f317173f10, event=0x7fff80e60d80) at kernel/qwidgetwindow.cpp:300
#37 0x00007f8f9ffa519e in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55f317173f10, e=0x7fff80e60d80) at kernel/qapplication.cpp:3640
#38 0x00007f8f9f2ed568 in QCoreApplication::notifyInternal2 (receiver=0x55f317173f10, event=0x7fff80e60d80) at kernel/qcoreapplication.cpp:1064
#39 0x00007f8f9f77d0eb in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib64/libQt5Gui.so.5
#40 0x00007f8f9f75036c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Gui.so.5
#41 0x00007f8f9c71b1aa in ?? () from /lib64/libQt5XcbQpa.so.5
#42 0x00007f8f9d6699b8 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#43 0x00007f8f9d669dc8 in ?? () from /lib64/libglib-2.0.so.0
#44 0x00007f8f9d669e5c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#45 0x00007f8f9f3464a6 in QEventDispatcherGlib::processEvents (this=0x55f3152c04c0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#46 0x00007f8f9f2ebffb in QEventLoop::exec (this=this@entry=0x7fff80e610b0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#47 0x00007f8f9f2f4490 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#48 0x000055f314ca2a26 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/lokalize-23.08.0/src/main.cpp:128

Reported using DrKonqi
Comment 1 Albert Astals Cid 2023-09-04 21:35:54 UTC
Can you run 

valgrind lokalize

and attach the valgrind trace when doing the thing that makes it crash?
Comment 2 Vit Pelcak 2023-09-05 07:00:02 UTC
==12805== Memcheck, a memory error detector
==12805== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al.
==12805== Using Valgrind-3.21.0 and LibVEX; rerun with -h for copyright info
==12805== Command: lokalize
==12805== 
==12805== Conditional jump or move depends on uninitialised value(s)
==12805==    at 0x1D587CA5: ???
==12805==    by 0xC87C4B7: ???
==12805== 
==12805== Conditional jump or move depends on uninitialised value(s)
==12805==    at 0x1D587CA5: ???
==12805==    by 0xC87D147: ???
==12805== 
==12805== Conditional jump or move depends on uninitialised value(s)
==12805==    at 0x1D587CA5: ???
==12805==    by 0xC88E1C7: ???
==12805== 
==12805== Conditional jump or move depends on uninitialised value(s)
==12805==    at 0x1D587CA5: ???
==12805==    by 0xC87F217: ???
==12805== 
==12805== Conditional jump or move depends on uninitialised value(s)
==12805==    at 0x1D587CA5: ???
==12805==    by 0xC8909D7: ???
==12805== 
==12805== Conditional jump or move depends on uninitialised value(s)
==12805==    at 0x1D587CA5: ???
==12805==    by 0xC890F77: ???
==12805== 
==12805== Conditional jump or move depends on uninitialised value(s)
==12805==    at 0x1D587CA5: ???
==12805==    by 0xC891527: ???
==12805== 
==12805== Conditional jump or move depends on uninitialised value(s)
==12805==    at 0x1D587CA5: ???
==12805==    by 0xC891AD7: ???
==12805== 
==12805== Conditional jump or move depends on uninitialised value(s)
==12805==    at 0x1D587CA5: ???
==12805==    by 0xC892777: ???
==12805== 
==12805== Conditional jump or move depends on uninitialised value(s)
==12805==    at 0x1D587CA5: ???
==12805==    by 0xC892D17: ???
==12805== 
==12805== Conditional jump or move depends on uninitialised value(s)
==12805==    at 0x1D587CA5: ???
==12805==    by 0xC8932C7: ???
==12805== 
==12805== Conditional jump or move depends on uninitialised value(s)
==12805==    at 0x1D587CA5: ???
==12805==    by 0xC893877: ???
==12805== 
==12805== Conditional jump or move depends on uninitialised value(s)
==12805==    at 0x1D587CA5: ???
==12805==    by 0xC7C5577: ???
==12805== 
==12805== Conditional jump or move depends on uninitialised value(s)
==12805==    at 0x1D587CA5: ???
==12805==    by 0xC894197: ???
==12805== 
QStatusBar::insertWidget: Index out of range (5), appending widget
==12805== Conditional jump or move depends on uninitialised value(s)
==12805==    at 0x1D587AC5: ???
==12805==    by 0xCF86627: ???
==12805== 
==12805== Conditional jump or move depends on uninitialised value(s)
==12805==    at 0x1D587AC5: ???
==12805==    by 0xE9A6F07: ???
==12805== 
==12805== Conditional jump or move depends on uninitialised value(s)
==12805==    at 0x1D587AC5: ???
==12805==    by 0xCF8CA77: ???
==12805== 
==12805== Conditional jump or move depends on uninitialised value(s)
==12805==    at 0x1D587AC5: ???
==12805==    by 0xD88F747: ???
==12805== 
==12805== Conditional jump or move depends on uninitialised value(s)
==12805==    at 0x1D587AC5: ???
==12805==    by 0xCF87287: ???
==12805== 
==12805== Conditional jump or move depends on uninitialised value(s)
==12805==    at 0x1D587AC5: ???
==12805==    by 0xCFA7B77: ???
==12805== 
==12805== Conditional jump or move depends on uninitialised value(s)
==12805==    at 0x1D587AC5: ???
==12805==    by 0xCF9F877: ???
==12805== 
==12805== Conditional jump or move depends on uninitialised value(s)
==12805==    at 0x1D587AC5: ???
==12805==    by 0xE9B9E77: ???
==12805== 
==12805== Conditional jump or move depends on uninitialised value(s)
==12805==    at 0x1D587AC5: ???
==12805==    by 0xE9BA827: ???
==12805== 
==12805== Conditional jump or move depends on uninitialised value(s)
==12805==    at 0x1D587AC5: ???
==12805==    by 0xCFB8EA7: ???
==12805== 
==12805== Conditional jump or move depends on uninitialised value(s)
==12805==    at 0x1D587AC5: ???
==12805==    by 0xE9C7867: ???
==12805== 
==12805== Conditional jump or move depends on uninitialised value(s)
==12805==    at 0x1D587AC5: ???
==12805==    by 0xE9C4C47: ???
==12805== 
==12805== Conditional jump or move depends on uninitialised value(s)
==12805==    at 0x1D587AC5: ???
==12805==    by 0xE9C9567: ???
==12805== 
==12805== Conditional jump or move depends on uninitialised value(s)
==12805==    at 0x1D587AC5: ???
==12805==    by 0xCFCC357: ???
==12805== 
==12805== Conditional jump or move depends on uninitialised value(s)
==12805==    at 0x1D587AC5: ???
==12805==    by 0xCFD1C27: ???
==12805== 
==12805== Conditional jump or move depends on uninitialised value(s)
==12805==    at 0x1D587AC5: ???
==12805==    by 0xE9E7F67: ???
==12805== 
==12805== Conditional jump or move depends on uninitialised value(s)
==12805==    at 0x1D587AC5: ???
==12805==    by 0xCFD30A7: ???
==12805== 
==12805== Conditional jump or move depends on uninitialised value(s)
==12805==    at 0x1D587AC5: ???
==12805==    by 0xCFDBC17: ???
==12805== 
QIODevice::read (QBuffer): device not open
org.kde.lokalize: "Předčasný konec dokumentu."
org.kde.lokalize: db "default462206656" opened 7775 "cs_CZ"
org.kde.lokalize: db "preklad462206656" opened 778 "cs"
==12805== Conditional jump or move depends on uninitialised value(s)
==12805==    at 0x1D5878F8: ???
==12805==    by 0x920FD47: ???
==12805== 
==12805== Conditional jump or move depends on uninitialised value(s)
==12805==    at 0x1D5878F8: ???
==12805==    by 0x92107B7: ???
==12805== 
==12805== Conditional jump or move depends on uninitialised value(s)
==12805==    at 0x1D5878F8: ???
==12805==    by 0x92108A7: ???
==12805== 
==12805== Conditional jump or move depends on uninitialised value(s)
==12805==    at 0x1D5878F8: ???
==12805==    by 0x9210987: ???
==12805== 
org.kde.lokalize: alt trans file doesn't exist: "/home/vpelcak/!files/preklad/kde/trunk/l10n-support/cs/summit/messages/elisa/elisa.po"
org.kde.lokalize: alt trans file doesn't exist: "/home/vpelcak/!files/preklad/kde/trunk/l10n-support/cs/summit/messages/kirigami-addons/kirigami-addons.po"
org.kde.lokalize: alt trans file doesn't exist: "/home/vpelcak/!files/preklad/kde/trunk/l10n-support/cs/summit/messages/keysmith/keysmith.po"
==12805== Conditional jump or move depends on uninitialised value(s)
==12805==    at 0x23ADD8F8: ???
==12805==    by 0xD11CEE7: ???
==12805== 
==12805== Conditional jump or move depends on uninitialised value(s)
==12805==    at 0x23ADD8F8: ???
==12805==    by 0xD11CFD7: ???
==12805== 
==12805== Conditional jump or move depends on uninitialised value(s)
==12805==    at 0x23ADD8F8: ???
==12805==    by 0xD11D0F7: ???
==12805== 
==12805== Conditional jump or move depends on uninitialised value(s)
==12805==    at 0x23ADD8F8: ???
==12805==    by 0xD11D1A7: ???
==12805== 
==12805== Conditional jump or move depends on uninitialised value(s)
==12805==    at 0x23ADD8F8: ???
==12805==    by 0x1C62B357: ???
==12805== 
org.kde.lokalize: alt trans file doesn't exist: "/home/vpelcak/!files/preklad/kde/trunk/l10n-support/cs/summit/messages/kate/kate.po"
==12805== Conditional jump or move depends on uninitialised value(s)
==12805==    at 0x23ADD8F8: ???
==12805==    by 0x8F5D8A7: ???
==12805== 
org.kde.lokalize: alt trans file doesn't exist: "/home/vpelcak/!files/preklad/kde/trunk/l10n-support/cs/summit/messages/kate/kate._json_.po"
==12805== Conditional jump or move depends on uninitialised value(s)
==12805==    at 0x23ADD8F8: ???
==12805==    by 0x1CE40FB7: ???
==12805== 
==12805== Conditional jump or move depends on uninitialised value(s)
==12805==    at 0x23ADD8F8: ???
==12805==    by 0x1CED0657: ???
==12805== 
==12805== Conditional jump or move depends on uninitialised value(s)
==12805==    at 0x23ADD8F8: ???
==12805==    by 0x1CEB7D07: ???
==12805== 
==12805== Conditional jump or move depends on uninitialised value(s)
==12805==    at 0x23ADD8F8: ???
==12805==    by 0x1CD69597: ???
==12805== 
org.kde.lokalize: alt trans file doesn't exist: "/home/vpelcak/!files/preklad/kde/trunk/l10n-support/cs/summit/messages/kate/katebuild-plugin.po"
org.kde.lokalize: indexed "/home/vpelcak/!files/preklad/kde/trunk/l10n-support/cs/summit/messages/elisa/elisa.po" for word completion in 22 msecs
org.kde.lokalize: indexed "/home/vpelcak/!files/preklad/kde/trunk/l10n-support/cs/summit/messages/kirigami-addons/kirigami-addons.po" for word completion in 7 msecs
org.kde.lokalize: indexed "/home/vpelcak/!files/preklad/kde/trunk/l10n-support/cs/summit/messages/keysmith/keysmith.po" for word completion in 5 msecs
org.kde.lokalize: indexed "/home/vpelcak/!files/preklad/kde/trunk/l10n-support/cs/summit/messages/kate/kate.po" for word completion in 34 msecs
org.kde.lokalize: indexed "/home/vpelcak/!files/preklad/kde/trunk/l10n-support/cs/summit/messages/kate/kate._json_.po" for word completion in 8 msecs
org.kde.lokalize: indexed "/home/vpelcak/!files/preklad/kde/trunk/l10n-support/cs/summit/messages/kate/katebuild-plugin.po" for word completion in 4 msecs
==12805== Invalid read of size 8
==12805==    at 0x1B190F: UnknownInlinedFun (stl_list.h:379)
==12805==    by 0x1B190F: MergeCatalog::copyToBaseCatalog(int) (mergecatalog.cpp:285)
==12805==    by 0x217F5C: Catalog::loadFromUrl(QString const&, QString const&, int*, bool) (catalog.cpp:601)
==12805==    by 0x176161: EditorTab::fileOpen(QString, QString, QMap<QString, QMdiSubWindow*>, bool) (editortab.cpp:849)
==12805==    by 0x1681B0: LokalizeMainWindow::fileOpen(QString, int, bool, QString const&, bool) (lokalizemainwindow.cpp:243)
==12805==    by 0x168BFB: LokalizeMainWindow::fileOpen_(QString, bool) (lokalizemainwindow.cpp:213)
==12805==    by 0x17197F: UnknownInlinedFun (qobjectdefs_impl.h:152)
==12805==    by 0x17197F: UnknownInlinedFun (qobjectdefs_impl.h:185)
==12805==    by 0x17197F: QtPrivate::QSlotObject<EditorTab* (LokalizeMainWindow::*)(QString, bool), QtPrivate::List<QString const&, bool>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (qobjectdefs_impl.h:418)
==12805==    by 0x663B811: UnknownInlinedFun (qobjectdefs_impl.h:398)
==12805==    by 0x663B811: void doActivate<false>(QObject*, int, void**) (qobject.cpp:3925)
==12805==    by 0x1C7075: ProjectTab::fileOpenRequested(QString const&, bool) (moc_projecttab.cpp:385)
==12805==    by 0x663B811: UnknownInlinedFun (qobjectdefs_impl.h:398)
==12805==    by 0x663B811: void doActivate<false>(QObject*, int, void**) (qobject.cpp:3925)
==12805==    by 0x241994: UnknownInlinedFun (moc_projectwidget.cpp:163)
==12805==    by 0x241994: UnknownInlinedFun (projectwidget.cpp:376)
==12805==    by 0x241994: ProjectWidget::slotItemActivated(QModelIndex const&) (projectwidget.cpp:369)
==12805==    by 0x663B811: UnknownInlinedFun (qobjectdefs_impl.h:398)
==12805==    by 0x663B811: void doActivate<false>(QObject*, int, void**) (qobject.cpp:3925)
==12805==    by 0x574C2C4: QAbstractItemView::activated(QModelIndex const&) (moc_qabstractitemview.cpp:668)
==12805==  Address 0x2ab145a0 is 0 bytes inside a block of size 24 free'd
==12805==    at 0x48468B4: operator delete(void*, unsigned long) (vg_replace_malloc.c:1072)
==12805==    by 0x1ADAAF: UnknownInlinedFun (new_allocator.h:168)
==12805==    by 0x1ADAAF: UnknownInlinedFun (alloc_traits.h:516)
==12805==    by 0x1ADAAF: UnknownInlinedFun (stl_list.h:522)
==12805==    by 0x1ADAAF: UnknownInlinedFun (list.tcc:81)
==12805==    by 0x1ADAAF: UnknownInlinedFun (stl_list.h:575)
==12805==    by 0x1ADAAF: UnknownInlinedFun (stl_list.h:903)
==12805==    by 0x1ADAAF: std::__cxx11::list<int, std::allocator<int> >::remove(int const&) (list.tcc:363)
==12805==    by 0x1B16C5: UnknownInlinedFun (mergecatalog.h:115)
==12805==    by 0x1B16C5: MergeCatalog::copyToBaseCatalog(DocPosition&) (mergecatalog.cpp:274)
==12805==    by 0x1B18FA: MergeCatalog::copyToBaseCatalog(int) (mergecatalog.cpp:307)
==12805==    by 0x217F5C: Catalog::loadFromUrl(QString const&, QString const&, int*, bool) (catalog.cpp:601)
==12805==    by 0x176161: EditorTab::fileOpen(QString, QString, QMap<QString, QMdiSubWindow*>, bool) (editortab.cpp:849)
==12805==    by 0x1681B0: LokalizeMainWindow::fileOpen(QString, int, bool, QString const&, bool) (lokalizemainwindow.cpp:243)
==12805==    by 0x168BFB: LokalizeMainWindow::fileOpen_(QString, bool) (lokalizemainwindow.cpp:213)
==12805==    by 0x17197F: UnknownInlinedFun (qobjectdefs_impl.h:152)
==12805==    by 0x17197F: UnknownInlinedFun (qobjectdefs_impl.h:185)
==12805==    by 0x17197F: QtPrivate::QSlotObject<EditorTab* (LokalizeMainWindow::*)(QString, bool), QtPrivate::List<QString const&, bool>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (qobjectdefs_impl.h:418)
==12805==    by 0x663B811: UnknownInlinedFun (qobjectdefs_impl.h:398)
==12805==    by 0x663B811: void doActivate<false>(QObject*, int, void**) (qobject.cpp:3925)
==12805==    by 0x1C7075: ProjectTab::fileOpenRequested(QString const&, bool) (moc_projecttab.cpp:385)
==12805==    by 0x663B811: UnknownInlinedFun (qobjectdefs_impl.h:398)
==12805==    by 0x663B811: void doActivate<false>(QObject*, int, void**) (qobject.cpp:3925)
==12805==  Block was alloc'd at
==12805==    at 0x4843F0F: operator new(unsigned long) (vg_replace_malloc.c:472)
==12805==    by 0x1B0168: UnknownInlinedFun (new_allocator.h:147)
==12805==    by 0x1B0168: UnknownInlinedFun (alloc_traits.h:482)
==12805==    by 0x1B0168: UnknownInlinedFun (stl_list.h:518)
==12805==    by 0x1B0168: UnknownInlinedFun (stl_list.h:710)
==12805==    by 0x1B0168: UnknownInlinedFun (stl_list.h:2005)
==12805==    by 0x1B0168: UnknownInlinedFun (stl_list.h:1306)
==12805==    by 0x1B0168: MergeCatalog::loadFromUrl(QString const&, QString const&) (mergecatalog.cpp:192)
==12805==    by 0x217F32: Catalog::loadFromUrl(QString const&, QString const&, int*, bool) (catalog.cpp:599)
==12805==    by 0x176161: EditorTab::fileOpen(QString, QString, QMap<QString, QMdiSubWindow*>, bool) (editortab.cpp:849)
==12805==    by 0x1681B0: LokalizeMainWindow::fileOpen(QString, int, bool, QString const&, bool) (lokalizemainwindow.cpp:243)
==12805==    by 0x168BFB: LokalizeMainWindow::fileOpen_(QString, bool) (lokalizemainwindow.cpp:213)
==12805==    by 0x17197F: UnknownInlinedFun (qobjectdefs_impl.h:152)
==12805==    by 0x17197F: UnknownInlinedFun (qobjectdefs_impl.h:185)
==12805==    by 0x17197F: QtPrivate::QSlotObject<EditorTab* (LokalizeMainWindow::*)(QString, bool), QtPrivate::List<QString const&, bool>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (qobjectdefs_impl.h:418)
==12805==    by 0x663B811: UnknownInlinedFun (qobjectdefs_impl.h:398)
==12805==    by 0x663B811: void doActivate<false>(QObject*, int, void**) (qobject.cpp:3925)
==12805==    by 0x1C7075: ProjectTab::fileOpenRequested(QString const&, bool) (moc_projecttab.cpp:385)
==12805==    by 0x663B811: UnknownInlinedFun (qobjectdefs_impl.h:398)
==12805==    by 0x663B811: void doActivate<false>(QObject*, int, void**) (qobject.cpp:3925)
==12805==    by 0x241994: UnknownInlinedFun (moc_projectwidget.cpp:163)
==12805==    by 0x241994: UnknownInlinedFun (projectwidget.cpp:376)
==12805==    by 0x241994: ProjectWidget::slotItemActivated(QModelIndex const&) (projectwidget.cpp:369)
==12805==    by 0x663B811: UnknownInlinedFun (qobjectdefs_impl.h:398)
==12805==    by 0x663B811: void doActivate<false>(QObject*, int, void**) (qobject.cpp:3925)
==12805== 
==12805== Invalid read of size 4
==12805==    at 0x1B18AC: MergeCatalog::copyToBaseCatalog(int) (mergecatalog.cpp:285)
==12805==    by 0x217F5C: Catalog::loadFromUrl(QString const&, QString const&, int*, bool) (catalog.cpp:601)
==12805==    by 0x176161: EditorTab::fileOpen(QString, QString, QMap<QString, QMdiSubWindow*>, bool) (editortab.cpp:849)
==12805==    by 0x1681B0: LokalizeMainWindow::fileOpen(QString, int, bool, QString const&, bool) (lokalizemainwindow.cpp:243)
==12805==    by 0x168BFB: LokalizeMainWindow::fileOpen_(QString, bool) (lokalizemainwindow.cpp:213)
==12805==    by 0x17197F: UnknownInlinedFun (qobjectdefs_impl.h:152)
==12805==    by 0x17197F: UnknownInlinedFun (qobjectdefs_impl.h:185)
==12805==    by 0x17197F: QtPrivate::QSlotObject<EditorTab* (LokalizeMainWindow::*)(QString, bool), QtPrivate::List<QString const&, bool>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (qobjectdefs_impl.h:418)
==12805==    by 0x663B811: UnknownInlinedFun (qobjectdefs_impl.h:398)
==12805==    by 0x663B811: void doActivate<false>(QObject*, int, void**) (qobject.cpp:3925)
==12805==    by 0x1C7075: ProjectTab::fileOpenRequested(QString const&, bool) (moc_projecttab.cpp:385)
==12805==    by 0x663B811: UnknownInlinedFun (qobjectdefs_impl.h:398)
==12805==    by 0x663B811: void doActivate<false>(QObject*, int, void**) (qobject.cpp:3925)
==12805==    by 0x241994: UnknownInlinedFun (moc_projectwidget.cpp:163)
==12805==    by 0x241994: UnknownInlinedFun (projectwidget.cpp:376)
==12805==    by 0x241994: ProjectWidget::slotItemActivated(QModelIndex const&) (projectwidget.cpp:369)
==12805==    by 0x663B811: UnknownInlinedFun (qobjectdefs_impl.h:398)
==12805==    by 0x663B811: void doActivate<false>(QObject*, int, void**) (qobject.cpp:3925)
==12805==    by 0x574C2C4: QAbstractItemView::activated(QModelIndex const&) (moc_qabstractitemview.cpp:668)
==12805==  Address 0x1ffeffe140 is on thread 1's stack
==12805==  160 bytes below stack pointer
==12805== 
==12805== 
==12805== More than 10000000 total errors detected.  I'm not reporting any more.
==12805== Final error counts will be inaccurate.  Go fix your program!
==12805== Rerun with --error-limit=no to disable this cutoff.  Note
==12805== that errors may occur in your program without prior warning from
==12805== Valgrind, because errors are no longer being displayed.
==12805== 


Is this enough or do you need me to use --error-limit=no ?
Comment 3 Vit Pelcak 2023-09-05 09:36:18 UTC
Created attachment 161410 [details]
valgrind log

I tried to run valgrind  --error-limit=no --log-file="lokalize.log" lokalize but ended up with computer frozen. I let it work for a dozen of minutes and then rebooted. This is all I got logged there.
Comment 4 Bug Janitor Service 2023-09-06 22:32:15 UTC
A possibly relevant merge request was started @ https://invent.kde.org/sdk/lokalize/-/merge_requests/72
Comment 5 Albert Astals Cid 2023-09-07 20:53:32 UTC
Git commit a0cd31ff84afeae135b9cf76f7bfcc44d55e260a by Albert Astals Cid.
Committed on 07/09/2023 at 00:31.
Pushed by aacid into branch 'master'.

"changed" can't be a reference since it gets modified later on the loop

Porting mistake made in 41f017815a58fd3cc1f0772f9e4f0eff4dae00d5

M  +1    -1    src/mergemode/mergecatalog.cpp

https://invent.kde.org/sdk/lokalize/-/commit/a0cd31ff84afeae135b9cf76f7bfcc44d55e260a
Comment 6 Albert Astals Cid 2023-09-07 20:53:58 UTC
Git commit 399de5ec6fa066bd659622a7a231225db2cd1566 by Albert Astals Cid.
Committed on 07/09/2023 at 22:53.
Pushed by aacid into branch 'release/23.08'.

"changed" can't be a reference since it gets modified later on the loop

Porting mistake made in 41f017815a58fd3cc1f0772f9e4f0eff4dae00d5
(cherry picked from commit a0cd31ff84afeae135b9cf76f7bfcc44d55e260a)

M  +1    -1    src/mergemode/mergecatalog.cpp

https://invent.kde.org/sdk/lokalize/-/commit/399de5ec6fa066bd659622a7a231225db2cd1566