Hello!
I'm trying to install GsDevKit on my ubuntu 14.04 box -- but in the interests of full disclosure I should say this box is running as a "crouton chroot" under chromebook! I believe I have installed all of the prerequisites, following the list on the Github issue for prerequesites (#22). Here is the output I get, with the big failure being related to mmap permissions, it would seem: Any pointers or tips? Thank you! -Lyn Headley --------- (trusty)laheadle@localhost:/media/removable/sdcard$ installServer devKit 3.2.1 Installing GemStone/S 3.2.1 [Info] Starting installation of GemStone64Bit3.2.1-x86_64.Linux on localhost [sudo] password for laheadle: Fri Feb 27 20:33:31 PST 2015 [Info] Setting up shared memory Total memory available is 1878 MB Max shared memory segment size is 1408 MB Max shared memory allowed is 8192 MB [Info] No need to increase max shared memory segment size [Info] No need to increase max shared memory allowed [Info] The following shared memory settings already exist in /etc/sysctl.conf To change them, remove the following lines from /etc/sysctl.conf and rerun this script #kernel.domainname = example.com kernel.shmmax=1476934656 [Info] Setting up GemStone netldi service port [Info] GemStone netldi service port is already set in /etc/services To change it, remove the following line from /etc/services and rerun this script gs64ldi 50377/tcp # Gemstone netldi [Info] GemStone64Bit3.2.1-x86_64.Linux.zip already exists to replace it, remove or rename it and rerun this script [Info] Creating /opt/gemstone directory [Warning] /opt/gemstone directory already exists to replace it, remove or rename it and rerun this script [Info] Uncompressing GemStone archive into /media/removable/sdcard/gsDevKitHome/gemstone/products/ [Warning] /media/removable/sdcard/gsDevKitHome/gemstone/products/GemStone64Bit3.2.1-x86_64.Linux already exists to replace it, remove or rename it and rerun this script [Info] Copying initial system.conf to data directory [Warning] /media/removable/sdcard/gsDevKitHome/gemstone/products/GemStone64Bit3.2.1-x86_64.Linux/seaside/data/system.conf already exists to replace it, remove or rename it and rerun this script [Info] Copying initial Seaside repository to data directory [Warning] /media/removable/sdcard/gsDevKitHome/gemstone/products/GemStone64Bit3.2.1-x86_64.Linux/seaside/data/extent0.dbf already exists to replace it, remove or rename it and rerun this script copy gci libraries [Warning] gci libraries already present to replace, delete them and try again [Info] Finished GemStone64Bit3.2.1-x86_64.Linux installation on localhost [Info] GemStone version information: GemStone/S 64 Bit 3.2.1 Build: gss64_3_2_x_branch-33595 Thu Jun 5 14:37:10 2014 [Info] localhost has the following IPv4 addresses: 192.168.1.66 todeClient already installed Creating stone devKit Creating stone devKit/var/host/media/removable/sdcard/gsDevKitHome/gemstone/stones/devKit already exists. To replace it, remove or rename it and rerun this script Starting stone: devKit HostAllocateFromReservedMemory: mmap() failed, address 0x7f5e50176000, size 65536, errno 1 Operation not permitted Gemstone Signal Handler: Signal 11, SIGSEGV Received HostFaultHandler: signal = 11 info->si_signo = 11 = 0xb info->si_code = 1 = 0x1 info->si_errno = 0 = 0x0 info->si_addr = 0x238 Registers saved from frame receiving the signal: rip 0x7f5e56b1decf rsp 0x7fff32eb3500 rbp 0xfe3 rax 0x0 rbx 0xfe3 rcx 0x3 rdx 0xfe3 r8 0x7fff32eb3640 r9 0x7fff32eb3558 r10 0x7f5e598cbfe0 r11 0xfffffff5 r12 0x0 r13 0x0 r14 0x7f5e50176000 r15 0x3 rdi 0x7f5e4c5dd000 rsi 0x7f5e56e99fb9 efl 0x10246 csgsfs_pad 0x33 err 0x4 trapno 0xe oldmask 0x0 cr2 0x238 Begin attempt to print C-level stack for process 4200 at: Fri Feb 27 20:33:33 PST 2015 /var/host/media/removable/sdcard/gsDevKitHome/gemstone/products/GemStone64Bit3.2.1-x86_64.Linux/bin/pstack: line 34: type: gdb: not found Cannot find gdb in path /media/removable/sdcard/gsDevKitHome/bin:/home/laheadle/.opam/4.02.1/bin:/media/removable/SD Card/gsDevKitHome/bin:/home/laheadle/.opam/4.02.1/bin:/home/laheadle/bin:/home/laheadle/.opam/4.02.1/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/laheadle/bin:/home/laheadle/under/node_modules/phantomjs/lib/phantom/bin:/home/laheadle/bin:/home/laheadle/under/node_modules/phantomjs/lib/phantom/bin:/home/laheadle/bin:/home/laheadle/under/node_modules/phantomjs/lib/phantom/bin End of C-level stack for process 4200 _____________________________________________________________________________ | Possible Internal Error: HostCoreDump invoked at 02/27/2015 20:33:34.379 PST in process 4200 __________________________________ HostCoredump: Waiting 60 seconds for C Debugger to attach, process 4200 startstone[Info]: GemStone version '3.2.1' startstone[Info]: Server 'devKit' is already running. starting netldi devKit startnetldi[Info]: GemStone version '3.2.1' startnetldi[Info]: Server 'devKit_ldi' is already running. Install tODE on server: devKit [Info]: libssl-3.2.1-32.so: loaded Error: Unable to create a GemStone session, check netldi log file. For further information about login failures, check the gem log file TDTopezGemStoneClient>>loginUsing: TDTopezGemStoneClient>>installTode:forceGLASSInstall: in Block: [ ... BlockClosure>>on:do: TDTopezGemStoneClient>>installTode:forceGLASSInstall: in Block: installTode: installBlock forceGLASSInstall: force...etc... BlockClosure>>on:do: TDTopezGemStoneClient>>installTode:forceGLASSInstall: TDTopezGemStoneClient>>installTode:scriptDirectory: TDShell>>executeInstallServer: in Block: executeInstallServer: command... Dictionary>>at:ifPresent:ifAbsent: Dictionary>>at:ifAbsent:ifPresent: TDShell>>executeInstallServer: TDShell>>executeBuiltIn: TDShell>>evaluateCommand: TDShell>>evaluate: in Block: [ :command | result := self evaluateCommand: comma...etc... TDCommandLine class>>line:forEachCommand: in Block: [ :isolated | ... OrderedCollection>>do: TDCommandLine class>>line:forEachCommand: TDShell>>evaluate: in Block: evaluate: aString... BlockClosure>>on:do: TDShell>>evaluate: TDShell>>executeScript: in Block: [ ... BlockClosure>>cull: Dictionary>>at:ifPresent: TDShell>>executeScript: in Block: [ ... Dictionary>>at:ifPresent:ifAbsent: Dictionary>>at:ifAbsent:ifPresent: TDShell>>executeScript: TDShell>>executeBuiltIn: TDShell>>evaluateCommand: TDShell>>evaluate: in Block: [ :command | result := self evaluateCommand: comma...etc... (trusty)laheadle@localhost:/media/removable/sdcard$ _______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
Lyn,
I guess the first thing we need to do is get gdb installed on your box, so that we can get a meaningful stack trace of the mmap failure ... I'd also like to see the complete contents of the stone log file Dale On 02/27/2015 08:44 PM, Lyn Headley via
Glass wrote:
_______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
In reply to this post by GLASS mailing list
Hello Dale, I installed gdb and here is the output, also including the stone log. Thanks! Lyn ------------------------------------------------------------------------------ (trusty)laheadle@localhost:~/smalltalk/gsDevKitHome$ installServer devKit 3.2.1 Installing GemStone/S 3.2.1 [Info] Starting installation of GemStone64Bit3.2.1-x86_64.Linux on localhost Sat Mar 7 12:12:20 PST 2015 [Info] Setting up shared memory Total memory available is 1878 MB Max shared memory segment size is 1408 MB Max shared memory allowed is 8192 MB [Info] No need to increase max shared memory segment size [Info] No need to increase max shared memory allowed [Info] The following shared memory settings already exist in /etc/sysctl.conf To change them, remove the following lines from /etc/sysctl.conf and rerun this script #kernel.domainname = example.com kernel.shmmax=1476934656 kernel.shmmax=1476934656 [Info] Setting up GemStone netldi service port [Info] GemStone netldi service port is already set in /etc/services To change it, remove the following line from /etc/services and rerun this script gs64ldi 50377/tcp # Gemstone netldi [Info] GemStone64Bit3.2.1-x86_64.Linux.zip already exists to replace it, remove or rename it and rerun this script [Info] Creating /opt/gemstone directory [Warning] /opt/gemstone directory already exists to replace it, remove or rename it and rerun this script [Info] Uncompressing GemStone archive into /home/laheadle/smalltalk/gsDevKitHome/gemstone/products/ [Warning] /home/laheadle/smalltalk/gsDevKitHome/gemstone/products/GemStone64Bit3.2.1-x86_64.Linux already exists to replace it, remove or rename it and rerun this script [Info] Copying initial system.conf to data directory [Warning] /home/laheadle/smalltalk/gsDevKitHome/gemstone/products/GemStone64Bit3.2.1-x86_64.Linux/seaside/data/system.conf already exists to replace it, remove or rename it and rerun this script [Info] Copying initial Seaside repository to data directory [Warning] /home/laheadle/smalltalk/gsDevKitHome/gemstone/products/GemStone64Bit3.2.1-x86_64.Linux/seaside/data/extent0.dbf already exists to replace it, remove or rename it and rerun this script copy gci libraries [Warning] gci libraries already present to replace, delete them and try again [Info] Finished GemStone64Bit3.2.1-x86_64.Linux installation on localhost [Info] GemStone version information: GemStone/S 64 Bit 3.2.1 Build: gss64_3_2_x_branch-33595 Thu Jun 5 14:37:10 2014 [Info] localhost has the following IPv4 addresses: 192.168.1.66 todeClient already installed Creating stone devKit Creating stone devKit/home/laheadle/smalltalk/gsDevKitHome/gemstone/stones/devKit already exists. To replace it, remove or rename it and rerun this script Starting stone: devKit HostAllocateFromReservedMemory: mmap() failed, address 0x7f7547498000, size 65536, errno 1 Operation not permitted Gemstone Signal Handler: Signal 11, SIGSEGV Received HostFaultHandler: signal = 11 info->si_signo = 11 = 0xb info->si_code = 1 = 0x1 info->si_errno = 0 = 0x0 info->si_addr = 0x238 Registers saved from frame receiving the signal: rip 0x7f754de3fecf rsp 0x7fffce9cd900 rbp 0xfe3 rax 0x0 rbx 0xfe3 rcx 0x3 rdx 0xfe3 r8 0x7fffce9cda40 r9 0x7fffce9cd958 r10 0x7f7550bedfe0 r11 0xfffffff5 r12 0x0 r13 0x0 r14 0x7f7547498000 r15 0x3 rdi 0x7f75438ff000 rsi 0x7f754e1bbfb9 efl 0x10246 csgsfs_pad 0x33 err 0x4 trapno 0xe oldmask 0x0 cr2 0x238 Begin attempt to print C-level stack for process 8856 at: Sat Mar 7 12:12:25 PST 2015 gdb is /usr/bin/gdb ===--- start gdb stacks Sat Mar 7 12:12:25 PST 2015 [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". 81 ../sysdeps/unix/syscall-template.S: No such file or directory. 0x00007f755091e12d in poll () at ../sysdeps/unix/syscall-template.S:81 Thread 1 (Thread 0x7f755207c780 (LWP 8856)): #0 0x00007f755091e12d in poll () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007f754e0b2939 in HostMilliSleep (milliseconds=<optimized out>, exitIfInterrupted=<optimized out>) at /export/jenkins1/users/buildgss/gs64/32x/build33595/src/hostclientmt.c:161 #2 0x00007f754e0aef73 in forkAndWait (cmdPath=0x7fffce9cb030 "/home/laheadle/smalltalk/gsDevKitHome/gemstone/products/GemStone64Bit3.2.1-x86_64.Linux/bin/pstack", args=0x7fffce9cb010) at /export/jenkins1/users/buildgss/gs64/32x/build33595/src/hostdebugmt.c:67 #3 0x00007f754e0af8bb in HostPrintCStackForPid (pid=8856) at /export/jenkins1/users/buildgss/gs64/32x/build33595/src/hostdebugmt.c:402 #4 0x00007f754e0af793 in HostPrintCStack () at /export/jenkins1/users/buildgss/gs64/32x/build33595/src/hostdebugmt.c:362 #5 0x00007f754e0fb3ae in HostFaultHandler (sig=11, info=0x7fffce9cd570, context=0x7fffce9cd440) at /export/jenkins1/users/buildgss/gs64/32x/build33595/src/hostunix.c:1165 #6 <signal handler called> #7 gemSupErr(om *, const char *, int, <anonymous enum>, ...) (omPtr=<optimized out>, argKinds=<optimized out>, errorNumber=4067, kind=GEMSUP_FATAL_ERR) at /export/jenkins1/users/buildgss/gs64/32x/build33595/src/gemsup.c:737 #8 0x00007f754de4100b in GemSupErrFatal_s (errorNumber=4067, arg1=0x7fffce9cda40 "OM.ffiStubs memory full") at /export/jenkins1/users/buildgss/gs64/32x/build33595/src/gemsup.c:1804 #9 0x00007f754de34ea2 in OmCHeapType::Malloc (this=0x7f7543906880, length=<optimized out>, acc=<optimized out>) at /export/jenkins1/users/buildgss/gs64/32x/build33595/src/gemheap.c:497 #10 0x00007f754de34fff in OmCHeapType::initializeHeap (this=0x7f7543906880, omPtr=<optimized out>, heapSize=<optimized out>, memPtr=0x7f7547498000 "", nameArg=0x7f754e1420ee "OM.ffiStubs", overflow_allowed=0, memExecFlag=4) at /export/jenkins1/users/buildgss/gs64/32x/build33595/src/gemheap.c:247 #11 0x00007f754de350aa in om::GemHeapInit (omPtr=0x7f75438ff000, info=0x7fffce9cdc50, memPtrArg=<optimized out>) at /export/jenkins1/users/buildgss/gs64/32x/build33595/src/gemheap.c:202 #12 0x00007f754decc716 in om::allocateTocMemory (info=0x7fffce9cdc50, quietModeArg=<optimized out>) at /export/jenkins1/users/buildgss/gs64/32x/build33595/src/ominit.c:673 #13 0x00007f754ded5c57 in om::AllocateMemory (quietMode=<optimized out>, processType=GCI_PROCESS_GEM) at /export/jenkins1/users/buildgss/gs64/32x/build33595/src/ominit.c:1294 #14 0x00007f754de3cef5 in GemSupInit (quietMode=1, processType=GCI_PROCESS_GEM) at /export/jenkins1/users/buildgss/gs64/32x/build33595/src/gemsup.c:2314 #15 0x00007f754ddcf915 in GciInit_ (quietModeArg=1, processType=GCI_PROCESS_GEM, exeConfigFilePath=0x0) at /export/jenkins1/users/buildgss/gs64/32x/build33595/src/gcirpc.c:3889 #16 0x00007f754ddf6d96 in gemMain (argc=6, argv=<optimized out>, gciDynLibHandle=<optimized out>) at /export/jenkins1/users/buildgss/gs64/32x/build33595/src/gemmain.c:261 #17 0x00000000004016ff in main (argc=6, argv=0x7fffce9d2198) at /export/jenkins1/users/buildgss/gs64/32x/build33595/src/gem.c:61 Thread 1 (Thread 0x7f755207c780 (LWP 8856)): #0 0x00007f755091e12d in poll () at ../sysdeps/unix/syscall-template.S:81 No locals. #1 0x00007f754e0b2939 in HostMilliSleep (milliseconds=<optimized out>, exitIfInterrupted=<optimized out>) at /export/jenkins1/users/buildgss/gs64/32x/build33595/src/hostclientmt.c:161 No locals. #2 0x00007f754e0aef73 in forkAndWait (cmdPath=0x7fffce9cb030 "/home/laheadle/smalltalk/gsDevKitHome/gemstone/products/GemStone64Bit3.2.1-x86_64.Linux/bin/pstack", args=0x7fffce9cb010) at /export/jenkins1/users/buildgss/gs64/32x/build33595/src/hostdebugmt.c:67 waitResult = 32629 buf = '\000' <repeats 16 times>, "p՜\316\377\177\000\000Pќ\316\377\177\000\000@Ԝ\316\377\177\000\000\360ќ\316\377\177\000\000\v\000\000\000\000\000\000\000\062U\210Pu\177\000\000\000\000\000\000\000\000\000\000 \000\000\000\060\000\000\000\000\260\234\316\377\177\000\000@\257\234\316\377\177\000\000\000\000\000\000\000\000\000\000\360ќ\316\377\177\000\000\v\000\000\000\000\000\000\000\230\"", '\000' <repeats 22 times>, "\001", '\000' <repeats 23 times>, "(\031\204Pu\177\000\000p՜\316\377\177\000\000Pќ\316\377\177\000\000@Ԝ\316\377\177\000\000\000\346p\\\263\374\n\364"... oldSignal = {__sigaction_handler = {sa_handler = 0x0, sa_sigaction = 0x0}, sa_mask = {__val = {0 <repeats 12 times>, 140141862077783, 5, 0, 11}}, sa_flags = 67108864, sa_restorer = 0x7f7551c67340 <__restore_rt>} childStatus = 32629 child = 8862 #3 0x00007f754e0af8bb in HostPrintCStackForPid (pid=8856) at /export/jenkins1/users/buildgss/gs64/32x/build33595/src/hostdebugmt.c:402 argArray = {0x7fffce9cc030 "pstack", 0x7fffce9cd130 "8856", 0x0} pidStr = "8856\000\177\000\000\000 \000\000\000\000\000" myPid = 8856 buffer = "\nBegin attempt to print C-level stack for process 8856 at: \000\n\000x10246 csgsfs_pad 0x33 \n\000\065 \n\000Pu\177\000\000\000\000\000\000\000\000\000\000(^BNu\177\000\000\000\000\000\000\000\000\000\000\360ќ\316\377\177\000\000\v\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000`ќ\316\377\177\000\000WE\350Qu\177\000\000\001", '\000' <repeats 15 times>, "\071\000\000\000\000\000\000\000\270\200\203Pu\177\000\000p՜\316\377\177\000\000`ќ\316"... cmdName = "pstack", '\000' <repeats 802 times>... cmdNameWithPath = "/home/laheadle/smalltalk/gsDevKitHome/gemstone/products/GemStone64Bit3.2.1-x86_64.Linux/bin/pstack", '\000' <repeats 3390 times>... #4 0x00007f754e0af793 in HostPrintCStack () at /export/jenkins1/users/buildgss/gs64/32x/build33595/src/hostdebugmt.c:362 No locals. #5 0x00007f754e0fb3ae in HostFaultHandler (sig=11, info=0x7fffce9cd570, context=0x7fffce9cd440) at /export/jenkins1/users/buildgss/gs64/32x/build33595/src/hostunix.c:1165 mgr = <optimized out> sigName = <optimized out> validArgs = <optimized out> savedHandler = 0xb msgBuf = "\n\nGemstone Signal Handler: Signal 11, SIGSEGV Received \n\000\000\000\000\000\000\000\220Ӝ\316\377\177\000\000\000\000\000\000\000\000\000\000p\310\367\001[", '\000' <repeats 19 times>, "n\000\000\000w", '\000' <repeats 11 times>, "\217Ӝ\316\377\177\000\000(\000\000\000\060\000\000\000\060ڜ\316\377\177\000\000pٜ\316\377\177\000\000\240\r\277Pu\177\000\000\360r\306Qu\177\000\000\000\004\277Pu\177", '\000' <repeats 26 times>, "\062\000\000\000\000\000\000\000"... foundSignal = <optimized out> numSegvInProgress = <optimized out> printNoise = <optimized out> #6 <signal handler called> No locals. #7 gemSupErr(om *, const char *, int, <anonymous enum>, ...) (omPtr=<optimized out>, argKinds=<optimized out>, errorNumber=4067, kind=GEMSUP_FATAL_ERR) at /export/jenkins1/users/buildgss/gs64/32x/build33595/src/gemsup.c:737 argKindPtr = <optimized out> iS = 0x0 wks = 0x0 theErr = 0x7fffce9cda88 ap = {{gp_offset = 1196134400, fp_offset = 32629, overflow_arg_area = 0x7f7547498000, reg_save_area = 0x7f754393f000}} attemptHandler = <optimized out> argCount = <optimized out> #8 0x00007f754de4100b in GemSupErrFatal_s (errorNumber=4067, arg1=0x7fffce9cda40 "OM.ffiStubs memory full") at /export/jenkins1/users/buildgss/gs64/32x/build33595/src/gemsup.c:1804 omPtr = 0x7f75438ff000 err = <optimized out> #9 0x00007f754de34ea2 in OmCHeapType::Malloc (this=0x7f7543906880, length=<optimized out>, acc=<optimized out>) at /export/jenkins1/users/buildgss/gs64/32x/build33595/src/gemheap.c:497 msg = "OM.ffiStubs memory full\000\000\020", '\000' <repeats 14 times>, "WE\350Qu\177\000\000\001", '\000' <repeats 24 times>, "\346p\\\263\374\n\364\270j\220Cu\177\000\000\000\020\000\000\000\000\000\000\000\020\000\000\000\000\000\000\000\220KGu\177\000\000\000\200IGu\177\000\000\023\254\354Mu\177\000" pSize = <optimized out> #10 0x00007f754de34fff in OmCHeapType::initializeHeap (this=0x7f7543906880, omPtr=<optimized out>, heapSize=<optimized out>, memPtr=0x7f7547498000 "", nameArg=0x7f754e1420ee "OM.ffiStubs", overflow_allowed=0, memExecFlag=4) at /export/jenkins1/users/buildgss/gs64/32x/build33595/src/gemheap.c:247 memLimit = 0x7f75474b9000 "" #11 0x00007f754de350aa in om::GemHeapInit (omPtr=0x7f75438ff000, info=0x7fffce9cdc50, memPtrArg=<optimized out>) at /export/jenkins1/users/buildgss/gs64/32x/build33595/src/gemheap.c:202 memPtr = 0x0 #12 0x00007f754decc716 in om::allocateTocMemory (info=0x7fffce9cdc50, quietModeArg=<optimized out>) at /export/jenkins1/users/buildgss/gs64/32x/build33595/src/ominit.c:673 codeFirst = 0 om_mem = {vMem = {_start = 0x7f75438ff000 "", _allocated_limit = 0x7f754393e000 "", _reserved_limit = 0x7f754393f000 "", protFlags = 3}, _guardSize = 4096} codeStart = <optimized out> guardSize = 4096 total_mem = {_start = 0x7f75438fe000 "", _allocated_limit = 0x7f75438fe000 "", _reserved_limit = 0x7f754dd9a000 "\177ELF\002\001\001", protFlags = 3} memPtr = 0x7f75438ff000 "" omPtr = 0x7f75438ff000 objMemStart = <optimized out> newGenStart = <optimized out> #13 0x00007f754ded5c57 in om::AllocateMemory (quietMode=<optimized out>, processType=GCI_PROCESS_GEM) at /export/jenkins1/users/buildgss/gs64/32x/build33595/src/ominit.c:1294 printFirstInCard = 0 printScavStart = 2147483647 printStackMkswStart = 2147483647 memSizes = {TOCsize = 51200000, StackSizeBytes = 131072, codeGenSize = 10289152, codeStubsSize = 65536, edenSpaceSize = 9568256, fromSpaceSize = 1638400, initialEdenSpaceSize = 2097152, initialFromSpaceSize = 458752, allStacksSize = 1179648, oldGenSize = 38338560, osPageSize = 4096, guardSize = 4096, permGenSize = 5177344, pomSpaceSize = 4325376, remSetDirtySize = 131072, remSetTotalSize = 1183744, totalMemorySize = 172605440, totalObjMem = 109903872, tempObjCacheSize = 51183616, pomSpace_maxSize = 4325376, pomGenSize = 43253760, meSpaceSize = 49307648, oopMapSize = 262144, gsScopesSize = 65536, spaceTableSize = 65536, compilerHeapSize = 1024000, cbmPagesSize = 4194304, omStateSize = 258048, cHeapSize = 3080192, ffiStubsHeapSize = 131072, cfg_TOCsize = 51200000, cfg_TOC_initialSize = 51200000, softRefCleanupPercentMem = 50, cfg_meSpaceSize = 0, cfg_pomGenSize = 0, cfg_oopMapSize = 0, maxTOC_div_currTOC = 1, keepMinSoftRefs = 0, numPomSpaces = 10, pruneOnVotePercent = 90, agressiveStubbing = 1 '\001', nativeCodeConfigured = 2 '\002'} verboseOutOfMem = 0 printStackScavStart = 2147483647 verifyMkswStart = 2147483647 printMemoryMkswStart = 2147483647 printCstackMkswStart = 2147483647 verifyScavStart = 2147483647 printMkswStart = 2147483647 printCstackScavStart = 2147483647 omPtr = <optimized out> #14 0x00007f754de3cef5 in GemSupInit (quietMode=1, processType=GCI_PROCESS_GEM) at /export/jenkins1/users/buildgss/gs64/32x/build33595/src/gemsup.c:2314 No locals. #15 0x00007f754ddcf915 in GciInit_ (quietModeArg=1, processType=GCI_PROCESS_GEM, exeConfigFilePath=0x0) at /export/jenkins1/users/buildgss/gs64/32x/build33595/src/gcirpc.c:3889 maxId = <optimized out> sErr = {errFlags = 7306861033106131060, errCode = 1869902701, eaiError = 1932485998, categ = (unknown: 1701736308), errMsg = "s/devKit/product/sys/\000gem", '\000' <repeats 59 times>, "iM\235\316\377\177", '\000' <repeats 18 times>, "/home/laheadle/smalltalk/gsDevKitHome/gemstone/stones/devKit/product/sys/\000gem", '\000' <repeats 243 times>...} #16 0x00007f754ddf6d96 in gemMain (argc=6, argv=<optimized out>, gciDynLibHandle=<optimized out>) at /export/jenkins1/users/buildgss/gs64/32x/build33595/src/gemmain.c:261 cmdLinePtr = <optimized out> isStopStone = 1 ok = <optimized out> isNewStopStone = 0 desireQuiet = 1 argvCopy = {0x7fffce9d3bc5 "/home/laheadle/smalltalk/gsDevKitHome/gemstone/stones/devKit/product/sys/gem", 0x7fffce9d3c12 "stopstone", 0x7fffce9d3c1c "-i", 0x7fffce9d3c1f "devKit", 0x7fffce9d3c26 "DataCurator", 0x7fffce9d3c32 "swordfish", 0x0 <repeats 14 times>} tocSizeArg = 0 commandLine = '\000' <repeats 856 times>... errBuf = "/home/laheadle/smalltalk/gsDevKitHome/gemstone/stones/devKit/product/lib/libgcilnk-3.2.1-64.so", '\000' <repeats 1953 times> cmdLineLength = <optimized out> nativeCodeCfg = -1 id = <optimized out> lgc = <optimized out> clientNetFd = <optimized out> #17 0x00000000004016ff in main (argc=6, argv=0x7fffce9d2198) at /export/jenkins1/users/buildgss/gs64/32x/build33595/src/gem.c:61 errBuf = '\000' <repeats 4680 times>... theLib = 0x1f77730 gemMainPtr = 0x7f754ddf6aa0 <gemMain(int, char const**, void*)> 03/07/2015 12:12:28.034 PST No stack available $1 = 1 03/07/2015 12:12:28.041 PST No stack available $2 = 1 $3 = {<text variable, no debug info>} 0x7f754df73580 <IntLpBCLoop> ===--- end gdb stacks End of C-level stack for process 8856 _____________________________________________________________________________ | Possible Internal Error: HostCoreDump invoked at 03/07/2015 12:12:28.501 PST in process 8856 __________________________________ HostCoredump: Waiting 60 seconds for C Debugger to attach, process 8856 startstone[Info]: GemStone version '3.2.1' startstone[Info]: Server 'devKit' is already running. starting netldi devKit startnetldi[Info]: GemStone version '3.2.1' startnetldi[Info]: Server 'devKit_ldi' is already running. Install tODE on server: devKit [Info]: libssl-3.2.1-32.so: loaded Error: Unable to create a GemStone session, check netldi log file. For further information about login failures, check the gem log file TDTopezGemStoneClient>>loginUsing: TDTopezGemStoneClient>>installTode:forceGLASSInstall: in Block: [ ... BlockClosure>>on:do: TDTopezGemStoneClient>>installTode:forceGLASSInstall: in Block: installTode: installBlock forceGLASSInstall: force...etc... BlockClosure>>on:do: TDTopezGemStoneClient>>installTode:forceGLASSInstall: TDTopezGemStoneClient>>installTode:scriptDirectory: TDShell>>executeInstallServer: in Block: executeInstallServer: command... Dictionary>>at:ifPresent:ifAbsent: Dictionary>>at:ifAbsent:ifPresent: TDShell>>executeInstallServer: TDShell>>executeBuiltIn: TDShell>>evaluateCommand: TDShell>>evaluate: in Block: [ :command | result := self evaluateCommand: comma...etc... TDCommandLine class>>line:forEachCommand: in Block: [ :isolated | ... OrderedCollection>>do: TDCommandLine class>>line:forEachCommand: TDShell>>evaluate: in Block: evaluate: aString... BlockClosure>>on:do: TDShell>>evaluate: TDShell>>executeScript: in Block: [ ... BlockClosure>>cull: Dictionary>>at:ifPresent: TDShell>>executeScript: in Block: [ ... Dictionary>>at:ifPresent:ifAbsent: Dictionary>>at:ifAbsent:ifPresent: TDShell>>executeScript: TDShell>>executeBuiltIn: TDShell>>evaluateCommand: TDShell>>evaluate: in Block: [ :command | result := self evaluateCommand: comma...etc... (trusty)laheadle@localhost:~/smalltalk/gsDevKitHome$ (trusty)laheadle@localhost:~/smalltalk/gsDevKitHome$ (trusty)laheadle@localhost:~/smalltalk/gsDevKitHome$ (trusty)laheadle@localhost:~/smalltalk/gsDevKitHome$ ----------------------------------------------------------------------------- _____________________________________________________________________________ | GemStone/S64 Object-Oriented Data Management System | | Copyright (C) GemTalk Systems 1986-2014 | | All rights reserved. | +-----------------------------------------------------------------------------+ | PROGRAM: STONE, Stone Repository Monitor | | VERSION: 3.2.1, Thu Jun 5 14:37:10 2014 | | BUILD: gss64_3_2_x_branch-33595 | | BUILT FOR: x86-64 (Linux) | | MODE: 64 bit | | RUNNING ON: 2-CPU localhost x86_64 (Linux 3.8.11 #1 SMP Sun Feb 22 22:46:15 | | PST 2015) 1878MB | | PROCESS ID: 6625 DATE: 03/07/15 12:03:26 PST | | USER IDS: REAL=laheadle (1000) EFFECTIVE=laheadle (1000) | +-----------------------------------------------------------------------------+ | GEMSTONE_NRS_ALL = #dir:$GEMSTONE_LOGDIR#log:%N%P.log | | COMMAND: /home/laheadle/smalltalk/gsDevKitHome/gemstone/products/GemStone64Bit3.2.1-x86_64.Linux/sys/stoned | -z /home/laheadle/smalltalk/gsDevKitHome/gemstone/stones/devKit/extents/system.conf | -l /home/laheadle/smalltalk/gsDevKitHome/gemstone/stones/devKit/logs/devKit.log | devKit | +-----------------------------------------------------------------------------+ _____________________________________________________________________________ | Configuration Files | | | | System File: /home/laheadle/smalltalk/gsDevKitHome/gemstone/stones/devKit/extents/system.conf | | | Executable File: /home/laheadle/smalltalk/gsDevKitHome/gemstone/stones/devKit/devKit.conf | Warning: File not found (errno=2,ENOENT, The file or directory specified cannot | be found) | | using defaults. | |_____________________________________________________________________________| _____________________________________________________________________________ | Non-Default Configuration Options for Stone | |_____________________________________________________________________________| DBF_EXTENT_NAMES = "$GEMSTONE_DATADIR/extent0.dbf"; DBF_SCRATCH_DIR = "$GEMSTONE_DATADIR/"; KEYFILE = "$GEMSTONE_KEYFILE"; SHR_PAGE_CACHE_SIZE_KB = 500000KB; STN_HALT_ON_FATAL_ERR = FALSE; STN_TRAN_FULL_LOGGING = TRUE; STN_TRAN_LOG_DIRECTORIES = "$GEMSTONE_TRANLOGDIR/", "$GEMSTONE_TRANLOGDIR/"; STN_TRAN_LOG_SIZES = 1000MB, 1000MB; _____________________________________________________________________________ | All Configuration Options for Stone | |_____________________________________________________________________________| DBF_ALLOCATION_MODE = "SEQUENTIAL"; DBF_EXTENT_NAMES = "$GEMSTONE_DATADIR/extent0.dbf"; DBF_EXTENT_SIZES = ""; DBF_PRE_GROW = FALSE; DBF_SCRATCH_DIR = "$GEMSTONE_DATADIR/"; DUMP_OPTIONS = TRUE; KEYFILE = "$GEMSTONE_KEYFILE"; LOG_WARNINGS = TRUE; SHR_NUM_FREE_FRAME_SERVERS = 1; SHR_PAGE_CACHE_LARGE_MEMORY_PAGE_POLICY = 0; SHR_PAGE_CACHE_LOCKED = FALSE; SHR_PAGE_CACHE_NUM_PROCS = 51; SHR_PAGE_CACHE_NUM_SHARED_COUNTERS = 1900; SHR_PAGE_CACHE_PERMISSIONS = 660; SHR_PAGE_CACHE_SIZE_KB = 500000KB; SHR_SPIN_LOCK_COUNT = 5000; SHR_TARGET_FREE_FRAME_COUNT = -1; SHR_WELL_KNOWN_PORT_NUMBER = 0; STN_ADMIN_GC_SESSION_ENABLED = TRUE; STN_AIO_WAIT_TIME = 25; STN_ALLOCATE_HIGH_OOPS = 0; STN_ALLOW_NFS_EXTENTS = FALSE; STN_CACHE_WARMER = 0; STN_CACHE_WARMER_SESSIONS = 0; STN_CHECKPOINT_INTERVAL = 300; STN_COMMITS_ASYNC = FALSE; STN_COMMIT_QUEUE_THRESHOLD = -1; STN_COMMIT_RECORD_QUEUE_SIZE = 40; STN_COMMIT_TOKEN_TIMEOUT = 0; STN_CR_BACKLOG_THRESHOLD = 80; STN_DISABLE_LOGIN_FAILURE_LIMIT = 15; STN_DISABLE_LOGIN_FAILURE_TIME_LIMIT = 15; STN_DISKFULL_TERMINATION_INTERVAL = 3; STN_EPOCH_GC_ENABLED = FALSE; STN_EXTENT_IO_FLAGS = 0; STN_FREE_FRAME_CACHE_SIZE = -1; STN_FREE_SPACE_THRESHOLD = 0MB; STN_GEM_ABORT_TIMEOUT = 1; STN_GEM_LOSTOT_TIMEOUT = 60; STN_GEM_TIMEOUT = 0; STN_HALT_ON_FATAL_ERR = FALSE; STN_LISTENING_ADDRESSES = "::"; STN_LOG_IO_FLAGS = 0; STN_LOG_LOGIN_FAILURE_LIMIT = 10; STN_LOG_LOGIN_FAILURE_TIME_LIMIT = 10; STN_LOGIN_LOG_ENABLED = FALSE; STN_LOOP_NO_WORK_THRESHOLD = 0; STN_MAX_AIO_RATE = 3000; STN_MAX_AIO_REQUESTS = 128; STN_MAX_GC_RECLAIM_SESSIONS = 0; STN_MAX_LOGIN_LOCK_SPIN_COUNT = 100; STN_MAX_REMOTE_CACHES = 255; STN_MAX_SESSIONS = 40; STN_MAX_SLEEP_TIME = 1000; STN_MAX_VOTING_SESSIONS = 100; STN_NUM_AIO_WRITE_THREADS = 4; STN_NUM_GC_RECLAIM_SESSIONS = 1; STN_NUM_LOCAL_AIO_SERVERS = 1; STN_OBJ_LOCK_TIMEOUT = 0; STN_PRIVATE_PAGE_CACHE_KB = 2000KB; STN_PAGE_MGR_COMPRESSION_ENABLED = FALSE; STN_PAGE_MGR_MAX_WAIT_TIME = 200; STN_PAGE_MGR_PRINT_TIMEOUT_THRESHOLD = 5; STN_PAGE_MGR_REMOVE_MIN_PAGES = 40; STN_PAGE_MGR_REMOVE_MAX_PAGES = 16384; STN_REMOTE_CACHE_PGSVR_TIMEOUT = 15; STN_REMOTE_CACHE_TIMEOUT = 5; STN_SHR_TARGET_PERCENT_DIRTY = 20; STN_SIGNAL_ABORT_CR_BACKLOG = 20; STN_SYMBOL_GC_ENABLED = FALSE; STN_TRAN_FULL_LOGGING = TRUE; STN_TRAN_LOG_DEBUG_LEVEL = 0; STN_TRAN_LOG_DIRECTORIES = "$GEMSTONE_TRANLOGDIR/", "$GEMSTONE_TRANLOGDIR/"; STN_TRAN_LOG_LIMIT = 1000KB; STN_TRAN_LOG_PREFIX = "tranlog"; STN_TRAN_LOG_SIZES = 1000MB, 1000MB; STN_TRAN_Q_TO_RUN_Q_THRESHOLD = 6; STN_WELL_KNOWN_PORT_NUMBER = 0; --- 03/07/15 12:03:26 PST --- _____________________________________________________________________________ | Key file: /home/laheadle/smalltalk/gsDevKitHome/gemstone/products/GemStone64Bit3.2.1-x86_64.Linux/seaside/etc/gemstone.key | GemStone ID: Free GS/S Web Edition | | LICENSED TO: GemStone Seaside Community | | KEY ORIGIN: 0x5e0a3e8e (a Linux x86) | | SESSION MAX: The licensed concurrent user session max is 10. | | REPOS MAX: The maximum repository size is 10240 Mbytes. | |_____________________________________________________________________________| | WARNING: The STN_MAX_SESSIONS = 40 exceeds license limit 10; | | lowering maximum number of user sessions to the licensed limit.| |_____________________________________________________________________________| ======================================================================== Now starting GemStone monitor. Protected server process from OOM killer, Wrote to /proc/6625/oom_score_adj value -500 _____________________________________________________________________________ | SESSION CONFIGURATION: The maximum number of concurrent sessions is 10. | |_____________________________________________________________________________| Attaching the Shared Cache using Stone name: devKit Started free frame page server, processId 6634 Successfully started 1 free frame page servers. ------------------------------------------------------- Summary of Configured Transaction Logs Directory 0: configured name $GEMSTONE_TRANLOGDIR/ expanded name /home/laheadle/smalltalk/gsDevKitHome/gemstone/stones/devKit/tranlogs/ configuredSize 1000 MB Directory 1: configured name $GEMSTONE_TRANLOGDIR/ expanded name /home/laheadle/smalltalk/gsDevKitHome/gemstone/stones/devKit/tranlogs/ configuredSize 1000 MB ------------------------------------------------------- Started AIO page server, processId 6637 --- 03/07/15 12:03:27 PST --- Extent #0 ----------- Filename = !#dbf!/home/laheadle/smalltalk/gsDevKitHome/gemstone/stones/devKit/extents/extent0.dbf Maximum size = NONE File size = 80 Mbytes = 5120 pages Space available = 27 Mbytes = 1742 pages Totals ------ Repository Size = 80 Mbytes = 5120 pages Free Space = 27 Mbytes = 1742 pages --------------------------------------------------- Repository startup statistics: Pages Need Reclaiming =1 Free Oops=13148 Oop Number High Water Mark=420339 Possible Dead Objects=0 Dead Objects=0 Epoch Transaction Count=0 Epoch New Objects Union=0 Epoch Written Objects Union=0 Epoch DependencyMap Objects Union=0 Repository startup is from checkpoint = (fileId 1, blockId 153) SearchForMostRecentLog did not find any tranlogs :: (wildcard) found in listening addresses, ignoring other addresses created listening socket for :: on :: port 52078 Opened page manager thread log /home/laheadle/smalltalk/gsDevKitHome/gemstone/stones/devKit/logs/devKit_6625pagemanager.log --- 03/07/15 12:03:29 PST --- Creating a new transaction log. directoryId 0, fileId 2, filename = /home/laheadle/smalltalk/gsDevKitHome/gemstone/stones/devKit/tranlogs/tranlog2.dbf --- 03/07/15 12:03:30 PST --- Starting AF_INET reconnect to AIO pgsvrs AIO_PGSVR_RECONNECT pgsvrPid 6637 new fd 23 Starting user services with name = !#server!devKit --- 03/07/15 12:03:30.834 PST --- Starting a Reclaim Gem process with 1 sessions --- 03/07/15 12:03:30.835 PST --- Starting a Admin Gem process --- 03/07/15 12:03:30.839 PST --- Starting a SymbolCreation Gem process --- 03/07/15 12:04:30.725 PST --- Starting a Reclaim Gem process with 1 sessions --- 03/07/15 12:04:30.726 PST --- Starting a Admin Gem process --- 03/07/15 12:04:30.732 PST --- Starting a SymbolCreation Gem process --- 03/07/15 12:05:30.733 PST --- Starting a Reclaim Gem process with 1 sessions --- 03/07/15 12:05:30.734 PST --- Starting a Admin Gem process --- 03/07/15 12:05:30.742 PST --- Starting a SymbolCreation Gem process --- 03/07/15 12:06:30.741 PST --- Starting a Reclaim Gem process with 1 sessions --- 03/07/15 12:06:30.742 PST --- Starting a Admin Gem process --- 03/07/15 12:06:30.745 PST --- Starting a SymbolCreation Gem process --- 03/07/15 12:07:30.749 PST --- Starting a Reclaim Gem process with 1 sessions --- 03/07/15 12:07:30.751 PST --- Starting a Admin Gem process --- 03/07/15 12:07:30.758 PST --- Starting a SymbolCreation Gem process --- 03/07/15 12:08:30.758 PST --- Starting a Reclaim Gem process with 1 sessions --- 03/07/15 12:08:30.759 PST --- Starting a Admin Gem process --- 03/07/15 12:08:30.766 PST --- Starting a SymbolCreation Gem process --- 03/07/15 12:09:30.766 PST --- Starting a Reclaim Gem process with 1 sessions --- 03/07/15 12:09:30.767 PST --- Starting a Admin Gem process --- 03/07/15 12:09:30.769 PST --- Starting a SymbolCreation Gem process --- 03/07/15 12:10:30.780 PST --- Starting a Reclaim Gem process with 1 sessions --- 03/07/15 12:10:30.782 PST --- Starting a Admin Gem process --- 03/07/15 12:10:30.784 PST --- Starting a SymbolCreation Gem process --- 03/07/15 12:11:30.786 PST --- Starting a Reclaim Gem process with 1 sessions --- 03/07/15 12:11:30.787 PST --- Starting a Admin Gem process --- 03/07/15 12:11:30.794 PST --- Starting a SymbolCreation Gem process --- 03/07/15 12:12:30.804 PST --- Starting a Reclaim Gem process with 1 sessions --- 03/07/15 12:12:30.805 PST --- Starting a Admin Gem process --- 03/07/15 12:12:30.807 PST --- Starting a SymbolCreation Gem process --- 03/07/15 12:13:30.832 PST --- Starting a Reclaim Gem process with 1 sessions --- 03/07/15 12:13:30.845 PST --- Starting a Admin Gem process --- 03/07/15 12:13:30.861 PST --- Starting a SymbolCreation Gem process --- 03/07/15 12:14:30.829 PST --- Starting a Reclaim Gem process with 1 sessions --- 03/07/15 12:14:30.830 PST --- Starting a Admin Gem process --- 03/07/15 12:14:30.832 PST --- Starting a SymbolCreation Gem process --- 03/07/15 12:15:30.849 PST --- Starting a Reclaim Gem process with 1 sessions --- 03/07/15 12:15:30.850 PST --- Starting a Admin Gem process --- 03/07/15 12:15:30.858 PST --- Starting a SymbolCreation Gem process On Fri, Feb 27, 2015 at 8:44 PM, Lyn Headley <[hidden email]> wrote:
_______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
Lyn,
From the stone log, it appears that the stone did start okay? And the SIGSEGV occurred during the startStone? $GS_HOME/bin/stones should tell us whether the stone process is alive ... Dale On 03/07/2015 12:17 PM, Lyn Headley via
Glass wrote:
_______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
In reply to this post by GLASS mailing list
Lyn,
Thanks for the additional information ... We've looked at the stack and it looks like the SIGSEGV is happening during stopstone ... the startStone script does a stopstone then a startstone and it looks like the startstone is succeeding ... It turns out that we've seen and fixed this bug (fixed in 3.2.3), but the SIGSEGV is occurring while trying to report the fact that we ran out of virtual memory....so while the SIGSEGV will go away in 3.2.3, you will probably still be getting an error ... We don't have any experience running on a Chromebook, so we are curious if there is a difference between the amount of memory that linux thinks it has and the actual amount of memory available on the Chromebook. Is it possible that you might have multiple stones and/or SPCs running on this box? `ipcs -a` will tell us whether or not you have multiple SPCs allocated and running the `$GS_HOME/bin/stones` command will tell you how many stones are actually running ... We've guessing that either you've run out of virtual memory or the Chromebook and linux are out of sync ... Dale On 03/07/2015 12:17 PM, Lyn Headley via
Glass wrote:
_______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
Free forum by Nabble | Edit this page |