[Aptitude-devel] Bug#819840: aptitude: Segfaults if suspended and foregrounded on virtual linux console

Axel Beckert abe at debian.org
Tue Apr 5 13:41:42 UTC 2016


Hi Manuel,

Manuel A. Fernandez Montecelo wrote:
> I was trying to say that the functions whose name appear
> (vsnprintf_chk and the other _chk) are not part of
> aptitude/apt/cwidget, and other of the functions in the backtrace
> don't show names, so if you have of you have dbgsym of aptitude
> installed (as the message of "loading symbols" indicate), it's not
> part of aptitude.
> 
> If you install libcwidget*-dbg, libapt*-dbg and any other -dbg of the
> "aptitude software stack" (sigc++, boost, libc6...) maybe something
> appears in that backtrace.

aptitude-dbgsym and libc6-dbgsym was already installed. I've installed
libcwidget*-dbg, libapt*-dbg, libsigc++-*-dbgsym and libboost-dbg
today.

But now I can't reproduce the segfault anymore, at least on amd64. And
the backtrace from the existing segfaults hasn't changed much -- if at
all -- since then:

(gdb) bt
#0  0x00007fe2861e5973 in ?? ()
#1  0x0000ffffffff0000 in ?? ()
#2  0x0000000100001839 in ?? ()
#3  0x0000000008000000 in ?? ()
#4  0x00007fe287fa8b0c in ___vsprintf_chk (s=0x7ffd08eb4380 "", flags=-1416311776, slen=140724753089664, format=0x564aab94cc10 "\260R\266\252JV", 
    args=0x564aa764dc78, args at entry=0x7ffd08eb44c8) at vsprintf_chk.c:85
#5  0x00007fe287fa8a5d in ___sprintf_chk (s=<optimized out>, flags=<optimized out>, slen=<optimized out>, format=<optimized out>) at sprintf_chk.c:31
#6  0x0000564aa764dc78 in ?? ()
#7  0x0000564aab94cc20 in ?? ()
#8  0x00007fe289d335d4 in cwidget::toplevel::eventq () from /usr/lib/x86_64-linux-gnu/libcwidget.so.3
#9  0x0000000000000080 in ?? ()
#10 0x00007ffd08eb4b20 in ?? ()
#11 0x0000564aab94cc10 in ?? ()
#12 0x000000000000000d in ?? ()
#13 0xfffffffffffffffc in ?? ()
#14 0x00007fe288af204f in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:183
#15 0x0000000000000000 in ?? ()
(gdb) 

Will try the same at home on the Raspberry Pi's console again, too.

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe at debian.org>, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE



More information about the Aptitude-devel mailing list