This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug backtrace/20746] New: hit assert, when 'thread apply all bt' in noninteractive mode.
- From: "v at tenable dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Sat, 29 Oct 2016 19:35:16 +0000
- Subject: [Bug backtrace/20746] New: hit assert, when 'thread apply all bt' in noninteractive mode.
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=20746
Bug ID: 20746
Summary: hit assert, when 'thread apply all bt' in
noninteractive mode.
Product: gdb
Version: 7.8
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: backtrace
Assignee: unassigned at sourceware dot org
Reporter: v at tenable dot com
Target Milestone: ---
Created attachment 9601
--> https://sourceware.org/bugzilla/attachment.cgi?id=9601&action=edit
3 .txt files, each with result of respective noninteractive gdb invocation.
===============
=== symptom ===
Behavior varies slightly, depending on exact commands given; in attached
tarchive, please find output copy for 3 variants, as resulting from,
respectively,
$ gdb --nx --pid 119377 --batch --ex 'set print address off' --ex 'thread
apply all bt'
$ gdb --nx --pid 119377 --batch --ex 'thread apply all bt'
$ gdb --nx --pid 119377 --ex 'thread apply all bt'
In each case, process was left in state "S", and returned to normal operation
when sent SIGCONT.
=====================
=== about the GDB ===
$ gdb --version
GNU gdb (GDB) 7.8.2
Copyright (C) 2014 Free Software Foundation, Inc.
/*** ...legal... ***/
This GDB was configured as "x86_64-unknown-linux-gnu".
Type "show configuration" for configuration details.
(gdb) show configuration
This GDB was configured as follows:
configure --host=x86_64-unknown-linux-gnu --target=x86_64-unknown-linux-gnu
--with-auto-load-dir=$debugdir:$datadir/auto-load
--with-auto-load-safe-path=$debugdir:$datadir/auto-load
--without-expat
--with-gdb-datadir=/usr/local/share/gdb (relocatable)
--with-jit-reader-dir=/usr/local/lib/gdb (relocatable)
--without-libunwind-ia64
--without-lzma
--with-python=/usr/local (relocatable)
--without-guile
--with-separate-debug-dir=/usr/local/lib/debug (relocatable)
--with-zlib
--without-babeltrace
(Was built from source, but only option given explicitly was --with-python.)
=====================
=== about the GCC ===
$ g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/x86_64-unknown-linux-gnu/5.4.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: /tmp/gcc-src/gcc-5.4.0/configure --disable-bootstrap
--disable-decimal-float --disable-fixed-point --disable-libgomp
--disable-libquadmath --disable-libssp --disable-libvtv --disable-multiarch
--disable-multilib --disable-nls --disable-stage1-checking
--disable-version-specific-runtime-libs --disable-werror --enable-c99
--enable-checking=release --enable-clocale=gnu --enable-__cxa_atexit
--enable-gold --enable-languages=c,c++ --enable-libstdcxx-time=rt
--enable-shared=libgcc,libstdc++ --enable-threads=posix --enable-tls
--enable-valgrind-annotations --with-diagnostics-color=auto
--with-glibc-version=2.12
--with-pkgversion=''\''from-source__25-Aug-2016__BenchLCE2'\'''
--with-system-zlib --without-cloog --without-isl --without-ppl
Thread model: posix
gcc version 5.4.0 ('from-source__25-Aug-2016__BenchLCE2'
========================
=== about the binary ===
$ file lced
lced: setuid setgid ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux),
dynamically linked (uses shared libs), for GNU/Linux 2.6.18, not stripped
======================================
=== GCC flags used to build binary ===
-fmax-errors=10 -fmessage-length=0 -fno-show-column -fno-strict-aliasing
-ftrapv -march=x86-64 -pipe -Wall -Wcast-align -Wextra -Wfloat-equal -Wformat=2
-Wframe-larger-than=10485760 -Winit-self -Wlarger-than=10485760
-Wmissing-include-dirs -Wno-format-y2k -Wno-sign-compare -Wno-sign-conversion
-Wpacked -Wpointer-arith -Wredundant-decls -Wshadow -Wuninitialized -Wunused
-Wswitch-bool -Wsizeof-array-argument -D__FILENAME__='"$(notdir $<)"'
-static-libstdc++ -std=gnu++11 -Wno-float-conversion -Wlogical-op
-Woverloaded-virtual -Wunused-parameter -Wodr -Wsuggest-final-methods
-Wsuggest-final-types -fno-rtti
==================
=== about host ===
$ uname -srvpio
Linux 2.6.32-573.el6.x86_64 #1 SMP Thu Jul 23 15:44:03 UTC 2015 x86_64 x86_64
GNU/Linux
$ cat /etc/redhat-release
CentOS release 6.7 (Final)
=======================
=== about the glibc ===
$ /lib64/libc.so.6
GNU C Library stable release version 2.12, by Roland McGrath et al.
Copyright (C) 2010 Free Software Foundation, Inc.
/*** ...legal... ***/
Compiled by GNU CC version 4.4.7 20120313 (Red Hat 4.4.7-16).
Compiled on a Linux 2.6.32 system on 2015-07-23.
Available extensions:
The C stubs add-on version 2.1.2.
crypt add-on version 2.1 by Michael Glad and others
GNU Libidn by Simon Josefsson
Native POSIX Threads Library by Ulrich Drepper et al
BIND-8.2.3-T5B
RT using linux kernel aio
libc ABIs: UNIQUE IFUNC
--
You are receiving this mail because:
You are on the CC list for the bug.