"Boris Popov" <boris@deepcovelabs.com> 03/16/2006 04:09 PM To <vwnc@cs.uiuc.edu> cc <kobetic@rogers.com> Subject [7.4] CrpRandom class>>systemStateSeed - errorConvertingNegativeIntegerToBytes Speaking about Runtime Diagnostic Dumps-- A deleted Behavior

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

"Boris Popov" <boris@deepcovelabs.com> 03/16/2006 04:09 PM To <vwnc@cs.uiuc.edu> cc <kobetic@rogers.com> Subject [7.4] CrpRandom class>>systemStateSeed - errorConvertingNegativeIntegerToBytes Speaking about Runtime Diagnostic Dumps-- A deleted Behavior

Dan Blankenship

 Could it be that there are some compatibility classes or methods which are still present in 7.31nc and 7.4commercial that are being stripped out by the7.4 Runtime Packager, but were not stripped out in the 7.31nc?

Can anyone give me any ideas to resolve the issue?

We recently purchased a commercial license for VisualWorks 7.4.


This license was to cover the upgrade of an existing VisualWorks 2.52
application (originally written in VisualWorks 1B) which has been converted to VisualWorks Non Commercial 7.31
pending the securing of the above commercial license.   The conversion
took a while to resove some of the changes which have taken place
between version 2.52 and the 7.31 version, and the change from
SybaseConnect (accessing a Sybase Gateway to DB2 on the Mainframe) to a
DB2 Direct Connect using the DB2EXDI package in the 7.31nc   'goodies'
directory.  

The conversion was successful and the application, after stripping, was extensively tested as
it was a very complex application with extensive calls to the DB2
database and extensive business logic.

Upon receipt of the commercial version software (version 7.4) I
proceeded to install the version, initialize the visual.im into a
working image OrgTbl40.im.  After some effort, I was able to load the
necessary VW packages, DB2EXDI, BOSS, DLLCC, and our source code by
using packages and an ST fileout.  I begain to test the application in
the development image and, after some problem resolution, appeared to
have a working image with our application.  The image was able to access
the DB2 server and return data.  At that point , my intention was to
develop a production image so that our programmer for mainframe support
of the application could test the functionality as well as myself.

The problem occurs as I run the RunTimePackager which, at the conclusion
of the stripping process, announces that the application has been
saved--but then brings up an error message box "Unhandled exception:  A
deleted Behavior was referenced;...  An error occurred in this
application.  The application will now terminate."   The same message
comes up when launching the resulting production image (visual.exe
orgtables.im with full path) after first displaying the application main menu.


The error log reports the following:



==2006/3/16==15:02:13==BEGIN RUNTIME DIAGNOSTIC DUMP
Note: this file stored in VisualWorks #UTF8 (UTF-8) encoding

Cause of Dump: Unhandled exception: A deleted Behavior was referenced: Tools.FileTools.DirectoryContentsViewer
Image Identification: 'Image created March 16, 2006  3:01:46 pm'
Smalltalk Version: 'VisualWorks®, 7.4 of December 5, 2005'
Object Memory versionId: #[59 41 59 64 74 0 0 0 59 41 59 64]
Class creating this dump: RuntimeImageDumper
Command Line: H:\vw7.4\bin\win\visual.exe H:\VW7.4\image\OrgTbl40a.im
------------------------------------------------------------
Active Process
Context Stack:
[1]         RuntimePackager.RuntimeDeletedBehavior>>doesNotUnderstand:
[2]         WinXPTabControlBarView(SelectionView)>>displayStringAt:
[3]         optimized [] in TabControlBarView>>initializeVisuals
[4]         WinXPTabControlBarView(TabControlBarView)>>displayOn:
[5]         BoundedWrapper>>displayOn:
[6]         TabControlComposite(CompositePart)>>displayOn:
[7]         BoundedWrapper>>displayOn:
[8]         SpecWrapper(Wrapper)>>displayOn:
[9]         SpecWrapper(WidgetWrapper)>>displayOn:
[10]         CompositePart>>displayOn:
[11]         BoundedWrapper>>displayOn:
[12]         ReComposingComposite(CompositePart)>>displayOn:
[13]         WindowDisplayPolicy>>displayDamageList:in:
[14]         ApplicationWindow(ScheduledWindow)>>displayDamageEvent:
[15]         ApplicationWindow(ScheduledWindow)>>checkForEvents
[16]         optimized [] in [] in WindowManager>>repairDamagesExcept:
[17]         OrderedCollection>>do:
[18]         optimized [] in WindowManager>>repairDamagesExcept:
[19]         BlockClosure>>on:do:
[20]         WindowManager>>repairDamagesExcept:
[21]         WindowManager>>repairDamages
[22]         WindowManager>>basicRestore
[23]         MessageSend>>value
[24]         optimized [] in DeferrableAction>>message:
[25]         optimized [] in DeferrableAction>>execute
[26]         BlockClosure>>valueNowOrOnUnwindDo:
[27]         BlockClosure>>ensure:
[28]         DeferrableAction>>execute
[29]         DeferrableAction>>dispatch
[30]         DeferrableAction(Event)>>dispatchForWindowManager:
[31]         optimized [] in WindowManager>>safelyDispatchForWindowManager:
[32]         BlockClosure>>on:do:
[33]         WindowManager>>safelyDispatchForWindowManager:
[34]         WindowManager>>processNextEvent
[35]         optimized [] in [] in WindowManager>>newProcess
[36]         BlockClosure>>on:do:
[37]         optimized [] in WindowManager>>newProcess
[38]         BlockClosure>>on:do:
[39]         optimized [] in Process class>>forBlock:priority:

