Windows closes LibreCAD after about 5 minutes - Not Working

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

Windows closes LibreCAD after about 5 minutes - Not Working

TrainGuy
PC has windows 7 home edition.  Using Version Master; SCM revision 2.0.8 compiler GNU GCC 4.9.1 Qt version 5.4.1, compiled Aug 14, 2015.
Downloaded / installed 10/9/15.

Just drawing, suddenly get windows pop-up that says LibreCAD not working correctly, checking for solution.  Have to close the program to free up the computer.

Thanks !
Reply | Threaded
Open this post in threaded view
|

Re: Windows closes LibreCAD after about 5 minutes - Not Working

ravas
Try to remember the last thing you were doing the next time it happens.
For example, what tool you were using and/or what button you pressed.
Reply | Threaded
Open this post in threaded view
|

Re: Windows closes LibreCAD after about 5 minutes - Not Working

ravas
In reply to this post by TrainGuy
Also, save any new file directly after creating it, and set the auto save time to something lower than 5.
Application preferences → Defaults

Hopefully you will lose less work that way.
Reply | Threaded
Open this post in threaded view
|

Re: Windows closes LibreCAD after about 5 minutes - Not Working

TrainGuy
OK, I was using two functions, trim and line offset, and then the Undo function.  Tonight I drew several offset lines, then realized I had the wrong value.  Used Undo about 5 times.  Then, the next new offset line, BOOM, LibreCAD not working correctly, windows closes the program.

Hope this gives enough for troubleshooting.

Reply | Threaded
Open this post in threaded view
|

Re: Windows closes LibreCAD after about 5 minutes - Not Working

dxli
please describe as clear and detailed as possible, for example:

0, start LC;
1, Draw->Line->2 Points;
2, select 0,0 and 1,1;
...
n, Edit->Undo

Expected result: undo one step
Actual result: LC crashes

TrainGuy wrote
OK, I was using two functions, trim and line offset, and then the Undo function.  Tonight I drew several offset lines, then realized I had the wrong value.  Used Undo about 5 times.  Then, the next new offset line, BOOM, LibreCAD not working correctly, windows closes the program.

Hope this gives enough for troubleshooting.
Reply | Threaded
Open this post in threaded view
|

Re: Windows closes LibreCAD after about 5 minutes - Not Working

ravas
I have had this happen a few times.
I was unable to remember the steps,
but offset and undo were involved.
Reply | Threaded
Open this post in threaded view
|

Re: Windows closes LibreCAD after about 5 minutes - Not Working

ravas
I just remembered trim was also involved.
It crashed twice when creating:
fullscreen.dxf
Reply | Threaded
Open this post in threaded view
|

Re: Windows closes LibreCAD after about 5 minutes - Not Working

TrainGuy
I've used LC for about 17 minutes, with multiple closures.
They all happen after

n Draw rectangle
n+1 Draw parallel line to one side
n+2 Draw parallel line to perpendicular side
n+3 Trim one part of line (select incorrect one, want to undo the incorrect trim)
n+4 Undo (sorry, the script disappears when LC crashes, so I can't replicate exactly)
n+5 Trim

expected result - line is trimmed
actual result - LC crashes.

I hope this is detailed enough for you to try to replicate what happens.
How can I save the script for sharing ?
Reply | Threaded
Open this post in threaded view
|

Re: Windows closes LibreCAD after about 5 minutes - Not Working

dxli
Good job.

Excluded offset from the sequence.

I will see whether I can find a reproducible sequence here

Reply | Threaded
Open this post in threaded view
|

Re: Windows closes LibreCAD after about 5 minutes - Not Working

dxli
In reply to this post by TrainGuy
TrainGuy:

Thanks a lot for the sequence, and I was able to reproduce this bug, the fix is in 2.0 and master branch:

https://github.com/LibreCAD/LibreCAD/commit/06a932f4242c12e71a06b3eca12fdd35654c9347

I feel there's another crashing bug with undo, please help testing.

We should release 2.0.9 soon, with this fix.
TrainGuy wrote
I've used LC for about 17 minutes, with multiple closures.
They all happen after

n Draw rectangle
n+1 Draw parallel line to one side
n+2 Draw parallel line to perpendicular side
n+3 Trim one part of line (select incorrect one, want to undo the incorrect trim)
n+4 Undo (sorry, the script disappears when LC crashes, so I can't replicate exactly)
n+5 Trim

expected result - line is trimmed
actual result - LC crashes.

I hope this is detailed enough for you to try to replicate what happens.
How can I save the script for sharing ?