Package: aptitude
Version: 0.4.11.2-1
Severity: normal

I consider this pretty serious misbehavior, since it results in
aptitude taking action without a request to take action.  However,
this only happens in peculiar circumstances, namely an X failure
killed my who X session.

I ran aptitude in a KDE terminal and hit u, U, and g (i.e., start
upgrade).  It downloaded the debs, checked for bugs (I don't think
there were any) and showed me the changlog.  It then asked (roughly)
Proceed with upgrade (Y/N)?

Since one of the upgrades involved the kernel I was running, and since
I had a long-running computation I didn't want to risk interruptings.
I did not respond.

Hours later I locked the screen (running KDE, launched from
KDE). After some time, another user switched to her existing session
on another virtual terminal.  After a couple of minutes my original X
session, which was not on the screen, crashed.  At that point,
aptitude apparently decided to proceed with the installation:

May 21 21:30:24 corn kernel: Xorg[7160]: segfault at 000001a4 eip
0818c49a esp bf98f9a0 error 4

The dpkg log shows action started shortly thereafter:
2008-05-21 21:30:37 startup archives unpack
2008-05-21 21:30:53 upgrade linux-image-2.6.24-1-686 2.6.24-6 2.6.24-7
2008-05-21 21:30:53 status half-configured linux-image-2.6.24-1-686 2.6.24-6


I speculate that aptitude either mishandled a signal to die or got
disoriented by the disappearance of the terminal it was in.

There are many possible culprits: X or KDE Terminal generated a bogus
character as X went down; apt-listchanges; apt; or any of the
libraries they depend on.  Please reassign if appropriate.

Obviously it would be nice if X didn't crash, but this bug is about
how aptitude handles things when it does.

-- Package-specific info:
aptitude 0.4.11.2 compiled at Apr 12 2008 04:21:26
Compiler: g++ 4.2.3 (Debian 4.2.3-3)
Compiled against:
  apt version 4.6.0
  NCurses version 5.6
  libsigc++ version: 2.0.18
  Ept support enabled.

Current library versions:
  NCurses version: ncurses 5.6.20080308
  cwidget version: 0.5.11
  Apt version: 4.6.0
        linux-gate.so.1 =>  (0xffffe000)
        libapt-pkg-libc6.7-6.so.4.6 => /usr/lib/libapt-pkg-libc6.7-6.so.4.6 
(0xb7e80000)
        libncursesw.so.5 => /lib/libncursesw.so.5 (0xb7e44000)
        libsigc-2.0.so.0 => /usr/lib/libsigc-2.0.so.0 (0xb7e3d000)
        libcwidget.so.3 => /usr/lib/libcwidget.so.3 (0xb7d4d000)
        libept.so.0 => /usr/lib/libept.so.0 (0xb7cd5000)
        libxapian.so.15 => /usr/lib/libxapian.so.15 (0xb7b62000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb7b4d000)
        libpthread.so.0 => /lib/i686/cmov/libpthread.so.0 (0xb7b35000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7a47000)
        libm.so.6 => /lib/i686/cmov/libm.so.6 (0xb7a22000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7a15000)
        libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb78c7000)
        libutil.so.1 => /lib/i686/cmov/libutil.so.1 (0xb78c3000)
        libdl.so.2 => /lib/i686/cmov/libdl.so.2 (0xb78be000)
        /lib/ld-linux.so.2 (0xb7f6d000)
Terminal: xterm
$DISPLAY is set.
`which aptitude`: /usr/bin/aptitude
aptitude version information:

aptitude linkage:

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (990, 'stable'), (50, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages aptitude depends on:
ii  apt [libapt-pkg-libc6. 0.7.11            Advanced front-end for dpkg
ii  libc6                  2.7-10            GNU C Library: Shared libraries
ii  libcwidget3            0.5.11-1          high-level terminal interface libr
ii  libept0                0.5.17            High-level library for managing De
ii  libgcc1                1:4.3.0-3         GCC support library
ii  libncursesw5           5.6+20080308-1    Shared libraries for terminal hand
ii  libsigc++-2.0-0c2a     2.0.18-2          type-safe Signal Framework for C++
ii  libstdc++6             4.3.0-3           The GNU Standard C++ Library v3
ii  libxapian15            1.0.5-1           Search engine library
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

Versions of packages aptitude recommends:
ii  aptitude-doc-en [aptitude-doc 0.4.11.2-1 English manual for aptitude, a ter
ii  libparse-debianchangelog-perl 1.1.1-2    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