https://bugs.kde.org/show_bug.cgi?id=498550
Bug ID: 498550
Summary: Combination of Color Picker and Undo Leads to a
segfault
Classification: Applications
Product: kolourpaint
Version: 24.12.1
Platform: Ubuntu
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
SUMMARY
Specific tool combination involving undo leads to a segfault.
STEPS TO REPRODUCE
1. Select Color Picker + Click the Canvas
2. Select text tool + Click the Canvas
3. Hit Undo
4. Select Flood tool + Click the Canvas
OBSERVED RESULT
Crashes with a segfault
EXPECTED RESULT
Doesn't crash
BACKTRACE
Thread 1 "kolourpaint" received signal SIGSEGV, Segmentation fault.
0x00005555555ad741 in populatePopupMenu (
popupMenu=popupMenu@entry=0x555555be7990, undoOrRedo=..., commandList=...)
at /home/dillon/kde/src/kolourpaint/commands/kpCommandHistoryBase.cpp:519
519 QAction *action = new QAction(i18n("%1: %2", undoOrRedo,
(*it)->name()), popupMenu);
(gdb) bt full
#0 0x00005555555ad741 in populatePopupMenu
(popupMenu=popupMenu@entry=0x555555be7990, undoOrRedo=..., commandList=...)
at /home/dillon/kde/src/kolourpaint/commands/kpCommandHistoryBase.cpp:519
action = <optimized out>
it = {i = 0x5555560b8998}
i = 1
#1 0x00005555555abdc2 in kpCommandHistoryBase::updateActions
(this=this@entry=0x555555be24c0)
at /home/dillon/kde/src/kolourpaint/commands/kpCommandHistoryBase.cpp:554
#2 0x00005555555abbdd in kpCommandHistoryBase::trimCommandListsUpdateActions
(this=0x555555be24c0)
at /home/dillon/kde/src/kolourpaint/commands/kpCommandHistoryBase.cpp:411
#3 kpCommandHistoryBase::addCommand
(this=0x555555be24c0, command=<optimized out>, execute=<optimized out>)
at /home/dillon/kde/src/kolourpaint/commands/kpCommandHistoryBase.cpp:232
#4 0x0000555555665266 in kpToolFloodFill::endDraw (this=0x555555df60b0)
at /home/dillon/kde/src/kolourpaint/tools/kpToolFloodFill.cpp:135
#5 0x0000555555664600 in kpTool::endDrawInternal
(this=0x555555df60b0, thisPoint=..., normalizedRect=...,
wantEndShape=<optimized out>) at
/home/dillon/kde/src/kolourpaint/tools/kpTool_Drawing.cpp:345
#6 0x000055555566750b in kpTool::mouseReleaseEvent
(this=0x555555df60b0, e=0x7fffffffd2a0)
at /home/dillon/kde/src/kolourpaint/tools/kpTool_MouseEvents.cpp:226
#7 0x00005555556897f0 in kpView::mouseReleaseEvent (this=0x555555f68c80,
e=0x7fffffffd2a0)
at /home/dillon/kde/src/kolourpaint/views/kpView_Events.cpp:74
#8 0x00007ffff67e3400 in QWidget::event (this=0x555555f68c80,
event=0x7fffffffd2a0)
at /usr/src/qt6-base-6.6.2+dfsg-12/src/widgets/kernel/qwidget.cpp:8959
d = 0x555555ef3b90
#9 0x00007ffff6793260 in QApplicationPrivate::notify_helper
(this=this@entry=0x555555961b80, receiver=receiver@entry=0x555555f68c80,
e=e@entry=0x7fffffffd2a0)
at /usr/src/qt6-base-6.6.2+dfsg-12/src/widgets/kernel/qapplication.cpp:3296
consumed = false
filtered = false
#10 0x00007ffff67975fe in QApplication::notify
(this=<optimized out>, receiver=0x555555f68c80, e=0x7fffffffd2a0)
at /usr/src/qt6-base-6.6.2+dfsg-12/src/widgets/kernel/qapplication.cpp:2782
--
You are receiving this mail because:
You are watching all bug changes.