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

R1671: Crash on "Undo"

3 posters

Go down  Message [Page 1 of 1]

1R1671: Crash on "Undo" Empty R1671: Crash on "Undo" Thu May 25, 2023 2:33 pm

hotwolf

hotwolf

I've switched to release R1671 (Linux). It works very well for me and the  new components are great, but I'm observing one issue:

I can consistently make the application crash ("Segmentation fault") by simply doing an "Undo".

2R1671: Crash on "Undo" Empty Re: R1671: Crash on "Undo" Thu May 25, 2023 4:13 pm

arcachofo

arcachofo

There is a new Undo/Redo system, still unstable.

It would be good to know how to reproduce the crash.

3R1671: Crash on "Undo" Empty Re: R1671: Crash on "Undo" Thu May 25, 2023 5:36 pm

hotwolf

hotwolf

All it takes is to do a right click in the circuit window and select "Undo". That makes the program crash every time on my computer.

4R1671: Crash on "Undo" Empty Re: R1671: Crash on "Undo" Fri May 26, 2023 12:42 am

arcachofo

arcachofo

I can't reproduce the issue.

Do you mean that doing an Undo always crash no matter what you did before?

5R1671: Crash on "Undo" Empty Re: R1671: Crash on "Undo" Fri May 26, 2023 7:04 am

hotwolf

hotwolf

Yes, every time.

6R1671: Crash on "Undo" Empty Re: R1671: Crash on "Undo" Fri May 26, 2023 9:37 am

Defran

Defran

Yes, this always happens.

7R1671: Crash on "Undo" Empty Re: R1671: Crash on "Undo" Fri May 26, 2023 10:02 am

arcachofo

arcachofo

I can't reproduce this issue in Linux or Windows.
If you do what I did in this video it crashes?

8R1671: Crash on "Undo" Empty Re: R1671: Crash on "Undo" Fri May 26, 2023 10:22 am

Defran

Defran

Windows 11.

It is like there are periods. Sometimes it fails systematically and other times it takes longer. I have observed that saving also previously usually works. In my opinion, in this point, the previous version is more stable.

I have also seen that if a complex scheme is made and executed, ICs fail (for instance counters), but if is tested as it is drawn it works.

I keep testing...

9R1671: Crash on "Undo" Empty Re: R1671: Crash on "Undo" Fri May 26, 2023 10:39 am

arcachofo

arcachofo

It is like there are periods. Sometimes it fails systematically and other times it takes longer.
We are talking about the application crashing.

When you say "fail" do you mean that it crashes?

10R1671: Crash on "Undo" Empty Re: R1671: Crash on "Undo" Fri May 26, 2023 10:49 am

Defran

Defran

Yes. Crashes, I'm sorry.

arcachofo likes this post

11R1671: Crash on "Undo" Empty Re: R1671: Crash on "Undo" Fri May 26, 2023 4:15 pm

hotwolf

hotwolf

Here is a demonstration of the "undo crash" on my comouter:



It is reproducable for me.

12R1671: Crash on "Undo" Empty Re: R1671: Crash on "Undo" Fri May 26, 2023 4:22 pm

arcachofo

arcachofo

Ok, thanks.

But if do these exact steps does it crash?
1- Open DiYWaterChiller.sim1
2- Move some component.
3- Undo.

13R1671: Crash on "Undo" Empty Re: R1671: Crash on "Undo" Fri May 26, 2023 6:14 pm

hotwolf

hotwolf

No, undoing moved parts doesn't actually crash the application. It crashes when I undo connections.

14R1671: Crash on "Undo" Empty Re: R1671: Crash on "Undo" Fri May 26, 2023 6:34 pm

arcachofo

arcachofo

Here is a demonstration of the "undo crash" on my computer:
I could reproduce that one.
It is solved at Rev 1677.

No, undoing moved parts doesn't actually crash the application. It crashes when I undo connections.
Nice, then I consider this issue as solved.

This bug is critical, so I will upload new executables.
EDIT: files already uploaded.

Defran likes this post

15R1671: Crash on "Undo" Empty Re: R1671: Crash on "Undo" Fri May 26, 2023 7:47 pm

Defran

Defran

Thanks Arcachofo. The 1677 version, it seems that it also solves what I told you about:

"I have also seen that if a complex scheme is made and executed, ICs fail (for instance counters), but if is tested as it is drawn it works."

I also observe that with this Simulide version it goes faster.

Good job!

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