bug-make
[Top][All Lists]
Advanced

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

[bug #43434] make 4.1 without /dev/pts mounted segfaults


From: anonymous
Subject: [bug #43434] make 4.1 without /dev/pts mounted segfaults
Date: Fri, 17 Oct 2014 19:59:25 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/600.1.17 (KHTML, like Gecko) Version/7.1 Safari/537.85.10

URL:
  <http://savannah.gnu.org/bugs/?43434>

                 Summary: make 4.1 without /dev/pts mounted segfaults
                 Project: make
            Submitted by: None
            Submitted on: Fri 17 Oct 2014 07:59:24 PM UTC
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: 4.1
        Operating System: None
           Fixed Release: None
           Triage Status: None

    _______________________________________________________

Details:

from https://bugs.gentoo.org/show_bug.cgi?id=525546

Running make without arguments produces a segfault when /dev/pts isn't
mounted. This makes building in a chroot jail a bit of a pain if you don't
mount /dev/pts. Sometimes I don't even bother mounting /dev/ and this only
happens in 4.1


at ~ # make
make: *** No targets specified and no makefile found.  Stop.
at ~ # umount /dev/pts/
at ~ # make
Segmentation fault
at ~ # 


Here is the stack trace (CFLAGS are -g -gdb)

(gdb) bt 
#0  0x00007ffff769ab7a in strlen () from /lib64/libc.so.6
#1  0x00007ffff769a8be in strdup () from /lib64/libc.so.6
#2  0x000000000041e82b in xstrdup (ptr=0x0) at misc.c:259
#3  0x000000000042c922 in define_variable_in_set (name=0x434a53
"MAKE_TERMOUT", length=12, value=0x0, 
    origin=o_default, recursive=0, set=0x440580 <global_variable_set>,
flocp=0x0) at variable.c:243
#4  0x0000000000419cad in main (argc=1, argv=0x7fffffffe048,
envp=0x7fffffffe058) at main.c:1404





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?43434>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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