Hi Michael,

I reproduced the crash, but gdb indicated nothing.

As you can see above I get an 'please run dpkg --configure -a' error. I
did this and include the output bellow and in file.

One more question though:

Is there any relevance to this bug? I ran it from the live cd and not
many people will be using 'root# update-manager -c -d' from a live cd.
Still I am glad to help you out if it can discover any significant
weaknesses in the code off course.

Cheers,

Thomas

<gdb-output>

r...@ubuntu:/home/ubuntu# gdb dpkg 2>&1 | tee gdb-dpkg.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.log
(gdb) set logging on
Copying output to gdb-dpkg--configure-a.log.
(gdb) run --configure -a
Starting program: /usr/bin/dpkg --configure -a
[Thread debugging using libthread_db enabled]
Setting up libperl5.10 (5.10.0-11.1ubuntu2.2) ...

Setting up procps (1:3.2.7-9ubuntu2.1) ...
Removing obsolete conffile /etc/sysctl.d/10-tcp-timestamps-workaround.conf
 * Setting kernel variables (/etc/sysctl.conf)...
   ...done.
 * Setting kernel variables (/etc/sysctl.d/10-console-messages.conf)...
   ...done.
 * Setting kernel variables (/etc/sysctl.d/10-network-security.conf)...
   ...done.
 * Setting kernel variables (/etc/sysctl.d/10-process-security.conf)...
   ...done.
 * Setting kernel variables (/etc/sysctl.d/30-tracker.conf)...
   ...done.

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
Setting up linux-restricted-modules-common (2.6.27-9.13) ...

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
Setting up libvolume-id0 (124-9) ...
Setting up perl-modules (5.10.0-11.1ubuntu2.2) ...
Setting up language-pack-bn (1:8.10+20081107) ...
Setting up language-pack-bn-base (1:8.10+20081107) ...
Generating locales...
  bn_BD.UTF-8... done
  bn_IN.UTF-8... done
Generation complete.
 * Reloading GNOME Display Manager configuration...
 * Changes will take effect when all current X sessions have ended.
   ...done.

Setting up language-pack-xh (1:8.10+20081107) ...
Setting up language-pack-gnome-pt (1:8.10+20081107) ...
Setting up language-pack-gnome-bn (1:8.10+20081107) ...
Setting up perl (5.10.0-11.1ubuntu2.2) ...

Setting up language-pack-xh-base (1:8.10+20081107) ...
Generating locales...
  xh_ZA.UTF-8... done
Generation complete.
 * Reloading GNOME Display Manager configuration...
 * Changes will take effect when all current X sessions have ended.
   ...done.

Setting up language-pack-gnome-en (1:8.10+20081107) ...
Setting up language-pack-gnome-es (1:8.10+20081107) ...
Setting up language-pack-de (1:8.10+20081107) ...
Setting up language-pack-pt (1:8.10+20081107) ...
Setting up language-pack-de-base (1:8.10+20081107) ...
Generating locales...
  de_AT.UTF-8... done
  de_BE.UTF-8... done
  de_CH.UTF-8... done
  de_DE.UTF-8... done
  de_LI.UTF-8... done
  de_LU.UTF-8... done
Generation complete.
 * Reloading GNOME Display Manager configuration...
 * Changes will take effect when all current X sessions have ended.
   ...done.

Setting up initramfs-tools (0.92bubuntu16) ...
update-initramfs is disabled since running on a live CD

Setting up language-pack-gnome-de (1:8.10+20081107) ...
Setting up language-pack-en (1:8.10+20081107) ...
Setting up language-pack-es (1:8.10+20081107) ...
Setting up language-pack-gnome-xh (1:8.10+20081107) ...
Setting up language-pack-gnome-en-base (1:8.10+20081107) ...
 * Reloading GNOME Display Manager configuration...
 * Changes will take effect when all current X sessions have ended.
   ...done.

Setting up language-pack-gnome-pt-base (1:8.10+20081107) ...
 * Reloading GNOME Display Manager configuration...
 * Changes will take effect when all current X sessions have ended.
   ...done.

Setting up language-pack-gnome-de-base (1:8.10+20081107) ...
 * Reloading GNOME Display Manager configuration...
 * Changes will take effect when all current X sessions have ended.
   ...done.

Setting up language-pack-gnome-bn-base (1:8.10+20081107) ...
 * Reloading GNOME Display Manager configuration...
 * Changes will take effect when all current X sessions have ended.
   ...done.

Setting up language-pack-pt-base (1:8.10+20081107) ...
Generating locales...
  pt_BR.UTF-8... done
  pt_PT.UTF-8... done
Generation complete.
 * Reloading GNOME Display Manager configuration...
 * Changes will take effect when all current X sessions have ended.
   ...done.

Setting up language-pack-gnome-xh-base (1:8.10+20081107) ...
 * Reloading GNOME Display Manager configuration...
 * Changes will take effect when all current X sessions have ended.
   ...done.

Setting up language-pack-en-base (1:8.10+20081107) ...
Generating locales...
  en_AU.UTF-8... done
  en_BW.UTF-8... done
  en_CA.UTF-8... done
  en_DK.UTF-8... done
  en_GB.UTF-8... done
  en_HK.UTF-8... done
  en_IE.UTF-8... done
  en_IN.UTF-8... done
  en_NG.UTF-8... done
  en_NZ.UTF-8... done
  en_PH.UTF-8... done
  en_SG.UTF-8... done
  en_US.UTF-8... done
  en_ZA.UTF-8... done
  en_ZW.UTF-8... done
