From owner-freebsd-stable@FreeBSD.ORG Fri May 12 01:24:34 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 941A816A403 for ; Fri, 12 May 2006 01:24:34 +0000 (UTC) (envelope-from needacoder@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.191]) by mx1.FreeBSD.org (Postfix) with ESMTP id E62C843D48 for ; Fri, 12 May 2006 01:24:33 +0000 (GMT) (envelope-from needacoder@gmail.com) Received: by nf-out-0910.google.com with SMTP id y25so263432nfb for ; Thu, 11 May 2006 18:24:32 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=KbbrRQPDcoFgQ8k9Am2OYKj7zytplx07up+vcudt8dHhpCCuBAk6t5lMC3m1TjJw8xLs+/417wik19TvEl4rEsV05WEROODSBYo9GaidQKgyeAYaFfpEnr8senklSqRmeVhqX8EUWIVVPiZb7nZcTWAheH3NOM/qKrYSvLwz6ls= Received: by 10.49.88.14 with SMTP id q14mr953197nfl; Thu, 11 May 2006 17:57:20 -0700 (PDT) Received: by 10.49.75.2 with HTTP; Thu, 11 May 2006 17:57:20 -0700 (PDT) Message-ID: <1e4841eb0605111757t36fdf8cfv267799a17dffc650@mail.gmail.com> Date: Thu, 11 May 2006 20:57:20 -0400 From: "m m" To: stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: 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: Fri, 12 May 2006 01:24:34 -0000 I am writing in regard to PR at http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dbin%2F59552 . I am experienci= ng 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: > #0 0x00000000 in ?? () > #1 0x2949dad8 in ?? () > #2 0x294a02c4 in ?? () > #3 0x281ca708 in ?? () from /lib/libc.so.6 > #4 0xbfbfe708 in ?? () > #5 0x28196556 in endhostent () from /lib/libc.so.6 > #6 0x2949ed4c in ?? () > #7 0x280a9980 in ?? () from /libexec/ld-elf.so.1 > #8 0x280a9878 in ?? () from /libexec/ld-elf.so.1 > #9 0xbfbfe718 in ?? () > #10 0x2808d5ef in find_symdef () from /libexec/ld- elf.so.1 > #11 0x2808da7c in find_symdef () from /libexec/ld-elf.so.1 > #12 0x281ba09a in __cxa_finalize () from /lib/libc.so.6 > #13 0x281b9d9a in exit () from /lib/libc.so.6 > #14 0x0805cd5b in clean_child_exit (code=3D692716228) at http_main.c:522 > #15 0x0805e707 in just_die (sig=3D30) at http_main.c:3202 > #16 0x0805e72a in usr1_handler (sig=3D692716228) at http_main.c:3212 > #17 0xbfbfffb4 in ?? () > #18 0x0000001e in ?? () > #19 0x00000000 in ?? () > #20 0xbfbfe7e0 in ?? () > #21 0x00000002 in ?? () > #22 0x0805e710 in just_die () at http_main.c:3202 > #23 0x0805fdae in child_main (child_num_arg=3D692716228) at http_main.c:4= 571 > #24 0x0806046e in make_child (s=3D0x294a02c4, slot=3D0, now=3D0) at > http_main.c:5051 > #25 0x080604f8 in startup_children (number_to_start=3D5) at http_main.c:5= 078 > #26 0x08060b11 in standalone_main (argc=3D2, argv=3D0xbfbfeca0) at > http_main.c:5410 > #27 0x08061392 in main (argc=3D2, argv=3D0xbfbfeca0) at http_main.c:5767 Please let me know if you have any thoughts on the subject or if this is completely unrelated problem. Thanks!