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

Simulide crashes on serial monitor

3 posters

Go down  Message [Page 1 of 1]

1Simulide crashes on serial monitor Empty Simulide crashes on serial monitor Thu Oct 29, 2020 11:20 am

TimFisch

TimFisch

Simulide crashes in the following situation:

WIN10, Ver 0.5.15-RC1

analog_serial.simu (from examples)

Preparation:

  1. serial monitor and serial port has to be closed.
  2. Simu-File has to be saved and re-opened again.


Steps:

  1. run simulation
  2. open serial monitor (will not show any output anymore)
  3. insert some send text and hit return

https://wiki.mexle.hs-heilbronn.de/

2Simulide crashes on serial monitor Empty Re: Simulide crashes on serial monitor Thu Oct 29, 2020 2:58 pm

arcachofo

arcachofo

Hi.
I can't reproduce the issue in Linux, it is working ok for me.
I will try in Windows and see what happens.

3Simulide crashes on serial monitor Empty Re: Simulide crashes on serial monitor Fri Oct 30, 2020 11:40 pm

wallysalami

wallysalami

That kind of crash happens on macOS as well. If I open a circuit, then open the serial monitor and close it (without even running the simulation), the app crashes due to some segmentation fault. Here is the beginning of the crash log:

Code:
System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000008
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Segmentation fault: 11
Termination Reason:    Namespace SIGNAL, Code 0xb
Terminating Process:   exc handler [3934]

VM Regions Near 0x8:
-->
    __TEXT                 0000000100000000-00000001003ac000 [ 3760K] r-x/r-x SM=COW  /Users/USER/*/simulide.app/Contents/MacOS/simulide

Application Specific Information:
Calling windowShouldClose: on the delegate for the QNSPanel 0x1283259b0

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   org.qt-project.QtGui            0x0000000100d9bed4 QWindowPrivate::maybeQuitOnLastWindowClosed() + 36
1   org.qt-project.QtGui            0x0000000100d9b909 QWindow::event(QEvent*) + 729
2   org.qt-project.QtWidgets        0x000000010073dfcf 0x1006d6000 + 425935
3   org.qt-project.QtWidgets        0x00000001006e6ce6 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 262
4   org.qt-project.QtWidgets        0x00000001006e8125 QApplication::notify(QObject*, QEvent*) + 581
5   org.qt-project.QtCore           0x0000000101ae0de4 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 212
6   org.qt-project.QtGui            0x0000000100d8a9e3 QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) + 2467
7   org.qt-project.QtGui            0x0000000100d736e3 bool QWindowSystemInterface::handleCloseEvent<QWindowSystemInterface::SynchronousDelivery>(QWindow*) + 179
8   libqcocoa.dylib                 0x000000010636e44a 0x10634c000 + 140362
9   libqcocoa.dylib                 0x0000000106382cb5 0x10634c000 + 224437
10  com.apple.AppKit                0x00007fff2ac2dd51 __19-[NSWindow __close]_block_invoke + 181
11  com.apple.AppKit                0x00007fff2ac2dc8f -[NSWindow __close] + 292
12  com.apple.AppKit                0x00007fff2aaa97a7 -[NSApplication(NSResponder) sendAction:to:from:] + 299
13  com.apple.AppKit                0x00007fff2aaa9642 -[NSControl sendAction:to:] + 86
14  com.apple.AppKit                0x00007fff2aaa9574 __26-[NSCell _sendActionFrom:]_block_invoke + 136
15  com.apple.AppKit                0x00007fff2aaa9476 -[NSCell _sendActionFrom:] + 171
16  com.apple.AppKit                0x00007fff2aaa93bd -[NSButtonCell _sendActionFrom:] + 96
17  com.apple.AppKit                0x00007fff2aaa569b NSControlTrackMouse + 1745
18  com.apple.AppKit                0x00007fff2aaa4fa2 -[NSCell trackMouse:inRect:ofView:untilMouseUp:] + 130
19  com.apple.AppKit                0x00007fff2aaa4e61 -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 691
20  com.apple.AppKit                0x00007fff2aaa41dd -[NSControl mouseDown:] + 748
21  com.apple.AppKit                0x00007fff2ac1784f -[_NSThemeWidget mouseDown:] + 86
22  com.apple.AppKit                0x00007fff2aaa25f0 -[NSWindow(NSEventRouting) _handleMouseDownEvent:isDelayedEvent:] + 4914
23  com.apple.AppKit                0x00007fff2aa0ce21 -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 2612
24  com.apple.AppKit                0x00007fff2aa0c1c9 -[NSWindow(NSEventRouting) sendEvent:] + 349
25  libqcocoa.dylib                 0x00000001063824fd 0x10634c000 + 222461
26  com.apple.AppKit                0x00007fff2aa0a554 -[NSApplication(NSEvent) sendEvent:] + 352
27  libqcocoa.dylib                 0x000000010638849a 0x10634c000 + 246938
28  com.apple.AppKit                0x00007fff2a8575bf -[NSApplication run] + 707
29  libqcocoa.dylib                 0x0000000106384d34 0x10634c000 + 232756
30  org.qt-project.QtCore           0x0000000101adcfb7 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 439
31  org.qt-project.QtCore           0x0000000101ae1372 QCoreApplication::exec() + 130
32  com.*****.simulide       0x000000010026cd7a main + 1226
33  libdyld.dylib                   0x00007fff6768bcc9 start + 1

TimFisch likes this post

4Simulide crashes on serial monitor Empty Re: Simulide crashes on serial monitor Sat Oct 31, 2020 2:58 pm

arcachofo

arcachofo

I finally could reproduce the issue.
I was not following the exact steps pointed by TimFish: Open serial monitor WHILE simulation is running.

This will be fixed for next RC.

Sponsored content



Back to top  Message [Page 1 of 1]

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