Re: segfaults

Mike Bedwell <[email protected]>
Newsgroups gmane.comp.web.midgard.user
Message-ID <[email protected]>
On Wed, 2005-05-25 at 21:40 +0200, Piotras wrote:
> > So, i've successfuly got everything installed, or thought i had.
> > However, apache processes keep segfaulting.  Any help greatly
> > appreciated, I've included my apache log (LogLevel Debug) below.
> 
> Follow this link:
> http://midgard-project.org/community/development/debugging.html
> 
> Piotras
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe-b5ZhpPVuLA+tlBvVaVFjCkB+6BGkLq7r@public.gmane.org
> For additional commands, e-mail: [email protected]
> 
> 
> 

Ok, here is the deal.  I can't seem to recreate using gdb.  When I fire
up gdb, i get the following.

(gdb) run -X
Starting program: /usr/sbin/apache2 -X
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 30702)]
Syntax error on line 29 of /etc/midgard/apache/vhosts/127.0.0.1_8001:
Invalid command 'php_admin_flag', perhaps mis-spelled or defined by a
module not included in the server configuration

Program exited with code 01.

I commented out the php_admin_flag on line 29, and tried again, getting
an error for php_flag on line 31, and another round got me lines 47 and
51.  After commenting out the php_flag entries in the vhosts file, it no
longer segfaults when i try to display the /midgard page, but, i also
only get code text display instead of processed php.
However, when i leave the commented lines in the file and run it outside
of the debugger I still get segfaults.

-- 
Mike
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQBClJRdE8/6810jZicRAtUyAJ0TJca6hatNhIAetx+tyvA8CjaV0ACgleE2
6xnI7sp/5VVwES1Sw2jrxt0=
=6rMF
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.