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

Bahman Movaqar Bahman at BahmanM.com
Sun May 26 10:30:33 UTC 2013


Hi Johan,

As I said, I'm using Pharo (2.0).  And yes, I just tried putting `self
halt' and the beginning of the `renderContentOn:' and the result was the
same.

This means that something is going wrong in the `initialize' method, right?

Thanks,

--
Bahman Movaqar  (http://BahmanM.com)
ERP Evaluation, Implementation, Deployment Consultant

On 2013-05-26 14:55, Johan Brichau wrote:
> Hi Bahman,
>
> Can you tell us which Smalltalk and which version you are using? Squeak or Pharo or ??
>
> Have you tried putting a 'self halt' in the renderContentOn: method of your todo app?
>
> best regards,
> Johan
>
> On 26 May 2013, at 12:00, Bahman Movaqar <Bahman at BahmanM.com> 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?
>>
>> TIA,
>>
>> -- 
>> Bahman Movaqar  (http://BahmanM.com)
>> ERP Evaluation, Implementation, Deployment Consultant
>>
>> _______________________________________________
>> seaside mailing list
>> seaside at lists.squeakfoundation.org
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>



More information about the seaside mailing list