------------------------------------------------------------
Unhandled Exception:
        class: UnhandledException
        creator: UnhandledException
        errorString: Unhandled exception: A deleted Behavior was referenced: Tools.FileTools.DirectoryContentsViewer
        parameter: an Error

------------------------------------------------------------
Initial Context Stack Arguments:
[1] RuntimePackager.RuntimeDeletedBehavior>>doesNotUnderstand:
        Receiver: (id=2341) (deleted) Tools.FileTools.DirectoryContentsViewer
        Arg1: (id=5911) a Message with selector: #tabLabel and arguments: #()
[2] WinXPTabControlBarView(SelectionView)>>displayStringAt:
        Receiver: (id=7384) a WinXPTabControlBarView
        Arg1: (id=1) 1
[4] WinXPTabControlBarView(TabControlBarView)>>displayOn:
        Receiver: (id=7384) a WinXPTabControlBarView
        Arg1: (id=205) a ScreenGraphicsContext
[5] BoundedWrapper>>displayOn:
        Receiver: (id=5544) a BoundedWrapper on: a WinXPTabControlBarView
        Arg1: (id=205) a ScreenGraphicsContext
[6] TabControlComposite(CompositePart)>>displayOn:
        Receiver: (id=14749) a TabControlComposite
        Arg1: (id=16222) a ScreenGraphicsContext
[7] BoundedWrapper>>displayOn:
        Receiver: (id=7999) a BoundedWrapper on: a TabControlComposite
        Arg1: (id=16222) a ScreenGraphicsContext
[8] SpecWrapper(Wrapper)>>displayOn:
        Receiver: (id=4257) a SpecWrapper on: a BoundedWrapper on: a TabControlComposite
        Arg1: (id=16222) a ScreenGraphicsContext
[9] SpecWrapper(WidgetWrapper)>>displayOn:
        Receiver: (id=4257) a SpecWrapper on: a BoundedWrapper on: a TabControlComposite
        Arg1: (id=16222) a ScreenGraphicsContext
[10] CompositePart>>displayOn:
        Receiver: (id=14935) a CompositePart
        Arg1: (id=24) a ScreenGraphicsContext
[11] BoundedWrapper>>displayOn:
        Receiver: (id=7756) a BoundedWrapper on: a CompositePart
        Arg1: (id=24) a ScreenGraphicsContext
[12] ReComposingComposite(CompositePart)>>displayOn:
        Receiver: (id=577) a ReComposingComposite
        Arg1: (id=2050) a ScreenGraphicsContext
[13] WindowDisplayPolicy>>displayDamageList:in:
        Receiver: (id=3523) a WindowDisplayPolicy
        Arg1: (id=4996) #(0@0 corner: 800@600)
        Arg2: (id=10229) an ApplicationWindow 29
[14] ApplicationWindow(ScheduledWindow)>>displayDamageEvent:
        Receiver: (id=10229) an ApplicationWindow 29
        Arg1: (id=4996) #(0@0 corner: 800@600)