Generation complete.
 * Reloading GNOME Display Manager configuration...
 * Changes will take effect when all current X sessions have ended.
   ...done.

Setting up language-pack-gnome-es-base (1:8.10+20081107) ...
 * Reloading GNOME Display Manager configuration...
 * Changes will take effect when all current X sessions have ended.
   ...done.

Setting up language-pack-es-base (1:8.10+20081107) ...
Generating locales...
  es_AR.UTF-8... done
  es_BO.UTF-8... done
  es_CL.UTF-8... done
  es_CO.UTF-8... done
  es_CR.UTF-8... done
  es_DO.UTF-8... done
  es_EC.UTF-8... done
  es_ES.UTF-8... done
  es_GT.UTF-8... done
  es_HN.UTF-8... done
  es_MX.UTF-8... done
  es_NI.UTF-8... done
  es_PA.UTF-8... done
  es_PE.UTF-8... done
  es_PR.UTF-8... done
  es_PY.UTF-8... done
  es_SV.UTF-8... done
  es_US.UTF-8... done
  es_UY.UTF-8... done
  es_VE.UTF-8... done
Generation complete.
 * Reloading GNOME Display Manager configuration...
 * Changes will take effect when all current X sessions have ended.
   ...done.

dpkg: ../../src/packages.c:221: process_queue: Assertion `dependtry <= 4' 
failed.
[New Thread 0xb7f1a700 (LWP 10552)]

Program received signal SIGABRT, Aborted.
[Switching to Thread 0xb7f1a700 (LWP 10552)]
0xb80bc430 in __kernel_vsyscall ()
(gdb) backtrace full
#0  0xb80bc430 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7f47880 in raise () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#2  0xb7f49248 in abort () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#3  0xb7f4072e 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 = {165858064, 0, 2, -1076116344, 317161966, 
-1369250687}, __mask_was_saved = 0, __saved_mask = {__val = {3086535444, 2, 
165858056, 3087491060, 165880176, 2, 3218850872, 3087090007, 165858064, 
3087495488, 0, 3218850888, 3086547045, 3087495488, 8, 3087495488, 3086547045, 
8, 1, 0, 3218850920, 134622223, 8, 0, 3218850936, 3087491060, 3087495488, 
165858064, 3218850952, 3086537814, 3087495488, 165858064}}}}
        istobe = itb_installnew
        __PRETTY_FUNCTION__ = "process_queue"
#5  0x080585e2 in packages (argv=0x1) at ../../src/packages.c:160
        it = (struct pkgiterator *) 0x9e2cb10
        pkg = (struct pkginfo *) 0x9e2cb10
        thisarg = <value optimized out>
#6  0x08055fed in main (argc=3, argv=0xbfdbc620) at ../../src/main.c:636
        ejbuf = {{__jmpbuf = {-1207476236, 134811872, 134524176, -1076116104, 
317293038, -1344391039}, __mask_was_saved = 0, __saved_mask = {__val = 
{3218851084, 3218851144, 134680690, 135458124, 1, 134871709, 165830784, 
134871184, 0, 0, 0, 0, 165830664, 0, 0, 0, 120, 165832320, 134884900, 
134811872, 134524176, 3218851160, 134812029, 3087243337, 134885364, 3218851176, 
134521532, 3087491060, 134885364, 3218851208, 134811897, 3087728464}}}}
        actionfunction = (void (*)(const char * const *)) 0x8058400 <packages>
(gdb) thread apply all backtrace

Thread 1 (Thread 0xb7f1a700 (LWP 10552)):
#0  0xb80bc430 in __kernel_vsyscall ()
#1  0xb7f47880 in raise () from /lib/tls/i686/cmov/libc.so.6
#2  0xb7f49248 in abort () from /lib/tls/i686/cmov/libc.so.6
#3  0xb7f4072e 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=0xbfdbc620) at ../../src/main.c:636
(gdb) info registers
eax            0x0      0
ecx            0x2938   10552
edx            0x6      6
ebx            0x2938   10552
esp            0xbfdbc234       0xbfdbc234
ebp            0xbfdbc24c       0xbfdbc24c
esi            0xb8058b97       -1207596137
edi            0xb8075ff4       -1207476236
eip            0xb80bc430       0xb80bc430 <__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 0xb7f1a700 (LWP 10552)):
#0  0xb80bc430 in __kernel_vsyscall ()
#1  0xb7f47880 in raise () from /lib/tls/i686/cmov/libc.so.6
#2  0xb7f49248 in abort () from /lib/tls/i686/cmov/libc.so.6
#3  0xb7f4072e 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=0xbfdbc620) at ../../src/main.c:636
(gdb) quit
The program is running.  Exit anyway? (y or n) y
r...@ubuntu:/home/ubuntu# 


** Attachment added: "gdb-dpkg.txt"
   http://launchpadlibrarian.net/21098394/gdb-dpkg.txt

-- 
update-manager crashed with SIGSEGV
https://bugs.launchpad.net/bugs/282426
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to