logo       

Re: mp2, apache 2.0.46, perl 5.8.0, & gcc 3.3 core dumps on solaris 8: msg#00174

Subject: Re: mp2, apache 2.0.46, perl 5.8.0, & gcc 3.3 core dumps on solaris 8
  From: "Stas Bekman" <stas@xxxxxxxxxx>
> twh@xxxxxxxxxxxxxxxxxxxxx wrote:
> > -------------8<---------- Start Bug Report ------------8<----------
> > 1. Problem Description:
> >
> >   gcc 3.3, solaris 8, perl 5.8.0, apache 2.0.46, mod_perl 1.99_10
> >   make test failed
> >   I used gcc 2.95.2 built perl5.8.0 and mod_perl and it works ok.
> >   however, I upgraded gcc 3.3 and rebuilt perl, apache, and mod_perl.
> >   it still core dumps on me.
> >   apache 2.0.46 works ok by itself.
> >   I have setup my PATH and LD_LIBRARY_PATH ok.
> >   what could I do wrong?
>
> You need to compile modperl with MP_DEBUG=1, since the trace doesn't show
the
> arguments to mod_perl calls. You do have perl and httpd compiled with
debug
> symbols.

I did compile with MP_DEBUG=1 option.
It said in the section 2 on the t/REPORT and it shows up at the compile
line -DMP_DEBUG -DMP_TRACE too.
Anyway, I rebuilt it again this morning but it did not give me extra
statements on gdb.
Shall I manually add the -g options into Makefile?


$ perl Makefile.PL MP_INST_APACHE2=1  MP_DEBUG=1
MP_AP_PREFIX=/s5/twh/apache2
$ make
cd "src/modules/perl" && make -f Makefile.modperl
make[1]: Entering directory `/s5/twh/papache/modperl-2.0/src/modules/perl'
gcc -B/usr/ccs/bin/ -I/s5/twh/papache/modperl-2.0/src/modules/perl -I/s5/twh
/pap
ache/modperl-2.0/xs -I/s5/twh/apache2/include -I/s5/twh/apache2/include -fno
-str
ict-aliasing -I/opt/exp/gnu/include   -I/s5/twh/perl580/lib/5.8.0/sun4-solar
is/C
ORE -DMOD_PERL -DMP_COMPAT_1X -DMP_DEBUG -DMP_TRACE  -fPIC \
-c mod_perl.c && mv mod_perl.o mod_perl.lo
......

2. Used Components and their Configuration:

*** mod_perl version 1.9910

*** using lib/Apache/BuildConfig.pm
*** Makefile.PL options:
  MP_AP_PREFIX    => /s5/twh/apache2
  MP_COMPAT_1X    => 1
  MP_DEBUG        => 1
  MP_GENERATE_XS  => 1
  MP_INST_APACHE2 => 1
  MP_LIBNAME      => mod_perl
  MP_TRACE        => 1
  MP_USE_DSO      => 1
  MP_USE_STATIC   => 1


> > #26 0xfed5d46c in modperl_require_file ()
> >    from /s5/twh/build-dir/modperl-2.0/src/modules/perl/mod_perl.so
> > #27 0xfed56e1c in modperl_config_apply_PerlRequire ()
> >    from /s5/twh/build-dir/modperl-2.0/src/modules/perl/mod_perl.so


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
audio.irate.dev...    yellowdog.gener...    ietf.ips/2002-0...    xfree86.fonts/2...    busybox/2003-07...    emacs.jdee/2004...    linux.mandrake....    hardware.microc...    user-groups.lin...    science.analysi...    version-control...    db.filemaker.de...    cluster.openmos...    mail.eyebrowse....    text.xml.xerces...    kde.devel.kwrit...    finance.moneyda...    gcc.regression/...    network.routing...    os.freebsd.deve...    recreation.radi...    qnx.openqnx.dev...    python.xml/2002...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe