[Seaside] VM freezes; how to find the cause?

Bahman Movaqar Bahman at BahmanM.com
Mon May 27 03:30:55 UTC 2013


On 2013-05-26 14:30, Bahman Movaqar wrote:
> Hi all,
> 
> First of all, I'm new to Smalltalk and Seaside so please bear with if
> I've got a naive problem.
> 
> I'm following Seaside tutorial
> (http://www.hpi.uni-potsdam.de/hirschfeld/seaside/tutorial) on Pharo. 
> At the end of chapter 4
> (http://www.hpi.uni-potsdam.de/hirschfeld/seaside/tutorial?_s=AUBiOz9XdOrP9E6O&_k=KG-uwEpv1DslDNOD),
> whenever I try to visit the `/todo' URL the whole VM freezes leaving me
> with force-close'ing as the only way.
> 
> I have two questions:
> 1.  Obviously I'm doing something wrong in the code.  Is there any
> profiler tool that I can use to trace the problem?  With current
> situation there's absolutely no way (that I'm aware of) to find out the
> bad code.
> 2.  Is it normal that the whole VM becomes unresponsive?  I wonder how
> to prevent this in a production environment?

I have attached the full stack trace of the frozen VM (Oops! Image :-)
).  Please note that `StRootComponent' is the component I've coded and
most probably the root of all evil.

-- 
Bahman Movaqar  (http://BahmanM.com)
ERP Evaluation, Implementation, Deployment Consultant
-------------- next part --------------
WAToolDecoration(WADecoration)>>accept:
WAInitialRequestVisitor(WAVisitor)>>visit:
WAAllPresenterGuide(WAPresenterGuide)>>visitPainter:
WAAllPresenterGuide(WAPainterVisitor)>>visitPresenter:
WAAllPresenterGuide(WAVisiblePresenterGuide)>>visitPresenter:
WAAllPresenterGuide(WAPainterVisitor)>>visitDecoration:
WAAllPresenterGuide(WAVisiblePresenterGuide)>>visitDecoration:
WAToolDecoration(WADecoration)>>accept:
WAAllPresenterGuide(WAPainterVisitor)>>visitDecorationsOfComponent:
StRootComponent(WAComponent)>>acceptDecorated:
WAAllPresenterGuide(WAPresenterGuide)>>visit:
WAAllPresenterGuide(WAVisiblePresenterGuide)>>visitPresenter: in Block: [:each | self visit: each]
StRootComponent(WAPresenter)>>childrenDo: in Block: [:each | each isNil...
Array(SequenceableCollection)>>do:
StRootComponent(WAPresenter)>>childrenDo:
WAAllPresenterGuide(WAVisiblePresenterGuide)>>visitPresenter:
WAAllPresenterGuide(WAPainterVisitor)>>visitComponent:
StRootComponent(WAComponent)>>accept:
WAAllPresenterGuide(WAVisiblePresenterGuide)>>visitDecoration:
WAToolDecoration(WADecoration)>>accept:
WAAllPresenterGuide(WAPainterVisitor)>>visitDecorationsOfComponent:
StRootComponent(WAComponent)>>acceptDecorated:
WAAllPresenterGuide(WAPresenterGuide)>>visit:
WAAllPresenterGuide(WAVisiblePresenterGuide)>>visitPresenter: in Block: [:each | self visit: each]
StRootComponent(WAPresenter)>>childrenDo: in Block: [:each | each isNil...
Array(SequenceableCollection)>>do:
StRootComponent(WAPresenter)>>childrenDo:
WAAllPresenterGuide(WAVisiblePresenterGuide)>>visitPresenter:
WAAllPresenterGuide(WAPainterVisitor)>>visitComponent:
StRootComponent(WAComponent)>>accept:


More information about the seaside mailing list