News:

All posts discussing pricing or where to buy TurboCAD will be deleted.

Main Menu
TurboCAD 2026 Platinum box
Now available

TurboCAD 2026.2

The latest update for TurboCAD 2026. It installs over any 2026 build and keeps your activation, drawings and settings. Get it from the Start Page or Help > Check for Update.

TCv21.2 crashes loading some TCv4.1 2D drawings (unhandled exception)

Started by Subie, July 02, 2015, 08:42:55 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Subie

Apologies if a solution to this has been posted before â€" a quick search didn’t show anything the same.

Since 2003 I have been using TurboCAD v4.1 (2D) on a Pentium P4 PC running WinXP 32-bit. I recently purchased TurboCAD 21 Deluxe 64-bit to use on a notebook running Win8.1 64-bit (I updated this to ver: 21.2). Except for seeing if the TCv4.1 2D drawings will open in TCv21.2 I haven’t used TCv21.2 (so far I haven’t been able to get the same sharp text I get with TCv4.1), but I will soon be scrapping the P4.

I found that 13 out of my 324 TCv4.1 2D drawings crashes & closes TCv21.2 with an unhandled exception error when I try to load them. 4 of the 13 drawings crashes TCv21.2 intermittently but the remaining 9 instantly crashes & closes TCv21.2 every time as soon as I try to load them.

I have tracked the problem down to one or more arrow dimensions starting or ending where one or more different arrow dimensions start or end at a common point. This can be at the join of a horizontal & vertical dimension or at the join of two horizontal dimensions, & can even be a dimension in a different not-visible layer. None of these are baseline dimensions & from what I can tell only a couple are continuous dimensions. The actual dimension size doesn’t have any bearing on the cause. Most of my other drawings have similar dimension layouts where dimensions start or finish at a common point but they don’t crash TCv21.2 â€" I can’t see any difference between these & the dimensions on the 13 drawings that crash TCv21.2.

With all 13 problem drawings the fix has been to delete the dimensions causing the crashes & redraw the dimensions. This obviously couldn’t be done in TCv21.2 & had to be done in TCv4.1.

The following is an example of the pop-up error message when TCv21.2 crashes with one of the above drawings.

Error
Unhandled exception!!!
TurboCAD will be terminated now!
Do you want to try to save files and generate Crash report?
Yes   No

Problem Event Name:    APPCRASH
Application Name: tcw21.exe
Application Version: 21.2.59.1
Application Timestamp: 545ab503
Fault Module Name: DBAPI21.dll
Fault Module Version: 21.2.59.1
Fault Module Timestamp: 545aaf58
Exception Code: c0000005
Exception Offset: 00000000000e1516
OS Version: 6.3.9600.2.0.0.768.101
Locale ID: 3081
Additional Information 1: 7219
Additional Information 2: 72199b4435089335f806d65e56e8a8ea
Additional Information 3: f0a0
Additional Information 4: f0a04c763a43721d1e8dc352abe74722

Details of both Windows PCs running the different versions of TurboCAD:

TurboCAD v4.1 Build 51.3 (2D) on a Pentium P4 (Win XP 32-bit Home Edition, ASUS P4PE, GeForce4 Ti 4200, 1GB of RAM).
TurboCAD v21.2 Deluxe 64-bit build 59.1 on an ASUS TP500LN-CJ035H notebook (Win 8.1 64-bit, Intel i7-4510U, GeForce 840M, 8GB of RAM). Normally I run the Intel HD 4400 integrated graphics but it made no difference to the crashing when I selected the GeForce 840M graphics card.

Should this be flagged as a bug or was this a problem with TCv4.1 drawings when upgrading to a later version?

DonCW

If you'd attach one of your problem v.4 files I'll see if I can open it and save it in v.7. If that works I should be able to then save it as v.22.
DonCW
2020 Platinum
2018 Platinum
2017 Pro with Light Works Plug in



Windows 10
There's so much to learn and not much time left to learn it.

Subie

Thanks DonCW. I have attached one very simple TCv4.1 2D drawing that crashes TCv21.2 (waterfront-gate-3_crash.tcw).

