Bug 462567 - KAlgebra crashes when on clicking within the 3D Graph tab
Summary: KAlgebra crashes when on clicking within the 3D Graph tab
Status: RESOLVED WORKSFORME
Alias: None
Product: kalgebra
Classification: Applications
Component: general (other bugs)
Version First Reported In: 22.08.3
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-12-02 23:28 UTC by Katherine Agent
Modified: 2022-12-22 18:23 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Katherine Agent 2022-12-02 23:28:48 UTC
Application: kalgebra (22.08.3)

Qt Version: 5.15.7
Frameworks Version: 5.100.0
Operating System: Linux 6.0.10-arch2-1 x86_64
Windowing System: X11
Distribution: "Arch Linux"
DrKonqi: 5.26.4 [KCrashBackend]

-- Information about the crash:
Steps to produce the error:

1. Open KAlgebra
2. Click on "3D Graph" tab
3. Click anywhere on the application except for the title bar or another tab.
Result: KAlgebra immediately crashes
Expectation: KAlgebra shows 3D Plot tab and has normal functionality.

Additional information:

On step 2, when the tab is clicked, the tab will be highlighted, but the application will not display the 3D graph page, and stays displaying the page that I was on before clicking on the tab.

If I use KAlgebra Mobile, following the above steps results in a blank application screen with the exception of the sidebar, and the top toolbar with "Add plot", "save" and "reset viewpoint" buttons.

The crash can be reproduced every time.

-- Backtrace:
Application: KAlgebra (kalgebra), signal: Segmentation fault

[KCrash Handler]
#4  0x00007fd8456385e0 in Analitza::Plotter3DES::selectAxisArrow(int, int) () at /usr/lib/libAnalitzaPlot.so.8
#5  0x00007fd845679e31 in Analitza::PlotsView3DES::mousePressEvent(QMouseEvent*) () at /usr/lib/libAnalitzaWidgets.so.8
#6  0x00007fd844baf45b in QWidget::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#7  0x00007fd844b78b1c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#8  0x00007fd844b7e339 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#9  0x00007fd843e8cf98 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#10 0x00007fd844b7c337 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () at /usr/lib/libQt5Widgets.so.5
#11 0x00007fd844bcd3b5 in  () at /usr/lib/libQt5Widgets.so.5
#12 0x00007fd844bcf15e in  () at /usr/lib/libQt5Widgets.so.5
#13 0x00007fd844b78b1c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#14 0x00007fd843e8cf98 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#15 0x00007fd84433f16c in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/lib/libQt5Gui.so.5
#16 0x00007fd844328995 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Gui.so.5
#17 0x00007fd82852f710 in  () at /usr/lib/libQt5XcbQpa.so.5
#18 0x00007fd83a71687b in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#19 0x00007fd83a76d299 in  () at /usr/lib/libglib-2.0.so.0
#20 0x00007fd83a715132 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#21 0x00007fd843ed7c4c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#22 0x00007fd843e8573c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#23 0x00007fd843e90269 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#24 0x000056427edb2a59 in  ()
#25 0x00007fd84363c290 in  () at /usr/lib/libc.so.6
#26 0x00007fd84363c34a in __libc_start_main () at /usr/lib/libc.so.6
#27 0x000056427edb2b25 in  ()
[Inferior 1 (process 26474) detached]

Reported using DrKonqi
Comment 1 Aleix Pol 2022-12-22 17:26:17 UTC
I've been unable to reproduce this issue. Would you maybe be able to produce the backtrace with debug symbols?

I see you are on archlinux, so this should help. https://wiki.archlinux.org/title/Debuginfod
Comment 2 Aleix Pol 2022-12-22 17:28:02 UTC
as explained
Comment 3 Katherine Agent 2022-12-22 17:41:10 UTC
(In reply to Aleix Pol from comment #1)
> I've been unable to reproduce this issue. Would you maybe be able to produce
> the backtrace with debug symbols?
> 
> I see you are on archlinux, so this should help.
> https://wiki.archlinux.org/title/Debuginfod

I can no longer reproduce the bug.

Should it emerge again I will provide backtrace with debug symbols.
Comment 4 Aleix Pol 2022-12-22 18:23:32 UTC
Okay thank you, let's assume it was an outlier.