public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* gcc/testsuite/go/index0-out.x spinning
@ 2019-09-20  2:10 Martin Sebor
  2019-09-20  4:56 ` Ian Lance Taylor
  0 siblings, 1 reply; 6+ messages in thread
From: Martin Sebor @ 2019-09-20  2:10 UTC (permalink / raw)
  To: gcc mailing list, Ian Lance Taylor

All my Fedora 30 builds on x86_64 today have gotten stuck on
index0-out.x spinning indefinitely.  I build and test all
languages, including Go, so I'm wondering if anyone else who
builds Go sees the same thing or if you know of a workaround.

Thanks
Martin

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: gcc/testsuite/go/index0-out.x spinning
  2019-09-20  2:10 gcc/testsuite/go/index0-out.x spinning Martin Sebor
@ 2019-09-20  4:56 ` Ian Lance Taylor
  2019-09-21 20:34   ` Martin Sebor
  0 siblings, 1 reply; 6+ messages in thread
From: Ian Lance Taylor @ 2019-09-20  4:56 UTC (permalink / raw)
  To: Martin Sebor; +Cc: gcc mailing list

On Thu, Sep 19, 2019 at 7:10 PM Martin Sebor <msebor@gmail.com> wrote:
>
> All my Fedora 30 builds on x86_64 today have gotten stuck on
> index0-out.x spinning indefinitely.  I build and test all
> languages, including Go, so I'm wondering if anyone else who
> builds Go sees the same thing or if you know of a workaround.

For what it's worth, I don't see this on Debian rodete at GCC SVN
revision 275986.

Ian

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: gcc/testsuite/go/index0-out.x spinning
  2019-09-20  4:56 ` Ian Lance Taylor
@ 2019-09-21 20:34   ` Martin Sebor
  2019-09-21 23:43     ` Martin Sebor
  0 siblings, 1 reply; 6+ messages in thread
From: Martin Sebor @ 2019-09-21 20:34 UTC (permalink / raw)
  To: Ian Lance Taylor; +Cc: gcc mailing list

On 9/19/19 10:56 PM, Ian Lance Taylor wrote:
> On Thu, Sep 19, 2019 at 7:10 PM Martin Sebor <msebor@gmail.com> wrote:
>>
>> All my Fedora 30 builds on x86_64 today have gotten stuck on
>> index0-out.x spinning indefinitely.  I build and test all
>> languages, including Go, so I'm wondering if anyone else who
>> builds Go sees the same thing or if you know of a workaround.
> 
> For what it's worth, I don't see this on Debian rodete at GCC SVN
> revision 275986.

My build with the top of today's trunk also completed so it must
have been something transient.  Still strange.

Martin

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: gcc/testsuite/go/index0-out.x spinning
  2019-09-21 20:34   ` Martin Sebor
@ 2019-09-21 23:43     ` Martin Sebor
  2019-09-22  1:29       ` Ian Lance Taylor
  0 siblings, 1 reply; 6+ messages in thread
From: Martin Sebor @ 2019-09-21 23:43 UTC (permalink / raw)
  To: Ian Lance Taylor; +Cc: gcc mailing list

On 9/21/19 2:34 PM, Martin Sebor wrote:
> On 9/19/19 10:56 PM, Ian Lance Taylor wrote:
>> On Thu, Sep 19, 2019 at 7:10 PM Martin Sebor <msebor@gmail.com> wrote:
>>>
>>> All my Fedora 30 builds on x86_64 today have gotten stuck on
>>> index0-out.x spinning indefinitely.  I build and test all
>>> languages, including Go, so I'm wondering if anyone else who
>>> builds Go sees the same thing or if you know of a workaround.
>>
>> For what it's worth, I don't see this on Debian rodete at GCC SVN
>> revision 275986.
> 
> My build with the top of today's trunk also completed so it must
> have been something transient.  Still strange.

Looks like I spoke too soon.  It's hanging/spinning again.  Do you
have any suggestion for how I can help debug it?

Martin

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: gcc/testsuite/go/index0-out.x spinning
  2019-09-21 23:43     ` Martin Sebor
@ 2019-09-22  1:29       ` Ian Lance Taylor
  0 siblings, 0 replies; 6+ messages in thread
From: Ian Lance Taylor @ 2019-09-22  1:29 UTC (permalink / raw)
  To: Martin Sebor; +Cc: gcc mailing list

On Sat, Sep 21, 2019 at 4:43 PM Martin Sebor <msebor@gmail.com> wrote:
>
> On 9/21/19 2:34 PM, Martin Sebor wrote:
> > On 9/19/19 10:56 PM, Ian Lance Taylor wrote:
> >> On Thu, Sep 19, 2019 at 7:10 PM Martin Sebor <msebor@gmail.com> wrote:
> >>>
> >>> All my Fedora 30 builds on x86_64 today have gotten stuck on
> >>> index0-out.x spinning indefinitely.  I build and test all
> >>> languages, including Go, so I'm wondering if anyone else who
> >>> builds Go sees the same thing or if you know of a workaround.
> >>
> >> For what it's worth, I don't see this on Debian rodete at GCC SVN
> >> revision 275986.
> >
> > My build with the top of today's trunk also completed so it must
> > have been something transient.  Still strange.
>
> 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.

Ian

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: gcc/testsuite/go/index0-out.x spinning
@ 2019-09-23  6:18 Uros Bizjak
  0 siblings, 0 replies; 6+ messages in thread
From: Uros Bizjak @ 2019-09-23  6:18 UTC (permalink / raw)
  To: GCC Development; +Cc: Ian Taylor, Martin Sebor

>> 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
<error_callback>, 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 <error_callback>,
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
<error_callback>, 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=<optimized out>,
pp=<optimized out>) 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=<optimized out>,
    pc@entry=46912507311387, callback=callback@entry=0x2aaaab5570c0 <callback>,
    error_callback=error_callback@entry=0x2aaaab557450
<error_callback>, data=data@entry=0x2aaaaefda6a0, found=<optimized
out>)
    at ../../../git/gcc/libbacktrace/dwarf.c:3021

Uros.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-09-23  6:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-20  2:10 gcc/testsuite/go/index0-out.x spinning Martin Sebor
2019-09-20  4:56 ` Ian Lance Taylor
2019-09-21 20:34   ` Martin Sebor
2019-09-21 23:43     ` Martin Sebor
2019-09-22  1:29       ` Ian Lance Taylor
2019-09-23  6:18 Uros Bizjak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).