Segmentation fault (11)

nawcom nawcom at nawcom.no-ip.com
Thu Jul 28 01:45:16 GMT 2005


do you have a copy of the core dump?
also sometimes when you use php to interpret the page via the
shell it leaves a little extra useful info.

since it's a fault and not a kernel panic i wouldnt be
worried that its freebsd itself fucking things up. this error only comes 
up when a program accesses a memory location that it wasn't assigned to.

"Because of error I've reinstalled Apache 1.3 and Perl5."

what was the error and how was php5 compiled? did you uninstall php4 or 
did you do a FORCE_PKG_REGISTER?

when you say that other php sites work fine do you mean that other php 
scripts work fine on your apache server?

I apologize but your info is pretty general.

all i can suggest is do a full deinstall clean on apache+php5 and php4 
if the memory glitch has to do with its compilation.
perhaps if you email the debug log specifics (strace php "webpage.php") 
we could understand where the program is at when it crashes.
-Ben

steve lasiter wrote:

>This is a questions to the group since I'm not sure if
>it's related to my FreeBSD 5.4 OS or something else.
>I'm on a Dell Pentium 2.55Ghz with 1 GB Ram. 
>
>Background: In trying to install oscommerce I have
>uninstalled my php5 and went to php4. Because of error
>I've reinstalled Apache 1.3 and Perl5. My database is
>MySQL 5.02.
>
>The problem: when I attempt to open an index.php file
>in the oscommerce program I get, in my httpd-error.log
>[notice] child pid xxx exit signal Segmentation
>fault(11)
>
>All other php related sites are functioning well with
>no problems. Do you believe this is being caused by
>the code in the oscommerce program or something
>FreeBSD is doing?
>
>Thanks for input
>
>Dean Lasiter
>
>
>		
>____________________________________________________
>Start your day with Yahoo! - make it your home page 
>http://www.yahoo.com/r/hs 
> 
>_______________________________________________
>freebsd-questions at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>  
>



More information about the freebsd-questions mailing list