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 0.4.15-SR9 Undo error

4 posters

Go down  Message [Page 1 of 1]

1Simulide 0.4.15-SR9 Undo error Empty Simulide 0.4.15-SR9 Undo error Thu Nov 04, 2021 8:14 pm

feri



If I open Complex schemes like:

Dinamic_Display.simu
Voltmeter_0-100V-SAR.simu
clock cd4026_0.4.14.simu

I move a component and then I UNDO, when I start the simulation, Simulide closes.
Greetings

2Simulide 0.4.15-SR9 Undo error Empty Re: Simulide 0.4.15-SR9 Undo error Fri Nov 05, 2021 5:03 pm

arcachofo

arcachofo

Thanks. I will have a look.

3Simulide 0.4.15-SR9 Undo error Empty Same bug in version 1.0.0 RC3 Wed Nov 09, 2022 5:07 pm

anestis



Hi!

I just want to add that the same happens with version 1.0.0 RC3 R1148

The output of dmesg after the crash:
[28318.792038] AppRun[11755]: segfault at 1500000109 ip 00007f35f8c31f7b sp 00007ffe9f62b960 error 4 in libQt5Widgets.so.5[7f35f8800000+616000]
[28318.792072] Code: fd be 4a 00 00 00 48 83 ec 78 64 48 8b 04 25 28 00 00 00 48 89 44 24 68 31 c0 48 8d 5c 24 50 48 8b 07 4c 8d 64 24 40 48 89 df <4c> 8b a8 08 01 00 00 e8 59 5a d1 ff 48 89 d9 ba 11 00 00 00 48 89

Also it doesn't matter what you do, as long as there is something to undo when you press Ctrl+Z, simulide crushes instantly.

I was trying to remove components to see when it will stop crushing. And I found another bug. Although, maybe it is related to the first one. There is a socket in my cirquit, when I select it and press Delete, simulide crushes with the same error.


I am attaching my project. The socket is called "Programmer" just select it and press Delete. Also. do anything and press undo. It should crush similarly.

I am using Ubuntu 22.04
Attachments
Simulide 0.4.15-SR9 Undo error Attachmentvrastiras.zip
You don't have permission to download attachments.
(4 Kb) Downloaded 2 times

4Simulide 0.4.15-SR9 Undo error Empty Re: Simulide 0.4.15-SR9 Undo error Wed Nov 09, 2022 5:30 pm

arcachofo

arcachofo

Seems that this issue is already solved in 1.0.1.
I will have a look at 1.0.0 and see what is happening.

5Simulide 0.4.15-SR9 Undo error Empty Re: Simulide 0.4.15-SR9 Undo error Wed Nov 09, 2022 5:37 pm

arcachofo

arcachofo

I was trying to remove components to see when it will stop crushing. And I found another bug. Although, maybe it is related to the first one. There is a socket in my cirquit, when I select it and press Delete, simulide crushes with the same error
Yes the problem is the socket.

6Simulide 0.4.15-SR9 Undo error Empty Re: Simulide 0.4.15-SR9 Undo error Thu Nov 10, 2022 1:44 am

arcachofo

arcachofo

Crash deleting Socket fixed at 1.0.0 Rev 1164.

7Simulide 0.4.15-SR9 Undo error Empty Re: Simulide 0.4.15-SR9 Undo error Thu Nov 10, 2022 8:30 am

anestis



Can I download this version or should I wait for an official release?

Also, if there is a link with instructions on how to compile the source code, I would be very interested.

Thanks!

8Simulide 0.4.15-SR9 Undo error Empty Re: Simulide 0.4.15-SR9 Undo error Thu Nov 10, 2022 10:20 am

arcachofo

arcachofo

Compiling in Linux is easy:

Repository is in Launchpad: https://launchpad.net/simulide
To get the source code you need to install Bazaar (sudo apt-get install bzr) and execute one of these depending on the branch you want:
bzr branch lp:simulide/1.0.0
bzr branch lp:simulide/1.0.1
bzr branch lp:simulide

There are instructions to compile in the readme.md file

9Simulide 0.4.15-SR9 Undo error Empty Re: Simulide 0.4.15-SR9 Undo error Thu Nov 10, 2022 12:57 pm

anestis



The command "bzr branch lp:simulide/1.0.1" crushes with the error below:

You have not informed bzr of your Launchpad ID, and you must do this to
write to Launchpad or access private data.  See "bzr help launchpad-login".
brz: ERROR: No such file: b'74hc670.sim1-20220201093622-gs71nu0uizs4ok40-93'

The other two commands ("bzr branch lp:simulide/1.0.0" and "bzr branch lp:simulide") work just fine.

Also I can't find the readme.md file. The command: find . -iname "readme.md"

Prints:
./simulide/resources/examples/Micro/Arduino/Nano-Marduino_Game/marduino/README.md
./1.0.0/resources/examples/Micro/Arduino/Nano-Marduino_Game/marduino/README.md


I tried to find it online but in the page: https://launchpad.net/simulide/1.0.1 , the link "Browse the code" is not working.

10Simulide 0.4.15-SR9 Undo error Empty Re: Simulide 0.4.15-SR9 Undo error Fri Nov 11, 2022 1:21 am

arcachofo

arcachofo

Looks like 1.0.1 branch is broken.

And I added readme file, in any case to compile:

First install build dependencies:

- Qt5 dev packages
- Qt5 qmake
- Qt5Core
- Qt5Gui
- Qt5Xml
- Qt5Widgets
- Qt5Concurrent
- Qt5svg dev
- Qt5 Multimedia dev
- Qt5 Serialport dev
- Qt5 Script (not needed for trunk)


