glxapp_shutdownApplication error: 488,2338,1

6 views
Skip to first unread message

Martin Koob

unread,
May 28, 2016, 11:19:30 AM5/28/16
to GLX Application Framework
I started getting this error when trying to shutdown the LiveCode IDE. (I am using LC 6.3.7)



What happens is I quit LiveCode and it does not quit.   The IDE is unresponsive.  

I then press the command + period keys to see if I can interrupt a stuck process. That works. 

Then I get a modal dialog with the message "An error occurred while shutting down the application. 488,2338,1".  In the message box is the text "glxapp_shutdownApplication error: 488,2338,1"

Do you have an idea what the error code means and why it would throw that type of error.

I have been using lcVCS and I added some lcVCSExport handlers and it seems after doing that the problem happened.   I deleted those handlers and it seemed to resolve the problem but only temporarily.  Could these be related or would it another issue causing this?

Thanks.

Martin Koob

Trevor DeVore

unread,
May 28, 2016, 12:05:23 PM5/28/16
to glx...@googlegroups.com
Error 488 is `repeat: aborted`. 2338 is the line number. Take a look at the framework stack script and see what 2338 is. glxapp_shutdownApplication has a couple of repeat loops in it. Here they are:

=====================

## CLEAR OUT ANYTHING THAT COULD KEEP US FROM QUITTING
      ## AND CLEANUP
      repeat until the pendingMessages is empty
         cancel item 1 of line 1 of the pendingMessages
      end REPEAT
      
      ## Oops, this would wipe out all proxy info
      --      if the openSockets is not empty then
      --         try
      --            libURLResetAll
      --            wait 10 milliseconds with messages ## let reset all finish up
      --         catch e
      --         end try
      --      end if
      ## Just in case
      repeat until the openSockets is empty
         close socket (line 1 of the opensockets)
         wait 10 milliseconds with messages
      end REPEAT      
      repeat until the cachedURLs is empty
         unload URL (line 1 of the cachedurls)
         wait 10 milliseconds with messages
      end repeat
      repeat until the openFiles is empty
         close file (line 1 of the openfiles)
      end repeat
      repeat until the openProcesses is empty
         close process (line 1 of the openprocesses)
      end repeat

=====================

-- 
Trevor DeVore
ScreenSteps

--
You received this message because you are subscribed to the Google Groups "GLX Application Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to glxapp+un...@googlegroups.com.
To post to this group, send email to glx...@googlegroups.com.
Visit this group at https://groups.google.com/group/glxapp.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages