[Glass] Error in StackLoad

Ken Treis ken at miriamtech.com
Thu Jul 17 12:04:25 PDT 2014


We've recently moved our application to a new server, and my Zinc gems are crashing when continuations are saved:

> a ImproperOperation occurred (error 2252), Error 'in StackLoad' , 'saved stack is LinuxX86_64, process switch expects interpreted' . Execution cannot continue.

This wasn't happening on the old server, and configs are identical as far as I can tell. I disabled native code in the gem, thinking that'd help, but it made no difference. In a way, I'm glad about that because I really want to use native code in production... but now I'm at a loss as to where this error is coming from.

We're still on 3.1.0.4. The new server is Debian 7, while the old one was Ubuntu 12.04.4 LTS. Kernels are essentially the same (3.2.0). Both the old server and the new server are cloud instances, old was at Rackspace with AMD processors, and the new is at Amazon with Intel Xeons.


--
Ken Treis
Miriam Technologies, Inc.
(866) 652-2040 x221

====

 _____________________________________________________________________________
|                             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/etc/seaside30.conf
|_____________________________________________________________________________|
 _____________________________________________________________________________
|               Gem Configuration Options for process id 15785                |
|_____________________________________________________________________________|

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 = FALSE;
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 = 400000;
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 = 100;
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 = 4000000;
SHR_TARGET_FREE_FRAME_COUNT = -1;
SHR_WELL_KNOWN_PORT_NUMBER = 0;
(vmGc spaceSizes: eden init 2048K max 74944K , survivor init 448K max 12544K,
 vmGc    old max 299968K, code max 80000K, perm max 40000K, pom 10 * 33344K = 333440K,
 vmGc    remSet 8068K, meSpace max 382432K oopMapSize 2097152  max footprint 1250M)
 _____________________________________________________________________________
|             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: topaz, Linear GemStone Interface (Linked Session)               |
|    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: 4-CPU www.weco-write.com x86_64 (Linux 3.2.0-4-amd64 #1 SMP Debian
| 3.2.57-3) 30488MB                                                           |
| PROCESS ID: 15785     DATE: 07/17/2014 10:30:24 PDT                         |
|   USER IDS: REAL=gsadmin (1004) EFFECTIVE=gsadmin (1004)                    |
|_____________________________________________________________________________|
neither .topazini nor $HOME/.topazini were found
topaz> topaz> topaz> topaz> topaz> topaz> topaz> topaz> topaz> topaz> topaz> topaz> topaz> topaz> [Info]: LNK client/gem GCI levels = 851/851
[Info]: libssl-3.1.0.4-64.so: loaded
[Info]: User ID: DataCurator
[Info]: Repository: seaside
[Info]: Session ID: 15
[Info]: GCI Client Host: <Linked>
[Info]: Page server PID: -1
[Info]: Login Time: 07/17/2014 10:30:24.910 PDT
[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
Gave this VM preference for OOM killer, Wrote to /proc/15785/oom_score_adj value 250
[07/17/2014 10:30:24.941 PDT]
  gci login: currSession 1 rpc gem processId -1 OOB keep-alive interval -1
successful login
topaz 1> topaz 1> topaz 1> topaz 1> [71841854977 sz:5 cls: 135169 GsFile] aGsFile
topaz 1> topaz 1> topaz 1> topaz 1> [76033 sz:19 cls: 779521 System class] System
topaz 1> topaz 1> topaz 1> topaz 1> Zinc Server started on port 9008
----------- Continuation saved to object log LOG ENTRY: anArray-----------
----------- Continuation saved to object log ERROR Encountered: 2014-07-17T10:31:00.24015998840332-07:00
a ImproperOperation occurred (error 2252), Error 'in StackLoad' , 'saved stack is LinuxX86_64, process switch expects interpreted' . Execution cannot continue.
1 GRGemStonePlatform >> logError:title:shouldCommit: (envId 0) @2 line 4  [GsNMethod 67373805057]
2 GRGemStonePlatform >> logError:title: (envId 0) @2 line 3  [GsNMethod 67373809409]
3 WAErrorHandler >> saveExceptionContinuation: (envId 0) @8 line 6  [GsNMethod 67530876161]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20140717/116daf35/attachment.html>


More information about the Glass mailing list