Package: cppcheck
Version: 1.83-1
Severity: grave

cppcheck seems to crash on every file:

  $ cppcheck /dev/null
  *** stack smashing detected ***: <unknown> terminated
  Aborted

Backtrace:

#0  0xf7fd5059 in __kernel_vsyscall ()
#1  0xf7adb5b2 in __libc_signal_restore_set (set=0xffffc2fc) at 
../sysdeps/unix/sysv/linux/nptl-signals.h:80
#2  __GI_raise (sig=6) at ../sysdeps/unix/sysv/linux/raise.c:48
#3  0xf7adc9d1 in __GI_abort () at abort.c:79
#4  0xf7b1d273 in __libc_message (action=do_abort, fmt=<optimized out>) at 
../sysdeps/posix/libc_fatal.c:181
#5  0xf7bb606a in __GI___fortify_fail_abort (need_backtrace=false, msg=0xf7c2c0b3 
"stack smashing detected") at fortify_fail.c:33
#6  0xf7bb601b in __stack_chk_fail () at stack_chk_fail.c:29
#7  0x56799244 in __stack_chk_fail_local ()
#8  0x566b5303 in Library::load (this=0xffffcf98, exename=0xffffd799 "/usr/bin/cppcheck", 
path=0x567bab8f "std.cfg") at lib/library.cpp:116
#9  0x56777bf7 in CppCheckExecutor::tryLoadLibrary (destination=..., basepath=0xffffd799 
"/usr/bin/cppcheck", filename=0x567bab8f "std.cfg") at 
cli/cppcheckexecutor.cpp:1062
#10 0x5677a160 in CppCheckExecutor::check_internal (this=0xffffd384, 
cppcheck=..., argv=0xffffd5a4) at cli/cppcheckexecutor.cpp:814
#11 0x5677b9f4 in CppCheckExecutor::check (this=0xffffd384, argc=2, 
argv=0xffffd5a4) at cli/cppcheckexecutor.cpp:199
#12 0x56597f13 in main (argc=2, argv=0xffffd5a4) at cli/main.cpp:136


-- System Information:
Architecture: i386

Versions of packages cppcheck depends on:
ii  libc6             2.27-3
ii  libgcc1           1:8.1.0-1
ii  libpcre3          2:8.39-9
ii  libstdc++6        8.1.0-1
ii  libtinyxml2-6     6.2.0+dfsg-1
ii  python3           3.6.5-3
ii  python3-pygments  2.2.0+dfsg-1

--
Jakub Wilk

Reply via email to