Package: gdb
Version: 7.7.1-2
Severity: normal

--- Please enter the report below this line. ---

  Dear maintainer,

I encountered the following segmentation fault of GDB when debugging my
program:

  $ gdb ./explicit_tree_aut_test
  GNU gdb (Debian 7.7.1-2) 7.7.1
  Copyright (C) 2014 Free Software Foundation, Inc.
  License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
  This is free software: you are free to change and redistribute it.
  There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
  and "show warranty" for details.
  This GDB was configured as "x86_64-linux-gnu".
  Type "show configuration" for configuration details.
  For bug reporting instructions, please see:
  <http://www.gnu.org/software/gdb/bugs/>.
  Find the GDB manual and other documentation resources online at:
  <http://www.gnu.org/software/gdb/documentation/>.
  For help, type "help".
  Type "apropos word" to search for commands related to "word"...
  Reading symbols from ./explicit_tree_aut_test...zsh: segmentation fault  gdb 
./explicit_tree_aut_test

I can reproduce it on my (debian sid) machine by the following sequence
of operations (provided adequate supporting packages are installed):

  $ git clone https://github.com/ondrik/libvata.git libvata-gdbbug (1)
  $ cd libvata-gdbbug                                              (2)
  $ make debug                                                     (3)
  $ cd build/unit_tests                                            (4)
  $ gdb ./explicit_tree_aut_test                                   (5)

Note that when I run "make release" instead of "make debug" in step (3),
then gdb works fine (without debuggin symbols, of course, but does not
SEGFAULTs). Under bash, the results is the same as under zsh.

Can I ask you about any idea how to make GDB work again? Thank you.

  Best regards,
                    Ondra

--- System information. ---
Architecture: amd64
Kernel:       Linux 3.14-1-amd64

Debian Release: jessie/sid
  500 unstable        merlin.fit.vutbr.cz 
  500 unstable        debian.yeasoft.net 

--- Package information. ---
Depends                         (Version) | Installed
=========================================-+-=========================
libc6                           (>= 2.15) | 
libexpat1                      (>= 2.0.1) | 
liblzma5         (>= 5.1.1alpha+20110809) | 
libncurses5                   (>= 5.5-5~) | 
libpython2.7                     (>= 2.7) | 
libreadline6                     (>= 6.0) | 
libtinfo5                                 | 
zlib1g                       (>= 1:1.2.0) | 


Recommends      (Version) | Installed
=========================-+-===========
libc-dbg                  | 
gdbserver                 | 7.7.1-2


Suggests      (Version) | Installed
=======================-+-===========
gdb-doc                 | 

Attachment: signature.asc
Description: Digital signature

Reply via email to