Hello community,
is there any chance to try and find out what's going wrong when you get such an error?
Karl
kabr - Mon Oct 25 04:29:05 EDT 2010 |
|
Re: EXCEPTION_ACCESS_VIOLATION llandale - Mon Oct 25 10:03:39 EDT 2010
I've had no luck at all reading the displayed diagnostic log, but I imagine one of the 3 clever folks here have. When you get the error you almost always ALSO get a DXL window pane trying to tell you where in the DXL the error triggered, that's far more useful.
These errors are usually due to mis-matched data types; like inserting an 'integer' into a Skip List, but retrieving an 'Object' handle.
|
|
Re: EXCEPTION_ACCESS_VIOLATION Mathias Mamsch - Mon Oct 25 11:03:00 EDT 2010
There are two kinds of exceptions/access violations. In one as Louie said you will get at least the line of DXL code where your program raised the exception. In this case usually you supplied some b.s. to your function, most of the time invalid data, which made it crash.
In the other case you will get an exception and have DOORS crash or not show the DXL code line. In this case the only opportunity you have is starting to comment out code, until the crash vanishes, then starting remove the comments until you get a clue, where you code is crashing - then you need again check for invalid data passed to a function.
Most common crash reasons I know:
-
Closing Modules / Changing Edit Mode of a module (which will invalidate all handles to the objects, module you stored somewher)
-
Invalid Type Casting (e.g. with Skips / Arrays, putting one type in, reading another type out)
-
Invalid Skip Type (Putting numbers in a string skip)
-
Memory errors (when your memory runs full, things start going bad)
-
DOORS typical crashes (in V.8 you get crashes with popup menus some time)
Hope that helps, regards, Mathias
Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS
|
|
Re: EXCEPTION_ACCESS_VIOLATION bungle_77 - Tue Mar 04 10:34:34 EST 2014 Mathias Mamsch - Mon Oct 25 11:03:00 EDT 2010
There are two kinds of exceptions/access violations. In one as Louie said you will get at least the line of DXL code where your program raised the exception. In this case usually you supplied some b.s. to your function, most of the time invalid data, which made it crash.
In the other case you will get an exception and have DOORS crash or not show the DXL code line. In this case the only opportunity you have is starting to comment out code, until the crash vanishes, then starting remove the comments until you get a clue, where you code is crashing - then you need again check for invalid data passed to a function.
Most common crash reasons I know:
-
Closing Modules / Changing Edit Mode of a module (which will invalidate all handles to the objects, module you stored somewher)
-
Invalid Type Casting (e.g. with Skips / Arrays, putting one type in, reading another type out)
-
Invalid Skip Type (Putting numbers in a string skip)
-
Memory errors (when your memory runs full, things start going bad)
-
DOORS typical crashes (in V.8 you get crashes with popup menus some time)
Hope that helps, regards, Mathias
Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS
how can avoid this error when i close the modules? I have many script that need to open and close many modules and randomically i get this error
|
|
Re: EXCEPTION_ACCESS_VIOLATION GregM_dxler - Tue Mar 04 14:36:27 EST 2014
I get this error whenever I try to delete a regular expression that has not been created.
Also will get this occasionally when I don't have the right access to a module or an attribute in the module.
Hope this helps,
Greg
|
|