The horizontal measurements 940 & 30 (immediately to the right of 940) in that drawing are causing the problem. Deleting either one in TCv4.1 doesn’t fix the crashing, but deleting both does.

I have also attached the same drawing with both the above measurements deleted (waterfront-gate-3_a.tcw) & the same drawing with both the above measurements re-drawn (waterfront-gate-3_b.tcw). Both these open in TCv21.2 without issues.

In all drawings I have ‘Snaps > Show magnetic point’ & ‘Snaps > Vertex’ enabled in TCv4.1.

DonCW

Subie,

I was to open the waterfront gate 3 crash file in v7 and save it. That file opened with no problem in v22. I saved it back to v20 and both are attached.
DonCW
2020 Platinum
2018 Platinum
2017 Pro with Light Works Plug in



Windows 10
There's so much to learn and not much time left to learn it.

Alvin Gregorio

Playing around with Subie's original "waterfront-gate-3_crash.tcw" in version-19-Deluxe, what's interesting to me is:

>Those two dimensions (and a few others) have more than one entity (Lines) that they are associative to.

Select a Dimension-- see what turns blue, indicating associativity.
Likewise, select a Dimension, and add to the selection either of the two Lines, and they both give the option "Drop Link" in the Local Menu.

Keep in mind that "Use Choice if several Entities in Aperture while selection" was not an option in version-4.

____________
Not that this offers any kind of resolution... just an observation-- more questions/information.

____________
BTW:  The file crashes my version-20-Pro, upon trying to open it.

Probably too deep in the TurboCAD versions' coding to be worth the time/effort/expense to resolve.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Alvin Gregorio

Also interesting

Copy/Pasting all the contents within the original "waterfront-gate-3_crash.tcw" drawing from my version-19-Deluxe into version-20-Pro does not crash the program.

(So maybe try it that way.  In version-4, "Copy" all the contents; in a version-21 New Drawing, "Paste" all the contents.  Then "Save".)
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Alvin Gregorio

An additional thing to note:

This "waterfront-gate-3_crash.tcw" Drawing appears to be intended to be a 2D drawing.
When I Select All (in version-19-Deluxe), with the Selector in "3D mode", I get a "Size-Z"-value of .73mm.

Also, after Copying/Pasting All into version-20-Pro, I find that some of the entities are on a Workplane other than the plain ol' "2D" Workplane-- the World Workplane.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Subie

Quote from: DonCW on July 03, 2015, 06:44:50 AM
I was to open the waterfront gate 3 crash file in v7 and save it. That file opened with no problem in v22. I saved it back to v20 and both are attached.

That process allowed both your attached files to open fine in v21.2 â€" although your ‘v7 to v22’ file gives the following warning:
“The drawing may contain objects(s) that are not supported by the current version of TurboCAD. Such object(s) can be load but will not be shown. Do you want to store them in the drawing? Yes. No.”
This doesn’t create any issues - selecting either the ‘Yes’ or ‘No’ option works fine.

One observation; neither file is backwards compatible with v4.1, both giving a “Failed to open?: Loading Header” error message.

A couple of more observations, & this is with all v4.1 drawings when opened in v21.2:
Text justification gets screwed up. If text was left justified it gets changed to centre justified, if centre justified it gets changed to left justified, & if right justified it gets changed to left justified. This is obvious in my attached drawings at the dot points under ‘Bolts & Nuts’. Selecting the correct justification in ‘Properties’ then re-positioning the text group to the original position corrects this.

The printer paper size also changes from A4 to Letter 8 ½ x 11in, although the drawing sheet size comes up correctly as A4 (I think I read about this elsewhere on the forum).

Interesting that the file saved in v7 is only ~22kB whereas the original v4.1 file was ~106kB.

Thanks for trying this. :)

Edit: corrected above justification changes.

Subie

Quote from: Alvin Gregorio on July 03, 2015, 03:57:45 PM
... Those two dimensions (and a few others) have more than one entity (Lines) that they are associative to. ...

I suspected this may have been the problem. Thanks for confirming.

Quote from: Alvin Gregorio... (So maybe try it that way.  In version-4, "Copy" all the contents; in a version-21 New Drawing, "Paste" all the contents.  Then "Save".) ...

