Status: Accepted
Owner: ---- Labels: Type-Defect Priority-Medium GLASS-Server Version-1.0-beta.8 New issue 279 by [hidden email]: GRGemStoneRandomProvider class>>#'sessionStart' calls TransientRandom>>#'open' which does not exist http://code.google.com/p/glassdb/issues/detail?id=279 A linked login reports an error during login. It appears that the problem is GRGemStoneRandomProvider class>>#'sessionStart' calls TransientRandom>>#'open' which does not exist. This was reported by Phil on the mailing list and I was able to reproduce it with a fresh 3.0 install and get details by adding a stack dump to the GsCurrentSession>>#'initialize' method. I believe I have the latest packages for GsRandom and Grease-GemStone-Core. topaz> login [Info]: LNK client/gem GCI levels = 842/842 [Info]: User ID: DataCurator [Info]: Repository: seaside [Info]: Session ID: 5 [Info]: GCI Client Host: <Linked> [Info]: Page server PID: -1 [Info]: Login Time: 07/11/11 09:40:02.242 PDT a MessageNotUnderstood occurred (error 2010), a TransientRandom does not understand #'open' 1 [] in GsCurrentSession >> initialize (envId 0) @5 line 32 [GsNMethod 201933313] 2 AbstractException >> _executeHandler: (envId 0) @3 line 8 [GsNMethod 2340865] 3 AbstractException >> _signalWith: (envId 0) @1 line 1 [GsNMethod 2345985] 4 AbstractException >> signal (envId 0) @2 line 47 [GsNMethod 2347009] 5 Object >> doesNotUnderstand: (envId 0) @9 line 10 [GsNMethod 4992001] 6 Object >> _doesNotUnderstand:args:envId:reason: (envId 0) @7 line 12 [GsNMethod 4988673] 7 GRGemStoneRandomProvider class >> sessionStart (envId 0) @3 line 3 [GsNMethod 46897153] 8 [] in SystemLoginNotification class >> sessionStart (envId 0) @7 line 5 [GsNMethod 57402369] 9 RcIdentityBag >> do: (envId 0) @7 line 8 [GsNMethod 12264193] 10 SystemLoginNotification class >> sessionStart (envId 0) @4 line 3 [GsNMethod 46417409] 11 GsPackagePolicy class >> loadSessionMethodDictionary (envId 0) @26 line 21 [GsNMethod 10948353] 12 [] in GsCurrentSession >> initialize (envId 0) @2 line 29 [GsNMethod 201933569] 13 ExecBlock >> on:do: (envId 0) @3 line 42 [GsNMethod 5233409] 14 GsCurrentSession >> initialize (envId 0) @5 line 30 [GsNMethod 201504001] 15 ProcessorScheduler >> _initialize (envId 0) @29 line 48 [GsNMethod 2372097] 16 <Reenter marker> [07/11/11 09:40:02.318 PDT] gci login: currSession 1 rpc gem processId -1 OOB keep-alive interval -1 successful login |
Comment #1 on issue 279 by [hidden email]: GRGemStoneRandomProvider class>>#'sessionStart' calls TransientRandom>>#'open' which does not exist http://code.google.com/p/glassdb/issues/detail?id=279 Apparently this is a Mac only problem as I am able to login from linux (note the difference in build dates ... perhaps the mac build does not have some important bugfixes?): | GemStone/S64 Object-Oriented Data Management System | | Copyright (C) GemStone Systems, Inc. 1986-2011 | | 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: topaz, Linear GemStone Interface (Linked Session) | | VERSION: 3.0.0Beta5, Thu Apr 28 9:42:38 2011 dhenrich private build | | BUILD: 64bit-25769-PRIVATE | | BUILT FOR: x86-64 (Linux) | | MODE: 64 bit | | RUNNING ON: 1-CPU 3beta5 x86_64 (Linux 2.6.35-22-server #33-Ubuntu SMP Sun | | Sep 19 20:48:58 UTC 2010) 2007MB | | PROCESS ID: 976 DATE: 07/11/11 16:03:09 EDT | | USER IDS: REAL=notroot (1000) EFFECTIVE=notroot (1000) | | _____________________________________________________________________________| Reading initialization file .topazini topaz> login [Info]: LNK client/gem GCI levels = 842/842 [Info]: User ID: DataCurator [Info]: Repository: seaside [Info]: Session ID: 5 [Info]: GCI Client Host: <Linked> [Info]: Page server PID: -1 [Info]: Login Time: 07/11/11 16:03:11.149 EDT [07/11/11 16:03:11.187 EDT] gci login: currSession 1 rpc gem processId -1 OOB keep-alive interval -1 successful login |
Comment #2 on issue 279 by [hidden email]: GRGemStoneRandomProvider class>>#'sessionStart' calls TransientRandom>>#'open' which does not exist http://code.google.com/p/glassdb/issues/detail?id=279 Grease-GemStone240-Core-dkh.3 added the following method with the comment "support for new Random class in 3.0": TransientRandom>>open "noop in TransientRandom instance .. compatible with HostRandom in 3.0" % I suspect that something similar is needed in GemStone 3.0. |
Comment #3 on issue 279 by [hidden email]: GRGemStoneRandomProvider class>>#'sessionStart' calls TransientRandom>>#'open' which does not exist http://code.google.com/p/glassdb/issues/detail?id=279 In 3.0.0Beta5, Thu Apr 28, the entire TransientRandom class has been removed ... so the problem appears to actually stem from the fact that the mac version for 3.0.0beta5 was apparently not rebuilt (after the random issues were resolved), while the linux version was rebuilt... |
Updates:
Status: Invalid Comment #4 on issue 279 by [hidden email]: GRGemStoneRandomProvider class>>#'sessionStart' calls TransientRandom>>#'open' which does not exist http://code.google.com/p/glassdb/issues/detail?id=279 TransientRandom does not exist in 3.0.0 which we expect to be released any day now... The method does exist in HostRandom, which is what is used in 3.0.0. If you want to avoid the error in Beta5, then add the #'open' method to TransientRandom. |
Updates:
Status: Fixed Labels: -Version-1.0-beta.8 Version-1.0-beta.8.7 Fixed-1.0-beta.8.7 Comment #5 on issue 279 by [hidden email]: GRGemStoneRandomProvider class>>#'sessionStart' calls TransientRandom>>#'open' which does not exist http://code.google.com/p/glassdb/issues/detail?id=279 Turns out that GemStone2.3 had this issue. Fix for GemStone 2.3 in Grease 1.0.6.1 GemStone2.4 was fixed when the HostRandom was introduced in 3.0 ... |
Free forum by Nabble | Edit this page |