Bug 50203

GemStone/S 64 Bit

3.6.5, 3.6.4, 3.6.3, 3.6.2, 3.6.1, 3.6

3.6.6

GsTsExternalSession waitForResult causes SIGSEGV

After a non-blocking GsTsExternalSession call to nbLogin, you must call a method such as waitForReadReady or waitForResult to detect when the non-blocking function has completed.

Calling waitForResult in this case resulted in a SIGSEGV.

Related methods waitForResultForSeconds:, waitForReadReady, and waitForReadReadyTimeOut: errored with call not in progress, but did not crash.

Workaround

Use code such as this:

sess nbLogin.
count := 0 .
[ sess nbLoginFinished ] whileFalse:[
   count := count + 1 .
   Delay waitForMilliseconds: 50 .
   count > 200 ifTrue:[ Error signal:'login timeout'].
].

Last updated: 1/6/23