https://bugs.kde.org/show_bug.cgi?id=524670
Bug ID: 524670
Summary: Crash on notebook or note name change
Classification: Applications
Product: Marknote
Version First 1.6.0
Reported In:
Platform: Bazzite
OS: Linux
Status: REPORTED
Severity: crash
Priority: NOR
Component: General
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Target Milestone: ---
DESCRIPTION
App crashes ~1-2 seconds after changing a notebook OR note name. Merely
entering "rename" mode and NOT changing the name does not cause the crash.
STEPS TO REPRODUCE
1. Create notebook & note.
2. Change note name
3. Wait 1-2 seconds.
OBSERVED RESULT
Crash (SIGSEGV).
EXPECTED RESULT
Note name changed without crash. Keep in mind that it seems that the rename
itself works, as note shows up with changed name upon app restart.
SOFTWARE/OS VERSIONS
Operating System (available in the Info Center app, or by running `kinfo` in a
terminal window):
KDE Plasma Version: 6.7.4
KDE Frameworks Version: 6.28.0
Qt Version: 6.11.1
ADDITIONAL INFORMATION
Backtrace:
Core was generated by `marknote'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00005640da2cec85 in CommandBarHelper::removeStaleActions
(this=0x5640edc5d180, previousNames=..., currentNames=...)
at /run/build/marknote/src/commandbarhelper.cpp:92
92 if (staleAction->parent() == this) {
[Current thread is 1 (Thread 0x7f3981217a80 (LWP 2))]
(gdb) bt full
#0 0x00005640da2cec85 in CommandBarHelper::removeStaleActions
(this=0x5640edc5d180, previousNames=..., currentNames=...)
at /run/build/marknote/src/commandbarhelper.cpp:92
staleAction = 0x5640ef223410
staleActionName = <optimized out>
__for_range = <optimized out>
__for_begin = <optimized out>
__for_end = <optimized out>
actionCollection = 0x5640edad14e0
#1 0x00005640da2d03f8 in CommandBarHelper::updateNoteActions
(this=0x5640edc5d180)
at /run/build/marknote/src/commandbarhelper.cpp:184
actionCollection = 0x5640edad14e0
previousActionNames = {q_hash = {d = 0x5640ef55efe0}}
currentActionNames = {q_hash = {d = 0x5640eeb4d480}}
storageDir = {d_ptr = {<QSharedDataPointerBase<QSharedDataPointer,
QDirPrivate>> = {d = {
ptr = 0x5640ee17eb80}}, <No data fields>}}
notebooks = {<QListSpecialMethods<QFileInfo>> =
{<QListSpecialMethodsBase<QFileInfo>> = {<No data fields>}, <No data fields>},
d = {d = 0x7f3970005be0, ptr = 0x7f3970005bf0, size = 1}}
actionIndex = 2
maxResults = 200
#2 0x00007f3981c282a3 in void doActivate<false>(QObject*, int, void**) () from
/usr/lib/x86_64-linux-gnu/libQt6Core.so.6
No symbol table info available.
#3 0x00007f3981c385c3 in QTimer::timeout(QTimer::QPrivateSignal) () from
/usr/lib/x86_64-linux-gnu/libQt6Core.so.6
No symbol table info available.
#4 0x00007f3981c186e5 in QObject::event(QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQt6Core.so.6
No symbol table info available.
#5 0x00007f39841a997f in QApplicationPrivate::notify_helper(QObject*, QEvent*)
()
--Type <RET> for more, q to quit, c to continue without paging--
from /usr/lib/x86_64-linux-gnu/libQt6Widgets.so.6
No symbol table info available.
#6 0x00007f3981bb83d8 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
()
from /usr/lib/x86_64-linux-gnu/libQt6Core.so.6
No symbol table info available.
#7 0x00007f3981da8f78 in QTimerInfoList::activateTimers() () from
/usr/lib/x86_64-linux-gnu/libQt6Core.so.6
No symbol table info available.
#8 0x00007f3981f07c59 in timerSourceDispatch(_GSource*, int (*)(void*), void*)
()
from /usr/lib/x86_64-linux-gnu/libQt6Core.so.6
No symbol table info available.
#9 0x00007f3980d1718e in g_main_dispatch () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#10 0x00007f3980d181bf in g_main_context_iterate_unlocked.isra () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#11 0x00007f3980d18323 in g_main_context_iteration () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#12 0x00007f3981f07f3d in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/x86_64-linux-gnu/libQt6Core.so.6
No symbol table info available.
#13 0x00007f3981bc555b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/x86_64-linux-gnu/libQt6Core.so.6
No symbol table info available.
#14 0x00007f3981bc0d49 in QCoreApplication::exec() () from
/usr/lib/x86_64-linux-gnu/libQt6Core.so.6
No symbol table info available.
#15 0x00005640da28510e in main (argc=<optimized out>, argv=<optimized out>) at
/run/build/marknote/src/main.cpp:199
app = <incomplete type>
--Type <RET> for more, q to quit, c to continue without paging--
about = {d = std::unique_ptr<KAboutDataPrivate> = {get() =
0x5640ed6c30e0}}
colorScheme = {<QObject> = {<No data fields>}, static staticMetaObject
= {d = {superdata = {
direct = 0x7f39820ecaa0 <QObject::staticMetaObject>},
stringdata = 0x5640da6fed10
<ColorSchemer::qt_staticMetaObjectStaticContent<(anonymous
namespace)::qt_meta_tag_ZN12ColorSchemerE_t>+240>,
data = 0x5640da6fec20
<ColorSchemer::qt_staticMetaObjectStaticContent<(anonymous
namespace)::qt_meta_tag_ZN12ColorSchemerE_t>>,
static_metacall = 0x5640da28a340
<ColorSchemer::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>,
relatedMetaObjects = 0x0,
metaTypes = 0x5640daa3f840
<ColorSchemer::qt_staticMetaObjectRelocatingContent<(anonymous
namespace)::qt_meta_tag_ZN12ColorSchemerE_t>>, extradata = 0x0}}, c =
0x5640ed6c0fb0}
parser = {d = 0x5640ed6c1710}
engine = <incomplete type>
runner = <optimized out>
window = <optimized out>
--
You are receiving this mail because:
You are watching all bug changes.