[bug #54529] [Makefile:5: foobar] Segmentation fault

2018-08-17 Thread Mark Galeck
Follow-up Comment #3, bug #54529 (project make):

OK, the only system for which this bugs actually shows up, is work build
server, and unfortunately, the IT guy does not know where the cores are, and
gdb is not working.  Let me talk to him about fixing gdb and I will get back
to you what I find from it.  


___

Reply to this item at:

  

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


___
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make


[bug #54529] [Makefile:5: foobar] Segmentation fault

2018-08-17 Thread Henrik Carlqvist
Follow-up Comment #2, bug #54529 (project make):

"Segmentation fault (core dumped)" means that you got a core file to analyze.
A first simple step might be to see what generated that core file, it could be
done with something like "file core". Next you might want to open the core
file in a debugger to see a stack trace.

regards Henrik

___

Reply to this item at:

  

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


___
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make


[bug #54529] [Makefile:5: foobar] Segmentation fault

2018-08-17 Thread Martin Dorey
Follow-up Comment #1, bug #54529 (project make):

Easily put back but I think the bug reporting thing has eaten a tab.  Using a
semicolon rather than newline and tab would avoid that.  I can't reproduce the
crash.  I'm using the latest from git.  If I were you, I'd run it under
valgrind, then you'd probably get a stack trace, although perhaps it would
heisenbug away.

___

Reply to this item at:

  

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


___
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make


[bug #54529] [Makefile:5: foobar] Segmentation fault

2018-08-17 Thread Mark Galeck
URL:
  

 Summary: [Makefile:5: foobar] Segmentation fault
 Project: make
Submitted by: mark_galeck0
Submitted on: Fri 17 Aug 2018 02:46:42 PM UTC
Severity: 3 - Normal
  Item Group: Bug
  Status: None
 Privacy: Public
 Assigned to: None
 Open/Closed: Open
 Discussion Lock: Any
   Component Version: 4.2.1
Operating System: None
   Fixed Release: None
   Triage Status: None

___

Details:

For this Makefile:

ROOT := ${shell echo
/home/mgaleck/ws/mgaleck_build/mgaleck_build_refactor2/target | sed s/t/t/}
export LD_LIBRARY_PATH := ${ROOT}/usr/lib64:${LD_LIBRARY_PATH}

foobar:
touch $@


and file foobar missing, then on some Linux distributions, I get this:

$ make-4.2.1/make
touch foobar
make: *** [Makefile:5: foobar] Segmentation fault (core dumped)


The above Makefile is SSCCE for me - if I delete any elements from the above,
even just one letter from the echo string, does not happen.  

This happens on CentOS 7.3, but on latest Ubuntu, does not happen.  I am
hoping that this is merely a matter of different timing and the bug is really
present on all OS and a person sufficiently familiar with the code can see it
from the above description.  

Mark  




___

Reply to this item at:

  

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


___
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make