Would you like to react to this message? Create an account in a few clicks or log in to continue.

You are not connected. Please login or register

crashing on mouse context menu

3 posters

Go down  Message [Page 1 of 1]

1crashing on mouse context menu Empty crashing on mouse context menu Sun Apr 11, 2021 1:30 pm

unbreakmyheart



Version 0.4.14-sr4
OS: Fedora33 kernel 5.11.11-200 x86_64

how to reproduce problem:
1. open an example with a text box in it
2. make the text editable by double-click on it
3. right-click on it to call context menu
4. crash
Attachments
crashing on mouse context menu AttachmentScreenshot_20210411_142749.png
You don't have permission to download attachments.
(24 Kb) Downloaded 2 times



Last edited by arcachofo on Fri Dec 24, 2021 3:06 am; edited 1 time in total (Reason for editing : Marked as solved (green color))

2crashing on mouse context menu Empty Re: crashing on mouse context menu Sun Apr 11, 2021 6:02 pm

arcachofo

arcachofo

Hi.

I think this problem is solved in 0.4.15.
At least I can't reproduce it.

3crashing on mouse context menu Empty Re: crashing on mouse context menu Mon Apr 12, 2021 10:53 am

unbreakmyheart



4crashing on mouse context menu Empty Re: crashing on mouse context menu Mon Apr 12, 2021 6:44 pm

arcachofo

arcachofo

I can't reproduce it...

Maybe it only happens in some Qt version?

5crashing on mouse context menu Empty Re: crashing on mouse context menu Mon Apr 12, 2021 9:40 pm

nulik



unbreakmyheart wrote:Version 0.4.14-sr4
OS: Fedora33 kernel 5.11.11-200 x86_64

4. crash

if it is so reproducible on your machine , then do the following.

1. instal `gdb` (debugger)
2 .run simulide through gdb: gdb ./bin/simulide
3. when it crashes, type `bt` (backtrace) and send the output to us.

6crashing on mouse context menu Empty Re: crashing on mouse context menu Tue Apr 13, 2021 2:07 pm

unbreakmyheart



(gdb) bt
#0  0x00007ffff7a12980 in QWidget::window() const () from /lib64/libQt5Widgets.so.5
#1  0x00007ffff7bdbb0a in QWidgetTextControlPrivate::contextMenuEvent(QPoint const&, QPointF const&, QWidget*) ()
  from /lib64/libQt5Widgets.so.5
#2  0x00007ffff7bdd07f in QWidgetTextControl::processEvent(QEvent*, QTransform const&, QWidget*) () from /lib64/libQt5Widgets.so.5
#3  0x00007ffff7bd36ee in QWidgetTextControl::processEvent(QEvent*, QPointF const&, QWidget*) () from /lib64/libQt5Widgets.so.5
#4  0x00007ffff7cdba2e in non-virtual thunk to QGraphicsTextItem::contextMenuEvent(QGraphicsSceneContextMenuEvent*) ()
  from /lib64/libQt5Widgets.so.5
#5  0x00007ffff7ce828a in QGraphicsItem::sceneEvent(QEvent*) () from /lib64/libQt5Widgets.so.5
#6  0x00007ffff7ce8438 in QGraphicsTextItem::sceneEvent(QEvent*) () from /lib64/libQt5Widgets.so.5
#7  0x00007ffff7d0c322 in QGraphicsScene::contextMenuEvent(QGraphicsSceneContextMenuEvent*) () from /lib64/libQt5Widgets.so.5
#8  0x00007ffff7d1e698 in QGraphicsScene::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#9  0x00007ffff79eaec3 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#10 0x00007ffff69dabd8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#11 0x00007ffff7d3cb1d in QGraphicsView::contextMenuEvent(QContextMenuEvent*) () from /lib64/libQt5Widgets.so.5
#12 0x000000000048eb7c in CircuitView::contextMenuEvent(QContextMenuEvent*) ()
#13 0x00007ffff7a2bb1e in QWidget::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#14 0x00007ffff7ad56f2 in QFrame::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#15 0x00007ffff69da995 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#16 0x00007ffff79eaeb2 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#17 0x00007ffff79f2b63 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#18 0x00007ffff69dabd8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#19 0x00007ffff7a44e96 in QWidgetWindow::handleMouseEvent(QMouseEvent*) () from /lib64/libQt5Widgets.so.5
#20 0x00007ffff7a476be in QWidgetWindow::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#21 0x00007ffff79eaec3 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#22 0x00007ffff69dabd8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#23 0x00007ffff7297143 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) ()
  from /lib64/libQt5Gui.so.5
#24 0x00007ffff72788cc in QWindowSystemInterface::sendWindowSystemEvents(QFlags) ()
  from /lib64/libQt5Gui.so.5
#25 0x00007fffe574447e in xcbSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5XcbQpa.so.5
#26 0x00007ffff54d4a9f in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#27 0x00007ffff5526a98 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#28 0x00007ffff54d1e73 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#29 0x00007ffff6a276f3 in QEventDispatcherGlib::processEvents(QFlags) () from /lib64/libQt5Core.so.5
#30 0x00007ffff69d957b in QEventLoop::exec(QFlags) () from /lib64/libQt5Core.so.5
#31 0x00007ffff69e11b4 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#32 0x000000000047126a in main ()

7crashing on mouse context menu Empty Re: crashing on mouse context menu Tue Apr 13, 2021 7:15 pm

nulik



unbreakmyheart wrote:(gdb) bt
#0  0x00007ffff7a12980 in QWidget::window() const () from /lib64/libQt5Widgets.so.5

this is an error on the Qt library side,not on Simulide side. Probably the Qt libraries on your Linux distribution are of different version than on the machine that Simiulide was compiled on, and this difference creates this bug. The best you can do is to download Qt and build Simulide yourself.

arcachofo likes this post

8crashing on mouse context menu Empty Re: crashing on mouse context menu Tue Apr 13, 2021 8:32 pm

arcachofo

arcachofo

@unbreakmyheart
You can also try the AppImage and see if the problem is still there.

9crashing on mouse context menu Empty Re: crashing on mouse context menu Wed Apr 14, 2021 6:13 am

unbreakmyheart



AppImage is not crashing, gonna use it from now on

arcachofo likes this post

Sponsored content



Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum