possible regression in last jaunty kernel upgrade

Felipe Figueiredo philsf79 at gmail.com
Wed Sep 30 15:16:27 UTC 2009


Hello,

when I did the kernel upgrade from 2.6.28-14-generic to
2.6.28-15-generic, the installation never completed, and I lost the
ability to use aptitude and apt-get. I don't know against which package
I should report a bug.

Symptom of package installation failure is the new kernel not appearing
in grub menu. Also, I noticed the corresponding linux-restricted package
was not pulled from the repos, so I assume it wasn't available at the
time. I need this package since I use the nvidia blob. I downloaded the
missing -restricted package and installed with dpkg.

Now any front-end to apt (I tried so far: aptitude, apt-get, add/remove/
update manager, gdebi and synaptic) segfault immediately after called,
possibly when reading the package database. Following instructions in
https://wiki.ubuntu.com/Backtrace I got the attached backtrace from
aptitude.

I did the kernel upgrade using update-manager, but since the
installation/configuratio of the linux-headers package was taking
forever (seemed stalled TBH), I left home while it was doing, and
rebooted remotely a couple of hours later from work.

Now I can't even use ubuntu-bug. To which pacakge should I report the
bug against? Apt? Update-manager? Linux?

best regards
FF
-------------- next part --------------
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"...
(no debugging symbols found)
(gdb) run
Starting program: /usr/bin/aptitude 
[Thread debugging using libthread_db enabled]
[?1049h(B[?7h[?1h=[?1000h[?1h=[?1h=[?1h=[?1h=[?1h=[?1h=[?1h=[?1h=[?1h=[?1h=[?1h=[?25l(B(B Actions  Undo  Package  Resolver  Search  Options  Views  Help
C-T: Menu  ?: Help  q: Quit  u: Update  g: Download/Install/Remove Pkgs
(B(B[New Thread 0xb79bb6d0 (LWP 8462)]
[New Thread 0xb7890b90 (LWP 8465)]
[New Thread 0xb708fb90 (LWP 8466)]
[New Thread 0xb688eb90 (LWP 8467)]
[?1h=[?1h=[?1h=[?1h=[?1h=[?1h=[?1h=[?1h=[?1h=(B(0lqqqqqqqqqqqqqk(B(B(0x(BLoading cache(0x(B(B(0mqqqqqqqqqqqqqj(B(B[?1h=[?1h=[?1h=[?1h=[?1h=[?1h=[?1h=[?1h=[?1h=
(BReading package lists0[?7l%[?7h(B(B1(B
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb79bb6d0 (LWP 8462)]
0xb7f7f31f in pkgCache::FindPkg () from /usr/lib/libapt-pkg-libc6.9-6.so.4.7
(gdb) backtrace full
#0  0xb7f7f31f in pkgCache::FindPkg () from /usr/lib/libapt-pkg-libc6.9-6.so.4.7
No symbol table info available.
#1  0xb7fae379 in pkgCacheGenerator::NewPackage () from /usr/lib/libapt-pkg-libc6.9-6.so.4.7
No symbol table info available.
#2  0xb7faef95 in pkgCacheGenerator::MergeList () from /usr/lib/libapt-pkg-libc6.9-6.so.4.7
No symbol table info available.
#3  0xb7fe81e9 in debStatusIndex::Merge () from /usr/lib/libapt-pkg-libc6.9-6.so.4.7
No symbol table info available.
#4  0xb7faeb83 in ?? () from /usr/lib/libapt-pkg-libc6.9-6.so.4.7
No symbol table info available.
#5  0xb7fb1c0d in pkgMakeStatusCache () from /usr/lib/libapt-pkg-libc6.9-6.so.4.7
No symbol table info available.
#6  0x081774df in ?? ()
No symbol table info available.
#7  0x0817bc70 in ?? ()
No symbol table info available.
#8  0x0805eb22 in ?? ()
No symbol table info available.
#9  0xb79dc775 in __libc_start_main (main=0x805d1e0 <_Z12_GetErrorObjv at plt+1644>, argc=1, ubp_av=0xbfb487b4, 
    init=0x81e1b10, fini=0x81e1b00, rtld_fini=0xb803a870 <_dl_fini>, stack_end=0xbfb487ac) at libc-start.c:220
	result = <value optimized out>
	unwind_buf = {cancel_jmp_buf = {{jmp_buf = {-1213050892, 136190736, 134597520, -1078687864, -1501797935, 
        -184781375}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0xb803f9b0, 0xb79dc69d}, data = {prev = 0x0, 
      cleanup = 0x0, canceltype = -1207699024}}}
	not_first_call = <value optimized out>
#10 0x0805cbb1 in ?? ()
No symbol table info available.
(gdb)  U.#U. U.#U.info registers
eax            0xfa04fbef	-100336657
ecx            0xbfb48374	-1078688908
edx            0xb4842008	-1266409464
ebx            0xb800aff4	-1207914508
esp            0xbfb47700	0xbfb47700
ebp            0xbfb47748	0xbfb47748
esi            0xb4842008	-1266409464
edi            0x84abff80	-2069102720
eip            0xb7f7f31f	0xb7f7f31f <pkgCache::FindPkg(std::string const&)+111>
eflags         0x210206	[ PF IF RF ID ]
cs             0x73	115
ss             0x7b	123
ds             0x7b	123
es             0x7b	123
fs             0x0	0
gs             0x33	51
(gdb) x/16i $pc
0xb7f7f31f <_ZN8pkgCache7FindPkgERKSs+111>:	mov    (%edi),%ecx
0xb7f7f321 <_ZN8pkgCache7FindPkgERKSs+113>:	movb   $0x0,-0x21(%ebp)
0xb7f7f325 <_ZN8pkgCache7FindPkgERKSs+117>:	test   %ecx,%ecx
0xb7f7f327 <_ZN8pkgCache7FindPkgERKSs+119>:	je     0xb7f7f308 <_ZN8pkgCache7FindPkgERKSs+88>
0xb7f7f329 <_ZN8pkgCache7FindPkgERKSs+121>:	mov    0xc(%ebp),%eax
0xb7f7f32c <_ZN8pkgCache7FindPkgERKSs+124>:	mov    0x34(%eax),%esi
0xb7f7f32f <_ZN8pkgCache7FindPkgERKSs+127>:	mov    0x10(%ebp),%eax
0xb7f7f332 <_ZN8pkgCache7FindPkgERKSs+130>:	mov    (%eax),%edx
0xb7f7f334 <_ZN8pkgCache7FindPkgERKSs+132>:	movzbl (%esi,%ecx,1),%eax
0xb7f7f338 <_ZN8pkgCache7FindPkgERKSs+136>:	cmp    (%edx),%al
0xb7f7f33a <_ZN8pkgCache7FindPkgERKSs+138>:	jne    0xb7f7f308 <_ZN8pkgCache7FindPkgERKSs+88>
0xb7f7f33c <_ZN8pkgCache7FindPkgERKSs+140>:	mov    0x10(%ebp),%edx
0xb7f7f33f <_ZN8pkgCache7FindPkgERKSs+143>:	add    %ecx,%esi
0xb7f7f341 <_ZN8pkgCache7FindPkgERKSs+145>:	mov    %edx,0x4(%esp)
0xb7f7f345 <_ZN8pkgCache7FindPkgERKSs+149>:	mov    -0x2c(%ebp),%ecx
0xb7f7f348 <_ZN8pkgCache7FindPkgERKSs+152>:	mov    %ecx,(%esp)
(gdb) thread apply all backtrace

Thread 4 (Thread 0xb688eb90 (LWP 8467)):
#0  0xb802b430 in __kernel_vsyscall ()
#1  0xb7c58412 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:179
#2  0xb7e8e51e in cwidget::threads::thread::bootstrap<cwidget::threads::bootstrap_proxy<cwidget::toplevel::timeout_thread> > () from /usr/lib/libcwidget.so.3
#3  0xb7c544ff in start_thread (arg=0xb688eb90) at pthread_create.c:297
#4  0xb7aaa49e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xb708fb90 (LWP 8466)):
#0  0xb802b430 in __kernel_vsyscall ()
#1  0xb7c5c300 in __sigwait (set=0xb7f02ff4, sig=0xb708f398)
    at ../nptl/sysdeps/unix/sysv/linux/../../../../../sysdeps/unix/sysv/linux/sigwait.c:63
#2  0xb7e8e0e4 in cwidget::threads::thread::bootstrap<cwidget::toplevel::signal_thread> ()
   from /usr/lib/libcwidget.so.3
#3  0xb7c544ff in start_thread (arg=0xb708fb90) at pthread_create.c:297
#4  0xb7aaa49e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xb7890b90 (LWP 8465)):
#0  0xb802b430 in __kernel_vsyscall ()
#1  0xb7aa27b1 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0xb7e8eb73 in cwidget::threads::thread::bootstrap<cwidget::threads::bootstrap_proxy<cwidget::toplevel::input_thread> > () from /usr/lib/libcwidget.so.3
#3  0xb7c544ff in start_thread (arg=0xb7890b90) at pthread_create.c:297
#4  0xb7aaa49e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb79bb6d0 (LWP 8462)):
#0  0xb7f7f31f in pkgCache::FindPkg () from /usr/lib/libapt-pkg-libc6.9-6.so.4.7
#1  0xb7fae379 in pkgCacheGenerator::NewPackage () from /usr/lib/libapt-pkg-libc6.9-6.so.4.7
#2  0xb7faef95 in pkgCacheGenerator::MergeList () from /usr/lib/libapt-pkg-libc6.9-6.so.4.7
#3  0xb7fe81e9 in debStatusIndex::Merge () from /usr/lib/libapt-pkg-libc6.9-6.so.4.7
#4  0xb7faeb83 in ?? () from /usr/lib/libapt-pkg-libc6.9-6.so.4.7
#5  0xb7fb1c0d in pkgMakeStatusCache () from /usr/lib/libapt-pkg-libc6.9-6.so.4.7
#6  0x081774df in ?? ()
#7  0x0817bc70 in ?? ()
#8  0x0805eb22 in ?? ()
#9  0xb79dc775 in __libc_start_main (main=0x805d1e0 <_Z12_GetErrorObjv at plt+1644>, argc=1, ubp_av=0xbfb487b4, 
    init=0x81e1b10, fini=0x81e1b00, rtld_fini=0xb803a870 <_dl_fini>, stack_end=0xbfb487ac) at libc-start.c:220
#10 0x0805cbb1 in ?? ()
(gdb) quit
The program is running.  Exit anyway? (y or n) 


More information about the Ubuntu-devel-discuss mailing list