Home > other >  Linux executable program execution after quote "corrupted" double - linked list are wrong
Linux executable program execution after quote "corrupted" double - linked list are wrong

Time:09-16

After the program execution stack information is as follows:
 # 0 __GI_raise (sig=sig @ entry=6) at/usr/SRC/debug/glibc 2.24 r0/git/sysdeps//sysv/Linux/Unix raise. 58 
c:
# 1 0 x0000007f7a522134 __GI_abort in () the at/usr/SRC/debug/glibc 2.24 r0/git/stdlib/abort. C: 89

# 2 0 x0000007f7a55a010 in __libc_message (do_abort=do_abort @ entry=2,
FMT=FMT @ entry=0 x7f7a60d428 "* * * Error in ` % s' : % s: 0 x % s \ n * * *")
The at/usr/SRC/debug/glibc 2.24 - r0/git/sysdeps/posix/libc_fatal. C: 175

# 3 0 x0000007f7a56078c in malloc_printerr (action=3, STR=0 x7f7a60d470 "corrupted" double - linked list,
PTR=& lt; Optimized out> , ar_ptr=& lt; Optimized out>) The at/usr/SRC/debug/glibc 2.24 r0/git/malloc/malloc. C: 5046

# 4 0 x0000007f7a562cc0 in _int_malloc (av=av @ entry=0 x7f7a635998 & lt; Main_arena & gt; , bytes=bytes @ entry=48)
The at/usr/SRC/debug/glibc 2.24 r0/git/malloc/malloc. C: 3762

# 5 0 x0000007f7a564684 __GI___libc_malloc in bytes (=48) at/usr/SRC/debug/glibc 2.24 r0/git/malloc/malloc. C: 2925
# 6 0 x0000007f7a79b93c operator in new (unsigned long) (a) the from/home/wangyf mt8516/sysroot/usr/lib64/libstdc++. So. 6.0.22

CodePudding user response:

Inspect whether there is a double free of problem, if not, take a look at whether the running environment dynamic libraries have no update, just I also met, is behind this kind of situation, not all the dynamic library update,
  • Related