Nice find. :) The two versions are on two different PCs, so in v4.1 I tried the following; ‘saved the drawing with a different name > copied all the contents > deleted all the contents > pasted all the contents into the same drawing > saved the drawing’. When this was opened in v.21.2 it opened without crashing.

This would have been the easiest workaround for me, providing I made all layers visible on my other troublesome drawings before copying, then making the appropriate ones not-visible after pasting.

Yes, all drawings were intended to be 2D.

Thanks for your help.

Now all I have to do is work out how to make all text in the drawings display on the screen as sharp as it does with v4.1 â€" currently with v21.2 it looks very ordinary.

Alvin Gregorio

Subie, don't forget/ignore my observations about your "2D" file being "3D":

Quote from: Alvin Gregorio on July 03, 2015, 04:41:51 PM
An additional thing to note:

This "waterfront-gate-3_crash.tcw" Drawing appears to be intended to be a 2D drawing.
When I Select All (in version-19-Deluxe), with the Selector in "3D mode", I get a "Size-Z"-value of .73mm.

Also, after Copying/Pasting All into version-20-Pro, I find that some of the entities are on a Workplane other than the plain ol' "2D" Workplane-- the World Workplane.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Subie

No I hadn’t forgotten. :) I’ve been trying to work out what’s going on, as well as finding my way around v21.2 - v4.1 was much easier. :(

In v21.2 I also get Z = 0.73mm in all the ‘waterfront-gate-3_xxx’ drawings except the original ‘waterfront-gate-3_crash.tcw’ that I copied-deleted-pasted in v4.1 which shows Z = 1.25mm.
When I load a random selection of other v4.1 drawings in v21.2 I get anything from Z = 0 to various other numbers for Z, some less than 0 & some greater than 0, & all these drawings were 2D drawings.

I guess there’s not much I can do about that.

Alvin Gregorio

Quote from: Subie on July 03, 2015, 10:09:37 PM
No I hadn’t forgotten. :) I’ve been trying to work out what’s going on, as well as finding my way around v21.2 - v4.1 was much easier. :(

In v21.2 I also get Z = 0.73mm in all the ‘waterfront-gate-3_xxx’ drawings except the original ‘waterfront-gate-3_crash.tcw’ that I copied-deleted-pasted in v4.1 which shows Z = 1.25mm.
When I load a random selection of other v4.1 drawings in v21.2 I get anything from Z = 0 to various other numbers for Z, some less than 0 & some greater than 0, & all these drawings were 2D drawings.

I guess there’s not much I can do about that.

If you wish to pursue and remedy this what should be 2D has some 3D to it thing in V21:

To visually observe the entities that do not lie on the World Workplane plane
>Go to the standard Front View
>Zoom Extents
>With the Selector Tool active and in 3D Selector mode (and 3D Selector Properties/Inspector Bar set to "World Coordinate System") start selecting things, using a drag-window-- left-to-right is not "Open Window mode" option, right-to-left drags are.
>Observe your Inspector Bar while various entities are selected
      and/or:
>Starting in the standard Front View, use the "Zoom Window" (marquee zoom) tool to zoom in on particular areas.  The area to the right has a bunch of stuff not on the World Workplane plane.

_____________
To remedy these 2D entities not being on the World Workplane plane
(in version-21)
>With all Layers Visible and UnLocked...
>With the Selector Tool active and in 3D Selector mode, Select All
>In the Inspector Bar, for the Size-Z and Pos-Z fields, enter a value of 0 (zero). Hit "Enter" after changing those values.  A warning should come up; click on "Yes" (I highly advise NOT checking the option "Don't show this message again".)
>Everything should still be selected; if not, Select All again
>Invoke the "Workplane by World" command (in the Workspace/Workplane menu; via Local Menu, or via a Toolbar you might have visible)
>Invoke the "Place on Workplane" command (in the Format Menu[?]; Modify menu[?]... depends on your configuration.  Or, you can try the Keyboard-combination shortcut->ALT+SHIFT+W)

Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Alvin Gregorio

By the way Subie,

This 2D entities moving off the World Worplane plane in what is intended to be a 2D Drawing thing very well could be the cause of your Text not being as clear & crisp in version-21.

Assuming that you are looking at the drawing in plain ol' "Plan View" (you are-- want to), in relation to that View, some entities (the Text to the right I mentioned earlier, for example) [Edited; see my Reply#14] are skewed/rotated in relation to that View, thereby causing the Text to have the appearance of being askew.

Try the attached file, in which I did the procedure I outlined in my previous Post (second section).  See if the Texts in question look better to you.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Alvin Gregorio

Upon further investigation (exploring... "playing around with...") the original "waterfront-gate-3_crash.tcw" file in V19DL, I think I narrowed down the "3D" entities (the entities that should be 2D, but are rotated about the World Y-axis, therefore causing them to have a Size-Z & Pos-Z value other than 0).

See the screen-captures below.  Note the Size-Z & Pos-Z values in the Inspector Bar of each.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Alvin Gregorio

ANOTHER PECULIARITY about these "waterfront-gate-3...".tcw files is:

When trying to use the Ortho mode in drawing a Line or some other entity, move or copy an entity, or a similar function, the behavior is not good.

I went to Options/Drawing-Setup/Angle, and what I see the issue is-- though I don't fully comprehend why it's an issue [EDIT: more experimenting, and I get it now]-- is that the Ortho "Base Angle" and "Step Angle" are both set to 90.

Changing the Ortho "Base Angle" to 0 helps to make the Ortho mode function "normally".

_______
I got off on another tangent.  Sorry... I got bored and just kept exploring the files...

Here is a link to the "Options/Drawing-Setup/Angle" page in the TurboCAD Wiki.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Subie

Thanks for your help with this Alvin â€" very much appreciated.

I see what you mean about the Ortho Base angle being 90º instead of 0º. When I first started using TC it seemed logical to me to have it laid out like a compass rose on a marine chart to make it easier when calculating angles (0º at north or 12 o’clock & set for a clockwise direction). But it looks like I’ll have to change my way of thinking.

In regards to your suggestions with the 2D / 3D issues in my drawings, I’ll certainly try those over the next few days & report back. You certainly put some work in those posts â€" very well explained with some good tips, & your screen-captures are very helpful.

The text in your attached drawing still looks the same in v21.2. When I zoom in on any of my drawings, including a new drawing made in v21.2, the text looks perfect, it is only when I zoom out (28% or less on the ‘waterfront-gate-3...’ drawings) that the text loses clarity/sharpness. I’ll have to do more experimenting with this when I connect the monitor from the WinXP Desktop PC (running v4.1) to the Win 8.1 notebook (running v21.2) so that I’m comparing apples with apples. I tried this just after I installed v21.2 but it didn’t make much difference â€" the two TC versions are like chalk & cheese when it comes to text sharpness on the same monitor set to the same resolution. But this could be something simple I’ve got set wrong.

I may just wait until I do some swapping around with v21.2 before experimenting with text clarity. TurboCAD v21 was only meant to be installed on the Win8.1 notebook until I built a new Win10 desktop â€" after that I'll un-install it from the notebook & install it on the new desktop. I may then just purchase TurboCAD Designer 2D for 2D drawings on the notebook (I'm guessing that could be closer to my v4.1).

Alvin Gregorio

Quote from: Subie on July 04, 2015, 08:26:34 PM
...

I see what you mean about the Ortho Base angle being 90º instead of 0º. When I first started using TC it seemed logical to me to have it laid out like a compass rose on a marine chart to make it easier when calculating angles (0º at north or 12 o’clock & set for a clockwise direction). But it looks like I’ll have to change my way of thinking.

...

Hello again Sudie.

You only need to change the Base angle value for the Ortho angle section (in Options/Angle) to 0.
The Base angle value in the Angular system (at the top) you can keep at 90, and that will give you the "compass rose" effect for "calculating angles" you mentioned.


Quote from: Subie on July 04, 2015, 08:26:34 PM
...

I’ll have to do more experimenting with this when I connect the monitor from the WinXP Desktop PC (running v4.1) to the Win 8.1 notebook (running v21.2) so that I’m comparing apples with apples. I tried this just after I installed v21.2 but it didn’t make much difference – the two TC versions are like chalk & cheese when it comes to text sharpness on the same monitor set to the same resolution. But this could be something simple I’ve got set wrong.
...

I was going to inquire of you Sudie and make the point about the different monitors/systems, in regards to Text clarity.  I see you're already on the path of "comparing apples with apples".
     When using my $400 ASUS 27" 1920x1080 resolution monitor as a second-monitor with my $500 HP 17.3" 1600x900 laptop, the clarity of my Text* is nowhere near as sharp on my ASUS' screen as on my laptop's.  I attribute that-- and have, disappointingly, acquiesced to that-- being a consequence of a lower Pixels-per-Inch on my second-monitor (larger pixels-- less "tightly" spaced).
    *["Text", in particular; but other entities as well]




I jumped from version-11 to version-19, and that was a huge change that required much patience through the learning-curve (even though I kept abreast of many of the differences via perusing these Forums); I can't even imagine the gargantuan differences between version-4 and version-21.
   You'll get there-- and it will be worth the effort.  But it will require a ton of patience, and quite some time in addition to that effort.

Cheers! -Alvin
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Subie

Quote from: Alvin Gregorio on July 05, 2015, 07:32:30 AM
You only need to change the Base angle value for the Ortho angle section (in Options/Angle) to 0.
The Base angle value in the Angular system (at the top) you can keep at 90, and that will give you the "compass rose" effect for "calculating angles" you mentioned.
That’s good information â€" I’m glad you mentioned that.

Quote from: Alvin GregorioUpon further investigation (exploring... "playing around with...") the original "waterfront-gate-3_crash.tcw" file in V19DL, I think I narrowed down the "3D" entities (the entities that should be 2D, but are rotated about the World Y-axis, therefore causing them to have a Size-Z & Pos-Z value other than 0). ...

That was the problem â€" it was a few entities in what you had selected as shown in your ‘waterfront-gate-3...ZoomedSectionRight-1.png’ image. I repaired it as per your instructions & confirmed that when ‘Select All’ was selected; Size Z & Pos Z remained at 0mm.

Quote from: Alvin GregorioWhen using my $400 ASUS 27" 1920x1080 resolution monitor as a second-monitor with my $500 HP 17.3" 1600x900 laptop, the clarity of my Text* is nowhere near as sharp on my ASUS' screen as on my laptop's.  I attribute that-- and have, disappointingly, acquiesced to that-- being a consequence of a lower Pixels-per-Inch on my second-monitor (larger pixels-- less "tightly" spaced).

That’s interesting. I only have 1680 x 1050 native resolution on my 22” Samsung monitor, but unlike the higherâ€"res screens, this monitor displays text in any software nice & clear. It’s an old but favourite monitor that I’ve repaired after the power supply caps failed a few years after purchasing it. Unfortunately the ASUS notebook only came with a 15.6” 1366 x 768 native resolution screen when I purchased it. If I find the solution to my text issue I’ll report back.

Gargantuan differences between version-4 and version-21 is a good description. When I first installed v4.1 I don’t think I read any instructions on how to use it, 2D mode was fairly easy to learn (after adding version-4 mfc42.dll to stop it from crashing). To me, v21 is a lot different â€" I think I’ll spend some time going through the instruction videos before getting too serious.

Thanks for the encouragement & all your help Alvin. :)

John R

re: …To me, v21 is a lot different…

One thing that may help is to use the "1024x768del_pre" workspace. The tool and menu layout is very similar to what you had in V4.
Go to "Tools / Customizeâ€"›Options" page.
Select "1024x768del_pre" from the "Load From" list, then click on the "Load From" button.
If you don't like that workspace, you can click on the "Default" button and return to what you had.
John R.

V17—V21, 2015—2025
Designer, Deluxe, (Basic, Expert, Professional), Platinum
RedSDK enabled
Windows 11 Pro (25H2), 64-bit

Subie

Thanks John R. You must be a mind reader. :) Not long ago I did a Google search trying to find out the difference between ‘1024x768del’ & ‘1024x768del_pre’ in TurboCAD & it led me to one of your earlier posts explaining the difference.

I was going to try that tomorrow. Thanks for the suggestion.