Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:2882 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 60891 invoked from network); 27 Jun 2003 08:37:33 -0000 Received: from unknown (HELO indigo.pl) (195.117.3.10) by pb1.pair.com with SMTP; 27 Jun 2003 08:37:33 -0000 Received: (from bartek@localhost) by indigo.pl (8.12.9/8.11.2) id h5R8WSo6002966 for internals@lists.php.net; Fri, 27 Jun 2003 10:32:28 +0200 X-Authentication-Warning: indigo.pl: Processed from queue /var/spool/mqueue X-Authentication-Warning: indigo.pl: Processed by bartek with -C /etc/sendmail.orig.cf Received: (from bartek@localhost) by indigo.pl (8.12.9/8.11.2) id h5R8WRYS002954 for internals@lists.php.net; Fri, 27 Jun 2003 10:32:27 +0200 Date: Fri, 27 Jun 2003 10:32:27 +0200 To: internals@lists.php.net Message-ID: <20030627103227.C24557@www.indigo.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Virus-Scanned: by AMaViS perl-11 Subject: PHP-4.3.2, apache-2.0.46 & Segmentation fault (11) From: bartek@indigo.pl (Bartek Krajnik) ./configure \ --enable-force-cgi-redirect \ --with-openssl \ --enable-ftp \ --with-gd \ --with-imap=/usr/src/imap-2002d \ --enable-mime-magic \ --with-mysql \ --with-pgsql \ --with-pspell \ --enable-shmop \ --enable-sockets \ --enable-sysvmsg \ --enable-sysvsem \ --enable-sysvshm \ --with-zlib \ --with-ttf \ --with-apxs2=/usr/httpd/bin/apxs \ --includedir=/usr/include/apr-0 \ --with-mhash \ --with-mcrypt \ --with-recode \ --enable-memory-limit After connecting to sites I see in logs: [Fri Jun 27 11:09:43 2003] [notice] child pid 7453 exit signal Segmentation fault (11) After strace: read(24, "127.0.0.1\tlocalhost\n192.168.7.15"..., 4096) = 303 read(24, "", 4096) = 0 close(24) = 0 munmap(0x404fb000, 4096) = 0 socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 24 setsockopt(24, SOL_TCP, TCP_NODELAY, [1], 4) = 0 connect(24, {sin_family=AF_INET, sin_port=htons(5432), sin_addr=inet_addr("127.0.0.1")}}, 16) = 0 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0 send(24, "\0\0\1(\4\322\26/\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 296, 0) = 296 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0 recv(24, "N", 1, 0) = 1 fcntl64(24, F_SETFL, O_RDONLY|O_NONBLOCK) = 0 select(25, [], [24], [24], NULL) = 1 (out [24]) rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0 send(24, "\0\0\1(\0\2\0\0kiljan_live\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 296, 0) = 296 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0 select(25, [24], [], [24], NULL) = 1 (in [24]) recv(24, "R\0\0\0\0K\0\0\35 O\t\306CZ", 16384, 0) = 15 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0 send(24, "Qselect getdatabaseencoding()\0", 30, 0) = 30 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0 select(25, [24], [], [24], NULL) = 1 (in [24]) recv(24, "Pblank\0T\0\1getdatabaseencoding\0\0\0"..., 16384, 0) = 64 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0 send(24, "Qset datestyle to \'european\'\0", 29, 0) = 29 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0 select(25, [24], [], [24], NULL) = 1 (in [24]) recv(24, "CSET\0Z", 16384, 0) = 6 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0 send(24, "QSELECT * FROM nowosc WHERE wazn"..., 94, 0) = 94 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0 select(25, [24], [], [24], NULL) = 1 (in [24]) recv(24, "Pblank\0T\0\nid\0\0\0\0\27\0\4\377\377\377\377tytul\0\0"..., 16384, 0) = 246 time(NULL) = 1056645616 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0 send(21, "QSELECT id_model_rok FROM model_"..., 116, 0) = 116 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0 select(22, [21], [], [21], NULL) = 1 (in [21]) recv(21, "Pblank\0T\0\1id_model_rok\0\0\0\0\27\0\4\377\377\377"..., 16384, 0) = 50 time(NULL) = 1056645616 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0 send(21, "QSELECT * FROM Sprzedaje s, Ma m"..., 73, 0) = 73 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0 select(22, [21], [], [21], NULL) = 1 (in [21]) recv(21, "Pblank\0T\0\4id_d\0\0\0\0\27\0\4\377\377\377\377id_ma\0"..., 16384, 0) = 110 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0 send(21, "QSELECT DISTINCT M.* FROM M, Mod"..., 201, 0) = 201 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0 select(22, [21], [], [21], NULL) = 1 (in [21]) recv(21, "Pblank\0T\0\5id_m\0\0\0\0\27\0\4\377\377\377\377id_ma\0"..., 16384, 0) = 541 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0 send(21, "QSELECT plik FROM zdjecie WHERE "..., 86, 0) = 86 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0 select(22, [21], [], [21], NULL) = 1 (in [21]) recv(21, "Pblank\0T\0\1plik\0\0\0\0\31\377\377\377\377\377\377D\200"..., 16384, 0) = 57 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0 send(21, "QSELECT model FROM m WHERE id_m "..., 37, 0) = 37 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0 select(22, [21], [], [21], NULL) = 1 (in [21]) recv(21, "Pblank\0T\0\1model\0\0\0\0\31\377\377\377\377\377\377D"..., 16384, 0) = 47 --- SIGSEGV (Segmentation fault) --- Why?