---+ Diagnosing Strange and Generic Errors <p align="left">To diagnose strange or generic errors (such as bus errors, seg faults, attempting to free freed memory errors, or "an internal error has been detected" errors), run through the following checklist:</p> <p align="left"> </p> 1 Delete all of your Applications' EMs. Rerun your problem scenario to see if the problem still occurs. <p> </p> 1 Set environment variable APPX_TRAILER_COUNT=40, then re-run the condition that generates the error. See <a href="SettingEnvironmentVariables" target="_blank">Setting Environment Variables</a> to set an environment variable. This catches most APPX "stepping on memory" errors, by generating an "mm free() - corrupted trailer" message earlier in your problem scenario. <p> </p> 1 Search for Design Discrepancies:<br /> <p>In character mode go into Application Design for the problem application:<br /><br /></p> <blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;">Run: 3.Utility, 6.Toolbox, 20.Source Analysis Menu, 1.Orphan Detection, 19.Run Each of the Above<br />Run: 3.Utility, 6.Toolbox, 11.Conversion Utilities, 4.Check for Duplicate ANO and EMs.</blockquote> <p> </p> <p><br />In GUI Mode:<br /><br /></p> <blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;">Go into Application Design for the problem application and click on the "Utilities" tab.<br />Click "Check for Design Orphans". The Orphan Detection menu will be displayed. Click "Run Each of the Above".<br />Click on Verify ANO’s and EM’s.</blockquote> <br /><br /> <p> </p> If the Orphan Detection report identifies any orphan design objects, add the missing parent and then delete it. That should remove the parent and the orphan. For example, if an orphan Image is identified, add the missing Process and Frame, then delete the Process. Rerun the Orphan Detection to ensure the orphans are gone. If an orphan Item is identified, you will have to add the Process, Frame, and Image, and so on. If the Duplicate ANO and Em report identifies any problems, then follow this procedure:<br /><br /> 1 Reset the ANO and Ems by: 1 Click Reset Process Date Add (Utility Tab or 3.Utility, 6.Toolbox, 11.Conversion Utilities, 1) Reset PROCESS DATE ADD Fields) 1 Click Reset DD For Full Compile (Utility Tab or 3.Utility, 6.Toolbox, 11.Conversion Utilities, 6) Reset DD for full process)<br /><br /> 1 Initialize the 4 compiled DD files (BITMAP, ELEMENT, FILE, INITIAL) and reprocess the Data Dictionary. These can be initialized in System Administration, Design File Management, File Selection (select these four files), Initialize Files. <p> </p> 1 Go back to Application Design and Process the DD.<br /><br /> 1 Restructure your enduser data. This should go quickly - only the /Struct file date/time stamps will need to be reset, to match the newly compiled DD.) <p> </p> 1 Delete all of your Applications' EMs again and rerun the scenario that causes the problem. <p> </p> 1 If your problem scenario still fails, and you're running on a Windows platform, send us your appx.stk <p>'appx.stk' is a stack dump, telling us something of what goes on inside APPX when cassert error messages occur. You'll find it in the same directory that your 'appx' or 'appx.exe' engine is located. If it is overly large, you may want to delete or rename it, then run your problem scenario one more time to get a clean dump.</p> <p>Send to [[mailto:techsupp@appx.com][techsupp]]:</p> 1 The appx.stk dump, 1 The version# of APPX under which you are running, 1 The release level of your Operating System, 1 A brief description of what the error looks like from the operator's perspective, and 1 A brief description of the Application Design elements in which the error occurred. ---++ Comments: _Read what other users have said about this page or add your own comments._ --- <br /><span data-mce-mark="1"><span data-mce-mark="1">%COMMENT%</span></span>
This topic: Main
>
WebHome
>
SystemAdministration
>
DiagnosingErrors
Topic revision: r3 - 2016-01-21 - JeanNeron
Copyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback