Hi Stas, Thanx for the reply. However, I had already read the doc. and done everything mentioned there. I had recompiled perl with -Ubincompat5005 as mentioned.
I've attached some additional info., generated by trussing the child, as it was being restarted: $truss -ef -o ~/truss.out -r0,1,2 -w0,1,2 -p 26978 Note: I have also tried setting ENV PERL_DESTRUCT_LEVEL to -1 and also to 2, but got the same results. Thanx for any help. Sreeji --- Stas Bekman <[EMAIL PROTECTED]> wrote: > Sreeji K Das wrote: > > Hi, > > > > I was trying to run mod_perl as DSO on Solaris. I > see > > the following line in the logs: > > > > [notice] child pid 24323 exit signal Segmentation > > Fault (11) > > > > This happens whenever I send a USR1 to the server > for > > restart. Also I see the same message whenever the > > child is about to exit (ie. after handling the > > prescribed no.of requests). > > > > Is DSO stable enough to be used under Solaris ? I > have > > searched through the archives & see differing > > opinions. > > > > Additional Info: > > ---------------- > > > > $perl -V:uselargefiles -V:bincompat5005 > > uselargefiles='define'; > > bincompat5005='undef'; > > > > perl: 5.6.1, Apache: 1.3.23, mod_perl: 1.26 > > Using SunOS 5.6 Generic_105181-16 sun4u sparc > > SUNW,Ultra-80 > > > > I've compiled mod_perl with PERL_USELARGEFILES=0 > and > > USE_DSO. > > The above problem is repeatable with > PerlFreshRestart > > On and Off. > > > > Any clues ? > > > > Thanx > > Sreeji > > (BTW, make test has gone through w/o any errors) > > > > See if it helps > you:http://perl.apache.org/guide/install.html#When_DSO_can_be_Used > > > > __________________________________________________________________ > Stas Bekman JAm_pH ------> Just Another > mod_perl Hacker > http://stason.org/ mod_perl Guide ---> > http://perl.apache.org > mailto:[EMAIL PROTECTED] http://use.perl.org > http://apacheweek.com > http://modperlbook.org http://apache.org > http://ticketmaster.com > __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com
26978: accept(16, 0xEFFFE95C, 0xEFFFE97C) (sleeping...) 26978: signotifywait() = 16 26978: Received signal #16, SIGUSR1, in accept() [caught] 26978: siginfo: SIGUSR1 pid=26322 uid=300528 26978: lwp_sigredirect(1, SIGUSR1) = 0 26978: accept(16, 0xEFFFE95C, 0xEFFFE97C) Err#4 EINTR 26978: sigprocmask(SIG_SETMASK, 0xEF276450, 0x00000000) = 0 26978: setcontext(0xEFFFE5A8) 26978: sigaction(SIGHUP, 0xEFFFE6D0, 0xEFFFE7D4) = 0 26978: sigaction(SIGUSR1, 0xEFFFE6D0, 0xEFFFE7D4) = 0 26978: write(2, " `", 1) = 1 26978: write(2, 0xEF547EE4, 20) = 20 26978: P e r l C h i l d E x i t H a n d l e r 26978: write(2, 0xEF51E8E3, 33) = 33 26978: ' p u s h _ h a n d l e r s ( ) s t a c k i s e m p t y 26978: \n 26978: write(2, 0xEF547EE4, 20) = 20 26978: P e r l C h i l d E x i t H a n d l e r 26978: write(2, 0xEF51E05A, 19) = 19 26978: h a n d l e r s r e t u r n e d 26978: write(2, " - 1\n", 3) = 3 26978: write(2, " r u n n i n g ", 8) = 8 26978: write(2, " 3", 1) = 1 26978: write(2, 0xEF51F95E, 16) = 16 26978: E N D b l o c k s f o r 26978: write(2, 0xEF547DCC, 13) = 13 26978: p e r l _ s h u t d o w n 26978: write(2, "\n", 1) = 1 26978: getcontext(0xEFFFE320) 26978: getcontext(0xEFFFE158) 26978: write(2, 0x00E90A80, 48) = 48 26978: T S T F o r m s s e r v e r p r o c e s s 2 6 9 7 8 s 26978: h u t t i n g d o w n . . .\n 26978: write(2, 0x013725C0, 40) = 40 26978: R e s e t t i n g c o n n e c t i o n t o d a t a b a s e 26978: @ s i g t e s t 26978: write(2, "\n", 1) = 1 26978: getcontext(0xEFFFE320) 26978: getcontext(0xEFFFE158) 26978: getcontext(0xEFFFE320) 26978: getcontext(0xEFFFE158) 26978: write(2, 0xEF51D770, 48) = 48 26978: d e s t r u c t i n g a n d f r e e i n g P e r l i n t 26978: e r p r e t e r ( l e v e l = 26978: write(2, " 0", 1) = 1 26978: write(2, " ) . . .", 4) = 4 26978: getcontext(0xEFFFE120) 26978: getcontext(0xEFFFDFE8) 26978: getcontext(0xEFFFE120) 26978: getcontext(0xEFFFE120) 26978: getcontext(0xEFFFE120) 26978: getcontext(0xEFFFE120) 26978: getcontext(0xEFFFE120) 26978: getcontext(0xEFFFE120) 26978: getcontext(0xEFFFE120) 26978: getcontext(0xEFFFDFE8) 26978: write(2, " o k\n", 3) = 3 26978: Incurred fault #6, FLTBOUNDS %pc = 0xEF1A3CFC 26978: siginfo: SIGSEGV SEGV_MAPERR addr=0xEF1A3CFC 26978: Received signal #11, SIGSEGV [caught] 26978: siginfo: SIGSEGV SEGV_MAPERR addr=0xEF1A3CFC 26978: sigprocmask(SIG_SETMASK, 0xEF276450, 0x00000000) = 0 26978: sigaction(SIGSEGV, 0xEFFFE240, 0x00000000) = 0 26978: chdir("/home/test") = 0 26978: sigaction(SIGSEGV, 0xEFFFE138, 0xEFFFE23C) = 0 26978: getpid() = 26978 [26322] 26978: getpid() = 26978 [26322] 26978: kill(26978, SIGSEGV) = 0 26978: signotifywait() = 11 26978: sigprocmask(SIG_SETMASK, 0xEF27DEE4, 0xEFFFE2A0) = 0 26978: lwp_sigredirect(1, SIGSEGV) = 0 26978: lwp_sigredirect(1, SIGSEGV) Err#22 EINVAL 26978: sigprocmask(SIG_SETMASK, 0xEFFFE2A0, 0x00000000) = 0 26978: Received signal #11, SIGSEGV [caught] 26978: siginfo: SIGSEGV pid=26978 uid=300528 26978: sigprocmask(SIG_SETMASK, 0xEF276450, 0x00000000) = 0 26978: sigaction(SIGSEGV, 0xEFFFDDA0, 0x00000000) = 0 26978: setcontext(0xEFFFDEE8) 26978: setcontext(0xEFFFE488) 26978: Incurred fault #6, FLTBOUNDS %pc = 0xEF1A3CFC 26978: siginfo: SIGSEGV SEGV_MAPERR addr=0xEF1A3CFC 26978: Received signal #11, SIGSEGV [default] 26978: siginfo: SIGSEGV SEGV_MAPERR addr=0xEF1A3CFC 26978: *** process killed ***