Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:13860 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 25565 invoked by uid 1010); 15 Nov 2004 08:30:16 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 24612 invoked from network); 15 Nov 2004 08:30:06 -0000 Received: from unknown (HELO mail.city-map.de) (62.116.172.149) by pb1.pair.com with SMTP; 15 Nov 2004 08:30:06 -0000 Received: from mail.topconcepts.net by mail.city-map.de (62.116.172.149:25) with [XMail 1.20 ESMTP Server] id for from ; Mon, 15 Nov 2004 09:30:03 +0100 Received: from sky.stade.topconcepts.net by blah.topconcepts.net with [XMail 1.19 ESMTP Server] id for from ; Mon, 15 Nov 2004 09:30:02 +0100 Received: from mail.topconcepts.net ([192.168.0.107]) by sky.stade.topconcepts.net with Microsoft SMTPSVC(6.0.3790.211); Fri, 12 Nov 2004 08:56:30 +0100 Received: from mail.city-map.de by blah.topconcepts.net with [XMail 1.19 ESMTP Server] id for from ; Fri, 12 Nov 2004 08:55:53 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Received: from pb1.pair.com (216.92.131.4:23622) by mail.city-map.de (62.116.172.149:25) with [XMail 1.20 ESMTP Server] id for from ; Fri, 12 Nov 2004 08:55:51 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Received: (qmail 32252 invoked by uid 1010); 12 Nov 2004 07:55:49 -0000 Received: (qmail 32238 invoked by uid 1010); 12 Nov 2004 07:55:49 -0000 Content-class: urn:content-classes:message Date: Mon, 15 Nov 2004 09:30:41 +0100 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [Maybe OT] Segfaults with mod_php + mod_perl + mysql + mysqli Thread-Index: AcTIjQ/Ow+MaETTxS8inpmDQkE9PUQ== list-help: list-unsubscribe: To: X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on monty.topconcepts.de X-Spam-Level: X-Spam-Status: No, hits=0.0 required=7.0 tests=none autolearn=no version=2.64 Subject: [Maybe OT] Segfaults with mod_php + mod_perl + mysql + mysqli From: ruempler@topconcepts.com (=?iso-8859-1?Q?S=F6nke_Ruempler?=) [asked php-install before, no one answered] Hi, Because I upgraded my MySQL server to 4.1.7, I tried to compile my = mod_php with mysql + mysqli support. After some problems with double = "-lmysqlclient" in Makefile (found solution in bugs.php.net), the new mod_php compiled. = But after testing it with Apache, The webserver had segfaults and mod_perl = error messages: [Fri Nov 12 08:41:30 2004] [notice] SIGHUP received. Attempting to = restart [Fri Nov 12 08:41:31 2004] [notice] Digest: generating secret for digest authentication ... [Fri Nov 12 08:41:31 2004] [notice] Digest: done [Fri Nov 12 08:41:31 2004] [notice] Apache/2.0.51 (Unix) = mod_perl/1.99_16 Perl/v5.8.3 DAV/2 PHP/5.0.2 mod_ssl/2.0.51 OpenSSL/0.9.7d configured -- resuming no Can't call STORE method on handle DBI::db=3DHASH(0x8f7aa84) after take_imp_data() at /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/DBD/mysql.pm line = 1 Can't call STORE method on handle DBI::db=3DHASH(0x8f7aa84) after take_imp_data() at /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/DBI.pm line 642. Can't call STORE method on handle DBI::db=3DHASH(0x8f7aa84) after take_imp_data() at /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/DBI.pm line 642. Can't call STORE method on handle DBI::db=3DHASH(0x8f7aa84) after take_imp_data() at /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/DBI.pm line 645. Can't call FETCH method on handle DBI::db=3DHASH(0x8f7aa84) after take_imp_data() at /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/DBI.pm line 645. Can't call STORE method on handle DBI::db=3DHASH(0x8f7aa84) after take_imp_data() at /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/DBI.pm line 645. Can't call FETCH method on handle DBI::db=3DHASH(0x8f7aa84) after take_imp_data() at /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/DBI.pm line 645. Can't call STORE method on handle DBI::db=3DHASH(0x8f7aa84) after take_imp_data() at /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/DBI.pm line 645. Can't call FETCH method on handle DBI::db=3DHASH(0x8f7aa84) after take_imp_data() at /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/DBI.pm line 645. Can't call connected method on handle DBI::db=3DHASH(0x8f7aa84) after take_imp_data() at /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/DBI.pm line 650 Can't call STORE method on handle DBI::db=3DHASH(0x8f7aa84) after take_imp_data() at /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/DBI.pm line 665. Can't call prepare method on handle DBI::db=3DHASH(0x8f7aa84) after take_imp_data() at /web/pm/CityMap/Abfragen.pm line 239. [Fri Nov 12 08:41:33 2004] [error] Can't call method "execute" on an undefined value at /web/pm/CityMap/Abfragen.pm line 247.\n Can't call ping method on handle DBI::db=3DHASH(0x8f7aa84) after take_imp_data() at /web/pm/CityMap/Abfragen.pm line 287. Can't call ping method on handle DBI::db=3DHASH(0x8f7aa84) after take_imp_data() at /usr/lib/perl5/site_perl/5.8.3/Apache/DBI.pm line = 120. [Fri Nov 12 08:41:34 2004] [notice] child pid 21593 exit signal = Segmentation fault (11) [Fri Nov 12 08:41:35 2004] [notice] child pid 21594 exit signal = Segmentation fault (11) [Fri Nov 12 08:41:35 2004] [notice] child pid 21609 exit signal = Segmentation fault (11) [Fri Nov 12 08:41:35 2004] [notice] child pid 21612 exit signal = Segmentation fault (11) Can't call STORE method on handle DBI::db=3DHASH(0x8f7f654) after take_imp_data() at /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/DBD/mysql.pm line = 1 Can't call STORE method on handle DBI::db=3DHASH(0x8f7f654) after take_imp_data() at /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/DBI.pm line 642. Can't call STORE method on handle DBI::db=3DHASH(0x8f7f654) after take_imp_data() at /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/DBI.pm line 642. Can't call STORE method on handle DBI::db=3DHASH(0x8f7f654) after take_imp_data() at /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/DBI.pm line 645. Can't call FETCH method on handle DBI::db=3DHASH(0x8f7f654) after take_imp_data() at /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/DBI.pm line 645. Can't call STORE method on handle DBI::db=3DHASH(0x8f7f654) after take_imp_data() at /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/DBI.pm line 645. Can't call FETCH method on handle DBI::db=3DHASH(0x8f7f654) after take_imp_data() at /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/DBI.pm line 645. Can't call STORE method on handle DBI::db=3DHASH(0x8f7f654) after take_imp_data() at /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/DBI.pm line 645. Can't call FETCH method on handle DBI::db=3DHASH(0x8f7f654) after take_imp_data() at /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/DBI.pm line 645. Can't call connected method on handle DBI::db=3DHASH(0x8f7f654) after take_imp_data() at /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/DBI.pm line 650 Can't call STORE method on handle DBI::db=3DHASH(0x8f7f654) after take_imp_data() at /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/DBI.pm line 665. Can't call prepare method on handle DBI::db=3DHASH(0x8f7f654) after take_imp_data() at xx.pm line 239. [Fri Nov 12 08:41:35 2004] [error] Can't call method "execute" on an undefined value at xx.pm line 247.\n [Fri Nov 12 08:41:36 2004] [notice] child pid 21617 exit signal = Segmentation fault (11) Can't call ping method on handle DBI::db=3DHASH(0x8f7f654) after take_imp_data() at xx.pm line 287. Can't call ping method on handle DBI::db=3DHASH(0x8f7f654) after take_imp_data() at /usr/lib/perl5/site_perl/5.8.3/Apache/DBI.pm line = 120. [Fri Nov 12 08:41:37 2004] [notice] child pid 21616 exit signal = Segmentation fault (11) [Fri Nov 12 08:41:40 2004] [notice] child pid 21599 exit signal = Segmentation fault (11) [Fri Nov 12 08:41:46 2004] [notice] child pid 21611 exit signal = Segmentation fault (11) [Fri Nov 12 08:41:55 2004] [notice] SIGHUP received. Attempting to = restart I think there is a conflict between the mysql extensions of PHP and = Perl. Here is the Software: Linux 2.6.8.1 #1 SMP Mon Sep 20 13:59:23 CEST 2004 i686 i686 i386 = GNU/Linux Apache 2.0.52 Perl 5.8.3 mod_perl 1.99 PHP 5.0.2 MySQL 4.1.7 libraries RPM from mysql.com Any Ideas? -- Thx, S=F6nke.