Re: shutdown order changed again? broken dl()'d modules, again

From: Date: Fri, 30 Sep 2005 15:33:50 +0000
Subject: Re: shutdown order changed again? broken dl()'d modules, again
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-19307@lists.php.net to get a copy of this message
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 <kingwez@gmail.com> 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 <denials@gmail.com> 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. >

« previous php.internals (#19307) next »