This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug glob/22777] New: Illegal instruction in glob_lstat


https://sourceware.org/bugzilla/show_bug.cgi?id=22777

            Bug ID: 22777
           Summary: Illegal instruction in glob_lstat
           Product: glibc
           Version: 2.27
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: glob
          Assignee: unassigned at sourceware dot org
          Reporter: krejzi at email dot com
  Target Milestone: ---

When compiling make-4.2.1 against glibc-2.27, which uses glob_lstat, make
terminates with following backtrace:

Program received signal SIGILL, Illegal instruction.
0x00000000006644c0 in ?? ()
(gdb) bt
#0  0x00000000006644c0 in ?? ()
#1  0x00007ffff76c3fae in glob_lstat (pglob=0x7fffffffc070,
fullname=0x7fffffffb740 "./cfg.mk", flags=516) at ../posix/glob.c:204
#2  glob_in_dir (pattern=pattern@entry=0x6bbc72 "cfg.mk",
directory=directory@entry=0x7fffffffbac0 ".", flags=flags@entry=516,
errfunc=errfunc@entry=0x0, 
    pglob=pglob@entry=0x7fffffffc070, alloca_used=<optimized out>,
alloca_used@entry=48) at ../posix/glob.c:1299
#3  0x00007ffff76c4b51 in __glob (pattern=<optimized out>, flags=516,
errfunc=<optimized out>, pglob=<optimized out>) at ../posix/glob.c:1096
#4  0x000000000041de98 in parse_file_seq (stringp=<optimized out>, size=16,
stopmap=1, prefix=0x0, flags=25) at read.c:3278
#5  0x000000000040ee63 in string_glob (line=0x6644c0 "./cfg.mk") at
function.c:360
#6  func_wildcard (o=0x664320 "", argv=<optimized out>, funcname=<optimized
out>) at function.c:1378
#7  0x000000000040d6ee in handle_function (op=0x7fffffffc240,
stringp=<optimized out>) at function.c:2527
#8  0x000000000040a00f in variable_expand_string (line=<optimized out>,
string=<optimized out>, length=<optimized out>) at expand.c:258
#9  0x0000000000409dc6 in variable_expand (line=0x7fffffffc070 "") at
expand.c:417
#10 variable_expand_for_file (line=0x7fffffffc070 "", file=<optimized out>) at
expand.c:464
#11 allocated_variable_expand_for_file (line=0x7fffffffc070 "", file=<optimized
out>) at expand.c:564
#12 0x0000000000424715 in do_variable_definition (flocp=0x7fffffffc5a8,
varname=0x6b6d2e "", value=0x67fe8b "$(wildcard $(srcdir)/cfg.mk)",
origin=o_file, 
    flavor=f_simple, target_var=0) at variable.c:1183
#13 0x00000000004257e5 in try_variable_definition (flocp=0x7fffffffc5a8,
line=<optimized out>, origin=o_file, target_var=0) at variable.c:1609
#14 0x000000000041ba04 in eval (ebuf=<optimized out>, set_default=<optimized
out>) at read.c:746
#15 0x000000000041b436 in eval_makefile (filename=<optimized out>, flags=10) at
read.c:437
#16 0x000000000041c25f in eval (ebuf=<optimized out>, set_default=<optimized
out>) at read.c:904
#17 0x000000000041b436 in eval_makefile (filename=<optimized out>, flags=0) at
read.c:437
#18 0x000000000041b008 in read_all_makefiles (makefiles=0x0) at read.c:255
#19 0x0000000000416458 in main (argc=1, argv=0x7fffffffe258,
envp=0x7fffffffe268) at main.c:1969


make-4.2.1 worked fine with glibc-2.26.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]