Cyril SCETBON wrote:
> Hi people,
>
> I get this error message int error.log when I try to access a perl
> script which exists or not.
>
> I've turned on trace messages in mod_perl and here is my error.log :
>
> [Sun Oct 08 17:19:39 2006] [notice] Apache/2.0.55 (Ubuntu)
> mod_ssl/2.0.55 OpenSSL/0.9.8a mod_perl/2.0.2 Perl/v5.8.7 configured --
> resuming normal operations
> modperl_filter_add_connection: no InputFilter handlers configured
> (connection)
>
> modperl_filter_add_connection: no OutputFilter handlers configured
> (connection)
>
> modperl_callback_run_handlers: no PerlPreConnectionHandler handlers
> configured ()
>
> modperl_callback_run_handlers: no PerlProcessConnectionHandler handlers
> configured ()
>
> modperl_config_req_new: 0x8168440
>
> modperl_callback_run_handlers: no PerlPostReadRequestHandler handlers
> configured (/tmp/test.pl)
>
> modperl_config_dir_new: new dcfg: 0x8172388
>
> modperl_config_dir_merge: basev==0x81a44a8, addv==0x8150380, mrg==0x8172388
>
> modperl_callback_run_handlers: no PerlTransHandler handlers configured
> (/tmp/test.pl)
>
> modperl_callback_run_handlers: no PerlMapToStorageHandler handlers
> configured (/tmp/test.pl)
>
> modperl_config_dir_new: new dcfg: 0x81732f0
>
> modperl_config_dir_merge: basev==0x81a44a8, addv==0x8150380, mrg==0x81732f0
>
> modperl_callback_run_handlers: no PerlHeaderParserHandler handlers
> configured (/tmp/test.pl)
>
> modperl_callback_run_handlers: no PerlAccessHandler handlers configured
> (/tmp/test.pl)
>
> modperl_callback_run_handlers: no PerlTypeHandler handlers configured
> (/tmp/test.pl)
>
> modperl_callback_run_handlers: no PerlFixupHandler handlers configured
> (/tmp/test.pl)
>
> modperl_filter_add_request: no OutputFilter handlers configured
> (/tmp/test.pl)
>
> modperl_filter_add_request: no InputFilter handlers configured
> (/tmp/test.pl)
>
> modperl_interp_select: scope is per-request
>
> modperl_tipool_pop: about to lock tipool in thread 0xb77f3bb0
>
> modperl_tipool_pop: acquired tipool lock
>
> modperl_tipool_pop: about to unlock tipool in thread 0xb77f3bb0
>
> modperl_tipool_pop: released tipool lock
>
> modperl_interp_get: head == 0x84770a0, parent == 0x82287b0
>
> modperl_interp_get: selected 0x8253fe0 (perl==0x822a4b8)
>
> modperl_interp_get: thread == 0xb77f3bb0
>
> modperl_interp_select: set interp 0x8253fe0 in request_rec pool
> 0x81677c8 (main request for /tmp/test.pl)
>
> modperl_env_request_populate:
> [28464/3078568880/0x822a4b8/localhost.localdomain:80/tmp/test.pl]
> @ENV{keys r->subprocess_env} = values r->subprocess_env;
> modperl_env_table_populate: $ENV{HTTP_HOST} = "127.0.0.1";
> modperl_env_table_populate: $ENV{HTTP_ACCEPT} = "text/html, text/plain,
> application/x-java-jnlp-file, application/vnd.sun.xml.calc,
> application/vnd.sun.xml.calc.template, application/vnd.sun.xml.draw,
> application/vnd.sun.xml.draw.template, application/vnd.sun.xml.impress,
> application/vnd.sun.xml.impress.template,
> application/vnd.sun.xml.writer, application/vnd.sun.xml.writer.global,
> application/vnd.sun.xml.writer.template, application/pdf,
> application/postscript, application/x-bzip,
> application/x-bzip-compressed-tar, application/x-compress,
> application/x-compressed-tar, application/x-gzip,
> application/x-java-archive, application/x-stuffit, application/x-tar,
> application/zip, text/xml, application/x-troff-man, image/avs,
> image/bie, image/x-ms-bmp, image/cmyk, image/dcx, image/eps, image/fax,
> image/fits, image/gif, image/gray, image/jpeg, image/pjpeg, image/miff,
> image/mono, image/mtv, image/x-portable-bitmap, image/pcd, image/pcx,
> image/pdf, image/x-portable-graymap, image/pict, image/png,
> image/x-portable-anymap, image/x-portable-pixmap, image/ps, image/rad,
> image/x-rgb, image/rgba, image/rla, image/rle, image/sgi,
> image/sun-raster, image/targa, image/tiff, image/uyvy, image/vid,
> image/viff, image/x-xbitmap, image/x-xpixmap, image/x-xwindowdump,
> image/x-icon, image/yuv, application/vnd.oasis.opendocument.database,
> application/vnd.oasis.opendocument.spreadsheet,
> application/vnd.oasis.opendocument.spreadsheet-template,
> application/vnd.oasis.opendocument.chart,
> application/vnd.stardivision.calc, application/vnd.stardivision.chart,
> application/vnd.oasis.opendocument.graphics,
> application/vnd.oasis.opendocument.graphics-template,
> application/vnd.stardivision.draw,
> application/vnd.oasis.opendocument.presentation,
> application/vnd.oasis.opendocument.presentation-template,
> application/vnd.stardivision.impress,
> application/vnd.oasis.opendocument.formula,
> application/vnd.stardivision.math,
> application/vnd.oasis.opendocument.text,
> application/vnd.oasis.opendocument.text-template,
> application/vnd.oasis.opendocument.text-web,
> application/vnd.oasis.opendocument.text-master,
> application/vnd.stardivision.writer-global,
> application/vnd.stardivision.writer, application/x-ogg, application/ogg,
> audio/x-mp3, audio/x-scpls, audio/x-mpeg, audio/mpeg, audio/x-mpegurl,
> application/x-flac, application/x-gtar, audio/mpegurl, audio/x-ogg,
> application/msexcel, application/vnd.ms-excel, application/x-msexcel,
> application/mspowerpoint, application/vnd.ms-powerpoint,
> application/x-mspowerpoint, application/msword, application/vnd.ms-word,
> application/rtf, text/rtf, application/x-msword,
> application/wordperfect, application/wordperfect5.1,
> application/vnd.wordperfect, audio/x-wav, audio/basic, audio/x-aiff,
> audio/x-flac, text/*, application/x-debian-package, video/mpeg,
> */*;q=0.01";
> modperl_env_table_populate: $ENV{HTTP_ACCEPT_ENCODING} = "gzip, compress";
> modperl_env_table_populate: $ENV{HTTP_ACCEPT_LANGUAGE} = "en";
> modperl_env_table_populate: $ENV{HTTP_USER_AGENT} = "Lynx/2.8.5rel.1
> libwww-FM/2.14 SSL-MM/1.4.1 GNUTLS/1.2.9";
> modperl_env_table_populate: $ENV{PATH} = "/usr/local/bin:/usr/bin:/bin";
> modperl_env_table_populate: $ENV{SERVER_SIGNATURE} =
> "
Apache/2.0.55 (Ubuntu) mod_ssl/2.0.55 OpenSSL/0.9.8a
> mod_perl/2.0.2 Perl/v5.8.7 Server at 127.0.0.1 Port 80

