Re: segfaults
Mike Bedwell <[email protected]>
| Newsgroups | gmane.comp.web.midgard.user |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 2005-05-26 at 00:52 +0200, Piotras wrote: > > It's apache2, not sure what you mean by worker or prefork. > > Both are two models of Apache2. > prefork behaves like old Apache1 while worker is threaded model. > > > The module > > gets loaded in normal operation, but doesn't seem to using gdb. Is > > there a way to make sure it gets loaded when ran through gdb? > > This sounds like calling two different applications. > > Piotras > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe-b5ZhpPVuLA+tlBvVaVFjCkB+6BGkLq7r@public.gmane.org > For additional commands, e-mail: [email protected] > Figured out part of it, not calling two applications, but, the init file calls apache with arguments indicating config file info. using the path or apachectl does not, causing the php module to not load. I created my own apache2.conf file to use and specified it's argument to gdb, here is the info from gdb Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 98311 (LWP 6382)] 0xb648e8c9 in zif_mgd_snippet () from /usr/lib/php/extensions/no-debug-zts-20020429/midgard.so (gdb) backtrace #0 0xb648e8c9 in zif_mgd_snippet () from /usr/lib/php/extensions/no-debug-zts-20020429/midgard.so As far as prefork or worker, I believe Gentoo's apache2 is worker.
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQBClZCgE8/6810jZicRAoKrAJ9s3FDRTPZt/dT5Jr9VJwoxIc4h/ACeN5/j rJkIzzglDlDrk6pO0tyI8t0= =nIS+ -----END PGP SIGNATURE-----