Swazoo, Seaside and gst

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Swazoo, Seaside and gst

Nicolas Petton
Hi,

Since a couple of days, I try to fix a bug with multipart forms in
Swazoo port of gst. I already tried some time ago but I finally gave up.

From my point of view (a squeaker ;)) one strange thing is that adding a
halt at any place of a request processing in Swazoo makes gst crash.

Is there a reason for this? What is the best way to debug it then?

I also saw that seaside request processing runs inside an exception
block.


Thanks,

Nico
--
Nicolas Petton
http://nico.aidaweb.si
            ___
          ooooooo
         OOOOOOOOO
        |Smalltalk|
         OOOOOOOOO
          ooooooo
           \   /
            [|]
--------------------------------
Ma clé PGP est disponible ici :
http://nico.aidaweb.si/pgp-key.html

_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk

signature.asc (204 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Swazoo, Seaside and gst

Paolo Bonzini-2
> From my point of view (a squeaker ;)) one strange thing is that adding a
> halt at any place of a request processing in Swazoo makes gst crash.

I don't know... Does it spit out a backtrace?

> Is there a reason for this? What is the best way to debug it then?

printNl works great. :-)

> I also saw that seaside request processing runs inside an exception
> block.

That's the same as upstream Seaside, I didn't change anything.

Paolo


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Swazoo, Seaside and gst

Nicolas Petton
In reply to this post by Nicolas Petton
I finally found a way to see the backtrace!

gst-remote -I nico.im --server --start=Seaside

Now gst doesn't crash and show the error :)
(BTW, what's the difference with starting seaside by hand? Why doesn't
it crash now?)

So, there was a very small bug in SwazooBuffer, see the attached patch.
The Seaside multiform functional test still doesn't work (the response
doesn't have _s and _k fields) but at least it doesn't crash.

I'll try to see what's the problem now :)

Cheers!

Nico

Le samedi 07 février 2009 à 15:43 +0100, Paolo Bonzini a écrit :
> > From my point of view (a squeaker ;)) one strange thing is that
adding a

> > halt at any place of a request processing in Swazoo makes gst crash.
>
> I don't know... Does it spit out a backtrace?
>
> > Is there a reason for this? What is the best way to debug it then?
>
> printNl works great. :-)
>
> > I also saw that seaside request processing runs inside an exception
> > block.
>
> That's the same as upstream Seaside, I didn't change anything.
>
> Paolo

_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk

HTTP_signsOfBoundaryFix.patch (106 bytes) Download Attachment
signature.asc (204 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Swazoo, Seaside and gst

Paolo Bonzini-2
great, thanks!

2009/2/7 nico <[hidden email]>:
> I finally found a way to see the backtrace!
>
> gst-remote -I nico.im --server --start=Seaside

Can you say exactly what you had to do to reproduce the crash?

Paolo


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk