> at the top of every page I have the following:
>
> [- Execute({inputfile => '/usr/local/apache/share/GWCe.htm',
> mtime => 1, import
> => 1}); -]
Using the mtime parameters together with an file may lead to problems, when
the file changes, while the httpd is running, but this is another story and
not the problem we are searching for...
> [- ordpag(); exit if $GWCe::xitflg; -]
>
I would like to see if $$req_rec (note the two $$), has the same value in
the page and in your subs. Could you add something like
warn "req_rec=$$req_rec" inside your script and inside the subs, then, when
the Segfault occurs, look in the Apache error log if the value has changed
between the page and the sub.
> I was thinking that one way out of this problem would be to put
> the following at the top of every page:
> [- Execute({inputfile => '/usr/local/apache/share/GWCe.htm',
> mtime => 1, import
> => 1}); -]
> [- ordpag($req_rec); exit if $GWCe::xitflg; -]
>
This may solve your problem, you can give it a try.
Gerald