Ok, I did run a page audit and an object audit. This is after switch from 3.1.0 to 3.1.0.4 did backup, take down, install 3.1.0.4 restart
restore from backup. topaz 1> topaz 1> topaz 1> topaz 1> FastCGI Server started on port 9001 -----------------------------------------------------
GemStone: Error Nonfatal a InternalError occurred (error 2261), The object with object ID 20 is corrupt. Reason: 'process switch not in critial state' Error Category: 231169 [GemStone] Number: 2261 Arg Count: 2 Context : 20 exception : 746765313
Arg 1: [162 sz:0 cls: 74241 SmallInteger] 20 == 0x14 Arg 2: [746763777 sz:35 cls: 74753 String] process switch not in critial state topaz > exec iferr 1 : where Stack is not active
topaz 1> topaz 1> ----------------------------------------------------- GemStone: Error Nonfatal a TransactionError occurred (error 2249), Further commits have been disabled for this session because: 'CorruptObj error'. This session
must logout. Error Category: 231169 [GemStone] Number: 2249 Arg Count: 1 Context : 746765569 exception : 746755841 Arg 1: [746755585 sz:16 cls: 74753 String] CorruptObj error topaz > exec iferr 1 : where
==> 1 AbstractException >> _signalFromPrimitive: (envId 0) @6 line 15 [methId 4653569] 2 System class >> _primitiveCommit: (envId 0) @1 line 1 [methId 4790017] 3 System class >> __commit: (envId 0) @2 line 8 [methId 4728833]
4 [] in System class >> _localCommit: (envId 0) @2 line 30 [methId 4730881] 5 ExecBlock >> onException:do: (envId 0) @2 line 66 [methId 3761409] 6 System class >> _localCommit: (envId 0) @8 line 31 [methId 4731137]
7 TransactionBoundaryDefaultPolicy >> commit: (envId 0) @2 line 3 [methId 10494721] 8 System class >> _commit: (envId 0) @7 line 16 [methId 4732417] 9 System class >> commitTransaction (envId 0) @5 line 7 [methId 4771585]
10 Executed Code @14 line 8 [methId 746735617] 11 GsNMethod class >> _gsReturnToC (envId 0) @1 line 1 [methId 4443393] [GsProcess 746765569]
topaz 1> =========================================================================== John M. McIntosh <[hidden email]> Corporate Smalltalk Consulting Ltd. Twitter: squeaker68882 =========================================================================== _______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
John, Not sure what 'process switch not in critical state' error means, but I am pretty sure that your db is not corrupted ... the corruptObj error is sometimes used in the vm to (incorrectly) signal that a nasty unexpected error occurred ... in this case something has gone haywire with the process scheduler, perhaps>... there _were_ a number of process scheduler bugfixes in 3.1.0.4. I've submitted an internal bug report (bug 43236) and will let you know what the vm engineers have to say when they respond ... Dale From: "John McIntosh" <[hidden email]> _______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
In reply to this post by johnmci
John, Do I understand correctly that you restored a 3.1.0 backup into a 3.1.0.4 system? This is NOT the way to do an upgrade. In this case you have an inconsistency between the binaries (gem/VM, stone, shared page cache monitor, page server, etc.) and the image and the database is "corrupt" from the point of view of the executable. The restore from backup does not upgrade the image. The proper way to do an upgrade is to follow the instructions in the install/upgrade manual and involves (from memory, check the docs!) starting the stone on the existing extents and then doing an "upgradeImage" from the command line. This will (re)install the kernel classes and makes sure that the primitives invoked by the Smalltalk code are consistent with the binary executable that receives those primitives. Absent this step, the (wrong) primitives are being called with the wrong arguments. I do hope that this is in a test environment, and not production! ~James Sent from my iPad
_______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
In reply to this post by johnmci
John, Here's the skinny so far: Customer needs to upgrade to 3.1.0.5, which is currently under test at another customer site. That customer had a bunch of similar errors, most of which appear to be fixed by 3.1.0.5. However the fix may not be complete yet. They still have some test failures indicating problems in the process scheduler. 3.1.0.5 for Linux cat be found at: http://downloads.gemtalksystems.com/pub/GemStone64/3.1.0.5-EA/GemStone64Bit3.1.0.5-x86_64.Linux.zip Dale From: "John McIntosh" <[hidden email]> _______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
Ok, to answer James' question this is a production system, however it failed at step 27 of my migration plan, so I just reverted back to the 3.1.0 setup. I had read the upgrade chapter in the http://downloads.gemtalksystems.com/docs/GemStone64/3.0.x/GS64-InstallGuide-Linux-3.0.1.pdf but in reading the 3.1.0, to 3.1.0.1/2/3/4 notes it was 'unclear' you needed to do the upgradeImage step between minor point releases. Actually a friend of mine who does gemstone work didn't think the migration from 3.1.0.x to 3.1.0.y needed anything special... He may owe me a latte this week. I'm not sure here if doing the upgradeImage is needed? If someone could clarify that would be great. Now if the issue is that 3.1.0.4 does have problems with 'process switch not in critical state' and are *mostly*? fixed in 3.1.0.5 I might wait a bit longer, the problem is the seaside gems die over time depending on load resulting in no gems to service the webserver. So not anything I want to toss into production yet. On Sat, Aug 17, 2013 at 12:02 PM, Dale K. Henrichs <[hidden email]> wrote:
=========================================================================== John M. McIntosh <[hidden email]> Corporate Smalltalk Consulting Ltd. Twitter: squeaker68882 =========================================================================== _______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
While you can skip upgradeImage if there are no image-level changes, in
general, you should always run upgradeImage. It's definitely needed for the 3.1.0.2 and 3.1.0.3 upgrades, but 3.1.0.4 and the upcoming 3.1.0.5 are probably okay without. If the particular image-level changes aren't relevant for your application, you can take the chance - but it makes support folks worry when executables and image are at different versions... Lisa Almarode GemTalk Technical Support On 8/17/2013 10:49 AM, John McIntosh wrote: > Ok, to answer James' question this is a production system, however it > failed at step 27 of my migration plan, so I just reverted back to the > 3.1.0 setup. I had read the upgrade chapter in the > http://downloads.gemtalksystems.com/docs/GemStone64/3.0.x/GS64-InstallGuide-Linux-3.0.1.pdf > but in reading the 3.1.0, to 3.1.0.1/2/3/4 <http://3.1.0.1/2/3/4> notes > it was 'unclear' you needed to do the upgradeImage step between minor > point releases. Actually a friend of mine who does gemstone work didn't > think the migration from 3.1.0.x to 3.1.0.y needed anything special... > He may owe me a latte this week. > > I'm not sure here if doing the upgradeImage is needed? If someone could > clarify that would be great. > > Now if the issue is that 3.1.0.4 does have problems with 'process > switch not in critical state' and are *mostly*? fixed in 3.1.0.5 I > might wait a bit longer, the problem is the seaside gems die over time > depending on load resulting in no gems to service the webserver. So not > anything I want to toss into production yet. Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
Ok reply ALL not just to Lisa... Ok, well we seem to be missing a upgrade guide here. In the http://downloads.gemtalksystems.com/docs/GemStone64/3.0.x/GS64-InstallGuide-Linux-3.0.1.pdf it talks about doing startstone -C stoneName.. but in the System Administration guide for GemStone/S 64 bit 3.1 july 2012 PDF that flag is not documented.
however start the stone with -C upgradeImage which says
no errors detected it stop stone restart stone without the -C
Now perhaps I'm assuming here I don't need to file in the entire glass server side? Although a quick look doesn't find any current information on how to do that in topaz.
Then I am unable to connect via GemTools-1.0-beta-8.7-3101x pharo image, just hangs for many many minutes, then we get
'Network error - text follows:, from GciAstFailureNetwork partner has disconnected.'
number 4137 In looking at the logs for the gem net object log has _____________________________________________________________________________ | NetLDI Child Task |
| | | CLIENTHOST: ::ffff:192.168.225.1 | | VERSION: 3.1.0.4, Mon Jun 17 13:16:00 2013 |
| BUILD: gss64_3_1_0_x_branch-31024 | | BUILT FOR: x86-64 (Linux) | | MODE: 64 bit |
| RUNNING ON: 2-CPU mail x86_64 (Linux 3.5.0-37-generic #58~precise1-Ubuntu SMP | Wed Jul 10 17:48:11 UTC 2013) 1994MB | | PROCESS ID: 2807 DATE: 08/17/2013 15:18:38 EDT |
| USER IDS: REAL=johnmci (1000) EFFECTIVE=johnmci (1000) | | COMMAND: /opt/gemstone/GemStone64Bit3.1.0.4-x86_64.Linux/sys/gemnetobject| | TCP 54982 30 |
|_____________________________________________________________________________| exeConfig -d path [Info]: the hostname is: mail GEMSTONE is: "/opt/gemstone/product"
gem's location is: /opt/gemstone/product/sys system config file is: /opt/gemstone/product/seaside/data/system.conf executable config file is: /opt/gemstone/product/seaside/data
gem's arguments are: TCP 54982 30 _____________________________________________________________________________ | GemStone/S64 Object-Oriented Data Management System |
| Copyright (C) VMware, Inc. 1986-2013 | | All rights reserved. | | Covered by U.S Patents: |
| 6,256,637 Transactional virtual machine architecture | | 6,360,219 Object queues with concurrent updating | | 6,567,905 Generational Garbage Collector. |
| 6,681,226 Selective Pessimistic Locking for a Concurrently Updateable Database +-----------------------------------------------------------------------------+ | PROGRAM: GEM, GemStone Session Process |
| VERSION: 3.1.0.4, Mon Jun 17 13:16:00 2013 | | BUILD: gss64_3_1_0_x_branch-31024 | | BUILT FOR: x86-64 (Linux) |
| MODE: 64 bit | | RUNNING ON: 2-CPU mail x86_64 (Linux 3.5.0-37-generic #58~precise1-Ubuntu SMP | Wed Jul 10 17:48:11 UTC 2013) 1994MB |
| PROCESS ID: 2807 DATE: 08/17/2013 15:18:38 EDT | | USER IDS: REAL=johnmci (1000) EFFECTIVE=johnmci (1000) | +-----------------------------------------------------------------------------+
| GEMSTONE_NRS_ALL = #dir:$GEMSTONE_DATADIR#log:/$GEMSTONE_LOGDIR/%N%P.log#dir:/opt/gemstone/product/seaside/data |_____________________________________________________________________________|
_____________________________________________________________________________ | Configuration Files | | |
| System File: /opt/gemstone/GemStone64Bit3.1.0.4-x86_64.Linux/seaside/data/system.conf | | | Executable File: /opt/gemstone/GemStone64Bit3.1.0.4-x86_64.Linux/seaside/data/gem.conf
| Warning: File not found (errno=2,ENOENT, The file or directory specified cannot | be found) | | using defaults. |
|_____________________________________________________________________________| _____________________________________________________________________________ | Gem Configuration Options for process id 2807 |
|_____________________________________________________________________________| DUMP_OPTIONS = TRUE; GEM_GCI_LOG_ENABLED = FALSE; GEM_ABORT_MAX_CRS = 0; GEM_FREE_FRAME_CACHE_SIZE = -1;
GEM_FREE_FRAME_LIMIT = -1; GEM_FREE_PAGEIDS_CACHE = 200; GEM_HALT_ON_ERROR = 0; GEM_KEEP_MIN_SOFTREFS = 0; GEM_MAX_SMALLTALK_STACK_DEPTH = 1000; GEM_NATIVE_CODE_ENABLED = TRUE;
GEM_PRIVATE_PAGE_CACHE_KB = 960; GEM_PGSVR_COMPRESS_PAGE_TRANSFERS = FALSE; GEM_PGSVR_FREE_FRAME_CACHE_SIZE = -1; GEM_PGSVR_FREE_FRAME_LIMIT = -1; GEM_PGSVR_UPDATE_CACHE_ON_READ = FALSE;
GEM_RPC_KEEPALIVE_INTERVAL = 0; GEM_RPCGCI_TIMEOUT = 0; GEM_RPC_USE_SSL = TRUE; GEM_SOFTREF_CLEANUP_PERCENT_MEM = 50; GEM_TEMPOBJ_AGGRESSIVE_STUBBING = TRUE; GEM_TEMPOBJ_CACHE_SIZE = 50000;
GEM_TEMPOBJ_MESPACE_SIZE = 0; GEM_TEMPOBJ_OOPMAP_SIZE = 0; GEM_TEMPOBJ_SCOPES_SIZE = 2000; GEM_TEMPOBJ_POMGEN_SIZE = 0; GEM_TEMPOBJ_POMGEN_PRUNE_ON_VOTE = 90; GEM_TEMPOBJ_POMGEN_SCAVENGE_INTERVAL = 1800;
GEM_TEMPOBJ_START_ADDR not used on this platform LOG_WARNINGS = TRUE; SHR_NUM_FREE_FRAME_SERVERS = -1; SHR_PAGE_CACHE_LOCKED = FALSE; SHR_PAGE_CACHE_NUM_PROCS = 4089;
SHR_PAGE_CACHE_NUM_SHARED_COUNTERS = 1900; SHR_PAGE_CACHE_PERMISSIONS = 660; SHR_PAGE_CACHE_SIZE_KB = 500000; SHR_TARGET_FREE_FRAME_COUNT = -1; SHR_WELL_KNOWN_PORT_NUMBER = 0;
(vmGc spaceSizes: eden init 2048K max 9344K , survivor init 448K max 1600K, vmGc old max 37440K, code max 10048K, perm max 5056K, pom 10 * 4224K = 42240K, vmGc remSet 1156K, meSpace max 48164K oopMapSize 262144 max footprint 164M)
[Info]: libssl-3.1.0.4-64.so: loaded cmdLine= [Info]: RPC client/gem/minimum GCI levels = 851/851/851 [Info]: Client PID: 61110
[Info]: User ID: DataCurator [Info]: Repository: seaside [Info]: Session ID: 5 [Info]: GCI Client Host: ::ffff:192.168.225.1 [Info]: Page server PID: -1 [Info]: Login Time: 08/17/2013 15:18:38.354 EDT
Gave this VM preference for OOM killer, Wrote to /proc/2807/oom_score_adj value 250 [Info]: libicudata-3.1.0.4-64.so: loaded [Info]: libicuuc-3.1.0.4-64.so: loaded
[Info]: libicui18n-3.1.0.4-64.so: loaded vmGc MKSW softRefs: clear100% keepGoal 0, cleared 0 , live 0 nonNil 0 srThresh 0 srUseCnt 1
vmGc pom0:137K vmGc MKSW 831/7424Knew 34096/34560Kold 137Kpom 58Kperm 169Kcode 2563Kme agrStubbed 50358 32407us dirtyBytes 0 pomThresh 0 AOOMbit 0 deferAOOMbit 0 ---) vmGc approaching OutOfMemory, requesting interpreter stack printout
vmGc MKSW softRefs: clear100% keepGoal 0, cleared 0 , live 0 nonNil 0 srThresh 0 srUseCnt 1 vmGc pom0:137K vmGc MKSW 4066/7424Knew 37438/37440Kold 137Kpom 58Kperm 169Kcode 3037Kme agrStubbed 20162 34482us dirtyBytes 0 pomThresh 0 AOOMbit 0 deferAOOMbit 0 ---)
vmGc approaching OutOfMemory, requesting interpreter stack printout vmGc MKSW softRefs: clear100% keepGoal 0, cleared 0 , live 0 nonNil 0 srThresh 0 srUseCnt 1 vmGc pom0:137K vmGc MKSW 5467/7424Knew 37438/37440Kold 137Kpom 58Kperm 169Kcode 3138Kme agrStubbed 4300 31495us dirtyBytes 0 pomThresh 0 AOOMbit 0 deferAOOMbit 0 ---)
vmGc approaching OutOfMemory, requesting interpreter stack printout vmGc MKSW softRefs: clear100% keepGoal 0, cleared 0 , live 0 nonNil 0 srThresh 0 srUseCnt 1 vmGc pom0:137K vmGc MKSW 6113/7424Knew 37438/37440Kold 137Kpom 58Kperm 169Kcode 3185Kme agrStubbed 1978 30573us dirtyBytes 0 pomThresh 0 AOOMbit 0 deferAOOMbit 0 ---)
vmGc approaching OutOfMemory, requesting interpreter stack printout Printing Smalltalk stack for memory usage diagnosis: Smalltalk stack: 08/17/2013 15:42:58.086 EDT
stackId 0 stackDepth = 5 1 Object >> _doesNotUnderstand:args:envId:reason: (envId 0) @ 0x7f74007ec158=@natCode+0x28 [GsNMethod 376318977] FP: 0x7f73f6d94ee8=StackLimit[-35] , callerFP: StackLimit[-23]
arg 4:2 (SmallInteger 0) arg 3:2 (SmallInteger 0) arg 2:0x7f73fae14cc0 (cls:66817 Array size:0) arg 1:0x7f73fde7d208 oid:45565697 (cls:110849 Symbol size:16)#suspendedContext
rcvr: 0x7f73fae14820 oid:1056918273 (cls:134657 GsProcess size:23) 2 metaOTDebugger >> process:context: (envId 0) @ 0x7f74008161cc=@natCode+0x14c [GsNMethod 442442241] FP: 0x7f73f6d94f48=StackLimit[-23] , callerFP: StackLimit[-17]
arg 2:20 OOP_NIL arg 1:0x7f73fae14820 oid:1056918273 (cls:134657 GsProcess size:23) rcvr: 0x7f7400309d20 oid:44945409 (cls:44945153 metaOTDebugger size:19) 3 metaOTDebugger >> process: (envId 0) @ 0x7f7400815e79=@natCode+0x81 [GsNMethod 58206977]
FP: 0x7f73f6d94f78=StackLimit[-17] , callerFP: StackLimit[-11] arg 1:0x7f73fae14820 oid:1056918273 (cls:134657 GsProcess size:23) rcvr: 0x7f7400309d20 oid:44945409 (cls:44945153 metaOTDebugger size:19)
4 JadeServer >> openDebuggerOn: (envId 0) @ 0x7f7400813946=@natCode+0x1ce [GsNMethod 441349633] FP: 0x7f73f6d94fa8=StackLimit[-11] , callerFP: StackLimit[-3] arg 1:0x7f73fae14820 oid:1056918273 (cls:134657 GsProcess size:23)
rcvr: 0x7f73fdeb71c0 oid:594392321 (cls:45005057 JadeServer size:0) 5 metaGsNMethod >> _gsReturnToC (envId 0) @ 0x7f74007ed248=@natCode+0x28 [GsNMethod 397662209] FP: 0x7f73f6d94fe8=StackLimit[-3] , callerFP: StackLimit[0]
rcvr: 20 OOP_NIL stack 0 GsProcess 20 modeInfo 0x1000300 vmGc MKSW softRefs: clear100% keepGoal 0, cleared 0 , live 0 nonNil 0 srThresh 0 srUseCnt 1 vmGc pom0:137K
vmGc MKSW 6381/7232Knew 37438/37440Kold 137Kpom 58Kperm 169Kcode 3204Kme agrStubbed 824 24180us dirtyBytes 0 pomThresh 0 AOOMbit 0 deferAOOMbit 0 ---) vmGc approaching OutOfMemory, requesting interpreter stack printout
Printing Smalltalk stack for memory usage diagnosis: Smalltalk stack: 08/17/2013 15:43:07.815 EDT stackId 0 stackDepth = 6 1 CharacterCollection >> printString (envId 0) @ 0x7f740080fb80=@natCode+0x28 [GsNMethod 133911809]
FP: 0x7f73f6d94ee0=StackLimit[-36] , callerFP: StackLimit[-28] rcvr: 0x7f73fde7d208 oid:45565697 (cls:110849 Symbol size:16)#suspendedContext 2 (block, homeMethod:434896385) @ 0x7f740080f807=@natCode+0x1d7 [GsNMethod 471568641]
FP: 0x7f73f6d94f20=StackLimit[-28] , callerFP: StackLimit[-22] rcvr: 0x7f73fae57b68 (cls:127745 ExecBlock0 size:5) 3 ExecBlock >> onException:do: (envId 0) @ 0x7f74007ef748=@natCode+0x60 [GsNMethod 381145857]
FP: 0x7f73f6d94f50=StackLimit[-22] , callerFP: StackLimit[-14] arg 2:0x7f73fde6c418 oid:452772865 (cls:143361 ExecBlock size:5) arg 1:0x7f7400306ec8 oid:130817 (cls:606209 metaError size:19)
rcvr: 0x7f73fae57b68 (cls:127745 ExecBlock0 size:5) 4 MessageNotUnderstood >> asString (envId 0) @ 0x7f740080f32f=@natCode+0xf7 [GsNMethod 434896385] FP: 0x7f73f6d94f90=StackLimit[-14] , callerFP: StackLimit[-10]
rcvr: 0x7f73fae577e0 (cls:131073 MessageNotUnderstood size:13) 5 AbstractException >> describe (envId 0) @ 0x7f740080527d=@natCode+0x65 [GsNMethod 383087617] FP: 0x7f73f6d94fb0=StackLimit[-10] , callerFP: StackLimit[-3]
rcvr: 0x7f73fae577e0 (cls:131073 MessageNotUnderstood size:13) 6 metaGsNMethod >> _gsReturnToC (envId 0) @ 0x7f74007ed248=@natCode+0x28 [GsNMethod 397662209] FP: 0x7f73f6d94fe8=StackLimit[-3] , callerFP: StackLimit[0]
rcvr: 20 OOP_NIL stack 0 GsProcess 20 modeInfo 0x300 vmGc MKSW softRefs: clear100% keepGoal 0, cleared 0 , live 0 nonNil 0 srThresh 0 srUseCnt 1 vmGc pom0:137K
vmGc MKSW 6391/7232Knew 37438/37440Kold 137Kpom 58Kperm 169Kcode 3204Kme agrStubbed 30 24237us dirtyBytes 0 pomThresh 0 AOOMbit 0 deferAOOMbit 0 ---) vmGc approaching OutOfMemory, requesting interpreter stack printout
vmGc MKSW softRefs: clear100% keepGoal 0, cleared 0 , live 0 nonNil 0 srThresh 0 srUseCnt 1 vmGc pom0:137K vmGc MKSW 6395/7232Knew 37438/37440Kold 137Kpom 58Kperm 169Kcode 3204Kme agrStubbed 14 28853us dirtyBytes 0 pomThresh 0 AOOMbit 0 deferAOOMbit 0 ---)
vmGc approaching OutOfMemory, requesting interpreter stack printout Printing Smalltalk stack for memory usage diagnosis: Smalltalk stack: 08/17/2013 15:43:08.407 EDT
stackId 0 stackDepth = 6 1 (block, homeMethod:501044481) @ 0x7f7400806a10=@natCode+0x28 [GsNMethod 510358529] FP: 0x7f73f6d94ef0=StackLimit[-34] , callerFP: StackLimit[-28]
rcvr: 0x7f73fae5b390 (cls:127745 ExecBlock0 size:5) 2 ExecBlock >> onException:do: (envId 0) @ 0x7f74007ef748=@natCode+0x60 [GsNMethod 381145857] FP: 0x7f73f6d94f20=StackLimit[-28] , callerFP: StackLimit[-20]
arg 2:0x7f73fae5b3d0 (cls:143361 ExecBlock size:5) arg 1:0x7f7400306ec8 oid:130817 (cls:606209 metaError size:19) rcvr: 0x7f73fae5b390 (cls:127745 ExecBlock0 size:5) 3 AbstractException >> _description: (envId 0) @ 0x7f740080641d=@natCode+0x14d [GsNMethod 501044481]
FP: 0x7f73f6d94f60=StackLimit[-20] , callerFP: StackLimit[-14] arg 1:0x7f73fae5b2f8 (cls:74753 String size:52)'a GsProcess does not understand #'suspendedContext''
rcvr: 0x7f73fae5af70 (cls:131073 MessageNotUnderstood size:13) 4 MessageNotUnderstood >> asString (envId 0) @ 0x7f740080f349=@natCode+0x111 [GsNMethod 434896385] FP: 0x7f73f6d94f90=StackLimit[-14] , callerFP: StackLimit[-10]
rcvr: 0x7f73fae5af70 (cls:131073 MessageNotUnderstood size:13) 5 AbstractException >> describe (envId 0) @ 0x7f740080527d=@natCode+0x65 [GsNMethod 383087617] FP: 0x7f73f6d94fb0=StackLimit[-10] , callerFP: StackLimit[-3]
rcvr: 0x7f73fae5af70 (cls:131073 MessageNotUnderstood size:13) 6 metaGsNMethod >> _gsReturnToC (envId 0) @ 0x7f74007ed248=@natCode+0x28 [GsNMethod 397662209] FP: 0x7f73f6d94fe8=StackLimit[-3] , callerFP: StackLimit[0]
rcvr: 20 OOP_NIL stack 0 GsProcess 20 modeInfo 0x300 vmGc MKSW softRefs: clear100% keepGoal 0, cleared 0 , live 0 nonNil 0 srThresh 0 srUseCnt 1 vmGc pom0:137K
vmGc MKSW 6396/7232Knew 37438/37440Kold 137Kpom 58Kperm 169Kcode 3204Kme agrStubbed 4 28876us dirtyBytes 0 pomThresh 0 AOOMbit 0 deferAOOMbit 0 ---) vmGc approaching OutOfMemory, requesting interpreter stack printout
vmGc MKSW softRefs: clear100% keepGoal 0, cleared 0 , live 0 nonNil 0 srThresh 0 srUseCnt 1 vmGc pom0:137K vmGc MKSW 6396/7232Knew 37432/37440Kold 137Kpom 57Kperm 169Kcode 3204Kme agrStubbed 0 34948us dirtyBytes 0 pomThresh 0 AOOMbit 0 deferAOOMbit 0 ---)
vmGc approaching OutOfMemory, requesting interpreter stack printout *********** Fatal error 4067 OutOfMemory ***** Printing Smalltalk stack because of OutOfMemory: Smalltalk stack:
08/17/2013 15:43:08.511 EDT No execution state (vmGc Instances counts for generation all ... lots more GsMethod 376318977, Object >> _doesNotUnderstand:args:envId:reason:
GsMethod 395946753, GsProcess >> _start GsMethod 381186561, ExecBlock >> _valueOnUnwind GsMethod 385672705, AbstractException >> _signalFromPrimitive: GsMethod 397652737, classId 731393 >> _noopReturnTos
GsMethod 397662209, classId 731393 >> _gsReturnToC GsMethod 433660673, ProcessorScheduler >> _initialize GsMethod 471436801, block for method 433660673 GsMethod 431019521, classId 761345 >> (selector oop 3263233)
GsMethod 130165505, Class >> new GsMethod 431032833, SortedCollection >> (selector oop 3263233) GsMethod 376405249, Object >> size GsMethod 408241921, SmallInteger >> (selector oop 2363393)
GsMethod 471436545, block for method 433660673 GsMethod 130164481, Class >> (selector oop 2359297) GsMethod 376352001, Object >> (selector oop 2346241) GsMethod 406656513, classId 779521 >> (selector oop 4270593)
GsMethod 471436289, block for method 433660673 GsMethod 471436033, block for method 433660673 GsMethod 381145857, ExecBlock >> (selector oop 2180609) GsMethod 406616833, classId 779521 >> (selector oop 4180225)
GsMethod 406830081, classId 779521 >> myUserProfile GsMethod 405034497, UserProfile >> _privileges GsMethod 407943681, SmallInteger >> (selector oop 227073)
GsMethod 476771585, classId 495873 >> (selector oop 4179713) GsMethod 476747009, classId 495873 >> (selector oop 5270785) GsMethod 134453249, classId 796929 >> (selector oop 2016769)
GsMethod 373405953, Object >> (selector oop 2356737) GsMethod 407625473, SymbolDictionary >> (selector oop 2350593) GsMethod 407626753, SymbolDictionary >> (selector oop 230401)
GsMethod 431314433, classId 768001 >> initialize GsMethod 431342081, classId 768001 >> (selector oop 2100737) GsMethod 495757569, GsCurrentSession >> initialize
GsMethod 495767041, classId 10492161 >> (selector oop 4891905) GsMethod 322055937, Association >> (selector oop 2280449) GsMethod 289920769, Array >> (selector oop 2351617)
GsMethod 431639041, classId 769025 >> (selector oop 2100737) GsMethod 431365633, GsCurrentSession >> (selector oop 4321793) GsMethod 407275777, SymbolList >> (selector oop 2100481)
GsMethod 310601473, Association >> value GsMethod 495769601, classId 10492161 >> (selector oop 4072193) GsMethod 495813633, classId 10606849 >> (selector oop 5186561)
GsMethod 30727425, SessionMethodTransactionBoundaryPolicy >> (selector oop 5186561) GsMethod 495769345, classId 10492161 >> current GsMethod 495768833, classId 10492161 >> new
GsMethod 146121729, Behavior >> (selector oop 2120705) GsMethod 146127105, Behavior >> (selector oop 2134529) GsMethod 495788801, GsPackagePolicy >> initialize
GsMethod 407629825, SymbolDictionary >> at:put: GsMethod 407609345, SymbolDictionary >> (selector oop 4328961) GsMethod 298847745, classId 844801 >> (selector oop 2344449)
GsMethod 407639041, SymbolAssociation >> key:value: GsMethod 407643905, SymbolAssociation >> (selector oop 2280193) GsMethod 314656001, Association >> value:
GsMethod 407610625, SymbolDictionary >> (selector oop 2346753) GsMethod 407608833, SymbolDictionary >> (selector oop 4324097) GsMethod 406483713, classId 779521 >> (selector oop 4323585)
GsMethod 406918657, classId 779521 >> (selector oop 2177793) GsMethod 403392257, IdentityKeyValueDictionary >> (selector oop 2346753) GsMethod 376257281, Object >> (selector oop 3143425)
GsMethod 407954177, SmallInteger >> (selector oop 2331393) GsMethod 254686465, AbstractDictionary >> (selector oop 2304001) GsMethod 380524545, IdentityCollisionBucket >> (selector oop 2349569)
GsMethod 380534017, IdentityCollisionBucket >> (selector oop 3089921) GsMethod 408223233, SmallInteger >> (selector oop 2363649) GsMethod 407958529, SmallInteger >> (selector oop 226817)
GsMethod 380546817, IdentityCollisionBucket >> (selector oop 3088641) GsMethod 348967425, SequenceableCollection >> (selector oop 1994241) GsMethod 175918849, AbstractCollisionBucket >> size
GsMethod 495810817, GsPackagePolicy >> (selector oop 5354241) GsMethod 495834625, classId 10614785 >> (selector oop 4900353) GsMethod 431662081, GsSession >> (selector oop 1854977)
GsMethod 403930625, UserProfile >> (selector oop 4035585) GsMethod 1, classId 20 >> (selector oop 233729) GsMethod 58263809, classId 45005313 >> current GsMethod 495838465, classId 10623489 >> current
GsMethod 406660097, classId 779521 >> (selector oop 4272385) GsMethod 380762113, classId 847617 >> new GsMethod 380785665, classId 847617 >> (selector oop 2359297)
GsMethod 554551553, classId 790017 >> (selector oop <a href="tel:3108097" value="+13108097" target="_blank">3108097) GsMethod 407956481, SmallInteger >> (selector oop 2350849)
GsMethod 407957761, SmallInteger >> (selector oop 2363905) GsMethod 146125825, Behavior >> (selector oop 2132481) GsMethod 403581953, IdentityKeyValueDictionary >> (selector oop <a href="tel:3107329" value="+13107329" target="_blank">3107329)
GsMethod 254945281, AbstractDictionary >> (selector oop 2302721) GsMethod 1, classId 20 >> (selector oop 233729) GsMethod 495811841, GsPackagePolicy >> authorInitials:
GsMethod 495811585, GsPackagePolicy >> (selector oop 4890881) GsMethod 403393281, IdentityKeyValueDictionary >> (selector oop <a href="tel:3102977" value="+13102977" target="_blank">3102977)
GsMethod 380498945, classId 826625 >> new GsMethod 175945985, classId 845569 >> (selector oop 2359297) GsMethod 175917569, AbstractCollisionBucket >> initialize
GsMethod 373631489, Object >> (selector oop 2256129) GsMethod 373626369, Object >> (selector oop 2309121) GsMethod 102973697, CollisionBucket >> (selector oop 2359809)
GsMethod 1, classId 20 >> (selector oop 233729) GsMethod 406829825, classId 779521 >> session GsMethod 431639297, classId 769025 >> serialOfSession: GsMethod 406818049, classId 779521 >> (selector oop 4232449)
GsMethod 407942657, SmallInteger >> printString GsMethod 407933185, SmallInteger >> (selector oop 2372097) GsMethod 407782657, String >> , GsMethod 406000385, UserProfile >> userId
GsMethod 407801089, String >> size GsMethod 378238977, Magnitude >> min: GsMethod 407804417, String >> copyFrom:to: GsMethod 406568961, classId 779521 >> _cacheName:
GsMethod 50681345, JadeServer >> setAutoCommit:autoMigrate: GsMethod 34305281, classId 20507905 >> (selector oop 11076609) GsMethod 34306049, classId 20507905 >> (selector oop 21774849)
GsMethod 1, classId 20 >> (selector oop 233729) GsMethod 50680577, JadeServer >> registerClientUpdateConcentrator: GsMethod 69771777, block for method 50680577 GsMethod 30951425, SmalltalkProxy >> (selector oop 13389313)
GsMethod 376316161, Object >> isNil GsMethod 403998721, UserProfile >> (selector oop 1835265) GsMethod 407268097, SymbolList >> (selector oop 4321793) GsMethod 58102785, classId 43442945 >> (selector oop 5024001)
GsMethod 49070849, OBUpdateConcentrator >> (selector oop 45775617) GsMethod 1, classId 20 >> (selector oop 233729) GsMethod 373756417, Object >> respondsTo:
GsMethod 407653889, classId 848129 >> (selector oop 2189313) GsMethod 373755905, Object >> (selector oop 2884353) GsMethod 57577473, classId 43418369 >> preferencesDictionary
GsMethod 489515009, classId 10435329 >> new GsMethod 489514753, classId 10435329 >> (selector oop 2359297) GsMethod 146121473, Behavior >> (selector oop 2120449)
GsMethod 489555201, Dictionary >> (selector oop 11306241) GsMethod 489526785, Dictionary >> (selector oop <a href="tel:3101953" value="+13101953" target="_blank">3101953) GsMethod 489550337, Dictionary >> (selector oop 11305985)
GsMethod 489534209, Dictionary >> (selector oop 11305729) GsMethod 489555457, Dictionary >> at:put: GsMethod 189131265, AbstractDictionary >> (selector oop 2331649)
GsMethod 407803905, String >> (selector oop 2362881) GsMethod 489531393, Dictionary >> (selector oop 851969) GsMethod 489553921, Dictionary >> (selector oop 11304705)
GsMethod 250702337, AbstractDictionary >> (selector oop 2347265) GsMethod 375665665, Object >> (selector oop 2321665) GsMethod 489503233, classId 10435329 >> (selector oop 11305217)
GsMethod 310376961, Association >> key:value: GsMethod 489554689, Dictionary >> (selector oop 11304961) GsMethod 373758465, Object >> (selector oop 2910721)
GsMethod 252717569, AbstractDictionary >> _basicAt:put: GsMethod 1, classId 20 >> (selector oop 233729) GsMethod 1, classId 20 >> (selector oop 233729) GsMethod 1, classId 20 >> (selector oop 233729)
GsMethod 1, block for method 1 GsMethod 30952961, SmalltalkProxy >> at:ifAbsent: GsMethod 50676993, JadeServer >> setAutoCommit:autoAbort:autoMigrate: GsMethod 34305025, classId 20507905 >> (selector oop 28519937)
GsMethod 1, classId 20 >> (selector oop 233729) GsMethod 383087617, AbstractException >> (selector oop 218881) GsMethod 501042689, CompileError >> (selector oop 2372097)
GsMethod 501042433, CompileError >> (selector oop 2173953) GsMethod 269944577, Array >> (selector oop 2296065) GsMethod 290708225, Array >> at:put: GsMethod 501044481, AbstractException >> (selector oop 3301377)
GsMethod 510358529, block for method 501044481 GsMethod 510358273, block for method 501044481 GsMethod 407703297, classId 848385 >> (selector oop 2175745) GsMethod 130170625, Metaclass3 >> (selector oop 1832961)
GsMethod 130172161, Metaclass3 >> (selector oop 2260737) GsMethod 130472705, Module >> (selector oop 1832961) GsMethod 407782913, String >> add: GsMethod 501044225, AbstractException >> (selector oop 5355009)
GsMethod 407802625, String >> (selector oop 2372097) GsMethod 1, classId 20 >> (selector oop 233729) GsMethod 1, classId 20 >> (selector oop 233729) GsMethod 1, classId 20 >> (selector oop 233729)
GsMethod 1, classId 20 >> (selector oop 233729) GsMethod 1, classId 20 >> (selector oop 233729) GsMethod 1, classId 20 >> (selector oop 233729) GsMethod 1, classId 20 >> (selector oop 233729)
GsMethod 1, classId 20 >> (selector oop 233729) GsMethod 1, classId 20 >> (selector oop 233729) GsMethod 1, classId 20 >> (selector oop 233729) GsMethod 1, classId 20 >> (selector oop 233729)
GsMethod 1, classId 20 >> (selector oop 233729) GsMethod 1, classId 20 >> (selector oop 233729) GsMethod 1, classId 20 >> (selector oop 233729) GsMethod 1, classId 20 >> (selector oop 233729)
GsMethod 1, classId 20 >> (selector oop 233729) GsMethod 1, classId 20 >> (selector oop 233729) GsMethod 1, classId 20 >> (selector oop 233729) GsMethod 1, classId 20 >> (selector oop 233729)
GsMethod 441350657, JadeServer >> registerBrowseClientForwarder: GsMethod 57578753, classId 43418369 >> registerBrowseClientForwarder: GsMethod 57586689, classId 43418369 >> (selector oop 28479233)
GsMethod 1, classId 20 >> (selector oop 233729) GsMethod 1, classId 20 >> (selector oop 233729) GsMethod 441512449, JadeServer >> registerChoiceClientForwarder:
GsMethod 57581313, classId 43418369 >> registerChoiceClientForwarder: GsMethod 1, classId 20 >> (selector oop 233729) GsMethod 1, classId 20 >> (selector oop 233729)
GsMethod 441351425, JadeServer >> registerMultipleChoiceClientForwarder: GsMethod 57579777, classId 43418369 >> registerMultipleChoiceClientForwarder: GsMethod 1, classId 20 >> (selector oop 233729)
GsMethod 441303297, JadeServer >> registerCloseClientForwarder: GsMethod 57579265, classId 43418369 >> registerCloseClientForwarder: GsMethod 1, classId 20 >> (selector oop 233729)
GsMethod 441349889, JadeServer >> registerConfirmationClientForwarder: GsMethod 57580801, classId 43418369 >> registerConfirmationClientForwarder: GsMethod 1, classId 20 >> (selector oop 233729)
GsMethod 441351681, JadeServer >> registerInformClientForwarder: GsMethod 57580033, classId 43418369 >> registerInformClientForwarder: GsMethod 1, classId 20 >> (selector oop 233729)
GsMethod 441350401, JadeServer >> registerMultiLineTextClientForwarder: GsMethod 57577985, classId 43418369 >> registerMultiLineTextClientForwarder: GsMethod 1, classId 20 >> (selector oop 233729)
GsMethod 441350145, JadeServer >> registerTextClientForwarder: GsMethod 57589505, classId 43418369 >> registerTextClientForwarder: GsMethod 1, classId 20 >> (selector oop 233729)
GsMethod 441539585, JadeServer >> registerDebuggerProceedClientForwarder: GsMethod 57580545, classId 43418369 >> registerDebuggerProceedClientForwarder: GsMethod 1, classId 20 >> (selector oop 233729)
GsMethod 50678017, JadeServer >> registerTranscriptClientForwarder: GsMethod 69767937, block for method 50678017 GsMethod 33607169, classId 20028417 >> registerTranscriptClientForwarder:
GsMethod 1, classId 20 >> (selector oop 233729) GsMethod 1, classId 20 >> (selector oop 233729) GsMethod 1, block for method 1 GsMethod 407616769, SymbolDictionary >> at:ifAbsent:
GsMethod 381000961, KeyValueDictionary >> keys GsMethod 454617345, block for method 381000961 GsMethod 380998657, KeyValueDictionary >> (selector oop 2356481) GsMethod 454613505, block for method 380998657
GsMethod 380997121, KeyValueDictionary >> (selector oop 2354945) GsMethod 380018177, IdentityBag >> add: GsMethod 1, block for method 1 GsMethod 1, block for method 1
GsMethod 376321281, Object >> (selector oop 2924545) GsMethod 434895873, MessageNotUnderstood >> (selector oop 2924033) GsMethod 386120705, AbstractException >> (selector oop 1843457)
GsMethod 385788673, AbstractException >> (selector oop 3852289) GsMethod 434895617, MessageNotUnderstood >> defaultAction GsMethod 435004417, AbstractException >> defaultAction
GsMethod 434896385, MessageNotUnderstood >> (selector oop 2372097) GsMethod 471568641, block for method 434896385 GsMethod 471568385, block for method 434896385 GsMethod 133911809, CharacterCollection >> printString
GsMethod 133911553, CharacterCollection >> (selector oop 1986561) GsMethod 495745025, classId 10733313 >> (selector oop 1986049) GsMethod 495755521, PrintStream >> (selector oop 4875265)
GsMethod 407685633, Symbol >> (selector oop 2342401) GsMethod 495756033, PrintStream >> (selector oop 2320385) GsMethod 495757057, PrintStream >> (selector oop 2948097)
GsMethod 407782145, String >> (selector oop 2290945) GsMethod 407802369, String >> (selector oop 2342401) GsMethod 495756801, PrintStream >> (selector oop 2948353)
GsMethod 407783937, String >> (selector oop 1987073) GsMethod 495755009, PrintStream >> (selector oop 2342145) GsMethod 407782401, String >> (selector oop 2340865)
GsMethod 495754753, PrintStream >> (selector oop 1985793) GsMethod 441349633, JadeServer >> openDebuggerOn: GsMethod 396735233, GsProcess >> (selector oop 3912961)
GsMethod 396816129, GsProcess >> (selector oop 3914241) GsMethod 396732673, GsProcess >> (selector oop 3912193) GsMethod 396728833, GsProcess >> (selector oop 3910401)
GsMethod 396761345, GsProcess >> (selector oop 3910657) GsMethod 407942913, SmallInteger >> (selector oop 2073601) GsMethod 396660737, GsProcess >> (selector oop 3911937)
GsMethod 399975937, GsNMethod >> (selector oop 1817345) GsMethod 401593857, GsNMethod >> (selector oop 3992065) GsMethod 408220161, SmallInteger >> (selector oop 2269953)
GsMethod 368271617, classId 206081 >> (selector oop 1902337) GsMethod 58206977, classId 44945153 >> (selector oop 45513729) GsMethod 442442241, classId 44945153 >> (selector oop 45513985)
GsMethod 59045377, classId 42530561 >> current GsMethod 57581825, classId 43418369 >> (selector oop 45564673) GsMethod 57247233, classId 43419905 >> (selector oop 2118657)
GsMethod 49270785, OTDebugNode >> (selector oop 45535489) GsMethod 57582081, classId 43418369 >> (selector oop 45563905) (vmGc Instances counts for generation code GsNMethod id: 144897 272 instances 75712 bytes
GsNativeCode id: 143617 272 instances 98176 bytes vmGc ---) ***************************************************** ****** Gemstone Error Overflow
***************************************************** ----------------------------------------------------- GemStone: Error 1 of 3 Nonfatal a MessageNotUnderstood occurred (error 2010), a GsProcess does not
understand #'suspendedContext' Error Category: 231169 [GemStone] Number: 2010 Arg Count: 4 Context : 1056619777 exception : 1056618753 Arg 1: 45565697 Arg 2: 2 [SmallInteger 0]
Arg 3: 1056620545 Arg 4: 1056618497 ----------------------------------------------------- GemStone: Error 2 of 3 Fatal VM temporary object memory is full , old space overflow
Error Category: 231169 [GemStone] Number: 4067 Arg Count: 1 Context : 20 exception : 20 Arg 1: 20 ----------------------------------------------------- GemStone: Error 3 of 3 Fatal
Error Category: 231169 [GemStone] Number: 4067 Arg Count: 1 Context : 20 exception : 20 Arg 1: 20 *****************************************************
****** GemStone Abnormal Shutdown at 08/17/2013 15:43:08 EDT ***************************************************** ----------------------------------------------------- GemStone: Error 1 of 3 Nonfatal
a MessageNotUnderstood occurred (error 2010), a GsProcess does not understand #'suspendedContext' Error Category: 231169 [GemStone] Number: 2010 Arg Count: 4 Context : 1056619777 exception : 1056618753
Arg 1: 45565697 Arg 2: 2 [SmallInteger 0] Arg 3: 1056620545 Arg 4: 1056618497 ----------------------------------------------------- GemStone: Error 2 of 3 Fatal
VM temporary object memory is full , old space overflow Error Category: 231169 [GemStone] Number: 4067 Arg Count: 1 Context : 20 exception : 20 Arg 1: 20 -----------------------------------------------------
GemStone: Error 3 of 3 Fatal Error Category: 231169 [GemStone] Number: 4067 Arg Count: 1 Context : 20 exception : 20 Arg 1: 20 On Sat, Aug 17, 2013 at 2:26 PM, Lisa Almarode <[hidden email]> wrote: While you can skip upgradeImage if there are no image-level changes, in =========================================================================== John M. McIntosh <[hidden email]> Corporate Smalltalk Consulting Ltd. Twitter: squeaker68882 =========================================================================== _______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
Ok, well missed doing upgradeSeasideImage -s seaside then I can connect. Then I use GemTools to confirm the current server side gemstone tools is loaded,
then add my MC repository and load my app, data seems there. But will wait on 3.1.0.5 Not sure about the need for the '-C' parm, is that for 2.4.x to 3.1.x ?
On Sat, Aug 17, 2013 at 4:07 PM, John McIntosh <[hidden email]> wrote:
=========================================================================== John M. McIntosh <[hidden email]> Corporate Smalltalk Consulting Ltd. Twitter: squeaker68882 =========================================================================== _______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
On Aug 18, 2013, at 3:03 PM, John McIntosh <[hidden email]> wrote: > Not sure about the need for the '-C' parm, is that for 2.4.x to 3.1.x ? Yes, this makes the changes to the binary image format, but does not update any of the Smalltalk code. Just to confirm, 'startstone -h' gives: startstone[Info]: GemStone version '3.1.0.4' Usage: startstone [-h] [-C] [-N] [-R] [-l logFile] [-e exeCfg] [-z sysCfg] [name] where -h prints usage information and exits. -C startup for conversion of Gs64 v2.4 repository to v3.1 -N startup does not require transaction logs. -R start from most recent checkpoint to go into restore mode. -e specifies executable specific configuration file. -l specifies the name of the stone log file. -z specifies system configuration file. name is the name of the stone to start (default is gs64stone). _______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
In reply to this post by johnmci
The -C is only needed for conversion, as from 2.x to 3.x, and you only
need to run that once after copying over your 2.x extents. I do apologize that the -C was missing for the 3.1 System Administration Guide; it's not a operational stone parameter so it's easy to miss. You can get some basic information on the arguments for utilities by executing startstone -h. Lisa Almarode GemTalk Technical Support On 8/18/2013 3:03 PM, John McIntosh wrote: > Ok, well missed doing > upgradeSeasideImage -s seaside > then I can connect. > Then I use GemTools to confirm the current server side gemstone tools is > loaded, > then add my MC repository and load my app, data seems there. > But will wait on 3.1.0.5 > > Not sure about the need for the '-C' parm, is that for 2.4.x to 3.1.x ? > > Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
James had asked "What do you get from (UserGlobals includesKey: #'<some Seaside class>') in a Workspace? Then do the methods exist?"
UserGlobals includesKey: #'WAFastCGIAdaptor' -> true
yet browsing the class it has no categories or methods. On Mon, Aug 19, 2013 at 12:07 AM, Lisa Almarode <[hidden email]> wrote: The -C is only needed for conversion, as from 2.x to 3.x, and you only =========================================================================== John M. McIntosh <[hidden email]> Corporate Smalltalk Consulting Ltd. Twitter: squeaker68882 =========================================================================== _______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
What do you get from (WAFastCGIAdaptor selectors) in a Workspace? This will help us figure out if the methods are actually missing or if the tools you are using for browsing are failing to see them.
~ James On Aug 19, 2013, at 6:24 AM, John McIntosh <[hidden email]> wrote:
_______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
In reply to this post by johnmci
John, Is this a new problem or a rehash of an old problem, or is there some missing email in here? During the upgradeSeasideImage process all methods are removed from the GLASS classes ... sounds like there were problems during upgradeSeasideImage... Dale From: "John McIntosh" <[hidden email]> _______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
In reply to this post by James Foster-9
Ok WAFastCGIAdaptor selectors -> anArray( ) Let me go back to the start and redo the migration on my test machine so I properly document what happens. On Mon, Aug 19, 2013 at 10:07 AM, James Foster <[hidden email]> wrote:
=========================================================================== John M. McIntosh <[hidden email]> Corporate Smalltalk Consulting Ltd. Twitter: squeaker68882 =========================================================================== _______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
Apply a little rm -rf on a test vwware machine johnmci@mail:/opt/gemstone/product/seaside/data$ startGemstone Starting stone: seaside --- 08/19/2013 09:43:21.735 EDT ---
stopstone[Info]: GemStone version '3.1.0.4'
stopstone[Info]: Server 'seaside' is not running. startstone[Info]: GemStone version '3.1.0.4' startstone[Info]: Starting Stone repository monitor 'seaside'. startstone[Info]: GEMSTONE is: '/opt/gemstone/product'.
startstone[Info]: GEMSTONE_SYS_CONF=/opt/gemstone/GemStone64Bit3.1.0.4-x86_64.Linux/seaside/data/system.conf GEMSTONE_EXE_CONF=/opt/gemstone/GemStone64Bit3.1.0.4-x86_64.Linux/seaside/data/seaside.conf
startstone[Info]: Log file is '/opt/gemstone/log/seaside.log'. startstone[Info]: GemStone server 'seaside' has been started, process 3017 . 218 upgradeLogDir=~/upgrade
219 export upgradeLogDir upgradeImage -s seaside Starting GemStone/S 64 3.x kernel class filein. Note: All user defined changes and additions to kernel classes will be
removed. It is therefore advised that all such changes be filed out before starting conversion and filed back in after conversion is complete. Layered products which change the kernel classes, such as GemConnect, will also lose
the changes. All such products must be reinstalled following the upgrade. Stone name is seaside. Press the return key to continue... Mon Aug 19 09:43:47 EDT 2013
Starting upgrade... Upgrade completed. No errors detected. 311 mkdir ~/upgradeSeaside 323 upgradeLogDir=~/upgradeSeaside upgradeSeasideImage -s seaside Starting GemStone/S 64 3.x Seaside upgrade. Note: This script should be run AFTER upgradeImage has been run. SessionMethods will be enabled and all code included in the GLASS configuration will be reloaded.
Stone name is seaside. Press the return key to continue... Mon Aug 19 09:57:20 EDT 2013 Starting upgrade... Seaside Upgrade completed. No errors detected.
~/upgrade$ ls -l total 6952 -rw-rw-r-- 1 johnmci johnmci 68 Aug 19 09:43 conversion.conf
-rw-rw-r-- 1 johnmci johnmci 0 Aug 19 09:43 topazerrors.log -rw-rw-r-- 1 johnmci johnmci 7968 Aug 19 09:44 topaz.out -rw-rw-r-- 1 johnmci johnmci 7102627 Aug 19 09:44 upgradeImage.out
~/upgradeSeaside$ ls -l total 468 -rw-rw-r-- 1 johnmci johnmci 68 Aug 19 09:57 conversion.conf -rw-rw-r-- 1 johnmci johnmci 5874 Aug 19 09:58 topaz.out
-rw-rw-r-- 1 johnmci johnmci 463172 Aug 19 09:58 upgradeTo3x.out /opt/gemstone/product/seaside/data$ ls -l total 2573740 drwxrwxr-x 2 johnmci johnmci 4096 Aug 17 13:52 backups
-rw-r--r-- 1 johnmci johnmci 2577399808 Aug 19 10:02 extent0.dbf -rw-r--r-- 1 johnmci johnmci 882 Aug 16 19:51 system.conf -rw-rw-r-- 1 johnmci johnmci 0 Aug 19 09:57 topazerrors.log
-rw-rw-r-- 1 johnmci johnmci 58095104 Aug 19 10:02 tranlog31.dbf -------------------- UserGlobals includesKey: #'WAFastCGIAdaptor' -> true
WAFastCGIAdaptor selectors -> anArray( ) The update...Glass gemtools cmd shows * 1.0-beta.9 -Zinc & Metacellow Scripting API...
Let me load that just in case... Loading 1.0-beta.9 of ConfigurationOfGLASS...redirecting to http://seaside.gemtalksystems.com/ss/metacello/?C=M;O=D
Fetched -> ConfigurationOfMetacello-dkh.790 --- http://seaside.gemstone.com/ss/metacello --- http://seaside.gemstone.com/ss/metacelloredirecting to http://seaside.gemtalksystems.com/ss/metacello/ConfigurationOfMetacello-dkh.790.mcz
Loaded -> ConfigurationOfMetacello-dkh.790 --- http://seaside.gemstone.com/ss/metacello --- http://seaside.gemstone.com/ss/metacelloredirecting to http://seaside.gemtalksystems.com/ss/MetacelloRepository/?C=M;O=D
redirecting to http://seaside.gemtalksystems.com/ss/MetacelloRepository/ConfigurationOfGsMonticello-dkh.172.mcz
Fetched -> ConfigurationOfGsMonticello-dkh.172 --- http://seaside.gemstone.com/ss/MetacelloRepository --- http://seaside.gemstone.com/ss/MetacelloRepositoryredirecting to http://seaside.gemtalksystems.com/ss/MetacelloRepository/ConfigurationOfGsMonticello-dkh.172.mcz
Loaded -> ConfigurationOfGsMonticello-dkh.172 --- http://seaside.gemstone.com/ss/MetacelloRepository --- http://seaside.gemstone.com/ss/MetacelloRepositoryredirecting to http://seaside.gemtalksystems.com/ss/MetacelloRepository/ConfigurationOfGsSqueakCommon-dkh.24.mcz
Fetched -> ConfigurationOfGsSqueakCommon-dkh.24 --- http://seaside.gemstone.com/ss/MetacelloRepository --- http://seaside.gemstone.com/ss/MetacelloRepository
Loaded -> ConfigurationOfGsSqueakCommon-dkh.24 --- http://seaside.gemstone.com/ss/MetacelloRepository --- cache Fetched -> (nearest) ConfigurationOfMetacello-dkh.790 --- http://seaside.gemstone.com/ss/metacello --- http://seaside.gemstone.com/ss/metacelloredirecting to http://seaside.gemtalksystems.com/ss/metacello/ConfigurationOfMetacello-dkh.790.mcz
Loaded -> ConfigurationOfMetacello-dkh.790 --- http://seaside.gemstone.com/ss/metacello --- http://seaside.gemstone.com/ss/metacello
Project: Monticello 0.244 [0.244.2] Project: Metacello 1.0-beta.32 Fetched -> ConfigurationOfFileTree-dkh.62 --- http://ss3.gemstone.com/ss/FileTree --- http://ss3.gemstone.com/ss/FileTree
Loaded -> ConfigurationOfFileTree-dkh.62 --- http://ss3.gemstone.com/ss/FileTree --- http://ss3.gemstone.com/ss/FileTree
Project: FileTree 1.0.1 Project: Gofer 1.0.5.1 Project: OmniBrowser stable [0.242.1] Project: Announcements 0.240.1 [0.242] Project: Metacello Tools 1.0-beta.32 Project: FileTree 1.0.1
Project: Gofer 1.0.5.1 Project: OmniBrowser stable Project: Gofer Project Loader 1.0-alpha2.2 Project: Gofer Core 1.0.2.1 Project: OB 0.242.1 Project: Release Support 0.242
Project: Grease 1.0.7.2 Project: System-Digital-Signatures 0.241.1 Project: SMTPMail 0.241.1 Project: UTF8 0.241.1 Project: SqueakCommon 0.9.4 Project: Grease 1.0.7.1
Evaluated -> 1.0-beta.32 [ConfigurationOfMetacello] >> metacelloPrimeRegistry Evaluated -> 1.0-beta.32 [ConfigurationOfMetacello] >> metacelloPrimeRegistry Evaluated -> 1.0-alpha2.2 [ConfigurationOfGoferProjectLoader] >> postLoadLoader
...finished 1.0-beta.9 Loading 1.0-beta.9 of ConfigurationOfGLASS...redirecting to http://seaside.gemtalksystems.com/ss/metacello/?C=M;O=D
Project: Monticello 0.244 [0.244.2]
Project: Metacello 1.0-beta.32 Project: FileTree 1.0.1 Project: Gofer 1.0.5.1 Project: OmniBrowser stable [0.242.1] Project: Announcements 0.240.1 [0.242] Project: Metacello Tools 1.0-beta.32
Project: FileTree 1.0.1 Project: Gofer 1.0.5.1 Project: OmniBrowser stable Project: Gofer Project Loader 1.0-alpha2.2 Project: Gofer Core 1.0.2.1 Project: OB 0.242.1
Project: Release Support 0.242 Project: Grease 1.0.7.2 Project: System-Digital-Signatures 0.241.1 Project: SMTPMail 0.241.1 Project: UTF8 0.241.1 Project: SqueakCommon 0.9.4
Project: Grease 1.0.7.1 Evaluated -> 1.0-beta.32 [ConfigurationOfMetacello] >> metacelloPrimeRegistry Evaluated -> 1.0-beta.32 [ConfigurationOfMetacello] >> metacelloPrimeRegistry
Evaluated -> 1.0-alpha2.2 [ConfigurationOfGoferProjectLoader] >> postLoadLoader ...finished 1.0-beta.9redirecting to http://seaside.gemtalksystems.com/ss/MetacelloRepository/?C=M;O=D
----------------- WAFastCGIAdaptor selectors -> anArray( ) WAObject selectors -> anArray( )
On Mon, Aug 19, 2013 at 8:30 PM, John McIntosh <[hidden email]> wrote:
=========================================================================== John M. McIntosh <[hidden email]> Corporate Smalltalk Consulting Ltd. Twitter: squeaker68882 =========================================================================== _______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
John, I believe the problem is that you didn't create a custom load script to reload Seaside and your application code ... by default the ConfigurationOfGLASS is loaded, but not anything else and going with the default you'd definitely end up in a situation where none of the seaside methods would be defined ... I believe that needed steps are covered in the install guide on page 36 in the section 'Configure Upgrade' with an example upgrade script for a Seaside application on page 37 ... Presumably I should add some logic to the upgradeSeasideImage script that does a sanity check for the BootstrapApplicationLoadSpecs to see if all of the application code has been correctly loaded... we might get false positives from classes that are supposed to have no methods, but perhaps a warning with the number and names of classes with no methods, might be the right solution... Dale From: "John McIntosh" <[hidden email]> _______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
Ok well obviously I didn't flip the blank page at 34 over and read page 35, although it kinda suggests this a 2.4/3.0.x to 3.1 migration plan.
Frankly I'd suggest checking in the upgradeSeasideImage to do the check and prompt to continue.
I guess a question here is that page 37 is a 'template' but what I really need to do is covered in But that is unclear given a lack of instructions, which seem to be found here However I'm unclear how to run the seaside cache repository logic? Via the old gemtools before starting? Or topaz? and wouldn't GsPackageLibrary getMonticelloRepositoryDirectory be the seaside cache repository? Anyway past midnight so tomorrow... _______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
Bit more poking but when I run the upgradeSeasideImage -s seaside Tue Aug 20 00:50:32 EDT 2013 Starting upgrade... ERROR: topaz exited with status 1. Please check the file topazerrors.log and all files in
At the end it has... Successful commit topaz 1> topaz 1> ! Now load the entire configuration to pick up user apppiation code and to ensure
topaz 1> ! that the in-memory package state is correct topaz 1> run BootstrapApplicationLoadSpecs do: [:loadSpec | | version repo repoPath configurationClassName versionString loadList |
configurationClassName := loadSpec at: 1. versionString := loadSpec at: 2. loadList := loadSpec at: 3. repoPath := loadSpec at: 4. repo := MCDirectoryRepository new.
repo directory: (ServerFileDirectory on: repoPath). version := (BootstrapSymbolDictionary at: configurationClassName asSymbol) project version: versionString. version repositoryOverrides: (OrderedCollection with: repo).
GsDeployer bulkMigrate: [ [ version load: loadList ] on: MCPerformPostloadNotification do: [:ex | (BootstrapApplicationPostloadClassList includes: ex postloadClass theNonMetaClass name)
ifTrue: [ ex resume: true ] ifFalse: [ GsFile gciLogServer: ' Skip ', ex postloadClass name asString, ' initialization.'. ex resume: false ]]].
]. true % --transcript--'Loading 1.0-beta.8.7.3 of ConfigurationOfGLASS...' --transcript--'Fetched -> ConfigurationOfMetacello-dkh.752 --- /opt/gemstone/product/seaside/monticello/repository --- /opt/gemstone/product/seaside/monticello/repository'
--transcript--'Loaded -> ConfigurationOfMetacello-dkh.752 --- /opt/gemstone/product/seaside/monticello/repository --- cache' --transcript--'Fetched -> ConfigurationOfGsCore-dkh.287 --- /opt/gemstone/product/seaside/monticello/repository --- /opt/gemstone/product/seaside/monticello/repository'
--transcript--'Loaded -> ConfigurationOfGsCore-dkh.287 --- /opt/gemstone/product/seaside/monticello/repository --- cache' --transcript--'Fetched -> ConfigurationOfGsMisc-dkh.110 --- /opt/gemstone/product/seaside/monticello/repository --- /opt/gemstone/product/seaside/monticello/repository'
--transcript--'Loaded -> ConfigurationOfGsMisc-dkh.110 --- /opt/gemstone/product/seaside/monticello/repository --- cache' --transcript--'Fetched -> ConfigurationOfGsSqueakCommon-dkh.23 --- /opt/gemstone/product/seaside/monticello/repository --- /opt/gemstone/product/seaside/monticello/repository'
--transcript--'Loaded -> ConfigurationOfGsSqueakCommon-dkh.23 --- /opt/gemstone/product/seaside/monticello/repository --- cache' --transcript--'Fetched -> ConfigurationOfGsOB-dkh.89 --- /opt/gemstone/product/seaside/monticello/repository --- /opt/gemstone/product/seaside/monticello/repository'
--transcript--'Loaded -> ConfigurationOfGsOB-dkh.89 --- /opt/gemstone/product/seaside/monticello/repository --- cache' --transcript--'Fetched -> ConfigurationOfGrease-topa.192 --- /opt/gemstone/product/seaside/monticello/repository --- /opt/gemstone/product/seaside/monticello/repository'
--transcript--'Loaded -> ConfigurationOfGrease-topa.192 --- /opt/gemstone/product/seaside/monticello/repository --- cache' --transcript--'Fetched -> ConfigurationOfGoferProjectLoader-DaleHenrichs.21 --- /opt/gemstone/product/seaside/monticello/repository --- /opt/gemstone/product/seaside/monticello/reposi
tory' --transcript--'Loaded -> ConfigurationOfGoferProjectLoader-DaleHenrichs.21 --- /opt/gemstone/product/seaside/monticello/repository --- cache' --transcript--'Fetched -> ConfigurationOfGsMonticello-dkh.172 --- /opt/gemstone/product/seaside/monticello/repository --- /opt/gemstone/product/seaside/monticello/repository'
--transcript--'Loaded -> ConfigurationOfGsMonticello-dkh.172 --- /opt/gemstone/product/seaside/monticello/repository --- cache' --transcript--'Project: Core 0.246.1' --transcript--'Fetched -> Core.v3-dkh.66 --- /opt/gemstone/product/seaside/monticello/repository --- /opt/gemstone/product/seaside/monticello/repository'
--transcript--'Fetched -> Base-Bootstrap.v3-dkh.29 --- /opt/gemstone/product/seaside/monticello/repository --- /opt/gemstone/product/seaside/monticello/repository' --transcript--'Fetched -> Bootstrap.v3-dkh.223 --- /opt/gemstone/product/seaside/monticello/repository --- /opt/gemstone/product/seaside/monticello/repository'
--transcript--'Fetched -> GemStone-ANSI-Streams-DaleHenrichs.5 --- /opt/gemstone/product/seaside/monticello/repository --- /opt/gemstone/product/seaside/monticello/repository' --transcript--'Fetched -> GemStone-Indexing-Extensions-dkh.3 --- /opt/gemstone/product/seaside/monticello/repository --- /opt/gemstone/product/seaside/monticello/repository'
--transcript--'Fetched -> Sport3.010.v3-dkh.29 --- /opt/gemstone/product/seaside/monticello/repository --- /opt/gemstone/product/seaside/monticello/repository' --transcript--'Fetched -> Squeak.v3-dkh.285 --- /opt/gemstone/product/seaside/monticello/repository --- /opt/gemstone/product/seaside/monticello/repository'
--transcript--'Fetched -> Regex-Core-DaleHenrichs.3 --- /opt/gemstone/product/seaside/monticello/repository --- /opt/gemstone/product/seaside/monticello/repository' --transcript--'Fetched -> Regex-Tests-Core-DaleHenrichs.5 --- /opt/gemstone/product/seaside/monticello/repository --- /opt/gemstone/product/seaside/monticello/repository'
--transcript--'Project: Monticello 0.243' --transcript--'Project: Core 0.246' --transcript--'Fetched -> PackageInfo-Base.g-dkh.36 --- /opt/gemstone/product/seaside/monticello/repository --- /opt/gemstone/product/seaside/monticello/repository'
--transcript--'Fetched -> Monticello.v3-dkh.448 --- /opt/gemstone/product/seaside/monticello/repository --- /opt/gemstone/product/seaside/monticello/repository' --transcript--'Fetched -> GemStone-Deployment-dkh.22 --- /opt/gemstone/product/seaside/monticello/repository --- /opt/gemstone/product/seaside/monticello/repository'
--transcript--'Fetched -> Change-Notification.v3-dkh.18 --- /opt/gemstone/product/seaside/monticello/repository --- /opt/gemstone/product/seaside/monticello/repository' --transcript--'Project: Metacello 1.0-beta.31.1.5'
--transcript--'Fetched -> ConfigurationOfGofer-dkh.36 --- /opt/gemstone/product/seaside/monticello/repository --- /opt/gemstone/product/seaside/monticello/repository' --transcript--'Loaded -> ConfigurationOfGofer-dkh.36 --- /opt/gemstone/product/seaside/monticello/repository --- cache'
--transcript--'Project: Gofer Core 1.0.5.1' --transcript--'Fetched -> Gofer-Core.gemstone-dkh.135 --- /opt/gemstone/product/seaside/monticello/repository --- /opt/gemstone/product/seaside/monticello/repository'
--transcript--'Project: Monticello 0.242' --transcript--'Fetched -> Metacello-Base-DaleHenrichs.19 --- /opt/gemstone/product/seaside/monticello/repository --- /opt/gemstone/product/seaside/monticello/repository'
--transcript--'...RETRY->Metacello-Core-dkh.492' --transcript--'...RETRY->Metacello-Core-dkh.492' --transcript--'...FAILED->Metacello-Core-dkh.492' -----------------------------------------------------
GemStone: Error Nonfatal a MetacelloPackageSpecResolutionError occurred (error 2710) Error Category: 231169 [GemStone] Number: 2710 Arg Count: 4 Context : 514565889 exception : 1052486657
Arg 1: [1052495361 sz:12 cls: 516192257 MetacelloPackageSpec] aMetacelloPackageSpec Arg 2: [1052492545 sz:2 cls: 66817 Array] anArray Arg 3: [20 sz:0 cls: 76289 UndefinedObject] nil Arg 4: [20 sz:0 cls: 76289 UndefinedObject] nil
ERROR: UNEXPECTED ERROR topaz > exec iferr 1 : stk On Tue, Aug 20, 2013 at 12:29 AM, John McIntosh <[hidden email]> wrote:
=========================================================================== John M. McIntosh <[hidden email]> Corporate Smalltalk Consulting Ltd. Twitter: squeaker68882 =========================================================================== _______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
John, It looks like the upgradeSeasideImage script is trying to load GLASS 1.0-beta.8.7.3. The default GLASS version in the 3.1.0.4 upgradeSeasideImage script is 1.0-beta.9. I'm going to guess that you are using the upgradeSeasideImage script from 3.1.0? You should use the 3.1.0.4 upgradeSeasideImage script. Dale From: "John McIntosh" <[hidden email]> _______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
Ah johnmci@mail:~$ locate upgradeSeasideImage /opt/gemstone/GemStone64Bit3.1.0.4-x86_64.Linux/seaside/bin/upgradeSeasideImage /opt/gemstone/GemStone64Bit3.1.0.4-x86_64.Linux/upgrade/upgradeSeasideImage.topaz
johnmci@mail:~$ no 3.1.0 on that machine, I scp a copy of the extent0 (made after gemstone backup and shutdown) between the production machine and a test machine, no tranlogs around...
The 3.1.0 machine does not have the current GLASS version loaded, is that a pre-req by chance? Need one upgrade their 3.1.0 server to GLASS 1.0-beta.9. before doing the migration?
In all of this can I suggest a upgradeSeasideImage that does all the required work (like the upgradeImage, fetching any cached data, determining if proper seaside code is loaded, etc).
Also it seems at any point of failure in the update leaves you with a unworkable database btw. I'd be concerned about a network server/failure issue against various remote repositories we are pulling MC code from.
On Tue, Aug 20, 2013 at 12:05 PM, Dale K. Henrichs <[hidden email]> wrote:
=========================================================================== John M. McIntosh <[hidden email]> Corporate Smalltalk Consulting Ltd. Twitter: squeaker68882 =========================================================================== _______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
Free forum by Nabble | Edit this page |