I'm trying to move our application using the WindowBuilder Translation Toolkit.
I'm loading in the methods from my VSE application. I am forced to do this by straight file-in because I get errors when I try to use the import tool.
Here is the stack dump when trying to use the import tool:
Debugger Stack Trace Report:
Error String: 'EBADF (9) Bad file descriptor'
Resumable: false
UIProcess
Name: (2/7/2013 5:32:00 PM)
Process State: suspended
Priority: 3
Executing in: BlockContextTemplate>>#apply:from:to:
System Configuration Dump
Copyright:
VA Smalltalk V8.5.2; Image: 8.5.2 [232]
VM Timestamp: 4.0,(NC) 8/7/2012 (84)
(C) Copyright Instantiations 1994, 2012. All rights reserved.
(C) Copyright International Business Machines Corp. 1994, 2006. All rights reserved.
Time: 5:38:31 PM
Date: 2/7/2013
Platform:
Virtual machine: ES
Bytecode version: 4.0
Manager version: 4.00
'OS' subsystem: 'WIN32s'
'CLIM' subsystem: 'ES'
'CP' subsystem: 'WIN32s'
'CLDT' subsystem: 'ES'
'CFS' subsystem: 'WIN32s'
'SCI' subsystem: 'WIN'
'CW' subsystem: 'WIN32s'
'CPM' subsystem: 'ES'
'CG' subsystem: 'WIN32s'
'CPIC' subsystem: 'WIN32s'
Current user: Library Supervisor
Connected Library:
Pathname: carlg-desktop :: C:\emsrv\manager\mgr85.dat
Library version: 6
Size of library: 207914096 bytes
Has consistent EOF: true
Acquire read locks: false
Single user mode: false
Server address: 'carlg-desktop'
Library Access:
Host system name: None
Use release lock mode: true
Native primitives library:
Emsrv primitives library:
Memory:
Total allocation: 37700396 bytes
Available: 4005084 bytes
Fixed Space: 36592 bytes
New Space: 966480 bytes
Old Space: 3037992 bytes
=============<STACK TRACE BEGINS>============ [] in <optimized block>(ExceptionalEvent class)>>#initializeSystemExceptions
signal=Signal on Exception: (ExCFSError) A CFS error has occurred.
Signal>>#evaluate:
self=Signal on Exception: (ExCFSError) A CFS error has occurred.
aBlock=[] in ExceptionalEvent class>>#initializeSystemExceptions
Signal>>#evaluateDefaultHandler:
self=Signal on Exception: (ExCFSError) A CFS error has occurred.
aBlock=[] in ExceptionalEvent class>>#initializeSystemExceptions
ExceptionalEvent>>#applyDefaultHandler:
self=Exception: (ExCFSError) A CFS error has occurred.
aSignal=Signal on Exception: (ExCFSError) A CFS error has occurred.
exception=Exception: (ExError) An error has occurred.
ExceptionalEvent>>#signalFor:
self=Exception: (ExCFSError) A CFS error has occurred.
aSignalOrExceptionSelector=Signal on Exception: (ExCFSError) A CFS error has occurred.
handler=nil
ExceptionalEvent>>#signalWithArguments:
self=Exception: (ExCFSError) A CFS error has occurred.
arguments=(EBADF (9) Bad file descriptor)
ExceptionalEvent>>#signalWith:
self=Exception: (ExCFSError) A CFS error has occurred.
arg1=EBADF (9) Bad file descriptor
CfsReadFileStream(CfsFileStream)>>#checkError:
self=a CfsReadFileStream
anObject=EBADF (9) Bad file descriptor
CfsReadFileStream(CfsFileStream)>>#close
self=a CfsReadFileStream
[] in WbVseImportWizard>>#startImport
self=a WbVseImportWizard
oldDefault=Kernel
fileName='C:\Windopath71\wbtt-scripts\WPWindoPath7App_methods.st'
stream=a CfsReadFileStream
transcript=a StsTranscript
BlockContextTemplate>>#apply:from:to:
self=[] in WbVseImportWizard>>#startImport
aCollection=('C:\Windopath71\wbtt-scripts\WPWindoPath7App_methods.st')
start=1
end=1
i=1
OrderedCollection>>#do:
self=OrderedCollection('C:\Windopath71\wbtt-scripts\WPWindoPath7App_methods.st' )
aBlock=[] in WbVseImportWizard>>#startImport [] in WbVseImportWizard>>#startImport
self=a WbVseImportWizard
oldDefault=Kernel
EmSystemConfiguration>>#wbShowBusyCursorWhile:
self=an EmSystemConfiguration
aBlock=[] in WbVseImportWizard>>#startImport
shell=CwTopLevelShell(shell)
window=a CgWindow
WbVseImportWizard(WbApplication)>>#execShortOperation:
self=a WbVseImportWizard
aBlock=[] in WbVseImportWizard>>#startImport
WbVseImportWizard>>#startImport
self=a WbVseImportWizard
oldDefault=Kernel
WbVseImportWizard(Object)>>#wbUnaryCallbackHandler:selector:callData:
self=a WbVseImportWizard
aWidget=CwPushButton(startButton)
selectorAndClientData=(#startImport CwPushButton(startButton))
theCallData=CwAnyCallbackData(
reason -> 10
)
selector=#startImport
argCount=0
CwCallbackRec>>#callWith:callData:
self=
a CwCallbackRec
receiver: a WbVseImportWizard
selector: #wbUnaryCallbackHandler:selector:callData:
clientData: (#startImport CwPushButton(startButton))
aWidget=CwPushButton(startButton)
callData=CwAnyCallbackData(
reason -> 10
)
CwPushButton(CwBasicWidget)>>#callCallbackList:callData:
self=CwPushButton(startButton)
aCallbackList=OrderedCollection(
a CwCallbackRec
receiver: a WbVseImportWizard
selector: #wbUnaryCallbackHandler:selector:callData:
clientData: (#startImport CwPushButton(startButton)) )
callData=CwAnyCallbackData(
reason -> 10
)
callbacks=nil
size=1
rec1=nil
rec2=nil
rec3=nil
CwPushButton>>#callActivateCallback:
self=CwPushButton(startButton)
anEvent=an OSEvent
OSButton(OSWidget)>>#callHandlers:with:
self=OSButton(Start)
handlers=#callActivateCallback:
data=an OSEvent
DirectedMessage>>#send
self=DirectedMessage (OSButton(Start), #callHandlers:with:, (#callActivateCallback: an OSEvent)) OSEventManager class>>#runDeferredMessages
self=OSEventManager
messageAvailable=true
message=DirectedMessage (OSButton(Start), #callHandlers:with:, (#callActivateCallback: an OSEvent))
state=true
OSWidget class>>#readAndDispatch
self=OSWidget
state=true
gotEvent=true
CwAppContext>>#readAndDispatch
self=a CwAppContext
AbtWindowSystemStartUp class(EsWindowSystemStartUp class)>>#messageLoop
self=AbtWindowSystemStartUp
lastEventTime=284520785
appContext=a CwAppContext
[] in <optimized block>(UIProcess class)>>#forkUserInterface [] in UIProcess(Process)>>#executeBlock:withArguments:
self=UIProcess:(2/7/2013 5:32:00 PM){suspended,3}
aBlock=[] in UIProcess class>>#forkUserInterface
args=()
UIProcess(Process)>>#executeBlock:withArguments:
self=UIProcess:(2/7/2013 5:32:00 PM){suspended,3}
aBlock=[] in UIProcess class>>#forkUserInterface
args=()
UIProcess(Process)>>#newProcessOn:stackSize:withArguments:named:
self=UIProcess:(2/7/2013 5:32:00 PM){suspended,3}
aBlock=[] in UIProcess class>>#forkUserInterface
stackSize=1024
args=()
procName='(2/7/2013 5:32:00 PM)'
==============<STACK TRACE ENDS>=============
So after it loads a thousand or so methods the whole thing blows up with:
Error accessing c:\emsrv\manager\mgr85.dat: Error reading reply header from server
I tried it twice, same result. Of course once this happens I can't even use the system anymore.
Any suggestions?
Thanks,
-Carl
--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
[hidden email].
To post to this group, send email to
[hidden email].
Visit this group at
http://groups.google.com/group/va-smalltalk?hl=en.
For more options, visit
https://groups.google.com/groups/opt_out.