[Seaside] Pharo-1.3-13315-OneClick crashing
Marten Feldtmann
itlists at schrievkrom.de
Thu Nov 17 06:45:49 UTC 2011
Sven,
ok, actually benchmarking was not my initial idea behind these tests. I
wanted to see, what happens, if VASmalltalk (which was my primary test
candidate) gets under heavy query traffic and to see how load-balancing
works under Apache and VASmalltalk.
And then I looked at the other Smalltalks - and with the newest Pharo
the virtual machines seems to crash.
I've also downloaded a seaside-squeak-3-0-6-all-in-one package and this
worked without problems.
It was also strange to see, that the system does NOT crash, if remove
"-c" command flag in that test (not concurrency requests).
I also tested the Swazoo Adapter - same problem.
Thu Nov 17 07:43:28 2011
Exception code: C0000005
Exception addr: 041B817F
Access violation (read access) at 0000001C
EAX:00000000 EBX:00000002 ECX:0000002C EDX:0000001C
ESI:0000001C EDI:0946E938 EBP:0027A87C ESP:0027A854
EIP:041B817F EFL:00010246
FP Control: 0000027F
FP Status: 00004022
FP Tag: 0000FFFF
Crashed in the VM thread
Hardware information:
Manufacturer: Unknown
Model: Unknown
Number of processors: 2
Page size: 4096
Memory Information (upon launch):
Physical Memory Size: 4194303 kbytes
Physical Memory Free: 4194303 kbytes
Page File Size: 4194303 kbytes
Page File Free: 4194303 kbytes
Virtual Memory Size: 2097024 kbytes
Virtual Memory Free: 2026924 kbytes
Memory Load: 23 percent
Processor 0: Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz
Identifier: Intel64 Family 6 Model 15 Stepping 11
~MHZ: 2194
Processor 1: Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz
Identifier: Intel64 Family 6 Model 15 Stepping 11
~MHZ: 2194
Operating System: Windows 7 Ultimate N (Build 7601 Service Pack 1)
SP major version: 1
SP minor version: 0
Suite mask: 100
Product type: 1
Display Information:
Graphics adapter name: NVIDIA Quadro FX 570M
Primary monitor resolution: 1920 x 1200
Device: RDPDD Chained DD
Adapter String: ???
Bios String: ???
Chip Type: ???
DAC Type: ???
Memory Size: 0xFFFFFFFF
Driver Versions:
RDPDD:
VM Version: Cog VM 4.0.0 (release) from Aug 31 2011
Compiler: gcc 4.5.2
Interpreter Build: CoInterpreter VMMaker-oscog-IgorStasenko.123 uuid:
f8c5573e-7fd1-4959-91fc-e0c24d967e03 Aug 31 2011
Cogit Build: StackToRegisterMappingCogit VMMaker-oscog-IgorStasenko.123
uuid: f8c5573e-7fd1-4959-91fc-e0c24d967e03 Aug 31 2011
Current byte code: -1
Primitive index: -1
Loaded plugins:
Matrix2x3Plugin VMMaker-oscog-IgorStasenko.123 (i)
FloatArrayPlugin VMMaker-oscog-IgorStasenko.123 (i)
SocketPlugin VMMaker-oscog-IgorStasenko.123 (i)
LocalePlugin VMMaker-oscog-IgorStasenko.123 (i)
B2DPlugin VMMaker-oscog-IgorStasenko.123 (i)
BitBltPlugin VMMaker-oscog-IgorStasenko.123 (i)
LargeIntegers v1.5 VMMaker-oscog-IgorStasenko.123 (i)
SecurityPlugin VMMaker-oscog-IgorStasenko.123 (i)
FilePlugin VMMaker-oscog-IgorStasenko.123 (i)
MiscPrimitivePlugin VMMaker-oscog-IgorStasenko.123 (i)
Module information:
00400000 - 005ee000:
C:\Users\mf\Desktop\Pharo-1.3-13315-OneClick\Pharo-1.3-13315-OneClick.app\pharo.exe
00890000 - 008a2000: C:\Program Files\LENOVO\HOTKEY\hkvolkey.DLL
04140000 - 04240000: CogCode
604c0000 - 604ce000:
C:\ProgramData\Real\RealPlayer\BrowserRecordPlugin\Chrome\Hook\rpchrome10browserrecordhelper.dll
69260000 - 69265000: C:\Windows\system32\SHFolder.dll
692d0000 - 692f2000: C:\Windows\system32\GLU32.dll
69300000 - 693c8000: C:\Windows\system32\OPENGL32.DLL
69570000 - 69595000: C:\Windows\system32\dinput.dll
6c240000 - 6c267000: C:\Windows\system32\crtdll.dll
71940000 - 71953000: C:\Windows\system32\dwmapi.dll
71970000 - 719f0000: C:\Windows\system32\uxtheme.dll
71ed0000 - 71fb7000: C:\Windows\system32\DDRAW.dll
72040000 - 72072000: C:\Windows\system32\WINMM.dll
720c0000 - 7214e000:
C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4974_none_50940634bcb759cb\MSVCP90.dll
722f0000 - 722f7000: C:\Windows\system32\WSOCK32.DLL
72340000 - 72346000: C:\Windows\system32\DCIMAN32.dll
724e0000 - 724ed000: C:\Windows\system32\wshbth.dll
724f0000 - 724f8000: C:\Windows\System32\winrnr.dll
72500000 - 72544000: C:\Windows\system32\DNSAPI.dll
72550000 - 72562000: C:\Windows\system32\pnrpnsp.dll
72570000 - 72580000: C:\Windows\system32\napinsp.dll
72990000 - 72a33000:
C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4974_none_50940634bcb759cb\MSVCR90.dll
72a40000 - 72a7c000: C:\Windows\System32\mswsock.dll
72b00000 - 72b10000: C:\Windows\system32\NLAapi.dll
72b10000 - 72b15000: C:\Windows\System32\wshtcpip.dll
72c10000 - 72dae000:
C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_41e6975e2bd6f2b2\comctl32.DLL
72db0000 - 72e34000:
C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7601.17514_none_ec83dffa859149af\COMCTL32.dll
747d0000 - 747d9000: C:\Windows\system32\VERSION.dll
74970000 - 7497c000: C:\Windows\syswow64\CRYPTBASE.dll
74980000 - 749e0000: C:\Windows\syswow64\SspiCli.dll
749e0000 - 74a6f000: C:\Windows\syswow64\OLEAUT32.dll
74a70000 - 74a7a000: C:\Windows\syswow64\LPK.dll
74a90000 - 74aa2000: C:\Windows\syswow64\DEVOBJ.dll
74ab0000 - 74c0c000: C:\Windows\syswow64\OLE32.dll
74c10000 - 74c37000: C:\Windows\syswow64\CFGMGR32.dll
74c40000 - 74c97000: C:\Windows\syswow64\SHLWAPI.dll
74dc0000 - 75a0a000: C:\Windows\syswow64\SHELL32.dll
75a40000 - 75b30000: C:\Windows\syswow64\RPCRT4.dll
75b30000 - 75b65000: C:\Windows\syswow64\WS2_32.dll
75b70000 - 75c0d000: C:\Windows\syswow64\USP10.dll
75eb0000 - 75fb0000: C:\Windows\syswow64\USER32.dll
75fb0000 - 76010000: C:\Windows\system32\IMM32.DLL
76010000 - 7608b000: C:\Windows\syswow64\COMDLG32.DLL
760f0000 - 76200000: C:\Windows\syswow64\kernel32.dll
76350000 - 76369000: C:\Windows\SysWOW64\sechost.dll
76370000 - 763b6000: C:\Windows\syswow64\KERNELBASE.dll
763c0000 - 76450000: C:\Windows\syswow64\GDI32.dll
76450000 - 76456000: C:\Windows\syswow64\NSI.dll
76460000 - 76465000: C:\Windows\syswow64\psapi.dll
76470000 - 76510000: C:\Windows\syswow64\ADVAPI32.DLL
76510000 - 765bc000: C:\Windows\syswow64\msvcrt.dll
76760000 - 768fd000: C:\Windows\syswow64\SETUPAPI.dll
76900000 - 769cc000: C:\Windows\syswow64\MSCTF.dll
77290000 - 77410000: C:\Windows\SysWOW64\ntdll.dll
Primitive trace:
at:put:
at:put:
at:put:
at:put:
at:put:
basicNew
at:put:
basicNew
at:put:
basicNew
basicNew
new:
basicNew
findNextHandlerContextStarting
tempAt:
findNextHandlerContextStarting
tempAt:
tempAt:
tempAt:put:
tempAt:
findNextUnwindContextUpTo:
tempAt:
tempAt:put:
tempAt:
terminateTo:
tempAt:put:
findNextUnwindContextUpTo:
terminateTo:
basicNew
basicNew
basicNew
basicNew
new:
basicNew
basicNew
basicNew
findNextHandlerContextStarting
tempAt:
findNextHandlerContextStarting
tempAt:
tempAt:
tempAt:put:
tempAt:
findNextUnwindContextUpTo:
tempAt:
tempAt:put:
tempAt:
terminateTo:
tempAt:put:
findNextUnwindContextUpTo:
terminateTo:
wait
basicNew:
wait
truncated
truncated
signal
at:put:
wait
truncated
truncated
signal
at:put:
wait
truncated
truncated
signal
at:put:
wait
truncated
truncated
signal
at:put:
wait
truncated
truncated
signal
at:put:
wait
truncated
truncated
signal
at:put:
wait
truncated
truncated
signal
at:put:
wait
truncated
truncated
signal
at:put:
wait
truncated
truncated
signal
at:put:
wait
truncated
truncated
signal
at:put:
wait
truncated
truncated
signal
at:put:
wait
truncated
truncated
signal
at:put:
wait
truncated
truncated
signal
at:put:
wait
truncated
truncated
signal
at:put:
wait
truncated
truncated
signal
at:put:
wait
truncated
truncated
signal
at:put:
stringHash:initialHash:
stringHash:initialHash:
basicNew
at:put:
basicNew
at:put:
new:
at:put:
stringHash:initialHash:
basicNew
at:put:
basicNew
basicNew
new:
basicNew
new:
basicNew
new:
at:put:
at:put:
basicNew
at:put:
stringHash:initialHash:
species
basicNew
new:
basicNew
at:put:
signal
wait
primSocketConnectionStatus:
millisecondClockValue
basicNew
wait
signal
millisecondClockValue
at:put:
at:put:
millisecondClockValue
primSignal:atMilliseconds:
millisecondClockValue
wait
basicNew:
wait
truncated
truncated
signal
at:put:
wait
truncated
truncated
signal
at:put:
wait
truncated
truncated
signal
at:put:
wait
truncated
truncated
signal
at:put:
wait
truncated
truncated
signal
at:put:
wait
truncated
truncated
signal
at:put:
wait
truncated
truncated
signal
at:put:
wait
truncated
truncated
signal
at:put:
wait
truncated
truncated
signal
at:put:
wait
truncated
truncated
signal
at:put:
wait
truncated
truncated
signal
at:put:
wait
truncated
truncated
signal
at:put:
wait
truncated
truncated
signal
at:put:
wait
truncated
truncated
signal
at:put:
wait
truncated
truncated
signal
at:put:
wait
truncated
truncated
signal
at:put:
Stack backtrace:
[041B817F] hash + 39 in CogCode
[041EFEF4] findElementOrNil: + 108 in CogCode
[04140DE3] at:ifAbsent: + 107 in CogCode
[0419B5BB] includesKey: + 123 in CogCode
[041B9927] store: + 319 in CogCode
[04140BBE] ensure: + 110 in CogCode
[041B2FD6] critical: + 318 in CogCode
[041484A8] critical: + 272 in CogCode
[04140BBE] ensure: + 110 in CogCode
[04148440] critical: + 168 in CogCode
[041B2F54] critical: + 188 in CogCode
[041B987A] store: + 146 in CogCode
[041D3FED] register: + 149 in CogCode
[041FF5FB] handle:registering: + 99 in CogCode
[041FF3BE] handleDefault: + 126 in CogCode
[041D5B3A] handleFiltered: + 282 in CogCode
[041D1E9E] handleFiltered: + 230 in CogCode
[041CC125] handleFiltered: + 117 in CogCode
[041AFEC7] handleFiltered: + 215 in CogCode
[04142EA1] on:do: + 105 in CogCode
[041D95FB] handleExceptionsDuring: + 123 in CogCode
[041E5B00] handleExceptionsDuring:context: + 112 in CogCode
[041AFE7C] handleFiltered: + 140 in CogCode
[041AF021] handle: + 217 in CogCode
[04142EA1] on:do: + 105 in CogCode
[041AF212] use:during: + 122 in CogCode
[041AF125] push:during: + 229 in CogCode
[04140BBE] ensure: + 110 in CogCode
[041AF0CF] push:during: + 143 in CogCode
[041AEFCA] handle: + 130 in CogCode
[041AF5BF] handleFiltered:named: + 135 in CogCode
[041AF3EA] handleFiltered: + 194 in CogCode
[041AF021] handle: + 217 in CogCode
[04142EA1] on:do: + 105 in CogCode
[041AF212] use:during: + 122 in CogCode
[041AF125] push:during: + 229 in CogCode
[04140BBE] ensure: + 110 in CogCode
[041AF0CF] push:during: + 143 in CogCode
[041AEFCA] handle: + 130 in CogCode
[041AF5BF] handleFiltered:named: + 135 in CogCode
[041AF3EA] handleFiltered: + 194 in CogCode
[041AF021] handle: + 217 in CogCode
[04142EA1] on:do: + 105 in CogCode
[041AF212] use:during: + 122 in CogCode
[041AF125] push:during: + 229 in CogCode
[04140BBE] ensure: + 110 in CogCode
[041AF0CF] push:during: + 143 in CogCode
[041AEFCA] handle: + 130 in CogCode
[041DD639] handleRequest: + 225 in CogCode
[04142EA1] on:do: + 105 in CogCode
[041DD5E6] handleRequest: + 142 in CogCode
[041E0F1B] handle: + 107 in CogCode
[041CBC73] process: + 235 in CogCode
[04140BBE] ensure: + 110 in CogCode
[041CBC27] process: + 159 in CogCode
[041CF94E] answerTo: + 110 in CogCode
[041CF83E] helpResolve: + 206 in CogCode
[041AC4F3] visitResource: + 107 in CogCode
[041D19FF] visitChildrenOf:advancing: + 359 in CogCode
[041487AA] do: + 194 in CogCode
[041D1989] visitChildrenOf:advancing: + 241 in CogCode
[042013AD] resolveTransparentComposite: + 117 in CogCode
[041D3DAB] resolveServerRoot: + 107 in CogCode
[041D17EB] helpResolve: + 107 in CogCode
...
Smalltalk stack dump:
0x27a87c M Dictionary>scanFor: 154273316: a(n) Dictionary
0x27a89c M Dictionary(HashedCollection)>findElementOrNil: 154273316:
a(n) Dictionary
0x27a8c0 M Dictionary>at:ifAbsent: 154273316: a(n) Dictionary
0x27a8e0 M Dictionary>includesKey: 154273316: a(n) Dictionary
0x27a904 M [] in WACache>store: 95899572: a(n) WACache
0x27a924 M BlockClosure>ensure: 154326492: a(n) BlockClosure
0x27a948 M [] in WAMutex>critical: 95899608: a(n) WAMutex
0x27a968 M [] in Semaphore>critical: 95899624: a(n) Semaphore
0x27a988 M BlockClosure>ensure: 154326736: a(n) BlockClosure
0x27a9a8 M Semaphore>critical: 95899624: a(n) Semaphore
0x27a9c8 M WAMutex>critical: 95899608: a(n) WAMutex
0x27a9e8 M WACache>store: 95899572: a(n) WACache
0x27aa04 M WAApplication(WARegistry)>register: 95899412: a(n)
WAApplication
0x27aa20 M WAApplication(WARegistry)>handle:registering: 95899412:
a(n) WAApplication
0x27aa40 M WAApplication>handleDefault: 95899412: a(n) WAApplication
0x27aa6c M WAApplication(WARegistry)>handleFiltered: 95899412: a(n)
WAApplication
0x27aa88 M WAApplication>handleFiltered: 95899412: a(n) WAApplication
0x27aaa4 M WAExceptionFilter(WARequestFilter)>handleFiltered:
95900308: a(n) WAExceptionFilter
0x27aac4 M [] in WAExceptionFilter>handleFiltered: 95900308: a(n)
WAExceptionFilter
0x27aae0 M BlockClosure>on:do: 154324996: a(n) BlockClosure
0x27ab00 M
WAWalkbackErrorHandler(WAExceptionHandler)>handleExceptionsDuring:
154325020: a(n) WAWalkbackErrorHandler
0x27ab1c M WAWalkbackErrorHandler class(WAExceptionHandler
class)>handleExceptionsDuring:context: 95928784: a(n)
WAWalkbackErrorHandler class
0x27ab3c M WAExceptionFilter>handleFiltered: 95900308: a(n)
WAExceptionFilter
0x27ab5c M [] in WAApplication(WARequestHandler)>handle: 95899412:
a(n) WAApplication
0x27ab78 M BlockClosure>on:do: 154324644: a(n) BlockClosure
0x27ab98 M WACurrentRequestContext class(WADynamicVariable
class)>use:during: 93097556: a(n) WACurrentRequestContext class
0x27abbc M [] in WARequestContext>push:during: 154323268: a(n)
WARequestContext
0x27abdc M BlockClosure>ensure: 154324756: a(n) BlockClosure
0x27abf8 M WARequestContext>push:during: 154323268: a(n) WARequestContext
0x27ac18 M WAApplication(WARequestHandler)>handle: 95899412: a(n)
WAApplication
0x27ac34 M WADispatcher>handleFiltered:named: 95560792: a(n) WADispatcher
0x27ac58 M WADispatcher>handleFiltered: 95560792: a(n) WADispatcher
0x27ac78 M [] in WADispatcher(WARequestHandler)>handle: 95560792:
a(n) WADispatcher
0x27ac94 M BlockClosure>on:do: 154324200: a(n) BlockClosure
0x27acb4 M WACurrentRequestContext class(WADynamicVariable
class)>use:during: 93097556: a(n) WACurrentRequestContext class
0x27acd8 M [] in WARequestContext>push:during: 154323268: a(n)
WARequestContext
0x27acf8 M BlockClosure>ensure: 154324312: a(n) BlockClosure
0x27ad14 M WARequestContext>push:during: 154323268: a(n) WARequestContext
0x27ad34 M WADispatcher(WARequestHandler)>handle: 95560792: a(n)
WADispatcher
0x27ad50 M WADispatcher>handleFiltered:named: 95560548: a(n) WADispatcher
0x27ad74 M WADispatcher>handleFiltered: 95560548: a(n) WADispatcher
0x27ad94 M [] in WADispatcher(WARequestHandler)>handle: 95560548:
a(n) WADispatcher
0x27adb0 M BlockClosure>on:do: 154323756: a(n) BlockClosure
0x27add0 M WACurrentRequestContext class(WADynamicVariable
class)>use:during: 93097556: a(n) WACurrentRequestContext class
0x27adf4 M [] in WARequestContext>push:during: 154323268: a(n)
WARequestContext
0x27ae14 M BlockClosure>ensure: 154323868: a(n) BlockClosure
0x27ae30 M WARequestContext>push:during: 154323268: a(n) WARequestContext
0x27ae50 M WADispatcher(WARequestHandler)>handle: 95560548: a(n)
WADispatcher
0x27ae70 M [] in WASwazooAdaptor(WAServerAdaptor)>handleRequest:
134404392: a(n) WASwazooAdaptor
0x27ae8c M BlockClosure>on:do: 154323628: a(n) BlockClosure
0x27aeac M WASwazooAdaptor(WAServerAdaptor)>handleRequest: 134404392:
a(n) WASwazooAdaptor
0x27aec8 M WASwazooAdaptor(WAServerAdaptor)>handle: 134404392: a(n)
WASwazooAdaptor
0x27aeec M [] in WASwazooAdaptor(WAServerAdaptor)>process: 134404392:
a(n) WASwazooAdaptor
0x27af0c M BlockClosure>ensure: 154323496: a(n) BlockClosure
0x27af2c M WASwazooAdaptor(WAServerAdaptor)>process: 134404392: a(n)
WASwazooAdaptor
0x27af48 M WAPluggableSite>answerTo: 134404464: a(n) WAPluggableSite
0x27af64 M WAPluggableSite>helpResolve: 134404464: a(n) WAPluggableSite
0x27af80 M URIResolution>visitResource: 154322524: a(n) URIResolution
0x27afa0 M [] in URIResolution>visitChildrenOf:advancing: 154322524:
a(n) URIResolution
0x27afc0 M OrderedCollection>do: 134406092: a(n) OrderedCollection
0x27afe0 M URIResolution>visitChildrenOf:advancing: 154322524: a(n)
URIResolution
0x27b000 M URIResolution>resolveTransparentComposite: 154322524: a(n)
URIResolution
0x27b01c M URIResolution>resolveServerRoot: 154322524: a(n) URIResolution
0x27b038 M ServerRootComposite>helpResolve: 134406068: a(n)
ServerRootComposite
0x27b054 M URIResolution>visitResource: 154322524: a(n) URIResolution
0x27b070 M URIResolution class>resolveRequest:startingAt: 92855840:
a(n) URIResolution class
0x27b094 M HTTPServer>answerTo: 134405968: a(n) HTTPServer
0x27b0b4 M HTTPConnection>produceResponseFor: 154257060: a(n)
HTTPConnection
0x27b0d0 M HTTPConnection>getAndDispatchMessages 154257060: a(n)
HTTPConnection
0x27b0e8 M [] in HTTPConnection>interact 154257060: a(n) HTTPConnection
0x27b104 M BlockClosure>on:do: 154313928: a(n) BlockClosure
0x27b124 M [] in HTTPConnection>interact 154257060: a(n) HTTPConnection
0x27b144 M BlockClosure>ifCurtailed: 154313804: a(n) BlockClosure
0x27b160 M [] in HTTPConnection>interact 154257060: a(n) HTTPConnection
0x27b180 I [] in BlockClosure>newProcess 154257200: a(n) BlockClosure
Am 17.11.2011 07:30, schrieb Sven Van Caekenberghe:
> Marten,
>
> On 17 Nov 2011, at 00:05, Marten Feldtmann wrote:
>
>> I posted some info how to crash the newest Pharo with Seaside under heavy traffic.
>> Just do not know, where to leave that information:
>>
>>
>> http://schrievkrom.wordpress.com/2011/11/16/stress-test-for-seaside/
>
> I already saw your blog post about this and thought of leaving a comment.
>
> It is tempting and seems to make sense to do this kind of benchmark or load testing. I have been there myself.
>
> However, benchmarking Seaside is difficult (you are essentially testing session creation speed).
> Actual performance depends on many factors such as the adaptor, image, vm and OS being used.
>
> Please search the Seaside and/or Pharo mailing lists for more information.
>
> You have to believe that it is possible to get good real life production performance, it is sometimes just a bit more difficult than starting an image and hitting it hard.
>
> Sven
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
More information about the seaside
mailing list