From owner-freebsd-stable@FreeBSD.ORG Sun May 21 22:19:17 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1A13016A772 for ; Sun, 21 May 2006 22:19:17 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3B76143D46 for ; Sun, 21 May 2006 22:19:16 +0000 (GMT) (envelope-from kabaev@gmail.com) Received: by wr-out-0506.google.com with SMTP id i28so980283wra for ; Sun, 21 May 2006 15:19:15 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type; b=KIj2Qi2SNqwVahw53dZAtAItUb/yuceVdIe+0pqIwk7/+ODOIycYwb//YjMY0z6e5aNmOChgr0NS+OdjYrOXdTPxrxZak9oimlGDUmI+nEUeXpx0aPNHkkTszFE30IkcSsqIRwuv119VUpMvxKbZLB2IOOfb98bZOICyohaKWVI= Received: by 10.54.104.7 with SMTP id b7mr1570118wrc; Sun, 21 May 2006 15:19:15 -0700 (PDT) Received: from kan.dnsalias.net ( [24.63.93.195]) by mx.gmail.com with ESMTP id 6sm1046822wrh.2006.05.21.15.19.14; Sun, 21 May 2006 15:19:14 -0700 (PDT) Date: Sun, 21 May 2006 18:19:20 -0400 From: Alexander Kabaev To: stable@freebsd.org Message-ID: <20060521181920.02aa278e@kan.dnsalias.net> In-Reply-To: <1e4841eb0605211013u30d83617k73ea8551480a50a9@mail.gmail.com> References: <1e4841eb0605111757t36fdf8cfv267799a17dffc650@mail.gmail.com> <20060514195510.783fa765@kan.dnsalias.net> <1e4841eb0605152058n69d4e7b8m27d3944d9af8a346@mail.gmail.com> <1e4841eb0605211013u30d83617k73ea8551480a50a9@mail.gmail.com> X-Mailer: Sylpheed-Claws 2.2.0 (GTK+ 2.8.17; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: multipart/signed; boundary=Sig_Lh2sDDgyR0c42_u08rpPogG; protocol="application/pgp-signature"; micalg=PGP-SHA1 Cc: Subject: Re: improper handling of dlpened's C++/atexit() code? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 May 2006 22:19:18 -0000 --Sig_Lh2sDDgyR0c42_u08rpPogG Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sun, 21 May 2006 13:13:35 -0400 "m m" wrote: > Any hints on this available? Suggestions, more info, anything else? >=20 > On 5/15/06, m m wrote: > > On 5/14/06, Alexander Kabaev wrote: > > > On Thu, 11 May 2006 20:57:20 -0400 > > > "m m" wrote: > > > > > > > I am writing in regard to PR at > > > > http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dbin%2F59552 . I am > > > > experiencing behavior on 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE > > > > #11: Sun Mar 26 00:03:52 EST 2006 which looks a lot like > > > > something that would be caused by this PR. This happens when > > > > apache-1.3 processes that run with Mason code receive a SIGUSR1 > > > > (when newsyslog does log rotation) and apache gracefully kills > > > > off all processes when restarting. The following is the stack > > > > trace that lead me to this PR: > > > You'll need to build ld-elf.so.1 and libc.so.6 to get a sensible > > > backtrace. > > > > Please find the new stack trace below. If there is more > > information I can provide, just ask. (This is 6.1-STABLE, cvsup > > very shortly before May 11 23:14 EDT) > > > > Program received signal SIGSEGV, Segmentation fault. > > 0x00000000 in ?? () > > (gdb) bt > > #0 0x00000000 in ?? () > > #1 0x294c0ad8 in __do_global_dtors_aux () from > > /usr/local/lib/perl5/5.8.8/mach/auto/Sys/Syslog/Syslog.so > > #2 0x294c1d4c in _fini () from > > /usr/local/lib/perl5/5.8.8/mach/auto/Sys/Syslog/Syslog.so > > #3 0x280b4c80 in ?? () > > #4 0x280aaab8 in ?? () from /libexec/ld-elf.so.1 > > #5 0xbfbfe6e8 in ?? () > > #6 0x2808dca6 in objlist_call_fini (list=3D0x280a96d8) at > > /usr/src/libexec/rtld-elf/rtld.c:1336 > > #7 0x2808e1d4 in rtld_exit () > > at /usr/src/libexec/rtld-elf/rtld.c:1528 #8 0x281d58ea in > > __cxa_finalize (dso=3D0x0) at /usr/src/lib/libc/stdlib/atexit.c:184 > > #9 0x281d55ba in exit (status=3D0) > > at /usr/src/lib/libc/stdlib/exit.c:69 #10 0x0805d0cb in > > clean_child_exit () #11 0x0805ea77 in just_die () > > #12 0x0805ea9a in usr1_handler () > > #13 0xbfbfffb4 in ?? () > > #14 0x0000001e in ?? () > > #15 0x00000000 in ?? () > > #16 0xbfbfe7c0 in ?? () > > #17 0x00000002 in ?? () > > #18 0x0805ea80 in just_die () > > #19 0x0806011e in child_main () > > #20 0x080607de in make_child () > > #21 0x08060868 in startup_children () > > #22 0x08060e81 in standalone_main () > > #23 0x08061702 in main () > > Looks like normal atexit path to me. At this point a close look at Syslog.so is needed IMHO. I do not see anything criminal implicating FreeBSD in this crash in any way. --=20 Alexander Kabaev --Sig_Lh2sDDgyR0c42_u08rpPogG Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEcOdvQ6z1jMm+XZYRAnGxAJ9nCsw4khaOljPtg8dX8U4Zff4NfwCfSq4n V1ksEj3aedYeJJmks5t8Z38= =NsFk -----END PGP SIGNATURE----- --Sig_Lh2sDDgyR0c42_u08rpPogG--