i know this is a dead list, so i'm sorry for a necro posting into a gray
void.
still, we see cscope aborts at exit due to myexit() recursive call. we have
2 cases, see backtraces attached
(i have no idea if this list@ accepts these attachments). also see the
following for details:
https://bugzilla.redhat.com/show_bug.cgi?id=2269887#c15 - research
- an ugly fix
so a research shows that the cscope process attempted a normal exit (by "q"
or Ctrl-D) calling myexit(0).
in the middle of it a signal SIGHUP handler was called, which is myexit()
itself. then glibc detects a
double-free condition in __GI___libc_free() while performing
fclose(refsfound). then glibc aborts the process
with __GI_abort() and the "free(): double free detected in tcache 2"
message. backtraces we have are:
main.c:847 in main(): /* normal quit */ myexit(0); ->
main.c:1079 in myexit(sig=0): freefilelist(); ->
dir.c:727 in in freefilelist(): free(srcfiles[--nsrcfiles]); ->
malloc.c:3352 in __GI___libc_free() ->
<signal handler called> ->
main.c:1062 in myexit (sig=1 SIGHUP ): fclose(refsfound); ->
iofclose.c:74 in _IO_new_fclose() -> ... ->
malloc.c:3391 in __GI___libc_free() ->
malloc_printerr("free(): double free detected in tcache 2")
-> __GI_abort()
main.c:847 in main(): /* normal quit */ myexit(0); ->
main.c:1066 in myexit(sig=0): unlink(temp1); ->
unlink.c:28 __unlink (name=<temp1> "/tmp/cscope.699047/cscope.1"); ->
<signal handler called> ->
main.c:1062 in myexit (sig=1 SIGHUP ): fclose(refsfound); ->
iofclose.c:74 in _IO_new_fclose() -> ... ->
malloc.c:3391 in __GI___libc_free() ->
malloc_printerr("free(): double free detected in tcache 2")
-> __GI_abort()
in a short word, a process abort is caused by myexit() interrupted by a
signal which handler is myexit() itself.
note, free() and fclose() are NOT async-signal-safe, see "man 7
signal-safety". calling an async-signal-unsafe
function from a signal handler is perfectly legal unless the signal
interrupted another async-signal-unsafe function.
so i'm not sure about the unlink() case, unlink() is async-signal-safe.
still, the double-free condition is still
there, as we can see from the backtrace.
i'm not going to fix the whole signal handling in cscope, as it is broken.
1) myexit() calls functions which are
not async-signal-safe 2) signal() infrastructure (which is broken) is used
instead of sigaction(). i'll fix only
this specific case where myexit() is interrupted by a call to myexit()
itself by resetting signal handlers to
default ones. this may be not entirely correct but whatever.
Best regards,
Vladis
---
diff -up ./src/main.c.orig ./src/main.c
--- ./src/main.c.orig 2024-08-04 16:49:08.723525637 +0200
+++ ./src/main.c 2024-08-04 16:53:19.967862016 +0200
@@ -1056,11 +1056,18 @@ Please see the manpage for more informat
void
myexit(int sig)
{
+ /* reset signal handlers to default ones, so myexit() is not called
+ * recursively as a signal handler during a normal exit */
+ signal(SIGINT, SIG_DFL);
+ signal(SIGQUIT, SIG_DFL);
+ signal(SIGHUP, SIG_DFL);
+ signal(SIGTERM, SIG_DFL);
+
/* HBB 20010313; close file before unlinking it. Unix may not care
* about that, but DOS absolutely needs it */
if (refsfound != NULL)
fclose(refsfound);
-
+
/* remove any temporary files */
if (temp1[0] != '\0') {
unlink(temp1);
: No such file or directory.
[New LWP 1914429]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `cscope -q'.
Program terminated with signal SIGABRT, Aborted.
#0 __pthread_kill_implementation (threadid=<optimized out>,
signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
44 return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO
(ret) : 0;
Thread 1 (Thread 0x7fa566e6d740 (LWP 1914429)):
#0 __pthread_kill_implementation (threadid=<optimized out>,
signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
tid = <optimized out>
ret = 0
pd = <optimized out>
old_mask = {__val = {140723799388192}}
ret = <optimized out>
#1 0x00007fa566f008a3 in __pthread_kill_internal (signo=6, threadid=<optimized
out>) at pthread_kill.c:78
No locals.
#2 0x00007fa566eae8ee in __GI_raise (sig=sig@entry=6) at
../sysdeps/posix/raise.c:26
ret = <optimized out>
#3 0x00007fa566e968ff in __GI_abort () at abort.c:79
save_stage = 1
act = {__sigaction_handler = {sa_handler = 0x20, sa_sigaction = 0x20},
sa_mask = {__val = {10, 206158430224, 140723799388816, 140723799388576,
94416103568784, 256, 94416103395981, 94411971100672, 10, 206158430224,
140723799388880, 140723799388640, 140723799389094, 505, 511, 140723799388400}},
sa_flags = -804065028, sa_restorer = 0x1f3}
#4 0x00007fa566e977d0 in __libc_message (fmt=fmt@entry=0x7fa56701456a "%s\n")
at ../sysdeps/posix/libc_fatal.c:150
ap = {{gp_offset = 16, fp_offset = 0, overflow_arg_area =
0x7ffcd012f210, reg_save_area = 0x7ffcd012f1a0}}
fd = 2
list = <optimized out>
nlist = <optimized out>
cp = <optimized out>
#5 0x00007fa566f0a795 in malloc_printerr (str=str@entry=0x7fa5670174e0
"free(): double free detected in tcache 2") at malloc.c:5765
No locals.
#6 0x00007fa566f0cc5f in _int_free (av=0x7fa567048ac0 <main_arena>,
p=p@entry=0x55def657ce20, have_lock=have_lock@entry=0) at malloc.c:4534
tmp = <optimized out>
cnt = <optimized out>
e = 0x55def657ce30
tc_idx = <optimized out>
size = <optimized out>
fb = <optimized out>
#7 0x00007fa566f0f3ce in __GI___libc_free (mem=mem@entry=0x55def657ce30) at
malloc.c:3391
ar_ptr = <optimized out>
p = 0x55def657ce20
err = 5
#8 0x00007fa566ee8c80 in _IO_deallocate_file (fp=0x55def657ce30) at
/usr/src/debug/glibc-2.38-10.fc39.x86_64/libio/libioP.h:958
No locals.
#9 _IO_new_fclose (fp=0x55def657ce30) at iofclose.c:74
status = 0
#10 0x000055def49aded0 in myexit (sig=1) at
/usr/src/debug/cscope-15.9-19.fc39.x86_64/src/main.c:1062
No locals.
#11 <signal handler called>
No locals.
#12 __GI___libc_free (mem=0x55def655aa70) at malloc.c:3352
ar_ptr = <optimized out>
p = <optimized out>
err = <optimized out>
#13 0x000055def49a2266 in freefilelist () at
/usr/src/debug/cscope-15.9-19.fc39.x86_64/src/dir.c:727
p = <optimized out>
nextp = <optimized out>
i = <optimized out>
#14 0x000055def49adef8 in myexit (sig=sig@entry=0) at
/usr/src/debug/cscope-15.9-19.fc39.x86_64/src/main.c:1079
No locals.
#15 0x000055def499ee2c in main (argc=<optimized out>, argv=<optimized out>) at
/usr/src/debug/cscope-15.9-19.fc39.x86_64/src/main.c:847
buf =
"\003\000\000\000\002\000\000\000\371\"\000\000\000\000\000\000\002\000\000\000\000\000\000\000@\000\000\000\000\000\000\000)\003\214\000\000\000\000\000P\375\022\320\374\177\000\000\240\375\022\320\374\177\000\000\326\035\016g\245\177",
'\000' <repeats 11 times>,
"\200\000\000\000\000\000\000\004\000\000\000\000\000\000\000@\000\000\000\000\000\000\000\000\000\200",
'\000' <repeats 13 times>,
"\020\000\000\000\000\000\000\000\000\000\004\000\000\000\000\000@\000\000\000\000\000\000\000\b\000\000\000\000\000\000\000\000\200\000\000\000\000\000\000\000\000@\000\000\000\000\000\000\000@\000\000\000\000\000\000\000\004\000\000\000\000\000\000\000\200\000\000\000\000\000\000\b\000\000\000\000\000\000\000\000\200\000\000\000\000\000"...
names = <optimized out>
oldnum = 32677
path =
"\000\000\000\000\000\000\000\000@\002\000\000@\003\000\000\200\003\000\000\200\003\000\000\200\003\000\000\200\003\000\000(\262\037\320\374\177\000\000\200\003\000\000\200\003\000\000\001",
'\000' <repeats 23 times>,
"\200\003\000\000\200\003\000\000\200\003\000\000\200\003\000\000\200\003\000\000\200\003\000\000\200\003\000\000\200\003\000\000\200\003\000\000\200\003\000\000\200\003\000\000\200\003\000\000\200\003\000\000\200\003",
'\000' <repeats 11 times>, "\001\000\000@", '\000' <repeats 43 times>,
"\377\265\360\000\000\000\000\000\305\000\000\000\000\000\000\000"...
oldrefs = <optimized out>
s = <optimized out>
c = <optimized out>
i = <optimized out>
pid = <optimized out>
stat_buf = {st_dev = 35, st_ino = 1, st_nlink = 27, st_mode = 17407,
st_uid = 0, st_gid = 0, __pad0 = 0, st_rdev = 0, st_size = 920, st_blksize =
4096, st_blocks = 0, st_atim = {tv_sec = 1702070284, tv_nsec = 918666680},
st_mtim = {tv_sec = 1702694956, tv_nsec = 371485422}, st_ctim = {tv_sec =
1702694956, tv_nsec = 371485422}, __glibc_reserved = {0, 0, 0}}
winch_action = {__sigaction_handler = {sa_handler = 0x55def49ac2b0
<sigwinch_handler>, sa_sigaction = 0x55def49ac2b0 <sigwinch_handler>}, sa_mask
= {__val = {0, 16375806688, 12780302206227197952, 6271569174816790,
140348375302128, 140723799391648, 140348375342626, 0, 1, 0, 140723799400705, 3,
140348372735808, 140348375435432, 140348375431856, 6271569172798915}}, sa_flags
= 4, sa_restorer = 0x7fa5670b5000}
orig_umask = <optimized out>
From To Syms Read Shared Object Library
0x00007fa5670911f0 0x00007fa5670abbca Yes /lib64/libncurses.so.6
0x00007fa567061670 0x00007fa567073884 Yes /lib64/libtinfo.so.6
0x00007fa566e96800 0x00007fa566ff570d Yes /lib64/libc.so.6
0x00007fa5670cc000 0x00007fa5670f2295 Yes /lib64/ld-linux-x86-64.so.2
$1 = 0x7fa5670ca000 ""
No symbol "__glib_assert_msg" in current context.
rax 0x0 0
rbx 0x1d363d 1914429
rcx 0x7fa566f00834 140348373338164
rdx 0x6 6
rsi 0x1d363d 1914429
rdi 0x1d363d 1914429
rbp 0x7ffcd012f020 0x7ffcd012f020
rsp 0x7ffcd012efe0 0x7ffcd012efe0
r8 0xffffffff 4294967295
r9 0x0 0
r10 0x8 8
r11 0x246 582
r12 0x7fa566e6d740 140348372735808
r13 0x7ffcd012f130 140723799388464
r14 0x6 6
r15 0x7fa56701456c 140348374467948
rip 0x7fa566f00834 0x7fa566f00834
<__pthread_kill_implementation+276>
eflags 0x246 [ PF ZF IF ]
cs 0x33 51
ss 0x2b 43
ds 0x0 0
es 0x0 0
fs 0x0 0
gs 0x0 0
st0 0 (raw 0x00000000000000000000)
st1 0 (raw 0x00000000000000000000)
st2 0 (raw 0x00000000000000000000)
st3 0 (raw 0x00000000000000000000)
st4 0 (raw 0x00000000000000000000)
st5 0 (raw 0x00000000000000000000)
st6 0 (raw 0x00000000000000000000)
st7 0 (raw 0x00000000000000000000)
fctrl 0x37f 895
fstat 0x0 0
ftag 0xffff 65535
fiseg 0x0 0
fioff 0x0 0
foseg 0x0 0
fooff 0x0 0
fop 0x0 0
mxcsr 0x1f80 [ IM DM ZM OM UM PM ]
bndcfgu {raw = 0x0, config = {base = 0x0, reserved = 0x0, preserved =
0x0, enabled = 0x0}} {raw = 0x0, config = {base = 0, reserved = 0, preserved =
0, enabled = 0}}
bndstatus {raw = 0x0, status = {bde = 0x0, error = 0x0}} {raw = 0x0,
status = {bde = 0, error = 0}}
ymm0 {v16_bfloat16 = {0x7266, 0x6565, 0x2928, 0x203a, 0x6f64, 0x6275,
0x656c, 0x6620, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_half = {0x7266,
0x6565, 0x2928, 0x203a, 0x6f64, 0x6275, 0x656c, 0x6620, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0, 0x0}, v8_float = {0x65657266, 0x203a2928, 0x62756f64,
0x6620656c, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x203a292865657266,
0x6620656c62756f64, 0x0, 0x0}, v32_int8 = {0x66, 0x72, 0x65, 0x65, 0x28, 0x29,
0x3a, 0x20, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x20, 0x66, 0x0 <repeats 16
times>}, v16_int16 = {0x7266, 0x6565, 0x2928, 0x203a, 0x6f64, 0x6275, 0x656c,
0x6620, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0x65657266,
0x203a2928, 0x62756f64, 0x6620656c, 0x0, 0x0, 0x0, 0x0}, v4_int64 =
{0x203a292865657266, 0x6620656c62756f64, 0x0, 0x0}, v2_int128 =
{0x6620656c62756f64203a292865657266, 0x0}}
ymm1 {v16_bfloat16 = {0x6f64, 0x6275, 0x656c, 0x6620, 0x6572, 0x2065,
0x6564, 0x6574, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_half = {0x6f64,
0x6275, 0x656c, 0x6620, 0x6572, 0x2065, 0x6564, 0x6574, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0, 0x0}, v8_float = {0x62756f64, 0x6620656c, 0x20656572,
0x65746564, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x6620656c62756f64,
0x6574656420656572, 0x0, 0x0}, v32_int8 = {0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65,
0x20, 0x66, 0x72, 0x65, 0x65, 0x20, 0x64, 0x65, 0x74, 0x65, 0x0 <repeats 16
times>}, v16_int16 = {0x6f64, 0x6275, 0x656c, 0x6620, 0x6572, 0x2065, 0x6564,
0x6574, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0x62756f64,
0x6620656c, 0x20656572, 0x65746564, 0x0, 0x0, 0x0, 0x0}, v4_int64 =
{0x6620656c62756f64, 0x6574656420656572, 0x0, 0x0}, v2_int128 =
{0x65746564206565726620656c62756f64, 0x0}}
ymm2 {v16_bfloat16 = {0xff, 0x0 <repeats 15 times>}, v16_half =
{0xff, 0x0 <repeats 15 times>}, v8_float = {0xff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0}, v4_double = {0xff, 0x0, 0x0, 0x0}, v32_int8 = {0xff, 0x0 <repeats 31
times>}, v16_int16 = {0xff, 0x0 <repeats 15 times>}, v8_int32 = {0xff, 0x0,
0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0xff, 0x0, 0x0, 0x0}, v2_int128 =
{0xff, 0x0}}
ymm3 {v16_bfloat16 = {0xff, 0x0 <repeats 15 times>}, v16_half =
{0xff, 0x0 <repeats 15 times>}, v8_float = {0xff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0}, v4_double = {0xff, 0x0, 0x0, 0x0}, v32_int8 = {0xff, 0x0 <repeats 31
times>}, v16_int16 = {0xff, 0x0 <repeats 15 times>}, v8_int32 = {0xff, 0x0,
0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0xff, 0x0, 0x0, 0x0}, v2_int128 =
{0xff, 0x0}}
ymm4 {v16_bfloat16 = {0x0 <repeats 16 times>}, v16_half = {0x0
<repeats 16 times>}, v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>},
v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
ymm5 {v16_bfloat16 = {0x0 <repeats 16 times>}, v16_half = {0x0
<repeats 16 times>}, v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>},
v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
ymm6 {v16_bfloat16 = {0x0 <repeats 16 times>}, v16_half = {0x0
<repeats 16 times>}, v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>},
v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
ymm7 {v16_bfloat16 = {0x0 <repeats 16 times>}, v16_half = {0x0
<repeats 16 times>}, v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>},
v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
ymm8 {v16_bfloat16 = {0x0 <repeats 16 times>}, v16_half = {0x0
<repeats 16 times>}, v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>},
v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
ymm9 {v16_bfloat16 = {0x0 <repeats 16 times>}, v16_half = {0x0
<repeats 16 times>}, v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>},
v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
ymm10 {v16_bfloat16 = {0x0 <repeats 16 times>}, v16_half = {0x0
<repeats 16 times>}, v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>},
v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
ymm11 {v16_bfloat16 = {0x0 <repeats 16 times>}, v16_half = {0x0
<repeats 16 times>}, v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>},
v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
ymm12 {v16_bfloat16 = {0x0 <repeats 16 times>}, v16_half = {0x0
<repeats 16 times>}, v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>},
v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
ymm13 {v16_bfloat16 = {0x0 <repeats 16 times>}, v16_half = {0x0
<repeats 16 times>}, v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>},
v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
ymm14 {v16_bfloat16 = {0x0 <repeats 16 times>}, v16_half = {0x0
<repeats 16 times>}, v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>},
v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
ymm15 {v16_bfloat16 = {0x0 <repeats 16 times>}, v16_half = {0x0
<repeats 16 times>}, v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>},
v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
bnd0 {lbound = 0x0, ubound = 0xffffffffffffffff} : size
0xffffffffffffffff {lbound = 0x0, ubound = 0xffffffffffffffff} : size -1
bnd1 {lbound = 0x0, ubound = 0xffffffffffffffff} : size
0xffffffffffffffff {lbound = 0x0, ubound = 0xffffffffffffffff} : size -1
bnd2 {lbound = 0x0, ubound = 0xffffffffffffffff} : size
0xffffffffffffffff {lbound = 0x0, ubound = 0xffffffffffffffff} : size -1
bnd3 {lbound = 0x0, ubound = 0xffffffffffffffff} : size
0xffffffffffffffff {lbound = 0x0, ubound = 0xffffffffffffffff} : size -1
Dump of assembler code for function __pthread_kill_implementation:
0x00007fa566f00720 <+0>: push %rbp
0x00007fa566f00721 <+1>: mov %rsp,%rbp
0x00007fa566f00724 <+4>: push %r15
0x00007fa566f00726 <+6>: push %r14
0x00007fa566f00728 <+8>: mov %esi,%r14d
0x00007fa566f0072b <+11>: push %r13
0x00007fa566f0072d <+13>: push %r12
0x00007fa566f0072f <+15>: push %rbx
0x00007fa566f00730 <+16>: sub $0x18,%rsp
0x00007fa566f00734 <+20>: mov %fs:0x28,%rax
0x00007fa566f0073d <+29>: mov %rax,-0x38(%rbp)
0x00007fa566f00741 <+33>: xor %eax,%eax
0x00007fa566f00743 <+35>: cmp %rdi,%fs:0x10
0x00007fa566f0074c <+44>: je 0x7fa566f00818
<__pthread_kill_implementation+248>
0x00007fa566f00752 <+50>: lea -0x40(%rbp),%r15
0x00007fa566f00756 <+54>: mov %rdi,%r12
0x00007fa566f00759 <+57>: mov %edx,%ebx
0x00007fa566f0075b <+59>: mov $0x8,%r10d
0x00007fa566f00761 <+65>: mov %r15,%rdx
0x00007fa566f00764 <+68>: lea 0x11ad65(%rip),%rsi #
0x7fa56701b4d0 <sigall_set>
0x00007fa566f0076b <+75>: xor %edi,%edi
0x00007fa566f0076d <+77>: mov $0xe,%eax
0x00007fa566f00772 <+82>: syscall
0x00007fa566f00774 <+84>: xor %eax,%eax
0x00007fa566f00776 <+86>: lea 0x904(%r12),%r13
0x00007fa566f0077e <+94>: mov $0x1,%edx
0x00007fa566f00783 <+99>: lock cmpxchg %edx,0x0(%r13)
0x00007fa566f00789 <+105>: jne 0x7fa566f00860
<__pthread_kill_implementation+320>
0x00007fa566f0078f <+111>: cmpb $0x0,0x901(%r12)
0x00007fa566f00798 <+120>: je 0x7fa566f007e8
<__pthread_kill_implementation+200>
0x00007fa566f0079a <+122>: xor %eax,%eax
0x00007fa566f0079c <+124>: xchg %eax,0x0(%r13)
0x00007fa566f007a0 <+128>: cmp $0x1,%eax
0x00007fa566f007a3 <+131>: jg 0x7fa566f00850
<__pthread_kill_implementation+304>
0x00007fa566f007a9 <+137>: mov $0x8,%r10d
0x00007fa566f007af <+143>: xor %edx,%edx
0x00007fa566f007b1 <+145>: mov %r15,%rsi
0x00007fa566f007b4 <+148>: mov $0x2,%edi
0x00007fa566f007b9 <+153>: mov $0xe,%eax
0x00007fa566f007be <+158>: syscall
0x00007fa566f007c0 <+160>: mov %ebx,%eax
0x00007fa566f007c2 <+162>: mov -0x38(%rbp),%rdx
0x00007fa566f007c6 <+166>: sub %fs:0x28,%rdx
0x00007fa566f007cf <+175>: jne 0x7fa566f0086d
<__pthread_kill_implementation+333>
0x00007fa566f007d5 <+181>: add $0x18,%rsp
0x00007fa566f007d9 <+185>: pop %rbx
0x00007fa566f007da <+186>: pop %r12
0x00007fa566f007dc <+188>: pop %r13
0x00007fa566f007de <+190>: pop %r14
0x00007fa566f007e0 <+192>: pop %r15
0x00007fa566f007e2 <+194>: pop %rbp
0x00007fa566f007e3 <+195>: ret
0x00007fa566f007e4 <+196>: nopl 0x0(%rax)
0x00007fa566f007e8 <+200>: mov 0x2d0(%r12),%ebx
0x00007fa566f007f0 <+208>: call 0x7fa566f58480 <__GI_getpid>
0x00007fa566f007f5 <+213>: mov %r14d,%edx
0x00007fa566f007f8 <+216>: mov %eax,%edi
0x00007fa566f007fa <+218>: mov %ebx,%esi
0x00007fa566f007fc <+220>: mov $0xea,%eax
0x00007fa566f00801 <+225>: syscall
0x00007fa566f00803 <+227>: mov %eax,%ebx
0x00007fa566f00805 <+229>: xor %edx,%edx
0x00007fa566f00807 <+231>: neg %ebx
0x00007fa566f00809 <+233>: cmp $0xfffff000,%eax
0x00007fa566f0080e <+238>: cmovbe %edx,%ebx
0x00007fa566f00811 <+241>: jmp 0x7fa566f0079a
<__pthread_kill_implementation+122>
0x00007fa566f00813 <+243>: nopl 0x0(%rax,%rax,1)
0x00007fa566f00818 <+248>: mov $0xba,%eax
0x00007fa566f0081d <+253>: syscall
0x00007fa566f0081f <+255>: mov %eax,%ebx
0x00007fa566f00821 <+257>: call 0x7fa566f58480 <__GI_getpid>
0x00007fa566f00826 <+262>: mov %r14d,%edx
0x00007fa566f00829 <+265>: mov %ebx,%esi
0x00007fa566f0082b <+267>: mov %eax,%edi
0x00007fa566f0082d <+269>: mov $0xea,%eax
0x00007fa566f00832 <+274>: syscall
=> 0x00007fa566f00834 <+276>: mov %eax,%ebx
0x00007fa566f00836 <+278>: neg %ebx
0x00007fa566f00838 <+280>: cmp $0xfffff000,%eax
0x00007fa566f0083d <+285>: mov $0x0,%eax
0x00007fa566f00842 <+290>: cmova %ebx,%eax
0x00007fa566f00845 <+293>: jmp 0x7fa566f007c2
<__pthread_kill_implementation+162>
0x00007fa566f0084a <+298>: nopw 0x0(%rax,%rax,1)
0x00007fa566f00850 <+304>: mov %r13,%rdi
0x00007fa566f00853 <+307>: call 0x7fa566efb3f0
<__GI___lll_lock_wake_private>
0x00007fa566f00858 <+312>: jmp 0x7fa566f007a9
<__pthread_kill_implementation+137>
0x00007fa566f0085d <+317>: nopl (%rax)
0x00007fa566f00860 <+320>: mov %r13,%rdi
0x00007fa566f00863 <+323>: call 0x7fa566efb330
<__GI___lll_lock_wait_private>
0x00007fa566f00868 <+328>: jmp 0x7fa566f0078f
<__pthread_kill_implementation+111>
0x00007fa566f0086d <+333>: call 0x7fa566f94f50 <__stack_chk_fail>
End of assembler dump.
: No such file or directory.
Downloading separate debug info for /usr/bin/cscope...
[New LWP 699047]
Downloading separate debug info for /lib64/libncurses.so.6...
Downloading separate debug info for
/home/jhf/.cache/debuginfod_client/245e180f27cec7a54752fa9ee39f566a6c12959f/debuginfo...
Downloading separate debug info for /lib64/libtinfo.so.6...
Downloading separate debug info for /lib64/libc.so.6...
Downloading separate debug info for
/home/jhf/.cache/debuginfod_client/7ea8d85df0e89b90c63ac7ed2b3578b2e7728756/debuginfo...
Downloading separate debug info for system-supplied DSO at 0x7ffd8cb5e000...
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `cscope -q'.
Program terminated with signal SIGABRT, Aborted.
#0 __pthread_kill_implementation (threadid=<optimized out>,
signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
Downloading source file
/usr/src/debug/glibc-2.38-16.fc39.x86_64/nptl/pthread_kill.c...
44 return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO
(ret) : 0;
Thread 1 (Thread 0x7fd06b901740 (LWP 699047)):
#0 __pthread_kill_implementation (threadid=<optimized out>,
signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
tid = <optimized out>
ret = 0
pd = <optimized out>
old_mask = {__val = {94283321305632}}
ret = <optimized out>
#1 0x00007fd06b9948a3 in __pthread_kill_internal (signo=6, threadid=<optimized
out>) at pthread_kill.c:78
No locals.
#2 0x00007fd06b9428ee in __GI_raise (sig=sig@entry=6) at
../sysdeps/posix/raise.c:26
ret = <optimized out>
#3 0x00007fd06b92a8ff in __GI_abort () at abort.c:79
save_stage = 1
act = {__sigaction_handler = {sa_handler = 0x20, sa_sigaction = 0x20},
sa_mask = {__val = {94283321320077, 94283122081792, 10, 206158430224,
140726963195040, 140726963194800, 93595927314432, 0, 0, 94283299422472, 0, 16,
206158430232, 140726963196240, 140726963196048, 140726963194672}}, sa_flags =
-1967469568, sa_restorer = 0x7fd06bb3f6c0 <handle_SIGTSTP>}
#4 0x00007fd06b92b7d0 in __libc_message (fmt=fmt@entry=0x7fd06baa856a "%s\n")
at ../sysdeps/posix/libc_fatal.c:150
ap = {{gp_offset = 16, fp_offset = 0, overflow_arg_area =
0x7ffd8ca6cc10, reg_save_area = 0x7ffd8ca6cba0}}
fd = 2
list = <optimized out>
nlist = <optimized out>
cp = <optimized out>
#5 0x00007fd06b99e7a5 in malloc_printerr (str=str@entry=0x7fd06baab4e0
"free(): double free detected in tcache 2") at malloc.c:5765
No locals.
#6 0x00007fd06b9a0c6f in _int_free (av=0x7fd06badcac0 <main_arena>,
p=p@entry=0x55c00be2b9b0, have_lock=have_lock@entry=0) at malloc.c:4534
tmp = <optimized out>
cnt = <optimized out>
e = 0x55c00be2b9c0
tc_idx = <optimized out>
size = <optimized out>
fb = <optimized out>
#7 0x00007fd06b9a33de in __GI___libc_free (mem=mem@entry=0x55c00be2b9c0) at
malloc.c:3391
ar_ptr = <optimized out>
p = 0x55c00be2b9b0
err = 5
#8 0x00007fd06b97cc80 in _IO_deallocate_file (fp=0x55c00be2b9c0) at
/usr/src/debug/glibc-2.38-16.fc39.x86_64/libio/libioP.h:958
No locals.
#9 _IO_new_fclose (fp=0x55c00be2b9c0) at iofclose.c:74
status = -1
#10 0x000055c00a91aed0 in myexit (sig=1) at
/usr/src/debug/cscope-15.9-19.fc39.x86_64/src/main.c:1062
No locals.
#11 <signal handler called>
No locals.
#12 __unlink (name=0x55c00aa264e0 <temp1> "/tmp/cscope.699047/cscope.1") at
../sysdeps/unix/sysv/linux/unlink.c:28
sc_ret = 0
#13 0x000055c00a91b02b in myexit (sig=sig@entry=0) at
/usr/src/debug/cscope-15.9-19.fc39.x86_64/src/main.c:1066
No locals.
#14 0x000055c00a90be2c in main (argc=<optimized out>, argv=<optimized out>) at
/usr/src/debug/cscope-15.9-19.fc39.x86_64/src/main.c:847
buf =
"\003\000\000\000\002\000\000\000\371\"\000\000\000\000\000\000\002\000\000\000\000\000\000\000@\000\000\000\000\000\000\000)\003\214\000\000\000\000\000
\327\246\214\375\177\000\000p\327\246\214\375\177\000\000\366~\267k\320\177",
'\000' <repeats 11 times>,
"\200\000\000\000\000\000\000\004\000\000\000\000\000\000\000@\000\000\000\000\000\000\000\000\000\200",
'\000' <repeats 13 times>,
"\020\000\000\000\000\000\000\000\000\000\004\000\000\000\000\000@\000\000\000\000\000\000\000\b\000\000\000\000\000\000\000\000\200\000\000\000\000\000\000\000\000@\000\000\000\000\000\000\000@\000\000\000\000\000\000\000\004\000\000\000\000\000\000\000\200\000\000\000\000\000\000\b\000\000\000\000\000\000\000\000\200\000\000\000\000\000"...
names = <optimized out>
oldnum = 32720
path =
"\000\000\000\000\000\000\000\000@\002\000\000@\003\000\000\200\003\000\000\200\003\000\000\200\003\000\000\200\003\000\000(\342\265\214\375\177\000\000\200\003\000\000\200\003\000\000\001",
'\000' <repeats 23 times>,
"\200\003\000\000\200\003\000\000\200\003\000\000\200\003\000\000\200\003\000\000\200\003\000\000\200\003\000\000\200\003\000\000\200\003\000\000\200\003\000\000\200\003\000\000\200\003\000\000\200\003\000\000\200\003",
'\000' <repeats 11 times>, "\001\000\000@", '\000' <repeats 43 times>,
"\377\265\360\000\000\000\000\000\305\000\000\000\000\000\000\000"...
oldrefs = <optimized out>
s = <optimized out>
c = <optimized out>
i = <optimized out>
pid = <optimized out>
stat_buf = {st_dev = 35, st_ino = 1, st_nlink = 28, st_mode = 17407,
st_uid = 0, st_gid = 0, __pad0 = 0, st_rdev = 0, st_size = 3940, st_blksize =
4096, st_blocks = 0, st_atim = {tv_sec = 1710378984, tv_nsec = 824495014},
st_mtim = {tv_sec = 1710434280, tv_nsec = 121033885}, st_ctim = {tv_sec =
1710434280, tv_nsec = 121033885}, __glibc_reserved = {0, 0, 0}}
winch_action = {__sigaction_handler = {sa_handler = 0x55c00a9192b0
<sigwinch_handler>, sa_sigaction = 0x55c00a9192b0 <sigwinch_handler>}, sa_mask
= {__val = {0, 15244645552, 5152261586860821504, 8043276128108590,
140533137105168, 140726963197808, 140533137145714, 0, 1, 0, 140726963204353, 3,
140533134530368, 140533137238184, 140533137234608, 8043276127793973}}, sa_flags
= 4, sa_restorer = 0x7fd06bb49000}
orig_umask = <optimized out>
From To Syms Read Shared Object Library
0x00007fd06bb251f0 0x00007fd06bb3fbca Yes /lib64/libncurses.so.6
0x00007fd06baf5670 0x00007fd06bb07884 Yes /lib64/libtinfo.so.6
0x00007fd06b92a800 0x00007fd06ba8984d Yes /lib64/libc.so.6
0x00007fd06bb62000 0x00007fd06bb883f5 Yes /lib64/ld-linux-x86-64.so.2
$1 = 0x7fd06bb60000 ""
No symbol "__glib_assert_msg" in current context.
rax 0x0 0
rbx 0xaaaa7 699047
rcx 0x7fd06b994834 140533135132724
rdx 0x6 6
rsi 0xaaaa7 699047
rdi 0xaaaa7 699047
rbp 0x7ffd8ca6ca20 0x7ffd8ca6ca20
rsp 0x7ffd8ca6c9e0 0x7ffd8ca6c9e0
r8 0xffffffff 4294967295
r9 0x0 0
r10 0x8 8
r11 0x246 582
r12 0x7fd06b901740 140533134530368
r13 0x7ffd8ca6cb30 140726963194672
r14 0x6 6
r15 0x7fd06baa856c 140533136262508
rip 0x7fd06b994834 0x7fd06b994834
<__pthread_kill_implementation+276>
eflags 0x246 [ PF ZF IF ]
cs 0x33 51
ss 0x2b 43
ds 0x0 0
es 0x0 0
fs 0x0 0
gs 0x0 0
st0 0 (raw 0x00000000000000000000)
st1 0 (raw 0x00000000000000000000)
st2 0 (raw 0x00000000000000000000)
st3 0 (raw 0x00000000000000000000)
st4 0 (raw 0x00000000000000000000)
st5 0 (raw 0x00000000000000000000)
st6 0 (raw 0x00000000000000000000)
st7 0 (raw 0x00000000000000000000)
fctrl 0x37f 895
fstat 0x0 0
ftag 0xffff 65535
fiseg 0x0 0
fioff 0x0 0
foseg 0x0 0
fooff 0x0 0
fop 0x0 0
mxcsr 0x1f80 [ IM DM ZM OM UM PM ]
bndcfgu {raw = 0x0, config = {base = 0x0, reserved = 0x0, preserved =
0x0, enabled = 0x0}} {raw = 0x0, config = {base = 0, reserved = 0, preserved =
0, enabled = 0}}
bndstatus {raw = 0x0, status = {bde = 0x0, error = 0x0}} {raw = 0x0,
status = {bde = 0, error = 0}}
fs_base 0x7fd06b901740 140533134530368
gs_base 0x0 0
ymm0 {v16_bfloat16 = {0x7266, 0x6565, 0x2928, 0x203a, 0x6f64, 0x6275,
0x656c, 0x6620, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_half = {0x7266,
0x6565, 0x2928, 0x203a, 0x6f64, 0x6275, 0x656c, 0x6620, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0, 0x0}, v8_float = {0x65657266, 0x203a2928, 0x62756f64,
0x6620656c, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x203a292865657266,
0x6620656c62756f64, 0x0, 0x0}, v32_int8 = {0x66, 0x72, 0x65, 0x65, 0x28, 0x29,
0x3a, 0x20, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x20, 0x66, 0x0 <repeats 16
times>}, v16_int16 = {0x7266, 0x6565, 0x2928, 0x203a, 0x6f64, 0x6275, 0x656c,
0x6620, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0x65657266,
0x203a2928, 0x62756f64, 0x6620656c, 0x0, 0x0, 0x0, 0x0}, v4_int64 =
{0x203a292865657266, 0x6620656c62756f64, 0x0, 0x0}, v2_int128 =
{0x6620656c62756f64203a292865657266, 0x0}}
ymm1 {v16_bfloat16 = {0x6f64, 0x6275, 0x656c, 0x6620, 0x6572, 0x2065,
0x6564, 0x6574, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_half = {0x6f64,
0x6275, 0x656c, 0x6620, 0x6572, 0x2065, 0x6564, 0x6574, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0, 0x0}, v8_float = {0x62756f64, 0x6620656c, 0x20656572,
0x65746564, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x6620656c62756f64,
0x6574656420656572, 0x0, 0x0}, v32_int8 = {0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65,
0x20, 0x66, 0x72, 0x65, 0x65, 0x20, 0x64, 0x65, 0x74, 0x65, 0x0 <repeats 16
times>}, v16_int16 = {0x6f64, 0x6275, 0x656c, 0x6620, 0x6572, 0x2065, 0x6564,
0x6574, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0x62756f64,
0x6620656c, 0x20656572, 0x65746564, 0x0, 0x0, 0x0, 0x0}, v4_int64 =
{0x6620656c62756f64, 0x6574656420656572, 0x0, 0x0}, v2_int128 =
{0x65746564206565726620656c62756f64, 0x0}}
ymm2 {v16_bfloat16 = {0xff, 0x0 <repeats 15 times>}, v16_half =
{0xff, 0x0 <repeats 15 times>}, v8_float = {0xff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0}, v4_double = {0xff, 0x0, 0x0, 0x0}, v32_int8 = {0xff, 0x0 <repeats 31
times>}, v16_int16 = {0xff, 0x0 <repeats 15 times>}, v8_int32 = {0xff, 0x0,
0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0xff, 0x0, 0x0, 0x0}, v2_int128 =
{0xff, 0x0}}
ymm3 {v16_bfloat16 = {0xff, 0x0 <repeats 15 times>}, v16_half =
{0xff, 0x0 <repeats 15 times>}, v8_float = {0xff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0}, v4_double = {0xff, 0x0, 0x0, 0x0}, v32_int8 = {0xff, 0x0 <repeats 31
times>}, v16_int16 = {0xff, 0x0 <repeats 15 times>}, v8_int32 = {0xff, 0x0,
0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0xff, 0x0, 0x0, 0x0}, v2_int128 =
{0xff, 0x0}}
ymm4 {v16_bfloat16 = {0x0 <repeats 16 times>}, v16_half = {0x0
<repeats 16 times>}, v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>},
v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
ymm5 {v16_bfloat16 = {0x0 <repeats 16 times>}, v16_half = {0x0
<repeats 16 times>}, v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>},
v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
ymm6 {v16_bfloat16 = {0x0 <repeats 16 times>}, v16_half = {0x0
<repeats 16 times>}, v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>},
v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
ymm7 {v16_bfloat16 = {0x0 <repeats 16 times>}, v16_half = {0x0
<repeats 16 times>}, v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>},
v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
ymm8 {v16_bfloat16 = {0x0 <repeats 16 times>}, v16_half = {0x0
<repeats 16 times>}, v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>},
v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
ymm9 {v16_bfloat16 = {0x0 <repeats 16 times>}, v16_half = {0x0
<repeats 16 times>}, v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>},
v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
ymm10 {v16_bfloat16 = {0x0 <repeats 16 times>}, v16_half = {0x0
<repeats 16 times>}, v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>},
v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
ymm11 {v16_bfloat16 = {0x0 <repeats 16 times>}, v16_half = {0x0
<repeats 16 times>}, v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>},
v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
ymm12 {v16_bfloat16 = {0x0 <repeats 16 times>}, v16_half = {0x0
<repeats 16 times>}, v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>},
v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
ymm13 {v16_bfloat16 = {0x0 <repeats 16 times>}, v16_half = {0x0
<repeats 16 times>}, v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>},
v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
ymm14 {v16_bfloat16 = {0x0 <repeats 16 times>}, v16_half = {0x0
<repeats 16 times>}, v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>},
v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
ymm15 {v16_bfloat16 = {0x0 <repeats 16 times>}, v16_half = {0x0
<repeats 16 times>}, v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>},
v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
bnd0 {lbound = 0x0, ubound = 0xffffffffffffffff} : size
0xffffffffffffffff {lbound = 0x0, ubound = 0xffffffffffffffff} : size -1
bnd1 {lbound = 0x0, ubound = 0xffffffffffffffff} : size
0xffffffffffffffff {lbound = 0x0, ubound = 0xffffffffffffffff} : size -1
bnd2 {lbound = 0x0, ubound = 0xffffffffffffffff} : size
0xffffffffffffffff {lbound = 0x0, ubound = 0xffffffffffffffff} : size -1
bnd3 {lbound = 0x0, ubound = 0xffffffffffffffff} : size
0xffffffffffffffff {lbound = 0x0, ubound = 0xffffffffffffffff} : size -1
Dump of assembler code for function __pthread_kill_implementation:
0x00007fd06b994720 <+0>: push %rbp
0x00007fd06b994721 <+1>: mov %rsp,%rbp
0x00007fd06b994724 <+4>: push %r15
0x00007fd06b994726 <+6>: push %r14
0x00007fd06b994728 <+8>: mov %esi,%r14d
0x00007fd06b99472b <+11>: push %r13
0x00007fd06b99472d <+13>: push %r12
0x00007fd06b99472f <+15>: push %rbx
0x00007fd06b994730 <+16>: sub $0x18,%rsp
0x00007fd06b994734 <+20>: mov %fs:0x28,%rax
0x00007fd06b99473d <+29>: mov %rax,-0x38(%rbp)
0x00007fd06b994741 <+33>: xor %eax,%eax
0x00007fd06b994743 <+35>: cmp %rdi,%fs:0x10
0x00007fd06b99474c <+44>: je 0x7fd06b994818
<__pthread_kill_implementation+248>
0x00007fd06b994752 <+50>: lea -0x40(%rbp),%r15
0x00007fd06b994756 <+54>: mov %rdi,%r12
0x00007fd06b994759 <+57>: mov %edx,%ebx
0x00007fd06b99475b <+59>: mov $0x8,%r10d
0x00007fd06b994761 <+65>: mov %r15,%rdx
0x00007fd06b994764 <+68>: lea 0x11ad65(%rip),%rsi #
0x7fd06baaf4d0 <sigall_set>
0x00007fd06b99476b <+75>: xor %edi,%edi
0x00007fd06b99476d <+77>: mov $0xe,%eax
0x00007fd06b994772 <+82>: syscall
0x00007fd06b994774 <+84>: xor %eax,%eax
0x00007fd06b994776 <+86>: lea 0x904(%r12),%r13
0x00007fd06b99477e <+94>: mov $0x1,%edx
0x00007fd06b994783 <+99>: lock cmpxchg %edx,0x0(%r13)
0x00007fd06b994789 <+105>: jne 0x7fd06b994860
<__pthread_kill_implementation+320>
0x00007fd06b99478f <+111>: cmpb $0x0,0x901(%r12)
0x00007fd06b994798 <+120>: je 0x7fd06b9947e8
<__pthread_kill_implementation+200>
0x00007fd06b99479a <+122>: xor %eax,%eax
0x00007fd06b99479c <+124>: xchg %eax,0x0(%r13)
0x00007fd06b9947a0 <+128>: cmp $0x1,%eax
0x00007fd06b9947a3 <+131>: jg 0x7fd06b994850
<__pthread_kill_implementation+304>
0x00007fd06b9947a9 <+137>: mov $0x8,%r10d
0x00007fd06b9947af <+143>: xor %edx,%edx
0x00007fd06b9947b1 <+145>: mov %r15,%rsi
0x00007fd06b9947b4 <+148>: mov $0x2,%edi
0x00007fd06b9947b9 <+153>: mov $0xe,%eax
0x00007fd06b9947be <+158>: syscall
0x00007fd06b9947c0 <+160>: mov %ebx,%eax
0x00007fd06b9947c2 <+162>: mov -0x38(%rbp),%rdx
0x00007fd06b9947c6 <+166>: sub %fs:0x28,%rdx
0x00007fd06b9947cf <+175>: jne 0x7fd06b99486d
<__pthread_kill_implementation+333>
0x00007fd06b9947d5 <+181>: add $0x18,%rsp
0x00007fd06b9947d9 <+185>: pop %rbx
0x00007fd06b9947da <+186>: pop %r12
0x00007fd06b9947dc <+188>: pop %r13
0x00007fd06b9947de <+190>: pop %r14
0x00007fd06b9947e0 <+192>: pop %r15
0x00007fd06b9947e2 <+194>: pop %rbp
0x00007fd06b9947e3 <+195>: ret
0x00007fd06b9947e4 <+196>: nopl 0x0(%rax)
0x00007fd06b9947e8 <+200>: mov 0x2d0(%r12),%ebx
0x00007fd06b9947f0 <+208>: call 0x7fd06b9ec4e0 <__GI_getpid>
0x00007fd06b9947f5 <+213>: mov %r14d,%edx
0x00007fd06b9947f8 <+216>: mov %eax,%edi
0x00007fd06b9947fa <+218>: mov %ebx,%esi
0x00007fd06b9947fc <+220>: mov $0xea,%eax
0x00007fd06b994801 <+225>: syscall
0x00007fd06b994803 <+227>: mov %eax,%ebx
0x00007fd06b994805 <+229>: xor %edx,%edx
0x00007fd06b994807 <+231>: neg %ebx
0x00007fd06b994809 <+233>: cmp $0xfffff000,%eax
0x00007fd06b99480e <+238>: cmovbe %edx,%ebx
0x00007fd06b994811 <+241>: jmp 0x7fd06b99479a
<__pthread_kill_implementation+122>
0x00007fd06b994813 <+243>: nopl 0x0(%rax,%rax,1)
0x00007fd06b994818 <+248>: mov $0xba,%eax
0x00007fd06b99481d <+253>: syscall
0x00007fd06b99481f <+255>: mov %eax,%ebx
0x00007fd06b994821 <+257>: call 0x7fd06b9ec4e0 <__GI_getpid>
0x00007fd06b994826 <+262>: mov %r14d,%edx
0x00007fd06b994829 <+265>: mov %ebx,%esi
0x00007fd06b99482b <+267>: mov %eax,%edi
0x00007fd06b99482d <+269>: mov $0xea,%eax
0x00007fd06b994832 <+274>: syscall
=> 0x00007fd06b994834 <+276>: mov %eax,%ebx
0x00007fd06b994836 <+278>: neg %ebx
0x00007fd06b994838 <+280>: cmp $0xfffff000,%eax
0x00007fd06b99483d <+285>: mov $0x0,%eax
0x00007fd06b994842 <+290>: cmova %ebx,%eax
0x00007fd06b994845 <+293>: jmp 0x7fd06b9947c2
<__pthread_kill_implementation+162>
0x00007fd06b99484a <+298>: nopw 0x0(%rax,%rax,1)
0x00007fd06b994850 <+304>: mov %r13,%rdi
0x00007fd06b994853 <+307>: call 0x7fd06b98f3f0
<__GI___lll_lock_wake_private>
0x00007fd06b994858 <+312>: jmp 0x7fd06b9947a9
<__pthread_kill_implementation+137>
0x00007fd06b99485d <+317>: nopl (%rax)
0x00007fd06b994860 <+320>: mov %r13,%rdi
0x00007fd06b994863 <+323>: call 0x7fd06b98f330
<__GI___lll_lock_wait_private>
0x00007fd06b994868 <+328>: jmp 0x7fd06b99478f
<__pthread_kill_implementation+111>
0x00007fd06b99486d <+333>: call 0x7fd06ba290a0 <__stack_chk_fail>
End of assembler dump.
_______________________________________________
Cscope-devel mailing list
Cscope-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cscope-devel