https://bugs.kde.org/show_bug.cgi?id=524512
Bug ID: 524512
Summary: Labplot v2.12.1 crashes after undo
Classification: Applications
Product: LabPlot2
Version First 2.12.1
Reported In:
Platform: Ubuntu
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
DESCRIPTION
Labplot v2.12.1 crashes after "Show Sparklines" and undo
STEPS TO REPRODUCE
1. Open new sheet in labplot
2. Click spreadsheet dropdown on top -> toggle “Show Sparklines” ON
3. Close the spreadsheet tab
4. Ctrl -Z -> Crash
OBSERVED RESULT
Labplot crashes with segfault
Reproduced from own build, and using flatpak install of labplot (also v2.12.1)
EXPECTED RESULT
No crash - Re-open the closed spreadsheet, or have nothing happen with ctrl-z
SOFTWARE/OS VERSIONS
Operating System: Ubuntu 24.04.4
KDE Plasma Version: N/A
KDE Frameworks Version: 6.25.0
Qt Version: 6.10.2
ADDITIONAL INFORMATION
Backtrace -
#0 0x0000555555881e84 in SpreadsheetView::showSparklines (this=0x0, on=false)
at /run/build/labplot/src/frontend/spreadsheet/SpreadsheetView.cpp:1171
#1 0x0000555555ec2989 in SpreadsheetPrivate::updateSparklinesHeader
(this=<optimized out>)
at /run/build/labplot/src/backend/spreadsheet/Spreadsheet.cpp:1769
#2 SpreadsheetSetShowSparklinesCmd::finalize (this=0x7fffdc004d80)
at /run/build/labplot/src/backend/spreadsheet/Spreadsheet.cpp:427
#3 0x00007ffff4d752fd in QUndoStack::undo() ()
at /usr/lib/x86_64-linux-gnu/libQt6Gui.so.6
#4 0x00005555557e7ba4 in MainWin::undo (this=0x555556879470)
at /run/build/labplot/src/frontend/MainWin.cpp:2282
#5 0x00007ffff4019c3a in ??? () at /usr/lib/x86_64-linux-gnu/libQt6Core.so.6
#6 0x00007ffff4cc217a in QAction::triggered(bool) ()
at /usr/lib/x86_64-linux-gnu/libQt6Gui.so.6
#7 0x00007ffff4cc54e2 in QAction::activate(QAction::ActionEvent) ()
at /usr/lib/x86_64-linux-gnu/libQt6Gui.so.6
#8 0x00007ffff4cc6572 in QAction::event(QEvent*) ()
at /usr/lib/x86_64-linux-gnu/libQt6Gui.so.6
#9 0x00007ffff53a6f9f in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() at /usr/lib/x86_64-linux-gnu/libQt6Widgets.so.6
#10 0x00007ffff3fae008 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() at /usr/lib/x86_64-linux-gnu/libQt6Core.so.6
#11 0x00007ffff4cd9aa9 in QShortcutMap::dispatchEvent(QKeyEvent*) ()
--Type <RET> for more, q to quit, c to continue without paging--c
at /usr/lib/x86_64-linux-gnu/libQt6Gui.so.6
#12 0x00007ffff4cdaa13 in QShortcutMap::tryShortcut(QKeyEvent*) ()
at /usr/lib/x86_64-linux-gnu/libQt6Gui.so.6
#13 0x00007ffff487d92c in QWindowSystemInterface::handleShortcutEvent(QWindow*,
unsigned long, int, QFlags<Qt::KeyboardModifier>, unsigned int, unsigned int,
unsigned int, QString const&, bool, unsigned short) ()
at /usr/lib/x86_64-linux-gnu/libQt6Gui.so.6
#14 0x00007ffff480a19e in
QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*)
() at /usr/lib/x86_64-linux-gnu/libQt6Gui.so.6
#15 0x00007ffff4878bcc in
QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() at /usr/lib/x86_64-linux-gnu/libQt6Gui.so.6
#16 0x00007fffec322d36 in ??? () at /usr/lib/x86_64-linux-gnu/libQt6XcbQpa.so.6
#17 0x00007ffff043818e in g_main_dispatch ()
at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007ffff04391bf in g_main_context_iterate_unlocked.isra ()
at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007ffff0439323 in g_main_context_iteration ()
at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007ffff42e6f1d in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /usr/lib/x86_64-linux-gnu/libQt6Core.so.6
#21 0x00007ffff3fbafe3 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
/usr/lib/x86_64-linux-gnu/libQt6Core.so.6
#22 0x00007ffff3fb68c9 in QCoreApplication::exec() ()
at /usr/lib/x86_64-linux-gnu/libQt6Core.so.6
#23 0x00005555557aa77a in main (argc=<optimized out>, argv=<optimized out>)
at /run/build/labplot/src/frontend/LabPlot.cpp:237
--
You are receiving this mail because:
You are watching all bug changes.