Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:19307 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 28379 invoked by uid 1010); 30 Sep 2005 15:33:53 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 28364 invoked from network); 30 Sep 2005 15:33:53 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Sep 2005 15:33:53 -0000 X-Host-Fingerprint: 72.14.204.198 qproxy.gmail.com Linux 2.4/2.6 Received: from ([72.14.204.198:3406] helo=qproxy.gmail.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 5A/82-54476-1EA5D334 for ; Fri, 30 Sep 2005 11:33:53 -0400 Received: by qproxy.gmail.com with SMTP id i38so112289qbh for ; Fri, 30 Sep 2005 08:33:50 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Z69zX7KqeoVEAECAyVgMrbt0NAasq/BVDyXqIB5J6zbWT18LCwTlbZ7ixSuxoaKOI6vV8s6FduU3aFcaavhY9kJofN3xBSqDu2ppN1OvezuxYaWKKO94zxxMjcC1xyYAAwXE4mgqBI+3L/UyugCBD57alqyjrE7tYQI/GLR252M= Received: by 10.64.180.3 with SMTP id c3mr1012224qbf; Fri, 30 Sep 2005 08:33:50 -0700 (PDT) Received: by 10.64.251.3 with HTTP; Fri, 30 Sep 2005 08:33:50 -0700 (PDT) Message-ID: Date: Fri, 30 Sep 2005 11:33:50 -0400 Reply-To: Dan Scott To: internals In-Reply-To: <4e89b42605092406536911dce1@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <4e89b426050922192768c6764e@mail.gmail.com> <4e89b42605092406536911dce1@mail.gmail.com> Subject: Re: [PHP-DEV] shutdown order changed again? broken dl()'d modules, again From: denials@gmail.com (Dan Scott) PDO_ODBC from CVS didn't seem to want to compile with PHP5.0.5, so I tried Unified ODBC instead. On the bright(?) side, I'm seeing the same segfault problem with Unified ODBC compiled against the DB2 libraries as a shared module. So it doesn't seem to be a problem with the code of the extensions themselves (that, or we've managed to make a mistake in ibm_db2 that matches an ext/odbc mistake). Dan On 9/24/05, Wez Furlong wrote: > Curious; I haven't updated glibc or libstdc++ on my system, and I > didn't get this problem a few weeks back. > > --Wez. > > On 9/24/05, Dan Scott wrote: > > This problem did not happen in the past on these distros, so I suspect > > that it's actually a recent update to glibc/libstdc++/ld that's > > causing the segfault strace shows libstdc++ getting mmap'ed before > > libgcc_s, and then getting munmap'ed before libgcc_s. (libdb2 is > > compiled from C++, thus the dependency on libstdc++.) > > > > Based on past experiences with FreeBSD 4.6, Andrei and Rasmus > > suggested that the problem may be a defective linker, which seems > > entirely plausible. I'll try compiling PDO + PDO_ODBC (ibm-db2 > > flavour) as a shared extension to see if it suffers the same fate. >