On Tuesday 13 March 2007 10:05, Torsten Foertsch wrote: > PerlInterpScope handler
I have had it run with "PerlTrace all" set. The xx attachment shows what happens at the first run without segfault. yy shows the output with a segfault. Obviously it dies after or in modperl_module_config_obj_cleanup but before modperl_tipool_putback_base. Does that ring any bells? Torsten
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: 0x8320ce8 modperl_callback_run_handlers: no PerlPostReadRequestHandler handlers configured (/xxx) modperl_config_dir_new: new dcfg: 0x8321198 modperl_config_dir_merge: basev==0x80fef50, addv==0x81f8b80, mrg==0x8321198 modperl_callback_run_handlers: no PerlTransHandler handlers configured (/xxx) modperl_callback_run_handlers: no PerlMapToStorageHandler handlers configured (/xxx) modperl_config_dir_new: new dcfg: 0x842d1d0 modperl_config_dir_merge: basev==0x80fef50, addv==0x81f8b80, mrg==0x842d1d0 modperl_callback_run_handlers: no PerlHeaderParserHandler handlers configured (/xxx) modperl_callback_run_handlers: no PerlAccessHandler handlers configured (/xxx) modperl_callback_run_handlers: no PerlTypeHandler handlers configured (/xxx) modperl_interp_select: scope is per-handler modperl_tipool_pop: about to lock tipool in thread 0xb6f88b90 modperl_tipool_pop: acquired tipool lock modperl_tipool_pop: about to unlock tipool in thread 0xb6f88b90 modperl_tipool_pop: released tipool lock modperl_interp_get: head == 0x81a93b8, parent == 0x8395c40 modperl_interp_get: selected 0x82140d8 (perl==0x8227a80) modperl_interp_get: thread == 0xb6f88b90 modperl_ptr2obj: sv_setref_pv(Apache2::RequestRec, 0x831f9c8) modperl_env_configure_request_srv: [12103/3069741968/0x8227a80/localhost:8529] @ENV{keys scfg->PassEnv} = values scfg->PassEnv; modperl_env_table_populate: $ENV{PATH} = "/home/r2/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/usr/lib/jvm/jre/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin"; modperl_callback_run_handlers: [12103/3069741968] running 1 PerlFixupHandler handlers MpHandler flags dump (anon1): Anon On Autoload Off Dynamic Off Fake Off Method Off Object Off Parsed On modperl_handler_anon_get: anonsub gets name 'anon1' modperl_tipool_pop: about to lock tipool in thread 0xb6f88b90 modperl_tipool_pop: acquired tipool lock modperl_tipool_pop: about to unlock tipool in thread 0xb6f88b90 modperl_tipool_pop: released tipool lock modperl_interp_get: head == 0x82c7cf8, parent == 0x8395c40 modperl_interp_get: selected 0x834f828 (perl==0x834f848) modperl_interp_get: thread == 0xb6f88b90 modperl_interp_pool_select: set interp in request time pool 0x831f990 modperl_module_config_create_obj: (null) cfg=0x8430790 for TestConfig.TestHandlerConfig modperl_module_cmd_take123: found per-dir obj=0x8305b14 for TestConfig.TestHandlerConfig modperl_module_config_create_obj: (null) cfg=0x81f7dd0 for TestConfig.TestHandlerConfig modperl_module_cmd_take123: found per-srv obj=0x8305b2c for TestConfig.TestHandlerConfig modperl_ptr2obj: sv_setref_pv(Apache2::CmdParms, 0xb6f87ddc) modperl_interp_pool_select: found interp in request time pool 0x831f990 modperl_callback_run_handlers: callback 'anon1' returned 0 modperl_callback_run_handlers: no PerlCleanupHandler handlers configured (/xxx) modperl_tipool_putback_base: about to lock tipool in thread 0xb6f88b90 modperl_tipool_putback_base: acquired tipool lock modperl_tipool_putback_base: 0x82140d8 now available (1 in use, 3 running) modperl_tipool_putback_base: about to unlock tipool in thread 0xb6f88b90 modperl_tipool_putback_base: released tipool lock modperl_filter_add_request: no OutputFilter handlers configured (/xxx) modperl_filter_add_request: no InputFilter handlers configured (/xxx) modperl_interp_select: scope is per-handler modperl_interp_select: found interp 0x834f828 in request_rec pool 0x831f990 (main request for /xxx) modperl_interp_select: scope is per-handler modperl_interp_select: found interp 0x834f828 in request_rec pool 0x831f990 (main request for /xxx) modperl_ptr2obj: sv_setref_pv(Apache2::RequestRec, 0x831f9c8) modperl_callback_run_handlers: [12103/3069741968] running 1 PerlResponseHandler handlers MpHandler flags dump (TestConfig): Anon Off Autoload Off Dynamic Off Fake Off Method Off Object Off Parsed On mpxs_Apache2__RequestRec_print: 3 bytes [OK ] modperl_callback_run_handlers: callback 'TestConfig' returned 0 modperl_wbucket_pass: write out: 3b [OK ] from response handler to byterange filter handler modperl_callback_run_handlers: no PerlLogHandler handlers configured (/xxx) modperl_interp_select: scope is per-handler modperl_interp_select: found interp 0x834f828 in request_rec pool 0x831f990 (main request for /xxx) modperl_callback_run_handlers: no PerlCleanupHandler handlers configured (/xxx) modperl_module_config_obj_cleanup: deleting ptr 0x81f7dd0 from table 0x8321a58 modperl_module_config_obj_cleanup: deleting ptr 0x8430790 from table 0x8321a58 modperl_tipool_putback_base: about to lock tipool in thread 0xb6f88b90 modperl_tipool_putback_base: acquired tipool lock modperl_tipool_putback_base: all items idle: interp_pool_dump: listp==0x82c7cf8, interp==0x834f828, requests=0 interp_pool_dump: listp==0x81a93b8, interp==0x82140d8, requests=1 interp_pool_dump: listp==0x825e700, interp==0x81196c0, requests=0 modperl_tipool_putback_base: 0x834f828 now available (0 in use, 3 running) modperl_tipool_putback_base: about to unlock tipool in thread 0xb6f88b90 modperl_tipool_putback_base: released tipool lock modperl_config_req_new: 0x842da88
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: 0x8437aa8 modperl_callback_run_handlers: no PerlPostReadRequestHandler handlers configured (/xxx) modperl_config_dir_new: new dcfg: 0x8437f58 modperl_config_dir_merge: basev==0x80fef50, addv==0x81f8b80, mrg==0x8437f58 modperl_callback_run_handlers: no PerlTransHandler handlers configured (/xxx) modperl_callback_run_handlers: no PerlMapToStorageHandler handlers configured (/xxx) modperl_config_dir_new: new dcfg: 0x8320430 modperl_config_dir_merge: basev==0x80fef50, addv==0x81f8b80, mrg==0x8320430 modperl_callback_run_handlers: no PerlHeaderParserHandler handlers configured (/xxx) modperl_callback_run_handlers: no PerlAccessHandler handlers configured (/xxx) modperl_callback_run_handlers: no PerlTypeHandler handlers configured (/xxx) modperl_interp_select: scope is per-handler modperl_tipool_pop: about to lock tipool in thread 0xb6f88b90 modperl_tipool_pop: acquired tipool lock modperl_tipool_pop: about to unlock tipool in thread 0xb6f88b90 modperl_tipool_pop: released tipool lock modperl_interp_get: head == 0x82c7cf8, parent == 0x8395c40 modperl_interp_get: selected 0x834f828 (perl==0x834f848) modperl_interp_get: thread == 0xb6f88b90 modperl_ptr2obj: sv_setref_pv(Apache2::RequestRec, 0x8436788) modperl_env_configure_request_srv: [12103/3069741968/0x834f848/localhost:8529] @ENV{keys scfg->PassEnv} = values scfg->PassEnv; modperl_env_table_populate: $ENV{PATH} = "/home/r2/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/usr/lib/jvm/jre/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin"; modperl_callback_run_handlers: [12103/3069741968] running 1 PerlFixupHandler handlers MpHandler flags dump (anon1): Anon On Autoload Off Dynamic Off Fake Off Method Off Object Off Parsed On modperl_handler_anon_get: anonsub gets name 'anon1' modperl_tipool_pop: about to lock tipool in thread 0xb6f88b90 modperl_tipool_pop: acquired tipool lock modperl_tipool_pop: about to unlock tipool in thread 0xb6f88b90 modperl_tipool_pop: released tipool lock modperl_interp_get: head == 0x81a93b8, parent == 0x8395c40 modperl_interp_get: selected 0x82140d8 (perl==0x8227a80) modperl_interp_get: thread == 0xb6f88b90 modperl_interp_pool_select: set interp in request time pool 0x8436750 modperl_module_config_create_obj: (null) cfg=0x8430790 for TestConfig.TestHandlerConfig modperl_module_cmd_take123: found per-dir obj=0x818e234 for TestConfig.TestHandlerConfig modperl_module_config_create_obj: (null) cfg=0x81f7dd0 for TestConfig.TestHandlerConfig modperl_module_cmd_take123: found per-srv obj=0x818e294 for TestConfig.TestHandlerConfig modperl_ptr2obj: sv_setref_pv(Apache2::CmdParms, 0xb6f87ddc) modperl_interp_pool_select: found interp in request time pool 0x8436750 modperl_callback_run_handlers: callback 'anon1' returned 0 modperl_callback_run_handlers: no PerlCleanupHandler handlers configured (/xxx) modperl_tipool_putback_base: about to lock tipool in thread 0xb6f88b90 modperl_tipool_putback_base: acquired tipool lock modperl_tipool_putback_base: 0x834f828 now available (1 in use, 3 running) modperl_tipool_putback_base: about to unlock tipool in thread 0xb6f88b90 modperl_tipool_putback_base: released tipool lock modperl_filter_add_request: no OutputFilter handlers configured (/xxx) modperl_filter_add_request: no InputFilter handlers configured (/xxx) modperl_interp_select: scope is per-handler modperl_interp_select: found interp 0x82140d8 in request_rec pool 0x8436750 (main request for /xxx) modperl_interp_select: scope is per-handler modperl_interp_select: found interp 0x82140d8 in request_rec pool 0x8436750 (main request for /xxx) modperl_ptr2obj: sv_setref_pv(Apache2::RequestRec, 0x8436788) modperl_callback_run_handlers: [12103/3069741968] running 1 PerlResponseHandler handlers MpHandler flags dump (TestConfig): Anon Off Autoload Off Dynamic Off Fake Off Method Off Object Off Parsed On mpxs_Apache2__RequestRec_print: 3 bytes [OK ] modperl_callback_run_handlers: callback 'TestConfig' returned 0 modperl_wbucket_pass: write out: 3b [OK ] from response handler to byterange filter handler modperl_callback_run_handlers: no PerlLogHandler handlers configured (/xxx) modperl_interp_select: scope is per-handler modperl_interp_select: found interp 0x82140d8 in request_rec pool 0x8436750 (main request for /xxx) modperl_callback_run_handlers: no PerlCleanupHandler handlers configured (/xxx) modperl_module_config_obj_cleanup: deleting ptr 0x81f7dd0 from table 0x8322b68 modperl_module_config_obj_cleanup: deleting ptr 0x8430790 from table 0x8322b68 modperl_perl_ids_get: pid=12268, ppid=12102, uid=1000, euid=1000, gid=100, egid=100 modperl_callback_run_handlers: no PerlChildInitHandler handlers configured ()
pgpUDnq778Ta6.pgp
Description: PGP signature