Bug#649471: gdb: internal error + abort: addr_string_to_sals: Assertion `sals.nelts == 1' failed

2011-11-21 Thread Patrick Ohly
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-2021.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  zlib1g1: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



Bug#649471: gdb: internal error + abort: addr_string_to_sals: Assertion `sals.nelts == 1' failed

2011-11-21 Thread Hector Oron
Hello Patrick,

2011/11/21 Patrick Ohly patrick.o...@intel.com:
 Package: gdb
 Version: 7.3-1+b1
 Severity: important

 /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

Could you please retry with GDB from experimental?

Cheers,
-- 
 Héctor Orón  -.. . -... .. .- -.   -.. . ...- . .-.. --- .--. . .-.



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



Bug#649471: gdb: internal error + abort: addr_string_to_sals: Assertion `sals.nelts == 1' failed

2011-11-21 Thread Hector Oron
Hello Patrick,

2011/11/21 Patrick Ohly patrick.o...@intel.com:

 Could you please retry with GDB from experimental?

 7.4-1~cvs2017.2 from experimental does indeed fix the problem:
 multiple breakpoints are set again for SyncEvo::Exception::handle and
 the assertion is not triggered.

I'll try to evaluate if it is worth to backport the fix for 7.3 or
wait for next upcoming release.

Thanks,
-- 
 Héctor Orón  -.. . -... .. .- -.   -.. . ...- . .-.. --- .--. . .-.



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



Bug#649471: gdb: internal error + abort: addr_string_to_sals: Assertion `sals.nelts == 1' failed

2011-11-21 Thread Patrick Ohly
On Mon, 2011-11-21 at 10:07 +, Hector Oron wrote:
 Hello Patrick,
 
 2011/11/21 Patrick Ohly patrick.o...@intel.com:
  Package: gdb
  Version: 7.3-1+b1
  Severity: important
 
  /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
 
 Could you please retry with GDB from experimental?

7.4-1~cvs2017.2 from experimental does indeed fix the problem:
multiple breakpoints are set again for SyncEvo::Exception::handle and
the assertion is not triggered.

-- 
Best Regards, Patrick Ohly

The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.





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