bug-make
[Top][All Lists]
Advanced

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

Re: [bug #57014] make-4.2.91 segfaults under Solaris 10 when many files


From: Dmitry Goncharov
Subject: Re: [bug #57014] make-4.2.91 segfaults under Solaris 10 when many files are involved
Date: Mon, 7 Oct 2019 11:43:47 -0400

On Mon, Oct 7, 2019 at 11:33 AM Paul Smith <address@hidden> wrote:
> Unfortunately it's not easy to build from Git unless you have a full
> suite of autotools available.

Denis, if you cannot built from git, can you enable core dumps and run
dbx and post the backtrace here?
This is what is look like for me

$ dbx make core.make.1433.1570461665
Reading make
core file header read successfully
Reading ld.so.1
Reading libc.so.1
program terminated by signal SEGV (no mapping at the fault address)
0xffffffff7d882098: memcpy%sun4v-hwcap3+0x02a4: ldub     [%o1 - 2], %o3
Current function is jhash_string
  467       sum_up_to_nul(b, k, have_nul);
(dbx) where
  [1] memcpy%sun4v-hwcap3(0xffffffff7fffc1a0, 0xffffffff7d606002,
0xfffffffffffffffd, 0x0, 0xffffffff7fffdffe, 0x2), at
0xffffffff7d882098
=>[2] jhash_string(k = 0xffffffff7d605ffe "8"), line 467 in "hash.c"
  [3] dirfile_hash_1(key = 0xffffffff7fffc450), line 416 in "dir.c"
  [4] hash_find_slot(ht = 0x1001882a0, key = 0xffffffff7fffc450), line
89 in "hash.c"
  [5] dir_contents_file_exists_p(dir = 0x100188290, filename = (nil)),
line 719 in "dir.c"
  [6] open_dirstream(directory = 0xffffffff7fffc860 "subdir"), line
1202 in "dir.c"
  [7] glob_in_dir(pattern = 0x10017f087 "*.c", directory =
0xffffffff7fffc860 "subdir", flags = 512, errfunc = (nil), pglob =
0xffffffff7fffcc58), line 1299 in "glob.c"
  [8] glob(pattern = 0x10017f080 "subdir/*.c", flags = 512, errfunc =
(nil), pglob = 0xffffffff7fffcc58), line 1011 in "glob.c"
  [9] parse_file_seq(stringp = 0xffffffff7fffceb0, size = 40U, stopmap
= 257, prefix = (nil), flags = 0), line 3391 in "read.c"
  [10] split_prereqs(p = 0x100184ff0 "subdir/*.c"), line 445 in "file.c"
  [11] record_files(filenames = 0x100185010, are_also_makes = 0,
pattern = (nil), pattern_percent = (nil), depstr = 0x100184ff0
"subdir/*.c", cmds_started = 1U, commands = 0x1001860f0 "",
commands_idx = 0, two_colon = 0, prefix = '\t', flocp =
0xffffffff7fffd1d0), line 2006 in "read.c"
  [12] eval(ebuf = 0xffffffff7fffd480, set_default = 1), line 875 in "read.c"
  [13] eval_makefile(filename = 0x10017cfee "Makefile", flags = 0),
line 436 in "read.c"
  [14] read_all_makefiles(makefiles = 0x100161320), line 221 in "read.c"
  [15] main(argc = 3, argv = 0xffffffff7fffe6c8, envp =
0xffffffff7fffe6e8), line 1945 in "main.c"
(dbx) frame 2
Current function is jhash_string
  467       sum_up_to_nul(b, k, have_nul);
(dbx) print k
k = 0xffffffff7d605ffe "8"
(dbx) print k+4
k+4 = 0xffffffff7d606002 "<bad address 0xffffffff7d606002>"


regards, Dmitry



reply via email to

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