Anim8or Community

General Category => Anim8or v1.0 Discussion Forum => Topic started by: davdud101 on April 24, 2020, 01:34:53 am

Title: An8 crashes when enabling CAD annoates from point editor
Post by: davdud101 on April 24, 2020, 01:34:53 am
@Steve Here's a bug I've run into a couple of times while working on projects (Build 1363):

If I take a mesh into point edit mode, select a point, line, or group of points or lines on that mesh, and then enable CAD Annoations, Anim8or crashes.

I try to avoid doing this and of course save often, though I use Anim8or almost exclusively for CAD modelling these days and sometimes I absent-mindedly want to quickly check a measurement. (Will post some side-by-sides of my builds with their Anim8or models in the coming weeks!)
Title: Re: An8 crashes when enabling CAD annoates from point editor
Post by: Steve on April 24, 2020, 01:22:51 pm
I haven't been able to reproduce the crash yet. Does it always happen? Or only in some cases, such as large mesh, multiple meshes, etc? Can yo send me an example model?
Title: Re: An8 crashes when enabling CAD annoates from point editor
Post by: davdud101 on April 26, 2020, 01:30:40 pm
I haven't been able to reproduce the crash yet. Does it always happen? Or only in some cases, such as large mesh, multiple meshes, etc? Can yo send me an example model?

Strangely enough Steve, it happens on any model of every degree of complexity. Even to test it just now, I created a cube mesh and deleted all but a single line (edge) connected by two points. I think it's specifically when just a line/edge is selected that it occurs.

My computer is beefy so it seems more likely some sort of compatibility thing rather than a bottleneck or anything

Edit 2: Just tried it out on my laptop and didn't come across the issue.

Here are my main PC's specs....


Win 10 Home
AMD FX-8300 (laptop is an Intel.. maybe there's something there?)
Nvidia GTX 1650 Super (but I thought Anim8or doesn't use hardware accel yet, if I recall you saying that Steve)
16gb DDR3 ram

Those are the only specs I can imagine playing any major role is causing this bug. Maybe it's an isolated case?
Title: Re: An8 crashes when enabling CAD annoates from point editor
Post by: Steve on April 27, 2020, 02:10:23 pm
OK. I haven't seen a crash yet but I'll keep looking.

Note: Anim8or does use HW acceleration. The Scanline and ART (ray trace) renderers are in software but the 3d working views are al accelerated.
Title: Re: An8 crashes when enabling CAD annoates from point editor
Post by: AlecJames on April 28, 2020, 07:44:58 am
I tested this on anim8or 1.01.1348

This problem is random, I can't find a sure way to re-create, but I do have a 20% good -80% fail process:

When performing the steps, I avoid the workspace area with my mouse so no edges or points get highlighted.  This is probably irrelevant but I do it so my process is as repeatable as possible.

Switch to wireframe view. Close anim8or so it opens in wire frame next time.
Open anim8or. Maximise.
Open fourcubes, switch to point edit mode. Switch on CAD annotations. Move the mouse over an empty workspace area (no highlighting). Wait 5S. Press Ctrl+A to select everything, anim8or closes without warning

In my last test, correct operation twice, closed without warning 8 times.

If the wait cursor appears when I press Ctrl+A, it will crash (close without warning).

Some tests I get a run of 5 or 6 normal operation. 

Microsoft Windows [Version 10.0.18363.778] x64.  My PC is quite a quite old i7

Do above with the debugger attached -
Exception thrown at 0x00CA9581 in Anim8or_1348.exe: 0xC0000005: Access violation reading location 0x00000000. occurred

Hope it helps :)
A