Fillet - crash

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Fillet - crash

microm
LibreCAD 2.0.8 Linux


draw an angle with lines (white)
draw internal angle with tool parallel line (green)
trying apply fillet to green lines. Make undo (ctr+z)
applying again fillet - LibreCAD crash.
Reply | Threaded
Open this post in threaded view
|

Re: Fillet - crash

dxli
Hi microm,

I can not reproduce the crash with 2.0.8 or 2.0 HEAD.

can you share a dxf with specific and explicit steps?

We did fix a undo related crash after 2.0.8:

https://github.com/LibreCAD/LibreCAD/commit/06a932f4242c12e71a06b3eca12fdd35654c9347
microm wrote
LibreCAD 2.0.8 Linux


draw an angle with lines (white)
draw internal angle with tool parallel line (green)
trying apply fillet to green lines. Make undo (ctr+z)
applying again fillet - LibreCAD crash.
Reply | Threaded
Open this post in threaded view
|

Re: Fillet - crash

microm
After save-load operations error not reproduced.
Reply | Threaded
Open this post in threaded view
|

Re: Fillet - crash

microm
In reply to this post by microm
More easy way to crash.
Draw normal line. Draw two lines with parallel line tool. Undo one last line, and draw it again.
Crashes on windows and linux.
Linux version 2.0.8 from official repository.
Windows version 2.0.8 from official site.
Reply | Threaded
Open this post in threaded view
|

Re: Fillet - crash

dxli
This is the bug fixed by the mentioned commit

microm wrote
More easy way to crash.
Draw normal line. Draw two lines with parallel line tool. Undo one last line, and draw it again.
Crashes on windows and linux.
Linux version 2.0.8 from official repository.
Windows version 2.0.8 from official site.
Reply | Threaded
Open this post in threaded view
|

Re: Fillet - crash

microm
Trying build 2.0.8-50-g194c675
Problem is gone.

But have another one :)

draw line(1) with tool line
select tool "parallel line", plaсe pointer near line(1) that there was dotted line.
do not move mouse!
press ctrl+z, both lines vanish.
then mouseclick crash librecad.
Reply | Threaded
Open this post in threaded view
|

Re: Fillet - crash

dxli
Thanks a lot!

A quick fix is in master and 2.0 branch:

to avoid using entities deleted by "undo", the undo action will stop all suspended actions to avoid crashes.

microm wrote
Trying build 2.0.8-50-g194c675
Problem is gone.

But have another one :)

draw line(1) with tool line
select tool "parallel line", plaсe pointer near line(1) that there was dotted line.
do not move mouse!
press ctrl+z, both lines vanish.
then mouseclick crash librecad.