OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: Aleksandr Tkachenko on September 11, 2009, 02:03:27 AM

Title: Bug in the blockview control Autocad 2006
Post by: Aleksandr Tkachenko on September 11, 2009, 02:03:27 AM
When a modal form with a blockview control is floating,
upon closing autocad - fatal error.
Title: Re: Bug in the blockview control Autocad 2006
Post by: jb on September 11, 2009, 10:41:18 AM
I worked around that by adding a command reactor (close, quit) to close any floating forms.  And sorry - I'd have a hard time putting my hands on it now: I'm actually just a tourist these days, don't do any coding or cad work any more.

jb
Title: Re: Bug in the blockview control Autocad 2006
Post by: owenwengerd on September 11, 2009, 08:04:07 PM
I assume you meant a modeless form. I can't reproduce the problem in OpenDCL 6.0 on AutoCAD 2010. Please upload a small sample app with instructions to reproduce the crash.
Title: Re: Bug in the blockview control Autocad 2006
Post by: Aleksandr Tkachenko on September 14, 2009, 02:33:20 AM
Sample error in OpenDCL 6.0.0.3 on AutoCAD 2006
Title: Re: Bug in the blockview control Autocad 2006
Post by: owenwengerd on September 14, 2009, 08:28:56 AM
I tested with 6.0.0.4 by taking the following steps based on your video:

1) Start AutoCAD 2006 (_VERNUM=Z.54.10)
2) Open AutoCAD 2006\Sample\colorwh.dwg
3) Load _MasterDemo.lsp
4) Click on [View DWG]
5) Click [Browse] and open AutoCAD 2006\Sample\Tablet.dwg
6) Press [Cancel]
7) Click the close button in the AutoCAD 2006 title bar

AutoCAD closes without any error on my system (Vista with all service packs installed).
Title: Re: Bug in the blockview control Autocad 2006
Post by: Aleksandr Tkachenko on September 14, 2009, 08:50:29 AM
Quote from: owenwengerd on September 14, 2009, 08:28:56 AM
I tested with 6.0.0.4 by taking the following steps based on your video:

1) Start AutoCAD 2006 (_VERNUM=Z.54.10)
2) Open AutoCAD 2006\Sample\colorwh.dwg
3) Load _MasterDemo.lsp
4) Click on [View DWG]
5) Click [Browse] and open AutoCAD 2006\Sample\Tablet.dwg
6) Press [Cancel]
7) Click the close button in the AutoCAD 2006 title bar

AutoCAD closes without any error on my system (Vista with all service packs installed).


Ok you do it right but my system XP SP3 and AutoCAD closed with error
Title: Re: Bug in the blockview control Autocad 2006
Post by: owenwengerd on September 14, 2009, 09:28:15 AM
Have you tested 6.0.0.4 to make sure the problem was not fixed since 6.0.0.3?
Title: Re: Bug in the blockview control Autocad 2006
Post by: Aleksandr Tkachenko on September 14, 2009, 11:48:50 AM
I tested 6.0.0.4 problem persists
Title: Re: Bug in the blockview control Autocad 2006
Post by: owenwengerd on September 14, 2009, 12:09:42 PM
I repeated the test in Windows XP SP2, and still I see no crash. Have you tried to reproduce the crash on a different computer?
Title: Re: Bug in the blockview control Autocad 2006
Post by: Fred Tomke on September 14, 2009, 10:26:37 PM
Hi, sun_tk, which drawing do you load in the block view? Are there any AEC-objects in the dwg-file?

Fred
Title: Re: Bug in the blockview control Autocad 2006
Post by: Aleksandr Tkachenko on September 14, 2009, 10:43:11 PM
Quote from: owenwengerd on September 14, 2009, 12:09:42 PM
I repeated the test in Windows XP SP2, and still I see no crash. Have you tried to reproduce the crash on a different computer?

yes tested on other computers, error there

Title: Re: Bug in the blockview control Autocad 2006
Post by: Aleksandr Tkachenko on September 14, 2009, 10:45:57 PM
Quote from: Fred Tomke on September 14, 2009, 10:26:37 PM
which drawing do you load in the block view? Are there any AEC-objects in the dwg-file?

Hi Fred in the block only lines and attributes.
Title: Re: Bug in the blockview control Autocad 2006
Post by: Fred Tomke on September 15, 2009, 05:34:38 AM
sun_tk, I've downloaded your sample (http://www.opendcl.com/forum/index.php?action=dlattach;topic=912.0;attach=889) from your message (http://www.opendcl.com/forum/index.php?topic=912.msg4555#msg4555), but there's a mp4-file in. Maybe you've uploaded a wrong zip-file?

Fred
Title: Re: Bug in the blockview control Autocad 2006
Post by: Aleksandr Tkachenko on September 15, 2009, 08:04:32 AM
Quote from: Fred Tomke on September 15, 2009, 05:34:38 AM
sun_tk, I've downloaded your sample (http://www.opendcl.com/forum/index.php?action=dlattach;topic=912.0;attach=889) from your message (http://www.opendcl.com/forum/index.php?topic=912.msg4555#msg4555), but there's a mp4-file in. Maybe you've uploaded a wrong zip-file?
Fred

correctly in the archives of videos in order as an error occurs
Title: Re: Bug in the blockview control Autocad 2006
Post by: owenwengerd on September 15, 2009, 09:08:02 AM
If you haven't yet, try the same test with the same sample files that I used. This will help determine whether the problem is related to the files you used.
Title: Re: Bug in the blockview control Autocad 2006
Post by: Aleksandr Tkachenko on September 15, 2009, 10:51:03 PM
on your sample all right!

this file, I want to display.
Title: Re: Bug in the blockview control Autocad 2006
Post by: owenwengerd on September 16, 2009, 02:48:19 AM
Thanks, I can reproduce the crash now with your file.
Title: Re: Bug in the blockview control Autocad 2006
Post by: owenwengerd on September 17, 2009, 02:33:44 PM
This is now fixed for Alpha 5.
Title: Re: Bug in the blockview control Autocad 2006
Post by: Aleksandr Tkachenko on September 22, 2009, 03:23:59 AM
Solved all OK.