In Ubuntu:
Not sure if all needed in your system is here.

sudo apt-get install qt5base5-dev qt5-default qt5-qmake liqt5core5a liqt5gui5 libqt5xml5 libqt5widgets5 liqt5concurrent5 libqt5svg5 libqt5svg5-dev liqt5multimedia5 qtmultimedia5-dev liqt5serialport5 liqt5serialport5-dev libqt5script5 qtscript5-dev

Once installed open a terminal in build_XX folder, then:

$ qmake
$ make

In folder build_XX/executables/SimulIDE_x.x.x you will find executable and all files needed to run SimulIDE.

11Simulide 0.4.15-SR9 Undo error Empty Re: Simulide 0.4.15-SR9 Undo error Fri Nov 11, 2022 9:18 am

anestis



It worked!

The command "sudo apt-get install ...." no longer works in Ubuntu 22.04 and later because they changed the package names. So I had to find and install the packages one by one. It didn't take me long. Unfortunately, I can't post the new package names because I was installing whichever package has a similar name, until the compiler stopped complaining.

Since the branch 1.0.1 is currently broken. I built the 1.0.0 branch just to see if I could. To my surprise, the "socket deletion bug" and the "undo bug" were gone.

So as far as I'm concerned, the bugs are resolved even in "SimulIDE 1.0.0 RC3 R1165".

Thank you for your help!

12Simulide 0.4.15-SR9 Undo error Empty Re: Simulide 0.4.15-SR9 Undo error Fri Nov 11, 2022 9:47 am

arcachofo

arcachofo

Glad to know you could compile it.

Since the branch 1.0.1 is currently broken. I built the 1.0.0 branch just to see if I could. To my surprise, the "socket deletion bug" and the "undo bug" were gone.

So as far as I'm concerned, the bugs are resolved even in "SimulIDE 1.0.0 RC3 R1165"
Nice to know that the fix is confirmed to work.
Just to clarify:
The problem you experienced is not really related to the "undo bug", it was just the socked and it was only in 1.0.0.
When you do an Undo it actually removes everything and load a previous version of the circuit
Then it crashed when removing the socket.

13Simulide 0.4.15-SR9 Undo error Empty Re: Simulide 0.4.15-SR9 Undo error Fri Nov 11, 2022 9:53 am

KerimF



SimulIDE_1.0.1-R1374_Win32

For instance, on my side (W7), I used to avoid 'Undo' because it will likely crash SimulIDE.

14Simulide 0.4.15-SR9 Undo error Empty Re: Simulide 0.4.15-SR9 Undo error Fri Nov 11, 2022 9:59 am

arcachofo

arcachofo

SimulIDE_1.0.1-R1374_Win32

For instance, on my side (W7), I used to avoid 'Undo' because it will likely crash SimulIDE.
Can you provide a circuit that produces the crash?

15Simulide 0.4.15-SR9 Undo error Empty Re: Simulide 0.4.15-SR9 Undo error Fri Nov 11, 2022 2:36 pm

KerimF



arcachofo wrote:
SimulIDE_1.0.1-R1374_Win32

For instance, on my side (W7), I used to avoid 'Undo' because it will likely crash SimulIDE.
Can you provide a circuit that produces the crash?

I guess it is any circuit of the ones I uploaded. But this could happen when I messed in positioning something (a block, a component or perhaps a wire, I am not sure now).

So, I will have a closer look on how and when the crash happens by using 'Undo'.

16Simulide 0.4.15-SR9 Undo error Empty Re: Simulide 0.4.15-SR9 Undo error Sat Nov 12, 2022 9:51 am

arcachofo

arcachofo

Solved a crash deleting Oscilloscope if it is "Expanded" at trunk Rev 1401.
This issue will likely crash the program at Undo if Oscilloscope is expanded.

17Simulide 0.4.15-SR9 Undo error Empty Re: Simulide 0.4.15-SR9 Undo error Sat Nov 12, 2022 10:21 am

KerimF



arcachofo wrote:Solved a crash deleting Oscilloscope if it is "Expanded" at trunk Rev 1401.
This issue will likely crash the program at Undo if Oscilloscope is expanded.

I noticed this too in one crash in the least.

18Simulide 0.4.15-SR9 Undo error Empty Re: Simulide 0.4.15-SR9 Undo error Mon Nov 14, 2022 3:18 pm

arcachofo

arcachofo

anestis wrote:The command "bzr branch lp:simulide/1.0.1" crushes with the error below:

You have not informed bzr of your Launchpad ID, and you must do this to
write to Launchpad or access private data. See "bzr help launchpad-login".
brz: ERROR: No such file: b'74hc670.sim1-20220201093622-gs71nu0uizs4ok40-93'
I think branch 1.0.1 is working correctly now.

19Simulide 0.4.15-SR9 Undo error Empty Re: Simulide 0.4.15-SR9 Undo error Mon Nov 14, 2022 4:41 pm

anestis



arcachofo wrote:
anestis wrote:The command "bzr branch lp:simulide/1.0.1" crushes with the error below:

You have not informed bzr of your Launchpad ID, and you must do this to
write to Launchpad or access private data.  See "bzr help launchpad-login".
brz: ERROR: No such file: b'74hc670.sim1-20220201093622-gs71nu0uizs4ok40-93'
I think branch 1.0.1 is working correctly now.

I confirm that the 1.0.1 branch is working.
I was able to download, build and execute it.

The socket bug is also resolved in this version.

Thank you!

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