Error Trap display intermittent problems

Bug #333538 reported by JSHER
4
Affects Status Importance Assigned to Milestone
OpenVista/GT.M Integration
Fix Released
High
Unassigned

Bug Description

The error trap in GTM occassionally does not display the error that are present in the ERROR LOG file. This is an intermittent issue and the cause of the fluctuation has not been determined.

JSHER (joel-sher)
Changed in openvista-gtm-integration:
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Robert (robert-criteser) wrote :

I have found that when I kill all my variables then I can view the error trap. It's only when they are set that I cannot see it.

Revision history for this message
bhaskar (bhaskar) wrote :

This is a generic error trapping comment and may or may not be helpful, but a common bug in error handling has to do with the use of both $ZTRAP and $ETRAP. VistA is supposed to use $ETRAP exclusively with GT.M, but it is possible that there is some use of $ZTRAP for another MUMPS implementation that is not adequately protected and which is getting set.

Revision history for this message
Jon Tai (jontai) wrote :

Joel has already done some work on this; my understanding is that he's identified and fixed the issue that caused the error trap to fail when variables are set. Joel - feel free to comment more on this.

That said, there are at least two errors with the error trap that I am aware of. One is consistent and seems to be the one Robert is describing - if you have no variables set, this does not appear:

          $STACK=8 $ECODE=,M26,Z150374122,
          $ZSTATUS=150374122,IHSXQY0+5^XTER1A,%GTM-E-ZGBLDIRACC, Cannot access g
lobal directory /home/demo/DEMO,DEMO.gld. Retaining /opt/openvista/demo/globals
/mumps.gld.,%SYSTEM-E-ENO2, No such file or directory

The other is not always reproducible:

%GTM-E-IONOTOPEN, Attempt to USE an I/O device which has not been opened
                At M source location %XTZDAT^XTER

jeff.apple (jeff-apple)
Changed in openvista-gtm-integration:
status: Confirmed → Fix Committed
Jon Tai (jontai)
Changed in openvista-gtm-integration:
milestone: none → phase-1-alpha
Jon Tai (jontai)
Changed in openvista-gtm-integration:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.