← All bug reports

FS#749QCAD 3.0.6 / 3.0.7 autosave crashes

Type
Bug
Status
Closed
Resolution
Fixed
Category
QCAD (main)
Severity
Low
Priority
Low
Reported version
3.0.6 (snapshot)
Operating system
Windows XP
Reported
2013-01-19 by Husky
Closed
2013-06-20 by andrew

XP32/ QCAD 3.0.6

The 3.0.6 Version (Snapshot) is very instable - crashed always after a couple minutes ... :-(

Problem signatur:
AppName: qcad.exe AppVer: 0.0.0.0 ModName: qtcore4.dll
ModVer: 4.7.4.0 Offset: 0005d1e8

Comments (20)

Husky 2013-01-19

Additional Info:
The last crash with 3.0.6 caused a drawing lost. I was not able to reopen the last drawing - File size = 0 bytes!
The Autosave function is enabled - 15 min - but I found only backups dated 9 days ago ....... unusable after 9 days permanent working on that drawing!
Nice to have an additional Backup Program running ... ;-)

andrew 2013-01-19

Thanks for the quick feedback. I've taken down the Windows snapshots for now until I have more time for testing / trying to reproduce this problem.

andrew 2013-01-21

3.0.7 development snapshot is now available for download. It fixes one potential problem with crashes under Windows but I cannot tell yet if this is what has been the cause of the problems you have been experiencing.

deleted user 2013-01-21

Windows 7-64

3.0.7 seems good so far, the previous reports of zooming problems with the grid and the 'flickering' doesn`t happen now, is this due to a QT 'roll back' here?

The only thing I`ve found so far is that I`ve had to disable the auto-save function as it just gives repeated warnings;

Can't open file: "C:/Users/cct38/AppData/Roaming/RibbonSoft\~~Untitled_2.dxf"
[13:35:46] Autosave failed: C:\Users\cct38\AppData\Roaming\RibbonSoft\~Untitled_2.dxf

Is this due to only using 3.0.7 from the zip file and not fully installing it?

Regards

Clive

andrew 2013-01-21

Thanks Clive!

The zooming / flickering issues were caused by the Qt update, yes. I've decided to use Qt 4.7 for now.
An install from the ZIP should not cause any problems / different behavior for the autosave.
I'll check if I can reproduce that here under Windows.

Husky 2013-01-21

Nice - we have a rule!
I tested a little bit the new release 3.0.7 under XP/32
Crashes - the same problem like the 3.0.6 ...
Beforehand: I lost my Autosave function in the 3.0.0 and if I remember right it must happen after installing the 3.0.6 .... ? The Function was still enabled but not working!

Now my testing:
After running the 3.0.7 (from zip!) it crashed again every couple minutes. After disabling the Autosave function QCAD doesn't crash ......!!!
If I enable the Autosave function it will crash again - exactly in the Time guideline from the Autosave function. To make it more interesting for the programmer ;-) it will only crash after the third run of Autosave. Working or not working on the drawing doesn't matter.

My 2 cents: It has definitive something to do with the Autosave Function ...

andrew 2013-01-21

Many thanks Husky - that will definitely give me an idea where to look!

PS: Can you check if it does or does not crash when saving a drawing normally (Ctrl-S or File - Save) a couple of times?

deleted user 2013-01-21

OK, here`s my testing:

I`ve now downloaded 3.0.7 at home on windows 7-64 and running side by side with 3.00.

1.In 3.0.7 same problems with auto-saving but disabled it and then tested 'Ctrl save' and File > save with no problems at all.

2.Then - totally un-installed/removed both 3.00 and 3.0.7 and 'cleaned up' everything (appdata -roaming files etc...

3.Then installed with installer 3.0.7 and now I have absolutely no problems at all -auto-save function working as it should and Ctrl save and File > Save working with no problems!
So for now I`ll leave things like this and test some more.

My theory is that somehow both applications when run 'side by side' are using the appdata function and maybe this is conflicting in some way, is this possible here?

Husky 2013-01-21

3.0.7 XP/32

Autosave OFF:
10x "Save" -> NO problems
10x "Ctrl-S" -> NO problems

Autosave ON:
Below Time schedule of Autosave:
10x "Save" -> 10x "Crtl-S" -> No Problem
Autosave kicks in: 10x "Autosave" -> NO PROBLEMS!

Interesting - is the curse broken with the manually saves of the drawing?

@Clive
I guess you are right with your "side by side" theory but I like to mention that I was never running two different versions at the same time for this testing ....

Husky 2013-01-22

Just saying...
... since many hours 3.0.7 works stable ... inclusive Autosave!!! :-)
During my test I haven't open any erstwhile version.

deleted user 2013-01-22

Me too, still no problems, 3.0.7 still stable and I have used it successfully when editing and saving 2 files to laser cutter :)

Husky 2013-01-22

After many hours without problems - 3.0.7 crashes again and set the drawing AND the Backup file to 0 bytes.
First crash today was directly after a manually "Save".

Husky 2013-01-23

Test:
3.0.7 running without Autosave, worked on a drawing,
Manually saved the drawing 3 times in row with "Save",
1. time - OK,
2. time - OK,
3. time - crash!
Drawing has again a 0 Byte size ...
Between savings I haven't changed anything on the drawing.

deleted user 2013-01-30

3.0.7

Windows 7-64

Still no problems after lots of production work/editing etc.

savong works fine for me with or without Autosave enabled.

Husky 2013-01-30

I'm jealous - what ever I have tried - nothing works .... :-(

deleted user 2013-01-30

Husky - just curious, do you get a crash on simple or complex drawings -or both?

Husky 2013-01-30

Both!

Husky 2013-02-20

@Andrew

Any luck?

andrew 2013-02-21

Husky: no, this has not been reproducible here so far.

Husky 2013-02-21

Thanks for the Info!

Closure comment

Not reproducible, no new information about newer versions. Should the problem persist, please re-open.