> If no one has responded to you yet on this, we apologize.
I talked to Chuck briefly about it and posted it on discuss. It's not
super-critical, as once the site is up and running for a bit, things
seem fine, although it did segfault after a few days, but someone
probably just hit a psp that hadn't been hit before.
> 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?
Most of the time things run fine. During development of the site, it
was crashing quite often. Granted, I was tearing down the server
between changes to .py modules, so I was probably making it recompile
things quite often.
In any case, it seems weird that python would segfault at all :)
It always happens when a psp file is being compiled. I dont' remember
offhand if it finishes compiling or not. The long wait time I reported
is actually huge core files getting dumped to disk.
> 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?
Afaict, webware is set not to recopmile servlets by default. I didn't
realize this was an option until after I finished coding the site. I do
have to make another site in the next week or so, using almost exactly
the same code, so I'll be sure to keep an eye out.
> We may need you to add some debug prints here and there.
Just point where :) I was able to reproduce this on another box with a
much cleaner installation of everything (it's a production server). You
should be able to reproduce this locally with the files I've made
available :) But let me know if there's anything I can do faster to get
you more info.
> 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)
RC3, but with a few patches. mostly one that fixes / picking up
/index.psp, which you'll see a description of on webware-discuss from
last week or so. Minor change, should have no ill global effects.
Other than that it's stock rc3. Should I try cvs and see if that helps?
Just for my own curiosity, what exactly could make python segfault, if
not bad C modules? Since webware has no c modules except for mod_webkit
(and mod_webkit is not segfaulting) I'm at a loss as to where this would
occur. maybe in the native class loader? Is it more likely this is a
python2.1 bug and not a webware issue?
jack.
_______________________________________________
Webware-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/webware-devel