Package: aptitude
Version: 0.4.5.4-1
Severity: normal

Aptitude segfaults reproducibly when a second instance is waiting for
'Press return to continue.' after an install action.

Steps to reproduce:
 * do some install/upgrade in the aptitude gui mode, and let it waiting
   return.
 * do another install/upgrade with the command line interface while the
   first is still waiting

Below is a back trace from gdb, which is not pretty useful (no debug
symbols):
------------------snip--------------------
(gdb) bt
#0  0x081f1d77 in ?? ()
#1  0x081f1fe6 in ?? ()
#2  0x081f2367 in ?? ()
#3  0x081f6766 in ?? ()
#4  0x081f6f0f in ?? ()
#5  0x081f7142 in ?? ()
#6  0x081fa1c2 in ?? ()
#7  0x08137b36 in ?? ()
#8  0x08055adf in ?? ()
#9  0xb7b59030 in __libc_start_main () from /lib/i686/cmov/libc.so.6
#10 0x08052311 in ?? ()
------------------snap--------------------

additionally here are the last few lines of an strace while installing
using the command line interfaces:
------------------snip--------------------
[...]
31668 gettimeofday({1185060342, 835673}, NULL) = 0
31668 gettimeofday({1185060342, 835717}, NULL) = 0
31668 gettimeofday({1185060342, 835753}, NULL) = 0
31668 close(4)                          = 0
31668 write(1, "\rReading state information... Do"..., 35) = 35
31668 write(1, "\n", 1)                 = 1
31668 mmap2(NULL, 466944, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 
0) = 0xb6ea4000
31668 open("/var/lock/aptitude", O_RDWR|O_CREAT|O_TRUNC, 0640) = 4
31668 fcntl64(4, F_SETFD, FD_CLOEXEC)   = 0
31668 fcntl64(4, F_SETLK, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}) = -1 
EAGAIN (Resource temporarily unavailable)
31668 open("/usr/share/locale/en_US/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT 
(No such file or directory)
31668 open("/usr/share/locale/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT 
(No such file or directory)
31668 close(4)                          = 0
31668 open("/usr/lib/gconv/gconv-modules.cache", O_RDONLY) = 4
31668 fstat64(4, {st_mode=S_IFREG|0644, st_size=25486, ...}) = 0
31668 mmap2(NULL, 25486, PROT_READ, MAP_SHARED, 4, 0) = 0xb6e9d000
31668 close(4)                          = 0
31668 futex(0xb7cf3a4c, FUTEX_WAKE, 2147483647) = 0
31668 --- SIGSEGV (Segmentation fault) @ 0 (0) ---
31668 +++ killed by SIGSEGV (core dumped) +++
------------------snap--------------------

I have a complete strace dump if interested.

Kind regards, Marcus


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22.1-cfs-v19-b1-nxs
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages aptitude depends on:
ii  apt [libapt-pkg-libc6.5-6 0.7.3          Advanced front-end for dpkg
ii  libc6                     2.6-2          GNU C Library: Shared libraries
ii  libgcc1                   1:4.2.1-0      GCC support library
ii  libncursesw5              5.6+20070716-1 Shared libraries for terminal hand
ii  libsigc++-2.0-0c2a        2.0.17-2       type-safe Signal Framework for C++
ii  libstdc++6                4.2.1-0        The GNU Standard C++ Library v3

Versions of packages aptitude recommends:
ii  aptitude-doc-en [aptitude-doc 0.4.5.4-1  English manual for aptitude, a ter
ii  libparse-debianchangelog-perl 1.1-1      parse Debian changelogs and output

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to