From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14253 invoked by alias); 23 Sep 2019 06:18:38 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 14242 invoked by uid 89); 23 Sep 2019 06:18:38 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_05,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=index0outx, spinning, UD:index0-out.x, UD:x X-HELO: mail-io1-f49.google.com Received: from mail-io1-f49.google.com (HELO mail-io1-f49.google.com) (209.85.166.49) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 23 Sep 2019 06:18:36 +0000 Received: by mail-io1-f49.google.com with SMTP id q10so30715368iop.2 for ; Sun, 22 Sep 2019 23:18:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc; bh=oq/FT6dn8aPG+651cKkA7WUPe0mQcau0Huzt3lUGtTQ=; b=LMZF3UZbWX7fzlYTXyi74d/GmPlKosvWCYfjor5rfFbKYrqnPjlOHf3d3LS881kQCo RLDpeX3WfOpdq2IcWEWVJpItDik4YoynHWIFesoBTpZsdfw7+6jqfFMZecohoEIzr5JG mvH8NpwS5riOR50Mr+Gs+Z+HWAhg7IyalUrtUSJgMwMeY/+0fvNUeWBYp7YneEtaq8PJ NYftlcgzmhRwuMs5iFIX5g1jCZg6eoNPmJZiEobIdMY22heBr6PTjUMOVoiOT1RbdWb8 J5eqGa4Z7XndgAMxyvO2PT0lyZ0TL79zkC2H5ntb+KbJb63ish90zqNgP9O/0mYitEW1 5q/Q== MIME-Version: 1.0 From: Uros Bizjak Date: Mon, 23 Sep 2019 06:18:00 -0000 Message-ID: Subject: Re: gcc/testsuite/go/index0-out.x spinning To: GCC Development Cc: Ian Taylor , Martin Sebor Content-Type: text/plain; charset="UTF-8" X-SW-Source: 2019-09/txt/msg00185.txt.bz2 >> Looks like I spoke too soon. It's hanging/spinning again. Do you >> have any suggestion for how I can help debug it? > > Send the spinning process a SIGQUIT. It should crash with a stack > backtrace showing what it is doing at that point. I see a segfault in seemingly a random place, even with ulimit -s unlimited, mostly in: Program received signal SIGSEGV, Segmentation fault. __generic_morestack (pframe_size=0x2aaaaefd9cc0, old_stack=0x2aaaaefd9ce0, param_size=0) at ../../../git/gcc/libgcc/generic-morestack.c:558 558 current->old_stack = old_stack; (gdb) bt #0 __generic_morestack (pframe_size=0x2aaaaefd9cc0, old_stack=0x2aaaaefd9ce0, param_size=0) at ../../../git/gcc/libgcc/generic-morestack.c:558 #1 0x00002aaaabae4fb8 in __morestack () at ../../../git/gcc/libgcc/config/i386/morestack.S:512 #2 0x00002aaaabadd1f8 in backtrace_get_view (state=state@entry=0x2aaaafb7e000, descriptor=descriptor@entry=2, offset=offset@entry=1760592, size=585728, error_callback=error_callback@entry=0x2aaaab557450 , data=data@entry=0x2aaaaefda6a0, view=0x2aaaaefd9fc0) at ../../../git/gcc/libbacktrace/mmapio.c:79 #3 0x00002aaaabadc660 in elf_add (state=state@entry=0x2aaaafb7e000, filename=filename@entry=0x7fffffffd8fc "/home/uros/gcc-build/gcc/testsuite/go/index0-out.x", descriptor=descriptor@entry=5, base_address=base_address@entry=0, error_callback=error_callback@entry=0x2aaaab557450 , data=data@entry=0x2aaaaefda6a0, fileline_fn=0x2aaaaefda238, found_sym=0x2aaaaefda230, found_dwarf=0x2aaaaefda234, fileline_entry=0x0, exe=1, debuginfo=0, with_buildid_data=0x0, with_buildid_size=0) at ../../../git/gcc/libbacktrace/elf.c:3158 #4 0x00002aaaabadd041 in backtrace_initialize (state=state@entry=0x2aaaafb7e000, filename=filename@entry=0x7fffffffd8fc "/home/uros/gcc-build/gcc/testsuite/go/index0-out.x", descriptor=5, error_callback=error_callback@entry=0x2aaaab557450 , data=data@entry=0x2aaaaefda6a0, fileline_fn=fileline_fn@entry=0x2aaaaefda2d8) at ../../../git/gcc/libbacktrace/elf.c:3390 but sometimes in: Program received signal SIGSEGV, Segmentation fault. merge_dynamic_blocks (b=0x2, a=0x24) at ../../../git/gcc/libgcc/generic-morestack.c:420 420 for (pp = &a->next; *pp != NULL; pp = &(*pp)->next) (gdb) bt #0 merge_dynamic_blocks (b=0x2, a=0x24) at ../../../git/gcc/libgcc/generic-morestack.c:420 #1 __morestack_release_segments (free_dynamic=, pp=) at ../../../git/gcc/libgcc/generic-morestack.c:455 #2 __generic_morestack (pframe_size=0x2aaaaefda150, old_stack=0x2aaaaefda170, param_size=0) at ../../../git/gcc/libgcc/generic-morestack.c:546 #3 0x00002aaaabae4fb8 in __morestack () at ../../../git/gcc/libgcc/config/i386/morestack.S:512 #4 0x00002aaaabad75c1 in dwarf_lookup_pc (state=state@entry=0x2aaaafb7e000, ddata=ddata@entry=0x2aaab18e5a18, pc=, pc@entry=46912507311387, callback=callback@entry=0x2aaaab5570c0 , error_callback=error_callback@entry=0x2aaaab557450 , data=data@entry=0x2aaaaefda6a0, found=) at ../../../git/gcc/libbacktrace/dwarf.c:3021 Uros.