perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Beau E. Cox" <b...@beaucox.com>
Subject Re: Segfaults
Date Tue, 27 Apr 2004 07:38:19 GMT
On Monday 26 April 2004 06:04 pm, Gerald Richter wrote:
> > Program received signal SIGSEGV, Segmentation fault.
> > [Switching to Thread 16384 (LWP 5447)]
> > 0x40575711 in S_hv_fetch_common (my_perl=0x84bc198, hv=0x88dade8,
>
> keysv=0x0,
>
> >     key=0x4070dbc6 "EMBPERL_ALLOW", klen=13, flags=0, action=8, val=0x0,
> > hash=138139023)
> >     at hv.c:631
> > 631             if (HeHASH(entry) != hash)              /* strings can't
>
> be
>
> > equal */
> > (gdb) bt
>
> I crashs when it tries to access the environment.
>
> Could you please try to run httpd with the option -D EMBPERL_APDEBUG
>
> This will output a lot of stuff at the screen, which continues in the error
> log. Please send me the screen output and the httpd error log.
>

Gerald,

Using the same configuration, here is your -DEMBPERL_APDEBUG trace
starting with the console log and continuing in the log:

--- console ---

root@cathy:/usr/debug# $APACHE_DAEMON -DAPACHE_2.1 -DPRODUCTION 
-DEMBPERL_APDEBUG
[Mon Apr 26 21:25:15 2004] [warn] EmbperlDebug: create_server_config 
[26574/0]\n
[Mon Apr 26 21:25:15 2004] [warn] EmbperlDebug: create_dir_config 
Embperl[26574/0]\n
[Mon Apr 26 21:25:15 2004] [warn] EmbperlDebug: create_dir_config 
Embperl[26574/0]\n
[Mon Apr 26 21:25:15 2004] [warn] EmbperlDebug: create_server_config 
[26574/0]\n
[Mon Apr 26 21:25:15 2004] [warn] EmbperlDebug: Set APPNAME (type=char *;STR) 
= embperlapp\n
[Mon Apr 26 21:25:15 2004] [warn] EmbperlDebug: Set OBJECT_BASE (type=char 
*;STR) = base.epl\n
[Mon Apr 26 21:25:15 2004] [warn] EmbperlDebug: Set MAILHOST (type=char *;STR) 
= beaucox.com\n
[Mon Apr 26 21:25:15 2004] [warn] EmbperlDebug: Set MAIL_ERRORS_TO (type=char 
*;STR) = webmaster@beaucox.com\n
[Mon Apr 26 21:25:15 2004] [warn] EmbperlDebug: create_dir_config 
Embperl[26574/0]\n
[Mon Apr 26 21:25:15 2004] [warn] EmbperlDebug: create_server_config 
[26574/0]\n
[Mon Apr 26 21:25:15 2004] [warn] EmbperlDebug: Set APPNAME (type=char *;STR) 
= my_resume_app\n
[Mon Apr 26 21:25:15 2004] [warn] EmbperlDebug: Set OBJECT_BASE (type=char 
*;STR) = document-base.epl\n
[Mon Apr 26 21:25:15 2004] [warn] EmbperlDebug: Set OBJECT_ADDPATH (type=AV *) 
= /srv/www/htdocs/resume/objects (save for later conversion to Perl data)\n
[Mon Apr 26 21:25:15 2004] [warn] EmbperlDebug: create_dir_config 
Embperl[26574/0]\n
[Mon Apr 26 21:25:15 2004] [warn] EmbperlDebug: create_server_config 
[26574/0]\n
[Mon Apr 26 21:25:15 2004] [warn] EmbperlDebug: Set APPNAME (type=char *;STR) 
= my_embtest_app\n
[Mon Apr 26 21:25:15 2004] [warn] EmbperlDebug: merge_dir/server_config 
Embperl + Embperl\n
[Mon Apr 26 21:25:15 2004] [warn] EmbperlDebug: merge_dir/server_config 
Embperl + Embperl\n
[Mon Apr 26 21:25:15 2004] [warn] EmbperlDebug: merge_dir/server_config 
Embperl + Embperl\n
root@cathy:/usr/debug#

--- log ---