> ";
> modperl_env_table_populate: $ENV{SERVER_SOFTWARE} = "Apache/2.0.55
> (Ubuntu) mod_ssl/2.0.55 OpenSSL/0.9.8a mod_perl/2.0.2 Perl/v5.8.7";
> modperl_env_table_populate: $ENV{SERVER_NAME} = "127.0.0.1";
> modperl_env_table_populate: $ENV{SERVER_ADDR} = "127.0.0.1";
> modperl_env_table_populate: $ENV{SERVER_PORT} = "80";
> modperl_env_table_populate: $ENV{REMOTE_ADDR} = "127.0.0.1";
> modperl_env_table_populate: $ENV{DOCUMENT_ROOT} = "/var/www";
> modperl_env_table_populate: $ENV{SERVER_ADMIN} = "webmaster@localhost";
> modperl_env_table_populate: $ENV{SCRIPT_FILENAME} = "/var/www/tmp/test.pl";
> modperl_env_table_populate: $ENV{REMOTE_PORT} = "3469";
> modperl_env_table_populate: $ENV{GATEWAY_INTERFACE} = "CGI/1.1";
> modperl_env_table_populate: $ENV{SERVER_PROTOCOL} = "HTTP/1.0";
> modperl_env_table_populate: $ENV{REQUEST_METHOD} = "GET";
> modperl_env_table_populate: $ENV{QUERY_STRING} = "";
> modperl_env_table_populate: $ENV{REQUEST_URI} = "/tmp/test.pl";
> modperl_env_table_populate: $ENV{SCRIPT_NAME} = "/tmp/test.pl";
> modperl_io_perlio_override_stdin: start
> PerlIOApache_pushed: stored request_rec obj: 0x8167800
> PerlIOApache_open: mode r
> PerlIOApache_fileno: did nothing
> modperl_io_perlio_override_stdin: end
>
> modperl_io_perlio_override_stdout: start
> PerlIOApache_pushed: stored request_rec obj: 0x8167800
> PerlIOApache_open: mode w
> PerlIOApache_fileno: did nothing
> modperl_io_perlio_override_stdout: end
>
> modperl_interp_select: scope is per-request
>
> modperl_interp_select: found interp 0x8253fe0 in request_rec pool
> 0x81677c8 (main request for /tmp/test.pl)
>
> modperl_ptr2obj: sv_setref_pv(Apache2::RequestRec, 0x8167800)
>
> modperl_callback_run_handlers: [28464/3078568880] running 1
> PerlResponseHandler handlers
>
> modperl_handler_dup: dup handler ModPerl::Registry
>
> modperl_handler_new: [28464/3078568880] new handler ModPerl::Registry
>
> MpHandler flags dump (ModPerl::Registry):
> Anon Off
> Autoload Off
> Dynamic Off
> Fake Off
> Method Off
> Object Off
> Parsed Off
> modperl_handler_resolve: [28464/3078568880 localhost.localdomain:80]
> handler ModPerl::Registry hasn't yet been resolved, attempting to
> resolve using current pool 0x81677c8
>
> modperl_mgv_resolve: package ModPerl::Registry not in %INC, attempting
> to load it
>
> modperl_mgv_resolve: loaded ModPerl::Registry package
>
> modperl_mgv_resolve: [28464/3078568880] found `handler' in class
> `ModPerl::Registry' as a method
>
> [Sun Oct 08 17:19:55 2006] [notice] child pid 28464 exit signal
> Segmentation fault (11)
> modperl_perl_ids_get: pid=28487, ppid=28460, uid=33, euid=33, gid=33,
> egid=-1
>
> modperl_callback_run_handlers: no PerlChildInitHandler handlers
> configured ()
>
>
> Any idea ?
>
>

Anyone ?