Guthrie CAD :: GIS Software Support Forum  

Go Back   Guthrie CAD :: GIS Software Support Forum > dwgConvert

Reply
 
Thread Tools Display Modes
  #1  
Old 18-06-2010, 06:51 PM
ds27680 ds27680 is offline
Member
 
Join Date: Sep 2008
Posts: 6
Default dwgconvert caueses in some cases a process exit

applies to dwgConvert 6.0 A.05

It would seem at some point under certain circumstances dwgconvert calls the CRT function _chdrive with 0 as parameter. _chdrive checks the parameter internally for validity extract from cRT sources:

if (drive < 1 || drive > 26) {
_doserrno = ERROR_INVALID_DRIVE;
_VALIDATE_RETURN(("Invalid Drive Index",0), EACCES, -1);
}

this calls out in the end the _invalid_parameter default handler which results in the process being terminated.

I was unable to find a reliable way to reproduce the issue, sometimes it occurs after a few conversions, sometimes I cannot reproduce it. it would seem not to be related to a certain file type /content since sometimes it works with the same file that caused problems before.

Unfortunately I did not save the stack when the issue occurred and for the time being I am unable to reproduce the issue.
Reply With Quote
  #2  
Old 18-06-2010, 08:11 PM
GuthCAD Software Support GuthCAD Software Support is offline
Administrator
 
Join Date: Nov 2004
Posts: 350
Default

Hi,

I suspect that the problem you have experiened has been resolved in dwgConvert 6.0 A.10 or above. Specifically that version fixed a problem with translating files with UNC paths, and part of the resolution was to put in validation that the _chdrive parameter is > 0 (which is consistent with your detective work )

So please try the latest version to see if it resolves the issue.

http://www.guthcad.com/dwgdload.htm

best regards,
software support
Reply With Quote
  #3  
Old 18-06-2010, 08:43 PM
ds27680 ds27680 is offline
Member
 
Join Date: Sep 2008
Posts: 6
Default

Hi,

Thanks for the reply. I will try to upgrade to the newer version as soon as possible.

Sherlock
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT +9.5. The time now is 02:22 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright © 2008 Guthrie CAD/GIS Software. All rights reserved.