[Mon Apr 26 21:25:16 2004] [warn] EmbperlDebug: ApacheInit [26574/0]\n
[Mon Apr 26 21:25:16 2004] [warn] EmbperlDebug: create_server_config 
[26574/0]\n
[Mon Apr 26 21:25:16 2004] [warn] EmbperlDebug: create_dir_config 
Embperl[26574/0]\n
[Mon Apr 26 21:25:17 2004] [warn] EmbperlDebug: ApacheInit [26576/0]\n
[Mon Apr 26 21:25:17 2004] [notice] Digest: generating secret for digest 
authentication ...
[Mon Apr 26 21:25:17 2004] [notice] Digest: done
[Mon Apr 26 21:25:17 2004] [warn] pid file /var/run/httpd.pid overwritten -- 
Unclean shutdown of previous Apache run?
[Mon Apr 26 21:25:17 2004] [notice] Embperl/2.0b11 Apache/2.1.0-dev (Unix) 
mod_perl/1.99_14-dev Perl/v5.8.4 mod_ssl/2.1.0-dev OpenSSL/0.9.7d DAV/2 
configured -- resuming normal operations
[Mon Apr 26 21:25:38 2004] [warn] EmbperlDebug: merge_dir/server_config 
Embperl + my_embtest_app\n
[Mon Apr 26 21:25:38 2004] [warn] EmbperlDebug: Merge APPNAME (type=char *) => 
my_embtest_app\n
[Mon Apr 26 21:25:38 2004] [warn] EmbperlDebug: Merge MAILHOST (type=char *) 
stays beaucox.com\n
[Mon Apr 26 21:25:38 2004] [warn] EmbperlDebug: Merge MAIL_ERRORS_TO 
(type=char *) stays webmaster@beaucox.com\n
[Mon Apr 26 21:25:38 2004] [warn] EmbperlDebug: Perl part initialization start 
[26579/0]\n
[Mon Apr 26 21:25:38 2004] [warn] EmbperlDebug: GetApacheConfig for server\n
[Mon Apr 26 21:25:38 2004] [warn] EmbperlDebug: get_appname Embperl[26579/0]\n
[Mon Apr 26 21:25:38 2004] [warn] EmbperlDebug: Get MAILHOST (type=char *) 
beaucox.com\n
[Mon Apr 26 21:25:38 2004] [warn] EmbperlDebug: Get MAIL_ERRORS_TO (type=char 
*) webmaster@beaucox.com\n
[Mon Apr 26 21:25:38 2004] [warn] EmbperlDebug: GetApacheConfig for dir\n
[Mon Apr 26 21:25:38 2004] [warn] EmbperlDebug: get_appname 
my_embtest_app[26579/0]\n
[Mon Apr 26 21:25:38 2004] [warn] EmbperlDebug: Get APPNAME (type=char *) 
my_embtest_app\n
[Mon Apr 26 21:25:38 2004] [warn] EmbperlDebug: Get MAILHOST (type=char *) 
beaucox.com\n
[Mon Apr 26 21:25:38 2004] [warn] EmbperlDebug: Get MAIL_ERRORS_TO (type=char 
*) webmaster@beaucox.com\n
[Mon Apr 26 21:25:40 2004] [warn] EmbperlDebug: merge_dir/server_config 
Embperl + my_embtest_app\n
[Mon Apr 26 21:25:40 2004] [warn] EmbperlDebug: Merge APPNAME (type=char *) => 
my_embtest_app\n
[Mon Apr 26 21:25:40 2004] [warn] EmbperlDebug: Merge MAILHOST (type=char *) 
stays beaucox.com\n
[Mon Apr 26 21:25:40 2004] [warn] EmbperlDebug: Merge MAIL_ERRORS_TO 
(type=char *) stays webmaster@beaucox.com\n
[Mon Apr 26 21:25:40 2004] [warn] EmbperlDebug: GetApacheConfig for dir\n
[Mon Apr 26 21:25:40 2004] [warn] EmbperlDebug: get_appname 
my_embtest_app[26579/0]\n
[Mon Apr 26 21:25:40 2004] [warn] EmbperlDebug: merge_dir/server_config 
Embperl + my_embtest_app\n
[Mon Apr 26 21:25:40 2004] [warn] EmbperlDebug: Merge APPNAME (type=char *) => 
my_embtest_app\n
[Mon Apr 26 21:25:40 2004] [warn] EmbperlDebug: Merge MAILHOST (type=char *) 
stays beaucox.com\n
[Mon Apr 26 21:25:40 2004] [warn] EmbperlDebug: Merge MAIL_ERRORS_TO 
(type=char *) stays webmaster@beaucox.com\n
[Mon Apr 26 21:25:40 2004] [warn] EmbperlDebug: Perl part initialization start 
[26581/0]\n
[Mon Apr 26 21:25:40 2004] [warn] EmbperlDebug: GetApacheConfig for server\n
[Mon Apr 26 21:25:40 2004] [warn] EmbperlDebug: get_appname Embperl[26581/0]\n
[Mon Apr 26 21:25:40 2004] [warn] EmbperlDebug: Get MAILHOST (type=char *) 
beaucox.com\n
[Mon Apr 26 21:25:40 2004] [warn] EmbperlDebug: Get MAIL_ERRORS_TO (type=char 
*) webmaster@beaucox.com\n
[Mon Apr 26 21:25:40 2004] [warn] EmbperlDebug: GetApacheConfig for dir\n
[Mon Apr 26 21:25:40 2004] [warn] EmbperlDebug: get_appname 
my_embtest_app[26581/0]\n
[Mon Apr 26 21:25:40 2004] [warn] EmbperlDebug: Get APPNAME (type=char *) 
my_embtest_app\n
[Mon Apr 26 21:25:40 2004] [warn] EmbperlDebug: Get MAILHOST (type=char *) 
beaucox.com\n
[Mon Apr 26 21:25:40 2004] [warn] EmbperlDebug: Get MAIL_ERRORS_TO (type=char 
*) webmaster@beaucox.com\n
[Mon Apr 26 21:25:40 2004] [notice] child pid 26579 exit signal Segmentation 
fault (11)

The BT looks the same.

Aloha => Beau;


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message