Package: gdb
Version: 7.3-1+b1
Severity: important

Dear Maintainer,

   * What led up to the situation?

Run gdb on SyncEvolution (compiled from source in my case).
Set a breakpoint in SyncEvo::Exception::handle().
Run so that an exception is thrown.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

Reading symbols from /home/pohly/work/syncevolution/src/syncevolution...done.
(gdb) b SyncEvo::Exception::handle
Breakpoint 1 at 0x8af22e: file 
/home/pohly/syncevolution/syncevolution/src/syncevo/util.h, line 444.
(gdb) run --daemon=no --print-items foo bar
Starting program: /home/pohly/work/syncevolution/src/syncevolution --daemon=no 
--print-items foo bar
/build/buildd-gdb_7.3-1+b1-amd64-guQjni/gdb-7.3/gdb/breakpoint.c:11006: 
internal-error: addr_string_to_sals: Assertion `sals.nelts == 1' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) y

/build/buildd-gdb_7.3-1+b1-amd64-guQjni/gdb-7.3/gdb/breakpoint.c:11006: 
internal-error: addr_string_to_sals: Assertion `sals.nelts == 1' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Create a core file of GDB? (y or n) n

I made that core file available here: 
http://estamos.de/download/tmp/core-gdb-7.3-20111121.gz

Note that SyncEvo::Exception::handle() is an overloaded function
in a C++ program. I would have expected more than one breakpoint
to be set. I think that previous versions of gdb did that.

SyncEvo::Exception::handle() is called inside catch() blocks, *however*
further debugging shows that it wasn't invoked in the catch block of
this particular exception. But not setting the breakpoint avoids
the problem.

SyncEvolution was compiled with -g and no optimization. I also
tried with clang 2.9, same result.



-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf-8, LC_CTYPE=de_DE.utf-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gdb depends on:
ii  gdbserver     7.3-1+b1        
ii  libc6         2.13-21         
ii  libexpat1     2.0.1-7.2       
ii  libncurses5   5.9-2           
ii  libpython2.7  2.7.2-5         
ii  libreadline6  6.2-7           
ii  zlib1g        1:1.2.3.4.dfsg-3

gdb recommends no packages.

Versions of packages gdb suggests:
pn  gdb-doc  <none>

-- no debconf information





-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to