Comment 35 for bug 282426

Revision history for this message
tdflanders (thomasdelbeke) wrote :

ubuntu@ubuntu:~$ sudo su
root@ubuntu:/home/ubuntu# gdb dpkg 2>&1 | tee gdb-dpkg--configure-a.txt
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
(gdb) handle SIG33 pass nostop noprint
Signal Stop Print Pass to program Description
SIG33 No No Yes Real-time event 33
(gdb) set pagination 0
(gdb) set logging file gdb-dpkg--configure-a-2.log
(gdb) set logging on
Copying output to gdb-dpkg--configure-a-2.log.
(gdb) continue
The program is not being run.
(gdb) run --configure -a
Starting program: /usr/bin/dpkg --configure -a
[Thread debugging using libthread_db enabled]
dpkg: dependency problems prevent configuration of openoffice.org-impress:
 openoffice.org-impress depends on openoffice.org-core (= 1:2.4.1-11ubuntu2.1); however:
  Version of openoffice.org-core on system is 1:2.4.1-11ubuntu2.
 openoffice.org-impress depends on openoffice.org-draw (= 1:2.4.1-11ubuntu2.1); however:
  Version of openoffice.org-draw on system is 1:2.4.1-11ubuntu2.
dpkg: error processing openoffice.org-impress (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-restricted-modules-2.6.27-9-generic:
 linux-restricted-modules-2.6.27-9-generic depends on linux-image-2.6.27-9-generic; however:
  Package linux-image-2.6.27-9-generic is not installed.
dpkg: error processing linux-restricted-modules-2.6.27-9-generic (--configure):
 dependency problems - leaving unconfigured
dpkg: error processing libpango1.0-common (--configure):
 Package is in a very bad inconsistent state - you should
 reinstall it before attempting configuration.
dpkg: dependency problems prevent configuration of openoffice.org-calc:
 openoffice.org-calc depends on openoffice.org-core (= 1:2.4.1-11ubuntu2.1); however:
  Version of openoffice.org-core on system is 1:2.4.1-11ubuntu2.
 openoffice.org-calc depends on openoffice.org-base-core (= 1:2.4.1-11ubuntu2.1); however:
  Version of openoffice.org-base-core on system is 1:2.4.1-11ubuntu2.
dpkg: error processing openoffice.org-calc (--configure):
 dependency problems - leaving unconfigured
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
dpkg: ../../src/packages.c:221: process_queue: Assertion `dependtry <= 4' failed.
[New Thread 0xb7f2a700 (LWP 14679)]

Program received signal SIGABRT, Aborted.
[Switching to Thread 0xb7f2a700 (LWP 14679)]
0xb80cc430 in __kernel_vsyscall ()
(gdb) backtrace full
#0 0xb80cc430 in __kernel_vsyscall ()
No symbol table info available.
#1 0xb7f57880 in raise () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#2 0xb7f59248 in abort () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#3 0xb7f5072e in __assert_fail () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#4 0x080582ac in process_queue () at ../../src/packages.c:221
 removeent = <value optimized out>
 rundown = (struct pkginqueue *) 0x0
 pkg = <value optimized out>
 action_todo = act_configure
 ejbuf = {{__jmpbuf = {157816560, 0, 2, -1078148456, -1532780430, -702356195}, __mask_was_saved = 0, __saved_mask = {__val = {3086600980, 2, 3086399899, 3087556596, 156221808, 2, 3216818760, 3087155543, 157816560, 3087561024, 0, 3216818776, 3086612581, 3087561024, 8, 3087561024, 3086612581, 8, 1, 0, 3216818808, 134622223, 8, 0, 3216818824, 3087556596, 3087561024, 157816560, 3216818840, 3086603350, 3087561024, 157816560}}}}
 istobe = itb_installnew
 __PRETTY_FUNCTION__ = "process_queue"
#5 0x080585e2 in packages (argv=0x1) at ../../src/packages.c:160
 it = (struct pkgiterator *) 0x96816f0
 pkg = (struct pkginfo *) 0x96816f0
 thisarg = <value optimized out>
#6 0x08055fed in main (argc=3, argv=0xbfbcc430) at ../../src/main.c:636
 ejbuf = {{__jmpbuf = {-1207410700, 134811872, 134524176, -1078148216, -1532649358, -677496547}, __mask_was_saved = 0, __saved_mask = {__val = {3216818972, 3216819032, 134680690, 135458124, 1, 134871709, 156172416, 134871184, 0, 0, 0, 0, 156172296, 0, 0, 0, 120, 156173952, 134884900, 134811872, 134524176, 3216819048, 134812029, 3087308873, 134885364, 3216819064, 134521532, 3087556596, 134885364, 3216819096, 134811897, 3087794000}}}}
 actionfunction = (void (*)(const char * const *)) 0x8058400 <packages>
(gdb) info registers
eax 0x0 0
ecx 0x3957 14679
edx 0x6 6
ebx 0x3957 14679
esp 0xbfbcc044 0xbfbcc044
ebp 0xbfbcc05c 0xbfbcc05c
esi 0xb8068b97 -1207530601
edi 0xb8085ff4 -1207410700
eip 0xb80cc430 0xb80cc430 <__kernel_vsyscall+16>
eflags 0x200202 [ IF ID ]
cs 0x73 115
ss 0x7b 123
ds 0x7b 123
es 0x7b 123
fs 0x0 0
gs 0x33 51
(gdb) thread apply all backtrace

Thread 1 (Thread 0xb7f2a700 (LWP 14679)):
#0 0xb80cc430 in __kernel_vsyscall ()
#1 0xb7f57880 in raise () from /lib/tls/i686/cmov/libc.so.6
#2 0xb7f59248 in abort () from /lib/tls/i686/cmov/libc.so.6
#3 0xb7f5072e in __assert_fail () from /lib/tls/i686/cmov/libc.so.6
#4 0x080582ac in process_queue () at ../../src/packages.c:221
#5 0x080585e2 in packages (argv=0x1) at ../../src/packages.c:160
#6 0x08055fed in main (argc=3, argv=0xbfbcc430) at ../../src/main.c:636
(gdb) quit
The program is running. Exit anyway? (y or n) y
root@ubuntu:/home/ubuntu#