RE: [PECL-DEV] apc causing segmentation fault?

From: Date: Tue, 03 Aug 2004 01:40:19 +0000
Subject: RE: [PECL-DEV] apc causing segmentation fault?
References: 1  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-1070@lists.php.net to get a copy of this message
OK, I'll check tonight/tomorrow... Regards, Shannon > -----Original Message----- > From: Rasmus Lerdorf [mailto:rasmus@php.net] > Sent: Monday, August 02, 2004 7:16 PM > To: Shannon Werb > Cc: pecl-dev@lists.php.net > Subject: Re: [PECL-DEV] apc causing segmentation fault? > > A backtrace from one of the core files would help. I did fix > a segfault last week that I haven't committed yet which > happens on a SIGTERM if APC is in the middle of executing a > script when the signal hits. > > If your backtrace ends in a call to destroy_op_array() and > somewhere further up the stack you see a call to just_die() > then this is the segfault I fixed. > > -Rasmus > > On Mon, 2 Aug 2004, Shannon Werb wrote: > > > Hi All, > > I have been on and off the list now for a while using APC > asking lots > > of questions. I am pleased with it but just started to > notice a lot > > of seg faults in my apache error log over the past few > days, like the following: > > [Mon Aug 2 17:32:58 2004] [notice] child pid 74907 exit signal > > Segmentation fault (11) [Mon Aug 2 17:33:00 2004] [notice] > child pid > > 74935 exit signal Segmentation fault (11) [Mon Aug 2 > 17:33:00 2004] > > [notice] child pid 74338 exit signal Segmentation fault > (11) [Mon Aug > > 2 17:33:02 2004] [notice] child pid 74339 exit signal Segmentation > > fault (11) > > > > I did some digging on the internet and signal 11 usually indicates > > hardware but when you read further lots talk about it being when > > apache references memory it does not own? So I turned off > APC to see > > what happened and it went away immediately. > > > > My config is as follows: > > > extension="/usr/local/lib/php/extensions/no-debug-non-zts-2002 > 0429/apc.so" > > > > apc.shm_segments=5 > > apc.shm_size=10 > > apc.check_mtime=1 > > apc.mmap_file_mask=/tmp/apc.XXXXXX > > > > Apache 1.3.27, php 4.3.8 (newly upgraded just last week, I did not > > notice this under 4.3.7 but I didn't look closely either). > > > > Any thoughts on what I can do? > > > > Best Regards, > > Shannon > > > > -- > PECL development discussion Mailing List > (http://pecl.php.net/) To unsubscribe, visit: > http://www.php.net/unsub.php > >

« previous php.pecl.dev (#1070) next »