Re: trouble on Gentoo
Matthias Gelbhardt <[email protected]>
| Newsgroups | gmane.comp.web.midgard.user |
|---|---|
| Message-ID | <[email protected]> |
Hi! Perhaps Michael Ross, who seems to reported the same problem in February, but did not post a solution on this list, has a solution for this problem? Matthias Matthias Gelbhardt wrote: > Hi! > > Sorry for starting a new thread. > > I have a segfaul problem on a gentoo machine: > > Apache 2.0.52 > PHP 4.3.11 > midgard 1.6.3 > > The error_log gives the following: > > [Sun Apr 24 20:54:41 2005] [debug] midgard-apache2.c(2077): [client > 212.124.41.35] midgard_translate_handler(UTF-8, http://jurawelt.gw.ms:80/) > [Sun Apr 24 20:54:41 2005] [debug] select_db2.h(51): [client > 212.124.41.35] Midgard: select_database opened database midgard_jurawelt > [Sun Apr 24 20:54:41 2005] [debug] midgard-apache2.c(513): [client > 212.124.41.35] Midgard: lang set to 0 > [Sun Apr 24 20:54:41 2005] [debug] midgard-apache2.c(1287): [client > 212.124.41.35] Midgard: extension = .php, default: .php, parser = UTF-8 > [Sun Apr 24 20:54:42 2005] [debug] select_db2.h(33): [client > 212.124.41.35] Midgard: select_database kept current database > midgard_jurawelt > [Sun Apr 24 20:54:42 2005] [debug] midgard-apache2.c(2294): [client > 212.124.41.35] Midgard: serving page /var/local/cache/midgard/5-50-8-0.php > [Sun Apr 24 20:54:42 2005] [debug] midgard-apache2.c(2299): [client > 212.124.41.35] Midgard: setting blobdir > /var/local/lib/midgard/blobs/midgard_jurawelt > [Sun Apr 24 20:54:42 2005] [notice] child pid 6362 exit signal > Segmentation fault (11) > > > I have managed to run the apache with gdb: > > Program received signal SIGSEGV, Segmentation fault. > [Switching to Thread 16384 (LWP 6489)] > 0x4127dea5 in zif_mgd_snippet (ht=1, return_value=0x8310a14, > this_ptr=0x0, return_value_used=1) at > /root/Midgard_AllinOne/midgard-php4-1.6.3/preparser.c:409 > 409 if (rcfg->database.page && rcfg->database.page->handle > > Any ideas? > > Matthias > > Am 24.04.2005 um 20:41 schrieb Matthias Gelbhardt: > >> Hi! >> >> Apache: Version: 1.3.33-4 >> PHP: Version: 4:4.3.10-12 >> >> I now have another problem regarding installing a fresh midgard 1.6.3 >> on a gentoo system. The problem is the same like here: >> http://www.mail-archive.com/[email protected]/msg17883.html >> >> Unfortunatly the gdb does not work. But it is possible, that the >> problem has something to do with my hardened kernel.. >> >> Matthias >> >> Am 24.04.2005 um 20:21 schrieb Piotras: >> >>>> Hi! >>>> >>>> I have no luck.. libpcre and libpcre is at the newest available >>>> version. If I would like to compile 1.6.3 for myself I am stuck with >>>> the php4-module: >>>> In file included from /usr/include/apache-1.3/httpd.h:29, >>>> from /usr/local/include/midgard/apache.h:25, >>>> from >>>> /root/Midgard_AllinOne/midgard-php4-1.6.3/php_midgard.h:69, >>>> from >>>> /root/Midgard_AllinOne/midgard-php4-1.6.3/mgd_internal.h:27, >>>> from >>>> /root/Midgard_AllinOne/midgard-php4-1.6.3/preparser.c:22: >>>> /usr/include/apache-1.3/ap_config.h:1091: warning: `closesocket' >>>> redefined >>>> /usr/include/php4/main/php_network.h:32: warning: this is the location >>>> of the previous definition >>> >>> >>> Unfortunately no one can fix this except PHP developers. >>> show me versions of Apache and PHP4 >>> dpkg -s apache-dev | grep Version >>> dpkg -s php4-dev | grep version >>> >>> Piotras >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: user-unsubscribe-b5ZhpPVuLA+tlBvVaVFjCkB+6BGkLq7r@public.gmane.org >>> For additional commands, e-mail: [email protected] >>> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscribe-b5ZhpPVuLA+tlBvVaVFjCkB+6BGkLq7r@public.gmane.org >> For additional commands, e-mail: [email protected] >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe-b5ZhpPVuLA+tlBvVaVFjCkB+6BGkLq7r@public.gmane.org > For additional commands, e-mail: [email protected] >