Date: Wed, 6 Dec 2000 14:03:56 +0600 (NS) From: Max Khon <fjoe@iclub.nsu.ru> To: stable@FreeBSD.ORG Cc: mreimer@vpop.net, jdp@polstra.com, eischen@vigrid.com, osa@freebsd.org.ru Subject: Re: Mysql segfaults; is the culprit libstdc++, pthread, regex ...? Message-ID: <Pine.BSF.4.21.0012061352580.34735-100000@iclub.nsu.ru> In-Reply-To: <200012051658.eB5GwHU25440@vashon.polstra.com>
next in thread | previous in thread | raw e-mail | index | archive | help
hi, there!
On Tue, 5 Dec 2000, John Polstra wrote:
> > We've been having problems with mysql segfaulting. It seems to occur
> > when it tries to return from a function, so maybe the stack is getting
> > stomped.
>
> Sergey Osokin recently reported a very similar problem
> on a different threaded C++ program. See message ID
> <20001124174554.A473@freebsd.org.ru> in the -hackers archives -- it
> contains a small test case. I spent a few hours looking at it last
> weekend, but I wasn't able to solve the problem.
seems that problem is with this commit:
obrien 2000/11/11 13:52:40 PST
Modified files: (Branch: RELENG_4)
. Makefile.inc1
gnu/usr.bin/cc/cc_tools freebsd-native.h
Log:
MFC: link shared objections agaisnt libgcc[_r]_pic.
(also remove last vestages of -kthread)
Approved by: JKH
Revision Changes Path
1.141.2.16 +7 -6 src/Makefile.inc1
1.5.2.1 +7 -2 src/gnu/usr.bin/cc/cc_tools/freebsd-native.h
I had very similar problems with ACE wrappers (segfaults on return from
function)/
First, I thought that problem might be introduced by libc_r fixes.
There were also a couple of binutils/gcc updates in -stable so
I downgraded my sources to 4.2-RELEASE and also checked out libc_r before
Dan Eischen fixes -- no luck. After that I checked out
src/Makefile.inc1 1.141.2.15 and freebsd-native.h 1.5. Now I have all ACE
wrappers tests (that should work) running perfectly.
This commit also introduces binary incompatibility -- C++ code
compiled on 4.2-RELEASE cannot be run on RELENG_4 built before this
commit.
Please try to backout this change in your local source tree, rebuild
world, relink your programs and libraries -- I think mysql problems will
went away also.
Now I am rebuilding world with Dan Eischen libc_r fixes to see if they
would not break anything (they should not -- Dan confirmed that he tested
his fixes with ACE wrappers tests on -current)
/fjoe
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0012061352580.34735-100000>
