Jack-

If no one has responded to you yet on this, we apologize.

Can you give a little more info on when the segfault occurs?  Does
everything run fine, and then once in a while when you are updating a
psp file, and the AppServer goes to reparse it, it crashes?

I see that all your content is delivered through PSP, but if you were
using regular servlets, would it happen if you edited those?  Can you
test that?

We may need you to add some debug prints here and there.

Also, what release of Webware are you using?  5.1 RC3 or CVS?  (By the
way, I changed the parameter name for the psp:include function in cvs,
instead of file=, it takes path=. This was done to allow the server to
use an internal forward to fully process any URLs.  The old
functionality is now in psp:insert)

Any additional info would help.

Jay


On 02 Jul 2001 20:00:40 -0600, Jack Moffitt wrote:
> I just launched www.vorbis.com which I have written using Webware.
> 
> I'm having segfaults on psp compiles though, seemingly sporadic, but
> nevertheless happening often enough to be discouraging.
> 
> I have zipped up the code, which you can find here:
> 
> http://www.vorbis.com/vorbiscode.tar.gz
> 
> I have a directory /www/www.vorbis.com
> 
> in it, are site and code.  code is in the pythonpath when I start
> webware, and apache points to ./site as the docroot.  My VirtualHost
> looks like this:
> 
> <VirtualHost 207.181.249.5>
>     ServerAdmin [EMAIL PROTECTED]
>     DocumentRoot /www/www.vorbis.com/site
>     ServerName www.vorbis.com
>     ServerAlias vorbis.com
>     ErrorLog logs/www.vorbis.com-error_log
>     CustomLog logs/www.vorbis.com-access_log combined
> 
>     AddType text/psp .psp
>     AddHandler psp-handler .psp
> </VirtualHost>
> 
> 
> And the only change to webware was a bugfix to Application.py that lets
> index.psp work (this is discussed in a thread on webware-discuss).  The
> segfault happens with or without that change.
> 
> You can find a database snapshot at http://www.vorbis.com/vorbis.sql, if
> you need it.
> 
> Thanks very much for any assistance you can provide.
> 
> jack.
> 
> ps, i've reproduced this on two redhat 7.0 boxen.  and both are i386.
> one is dual cpu, one is uniprocessor.  using python 2.1, with psycopg
> 0.99.4, and postgresql 7.1.2.
> 
> _______________________________________________
> Webware-devel mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/webware-devel



_______________________________________________
Webware-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/webware-devel

Reply via email to