[15] ApplicationWindow(ScheduledWindow)>>checkForEvents
        Receiver: (id=10229) an ApplicationWindow 29
[17] OrderedCollection>>do:
        Receiver: (id=4629) OrderedCollection (an ApplicationWindow 29)
        Arg1: (id=12361) BlockClosure [] in [] in WindowManager>>repairDamagesExcept:
[19] BlockClosure>>on:do:
        Receiver: (id=3709) BlockClosure [] in WindowManager>>repairDamagesExcept:
        Arg1: (id=12339) ClosedWindowNotification
        Arg2: (id=15530) BlockClosure [] in WindowManager>>repairDamagesExcept:
[20] WindowManager>>repairDamagesExcept:
        Receiver: (id=4167) a WindowManager
        Arg1: (id=1) nil
[21] WindowManager>>repairDamages
        Receiver: (id=4167) a WindowManager
[22] WindowManager>>basicRestore
        Receiver: (id=4167) a WindowManager
[23] MessageSend>>value
        Receiver: (id=4262) a MessageSend with receiver: a WindowManager, selector: #basicRestore and arg...
[26] BlockClosure>>valueNowOrOnUnwindDo:
        Receiver: (id=11994) BlockClosure [] in DeferrableAction>>execute
        Arg1: (id=3342) BlockClosure [] in DeferrableAction>>execute
[27] BlockClosure>>ensure:
        Receiver: (id=11994) BlockClosure [] in DeferrableAction>>execute
        Arg1: (id=3342) BlockClosure [] in DeferrableAction>>execute
[28] DeferrableAction>>execute
        Receiver: (id=12547) a DeferrableAction
[29] DeferrableAction>>dispatch
        Receiver: (id=12547) a DeferrableAction
[30] DeferrableAction(Event)>>dispatchForWindowManager:
        Receiver: (id=12547) a DeferrableAction
        Arg1: (id=4167) a WindowManager
[32] BlockClosure>>on:do:
        Receiver: (id=11627) BlockClosure [] in WindowManager>>safelyDispatchForWindowManager:
        Arg1: (id=8473) BadControllerError
        Arg2: (id=6841) BlockClosure [] in WindowManager>>safelyDispatchForWindowManager:
[33] WindowManager>>safelyDispatchForWindowManager:
        Receiver: (id=4167) a WindowManager
        Arg1: (id=12547) a DeferrableAction
[34] WindowManager>>processNextEvent
        Receiver: (id=4167) a WindowManager
[36] BlockClosure>>on:do:
        Receiver: (id=2055) BlockClosure [] in [] in WindowManager>>newProcess
        Arg1: (id=3873) TerminateException
        Arg2: (id=13653) BlockClosure [] in [] in WindowManager>>newProcess
[38] BlockClosure>>on:do:
        Receiver: (id=5001) BlockClosure [] in WindowManager>>newProcess
        Arg1: (id=3873) TerminateException
        Arg2: (id=14659) BlockClosure [] in [] in Process class>>forBlock:priority:

------------------------------------------------------------
Quiescent Processes
Process priority: 10 (id=1462)
Context Stack:
[1]         Semaphore>>wait
[2]         ObjectMemory class>>idleLoop
[3]         optimized [] in ObjectMemory class>>installIdleLoopProcess
[4]         BlockClosure>>on:do:
[5]         optimized [] in Process class>>forBlock:priority:

Process priority: 50 (id=4081)
Context Stack:
[1]         Process>>yield
[2]         ProcessorScheduler>>yield
[3]         WindowManager>>processNextEvent
[4]         optimized [] in [] in WindowManager>>newProcess
[5]         BlockClosure>>on:do:
[6]         optimized [] in WindowManager>>newProcess
[7]         BlockClosure>>on:do:
[8]         optimized [] in Process class>>forBlock:priority:

------------------------------------------------------------
Suspended Processes
Process priority: 98 (id=8032)
Context Stack:
[1]         Semaphore>>wait
[2]         WeakArray class>>outerFinalizationLoop
[3]         optimized [] in WeakArray class>>installFinalizationMechanism
[4]         BlockClosure>>on:do:
[5]         optimized [] in Process class>>forBlock:priority:

Process priority: 100 (id=1688)
Context Stack:
[1]         Semaphore>>wait
[2]         optimized [] in Delay class>>initializeTimingProcess
[3]         BlockClosure>>on:do:
[4]         optimized [] in Process class>>forBlock:priority:

Process priority: 50 (id=4081)
Context Stack:
[1]         Process>>yield
[2]         ProcessorScheduler>>yield
[3]         WindowManager>>processNextEvent
[4]         optimized [] in [] in WindowManager>>newProcess
[5]         BlockClosure>>on:do:
[6]         optimized [] in WindowManager>>newProcess
[7]         BlockClosure>>on:do:
[8]         optimized [] in Process class>>forBlock:priority:

Process priority: 90 (id=15453)
Context Stack:
[1]         Semaphore>>wait
[2]         optimized [] in ObjectMemory class>>installScavengeNotification
[3]         BlockClosure>>on:do:
[4]         optimized [] in Process class>>forBlock:priority:

Process priority: 10 (id=1462)
Context Stack:
[1]         Semaphore>>wait
[2]         ObjectMemory class>>idleLoop
[3]         optimized [] in ObjectMemory class>>installIdleLoopProcess
[4]         BlockClosure>>on:do:
[5]         optimized [] in Process class>>forBlock:priority:

Process priority: 91 (id=5328)
Context Stack:
[1]         Semaphore>>wait
[2]         ObjectMemory class>>lowSpaceLoop
[3]         optimized [] in ObjectMemory class>>installLowSpaceProcess
[4]         BlockClosure>>on:do:
[5]         optimized [] in Process class>>forBlock:priority:

Process priority: 89 (id=12052)
Context Stack:
[1]         Semaphore>>wait
[2]         optimized [] in [] in [] in CCallback class>>installCallbackProcess
[3]         BlockClosure>>on:do:
[4]         optimized [] in [] in CCallback class>>installCallbackProcess
[5]         BlockClosure>>on:do:
[6]         optimized [] in CCallback class>>installCallbackProcess
[7]         BlockClosure>>on:do:
[8]         optimized [] in Process class>>forBlock:priority:

Process priority: 85 (id=5554)
Context Stack:
[1]         Semaphore>>wait
[2]         optimized [] in CCallback class>>installForeignCallbackProcess
[3]         BlockClosure>>on:do:
[4]         optimized [] in Process class>>forBlock:priority:

Process priority: 90 (id=968)
Context Stack:
[1]         Semaphore>>wait
[2]         InputState>>run
[3]         optimized [] in InputState class>>install
[4]         BlockClosure>>on:do:
[5]         optimized [] in Process class>>forBlock:priority:

Process priority: 50 (id=15679)
Context Stack:
[1]         Semaphore>>wait
[2]         Delay>>wait
[3]         RuntimePackager.RuntimeManager class>>notifyUserNoninteractively:label:delay:
[4]         RuntimePackager.RuntimeManager class>>doOneStepFinalImageSave
[5]         RuntimePackager.RuntimeManager class>>createAndSaveFinalImage
[6]         optimized [] in RuntimePackager.RuntimeStartupController>>controlTerminate
[7]         BlockClosure>>on:do:
[8]         optimized [] in Process class>>forBlock:priority:

------------------------------------------------------------
Transcript:
<<<BEGIN TRANSCRIPT>>>

OrgTables.im created at March 16, 2006 3:02:12 pm
<<<END TRANSCRIPT>>>

------------------------------------------------------------
External Database Connections (all instances):

External Database Sessions (all instances):

