>
> What happens is this: I restart apache. Some pages work, some result in
> segfault. After clicking around for a while the pages that resulted in
> segfaults suddenly work. This might or might not be related to the
following
> message in the error log:
>
> Attempt to free unreferenced scalar at /var/www/92/base.epl line 22.
>
This shouldn't happen :-(
> This line contains this:
> my $obj = Execute( { 'object' => "$ENV{DOCUMENT_ROOT}/$file", 'import' =>
0});
>
Could you try without the import => 0 (it's not necessary here)
> Very confusing... How would I go about debugging this?
>
run
perl Makefile.PL debug
make install
now you have debugging symbols in your Embperl binary. You can now start
Apache under gdb (with -X for single process mode), something like
gdb /usr/sbin/httpd
set args -f /path/to/httpd.conf -X
r
do your requests...., then the segfault should happen., make a
BT
and send the output to me
Gerald
-------------------------------------------------------------
Gerald Richter ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting
Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz
E-Mail: [EMAIL PROTECTED] Voice: +49 6133 925131
WWW: http://www.ecos.de Fax: +49 6133 925152
-------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]