help-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sr #110539] bison segv under Cygwin 64 in fatal-signal.c:318


From: anonymous
Subject: [sr #110539] bison segv under Cygwin 64 in fatal-signal.c:318
Date: Sun, 12 Sep 2021 14:03:16 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36

URL:
  <https://savannah.gnu.org/support/?110539>

                 Summary: bison segv under Cygwin 64 in fatal-signal.c:318
                 Project: Bison
            Submitted by: None
            Submitted on: Sun 12 Sep 2021 06:03:14 PM UTC
                Category: None
                Priority: 5 - Normal
                Severity: 4 - Important
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: Brian.Inglis@SystematicSW.ab.ca
             Open/Closed: Open
         Discussion Lock: Any
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

Trying to package bison 3.8/.1 for Cygwin - previous releases to 3.7.6 built
and checked okay - bison 3.8.1 checked okay on 32 bit - all tests segv on 64
bit!

Reran build and check with bison 3.8 and 3.8.1 using gcc 10.2.0 and 11.2.0
with no change in all tests segv @ 0x0000000100000000. 

Build runs with autoreconf et al as per normal on 32 and 64 bit; adding debug
output allowed me see test commands to narrow down cause. 

Ran using gdb against tests/c/bistromathic/parse.y (see attached for gdb
command, script, and full log) getting the output below. 

It appears to be possible that `gl_lock_lock` expansion to `pthread_in_use() ?
pthread_mutex_lock(...)` -> glthread_in_use() ? ...` has avoided defining the
latter in the build, or some underlying dynamic library function may not be
loaded? 

Thread 1 "bison" hit Breakpoint 10, block_fatal_signals () at
/usr/src/debug/bison-3.8.1-1/lib/fatal-signal.c:318
318       if (mt) gl_lock_lock (fatal_signals_block_lock);
Continuing.

Thread 1 "bison" received signal SIGSEGV, Segmentation fault.
0x0000000100000000 in ?? ()
#0  0x0000000100000000 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sun 12 Sep 2021 06:03:14 PM UTC  Name: bison-segv-cygwin-64-gdb.sh 
Size: 223B   By: None
Attached gdb invocation command, gdb commands setup script, and gdb output log
<http://savannah.gnu.org/support/download.php?file_id=51897>
-------------------------------------------------------
Date: Sun 12 Sep 2021 06:03:14 PM UTC  Name: bison-segv-cygwin-64.gdb  Size:
1KiB   By: None
Attached gdb invocation command, gdb commands setup script, and gdb output log
<http://savannah.gnu.org/support/download.php?file_id=51898>
-------------------------------------------------------
Date: Sun 12 Sep 2021 06:03:14 PM UTC  Name: bison-segv-cygwin-64-gdb.log 
Size: 4KiB   By: None
Attached gdb invocation command, gdb commands setup script, and gdb output log
<http://savannah.gnu.org/support/download.php?file_id=51899>

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/support/?110539>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]