------------------------------------------------------------
Scheduled Windows:

        a ScheduledWindow 3310 label: 'About to quit'
                model class:  UndefinedObject

        an ApplicationWindow 29 label: an UserMessage('File Browser', #FileBrowser, #labels)
                model class:  FileBrowser
                0@50              selection: Text for '    image'
                258@297           displayContents: 'CAL1.BOS        [7789] October 10, 2005 22:37:36.000
DB2EXDI.pcl        [31230' ... ' 15:05:22.000
visual.sou        [13661569] March 11, 2006 15:05:30.000
'
                0@577             displayContents: 'h:\vw7.4\image'
                600@577           displayContents: '30 files'
                361@23            displayContents: '*'

==2006/3/16==15:02:13==END RUNTIME DIAGNOSTIC DUMP
=============================================================

VisualWorks reports the following Copyright:

VisualWorks(r), 7.4 of December 5, 2005
Copyright (c) 1999-2005 Cincom Systems, Inc.  All Rights Reserved.
This product contains copyrighted third-party software.
Portions (c) 1999 AppNet Systems, Inc.
Portions (c) 1995-2003 Crafted Smalltalk.
Portions (c) 1999 IC&C GmbH Software Foundations.
Portions (c) 1998-2002 The Refactory, Inc.

and reports the following System Information:

Version Id:
       #[59 41 59 64 74 0 0 0 59 41 59 64]
Patches:
       CScanner Release 3.2
Parcels:
       BOSS Version '7.4' of 12/5/05 1:27:23 pm
       Browser-BaseUI Version '7.4' of 12/5/05 1:27:35 pm
       Browser-BrowserUI Version '7.4' of 12/5/05 1:27:38 pm
       Browser-ChangeObjects Version '7.4' of 12/5/05 1:27:30 pm
       Browser-Environments Version '7.4' of 12/5/05 1:27:29 pm
       Browser-Namespace Version '7.4' of 12/5/05 1:27:26 pm
       Browser-Parser Version '7.4' of 12/5/05 1:27:26 pm
       Browser-Refactorings Version '7.4' of 12/5/05 1:27:32 pm
       Browser-RefactoringUI Version '7.4' of 12/5/05 1:27:38 pm
       Browser-Smalllint Version '7.4' of 12/5/05 1:27:42 pm
       Browser-SmalllintUI Version '7.4' of 12/5/05 1:27:43 pm
       Compression-ZLib Version '7.4' of 12/5/05 1:46:51 pm
       Database Version '7.4' of 12/5/05 1:27:21 pm
       Database-Namespace Version '7.4' of 12/5/05 1:27:26 pm
       DB2EXDI Version '7.2' of 10/21/04 12:39:20 pm
       Debugger-Browser Extensions Version '7.4' of 12/5/05 1:29:14 pm
       Debugger-Compiler-Modifications Version '7.4' of 12/5/05 1:29:09
pm
       Debugger-Exception-Modifications Version '7.4' of 12/5/05
1:29:12 pm
       Debugger-Load All Version '7.4' of 12/5/05 1:29:14 pm
       Debugger-Probes Version '7.4' of 12/5/05 1:29:09 pm
       Debugger-Process Monitor Version '7.4' of 12/5/05 1:29:13 pm
       Debugger-StackInspector Version '7.4' of 12/5/05 1:29:12 pm
       Debugger-Support Version '7.4' of 12/5/05 1:29:11 pm
       Debugger-Tools-Modifications Version '7.4' of 12/5/05 1:29:12 pm

       Debugger-UI Version '7.4' of 12/5/05 1:29:13 pm
       DLLCC Version '7.4' of 12/5/05 1:45:58 pm
       Headless Version '7.4' of 12/5/05 10:15:49 am
       HughesStandardExtensions of 3/12/06 7:48:13 pm
       ImageReaders Version '7.4' of 12/5/05 2:15:36 pm
       OldBrowsers Version '7.4' of 12/5/05 1:27:52 pm
       OrgTablesApplication of 3/12/06 3:56:18 pm
       OrgTablesStdObjects of 3/12/06 3:53:46 pm
       PackageCategories Version '7.4' of 12/5/05 10:15:45 am
       Refactory-Namespace Version '7.4' of 12/5/05 1:27:26 pm
       RuntimePackager Version '7.4' of 12/5/05 1:46:37 pm
       Standard IO Streams Version '7.4' of 12/5/05 10:15:49 am
       Tools-Changes Version '7.4' of 12/5/05 1:27:43 pm
       Tools-File Browser Version '7.4' of 12/5/05 1:27:51 pm
       Tools-Parcel Manager Version '7.4' of 12/5/05 1:27:50 pm
       Tools-Settings Version '7.4' of 12/5/05 1:27:48 pm
       Tools-Settings-VW Version '7.4' of 12/5/05 1:27:52 pm
       Tools-Trippy Version '7.4' of 12/5/05 1:27:46 pm
       Tools-Workspace Version '7.4' of 12/5/05 1:27:45 pm
       UIPainter Version '7.4' of 12/5/05 1:46:26 pm
       URISupport Version '7.4' of 12/5/05 10:15:44 am
       XML Version '7.4' of 12/5/05 10:15:41 am
       XML-source Version '7.4' of 12/5/05 10:15:44 am



Dan Blankenship           CS14833
GTS  California LB A01 4C864
310.816.6459                GTS