Did you compile everything (Perl, modules, etc.) with gcc, or with 
Sun's compiler?  If you used the Perl that comes with Solaris, it
is compiled with Sun's C compiler.  Everything needs to be compiled
by the same compiler.

Based on the info below, you are running Solaris 2.6, not 2.8...

I just got this running in a similar scenario (under 2.8), except with
Apache 1.3.20.
I did get Segfaults when my LoadModule/AddModule information was hosed,
that's another thing you could check...

HTH,
        Laurie

Laurie Knox
AT&T - NETAC
[EMAIL PROTECTED]


-----Original Message-----
From: Brian Cocks [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 12, 2001 11:24 AM
To: [EMAIL PROTECTED]
Subject: Need help with a backtrace from a seg fault


I'm getting this error

[Mon Aug 13 14:52:58 2001] [notice] child pid 6223 exit signal
Segmentation Fault (11)

Any help would be appreciated.

Here is some info, please let me know if I am missing anything.

Solaris 8
Apache/1.3.12 (Unix) mod_perl/1.24_01 mod_ssl/2.6.5 OpenSSL/0.9.4

backtrace from gdb

Program received signal SIGSEGV, Segmentation fault.
0x67010 in hvrv2table ()
(gdb) bt
#0  0x67010 in hvrv2table ()
#1  0x7de70 in XS_Apache__Table_DESTROY ()
#2  0x1c9a04 in Perl_pp_entersub ()
#3  0x176988 in S_call_body ()
#4  0x1766b4 in perl_call_sv ()
#5  0x1d1464 in Perl_sv_clear ()
#6  0x1d1af8 in Perl_sv_free ()
#7  0x1d6470 in do_clean_objs ()
#8  0x1cab18 in S_visit ()
#9  0x1cab74 in Perl_sv_clean_objs ()
#10 0x174138 in perl_destruct ()
#11 0x5ee30 in perl_shutdown ()
#12 0x604d4 in perl_child_exit ()
#13 0x60224 in perl_child_exit_cleanup ()
#14 0xa3ae4 in run_cleanups ()
#15 0xa121c in ap_clear_pool ()
#16 0xa12ac in ap_destroy_pool ()
#17 0xb4c64 in clean_child_exit ()
#18 0xb8a74 in child_main ()
#19 0xb9378 in make_child ()
#20 0xb9594 in startup_children ()
#21 0xb9f84 in standalone_main ()
#22 0xbab98 in main ()

Output of "perl -V"

Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:

  Platform:
    osname=solaris, osvers=2.6, archname=sun4-solaris
    uname='sunos kenny 5.6 generic_105181-17 sun4u sparc
sunw,ultrasparc-iii-engine '
    config_args='-ds -e'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
    useperlio=undef d_sfio=undef uselargefiles=define
    use64bitint=undef use64bitall=undef uselongdouble=undef
usesocks=undef
  Compiler:
    cc='cc', optimize='-O', gccversion=2.8.1
    cppflags='-I/usr/local/include'
    ccflags ='-I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64'
    stdchar='unsigned char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
    alignbytes=8, usemymalloc=y, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib '
    libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
    libs=-lsocket -lnsl -ldl -lm -lc -lcrypt -lsec
    libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
    cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib'


Characteristics of this binary (from libperl):
  Compile-time options: USE_LARGE_FILES
  Built under solaris
  Compiled at Jun  4 2001 12:07:15
  @INC:
    /usr/local/lib/perl5/5.6.0/sun4-solaris
    /usr/local/lib/perl5/5.6.0
    /usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris
    /usr/local/lib/perl5/site_perl/5.6.0
    /usr/local/lib/perl5/site_perl
    .

--
Brian Cocks
Senior Software Architect
Multi-Ad Services, Inc.
[EMAIL PROTECTED]
(309)690-5834

Reply via email to