Bug 435186 - KmPlot crashes when trying to plot an implicit function
Summary: KmPlot crashes when trying to plot an implicit function
Status: ASSIGNED
Alias: None
Product: kmplot
Classification: Applications
Component: general (show other bugs)
Version: 1.3.0
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Christoph Feck
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2021-03-31 14:00 UTC by Emanuele Spirito
Modified: 2023-04-15 00:39 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Emanuele Spirito 2021-03-31 14:00:36 UTC
Application: kmplot (1.3.0)

Qt Version: 5.15.2
Frameworks Version: 5.79.0
Operating System: Linux 5.11.7-200.fc33.x86_64 x86_64
Windowing system: X11
Distribution: Fedora 33 (KDE Plasma)

-- Information about the crash:
- What I was doing when the application crashed:
I commanded the plot of the implicit function tan((x+y)/(2)) tan((y-x)/(2))=1

The crash can be reproduced every time.

-- Backtrace:
Application: KmPlot (kmplot), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f6cfc294517 in View::drawImplicit(Function*, QPainter*) () from /usr/lib64/qt5/plugins/kmplotpart.so
#5  0x00007f6cfc29b3c3 in View::draw(QPaintDevice*, View::PlotMedium) [clone .part.0] () from /usr/lib64/qt5/plugins/kmplotpart.so
#6  0x00007f6cfc28759d in View::drawPlot() () from /usr/lib64/qt5/plugins/kmplotpart.so
#7  0x00007f6cfc27495c in FunctionEditor::saveImplicit() () from /usr/lib64/qt5/plugins/kmplotpart.so
#8  0x00007f6d10178386 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#9  0x00007f6d1017c1fe in QTimer::timeout(QTimer::QPrivateSignal) () from /lib64/libQt5Core.so.5
#10 0x00007f6d10170c7f in QObject::event(QEvent*) () from /lib64/libQt5Core.so.5
#11 0x00007f6d10c31ec3 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#12 0x00007f6d10148bd8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#13 0x00007f6d10194a03 in QTimerInfoList::activateTimers() () from /lib64/libQt5Core.so.5
#14 0x00007f6d101952fc in timerSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5Core.so.5
#15 0x00007f6d0e7a9a9f in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#16 0x00007f6d0e7fba98 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#17 0x00007f6d0e7a6e73 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#18 0x00007f6d101956f3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#19 0x00007f6d1014757b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#20 0x00007f6d1014f1b4 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#21 0x000055ae50099b4c in main ()
[Inferior 1 (process 12279) detached]

Possible duplicates by query: bug 228981, bug 216515, bug 204068, bug 154099.

Reported using DrKonqi
Comment 1 guimarcalsilva 2021-04-04 21:01:15 UTC
I can also reproduce this bug
Comment 2 Dave Gilbert 2023-04-14 00:52:51 UTC
This looks the same as 426025 to me
Comment 3 Bug Janitor Service 2023-04-15 00:39:58 UTC
A possibly relevant merge request was started @ https://invent.kde.org/education/kmplot/-/merge_requests/13