update-manager crashed with SIGSEGV

Bug #282426 reported by tdflanders
14
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: update-manager

thomas@thomas-laptop:~$ lsb_release -rd ; uname -a ; apt-cache policy linux linux-image linux-source-2.6.27 linux-headers-generic linux-restricted-modules update-manager network-manager ; hwinfo +all log=hw_logDescription: Ubuntu intrepid (development branch)
Release: 8.10
Linux thomas-laptop 2.6.27-7-generic #1 SMP Fri Oct 10 03:55:24 UTC 2008 i686 GNU/Linux
linux:
  Installed: 2.6.27.7.8
  Candidate: 2.6.27.7.8
  Version table:
 *** 2.6.27.7.8 0
        500 http://gb.archive.ubuntu.com intrepid/restricted Packages
        100 /var/lib/dpkg/status
linux-image:
  Installed: 2.6.27.7.8
  Candidate: 2.6.27.7.8
  Version table:
 *** 2.6.27.7.8 0
        500 http://gb.archive.ubuntu.com intrepid/main Packages
        100 /var/lib/dpkg/status
linux-source-2.6.27:
  Installed: 2.6.27-7.10
  Candidate: 2.6.27-7.10
  Version table:
 *** 2.6.27-7.10 0
        500 http://gb.archive.ubuntu.com intrepid/main Packages
        100 /var/lib/dpkg/status
linux-headers-generic:
  Installed: 2.6.27.7.8
  Candidate: 2.6.27.7.8
  Version table:
 *** 2.6.27.7.8 0
        500 http://gb.archive.ubuntu.com intrepid/main Packages
        100 /var/lib/dpkg/status
linux-restricted-modules:
  Installed: 2.6.27.7.8
  Candidate: 2.6.27.7.8
  Version table:
 *** 2.6.27.7.8 0
        500 http://gb.archive.ubuntu.com intrepid/restricted Packages
        100 /var/lib/dpkg/status
update-manager:
  Installed: 1:0.93.22
  Candidate: 1:0.93.22
  Version table:
 *** 1:0.93.22 0
        500 http://gb.archive.ubuntu.com intrepid/main Packages
        100 /var/lib/dpkg/status
network-manager:
  Installed: 0.7~~svn20081008t224042-0ubuntu2
  Candidate: 0.7~~svn20081008t224042-0ubuntu2
  Version table:
 *** 0.7~~svn20081008t224042-0ubuntu2 0
        500 http://gb.archive.ubuntu.com intrepid/main Packages
        100 /var/lib/dpkg/status
thomas@thomas-laptop:~$

ProblemType: Crash
Architecture: i386
Disassembly: 0xb6c5f952:
DistroRelease: Ubuntu 8.10
ExecutablePath: /usr/bin/update-manager
InterpreterPath: /usr/bin/python2.5
Package: update-manager 1:0.93.22
PackageArchitecture: all
ProcAttrCurrent: unconfined
ProcCmdline: /usr/bin/python2.5 /usr/bin/update-manager -c -d
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
Signal: 11
SourcePackage: update-manager
Stacktrace:
 #0 0xb6c5f952 in ?? ()
 #1 0x61663466 in ?? ()
 Backtrace stopped: previous frame inner to this frame (corrupt stack?)
StacktraceTop:
 ?? ()
 ?? ()
ThreadStacktrace:

Title: update-manager crashed with SIGSEGV
Uname: Linux 2.6.27-7-generic i686
UserGroups:

Revision history for this message
tdflanders (thomasdelbeke) wrote :
Revision history for this message
tdflanders (thomasdelbeke) wrote :
Revision history for this message
arno_b (arno.b) wrote :

Please, can you describe how your problem occurs.
And try to obtain a backtrace by following the instructions on https://wiki.ubuntu.com/DebuggingProgramCrash.
(install packages 'update-manager-core-dbgsym' and 'gdb' and see here for backtrace https://wiki.ubuntu.com/Backtrace)

Set to incomplete until we have a backtrace.

Changed in update-manager:
status: New → Incomplete
Revision history for this message
Apport retracing service (apport) wrote : Symbolic stack trace

StacktraceTop:?? ()
?? ()

Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for your bugreport.

Could you please run "sudo apt-get check" and see if that changes anything?

Revision history for this message
tdflanders (thomasdelbeke) wrote :
Download full text (3.3 KiB)

thomas@thomas-laptop:/var/crash$ sudo apport-retrace -g ./*update-manager*
WARNING: package perl-base-dbgsym not available
WARNING: libcurl3-gnutls-dbgsym version 7.18.2-1ubuntu3 required, but 7.18.2-1ubuntu4 is available
WARNING: update-manager-core version 1:0.93.22 required, but 1:0.93.25 is available
WARNING: libldap-2.4-2-dbgsym version 2.4.11-0ubuntu4 required, but 2.4.11-0ubuntu5 is available
WARNING: package libselinux1-dbgsym not available
WARNING: update-manager-core-dbgsym version 1:0.93.22 required, but 1:0.93.25 is available
WARNING: python-glade2 version 2.13.0-0ubuntu5 required, but 2.13.0-0ubuntu7 is available
WARNING: package libgcc1-dbgsym not available
WARNING: package gnupg-dbgsym not available
WARNING: update-manager version 1:0.93.22 required, but 1:0.93.25 is available
WARNING: package whiptail-dbgsym not available
WARNING: libhal-storage1-dbgsym version 0.5.11-4ubuntu2 required, but 0.5.11-4ubuntu3 is available
WARNING: package libdb4.7-dbgsym not available
WARNING: libxapian15-dbgsym version 1.0.7-3 required, but 1.0.7-4 is available
WARNING: package libxcb-render-util0-dbgsym not available
WARNING: package libgdbm3-dbgsym not available
WARNING: package gcc-4.3-base-dbgsym not available
WARNING: package sed-dbgsym not available
WARNING: libxapian15 version 1.0.7-3 required, but 1.0.7-4 is available
WARNING: python-glade2-dbgsym version 2.13.0-0ubuntu5 required, but 2.13.0-0ubuntu7 is available
WARNING: libxi6-dbgsym version 2:1.1.3-1ubuntu4 required, but 2:1.1.3-1ubuntu5 is available
WARNING: libhal1 version 0.5.11-4ubuntu2 required, but 0.5.11-4ubuntu3 is available
WARNING: libcairo2 version 1.7.6-0ubuntu1 required, but 1.8.0-0ubuntu1 is available
WARNING: package libnewt0.52-dbgsym not available
WARNING: package libbz2-1.0-dbgsym not available
WARNING: libxi6 version 2:1.1.3-1ubuntu4 required, but 2:1.1.3-1ubuntu5 is available
WARNING: x11-common version 1:7.4~2ubuntu7 required, but 1:7.4~4ubuntu2 is available
WARNING: package python2.5-dbgsym not available
WARNING: package libcomerr2-dbgsym not available
WARNING: package libdb4.6-dbgsym not available
WARNING: python-gtk2-dbgsym version 2.13.0-0ubuntu5 required, but 2.13.0-0ubuntu7 is available
WARNING: libcurl3-gnutls version 7.18.2-1ubuntu3 required, but 7.18.2-1ubuntu4 is available
WARNING: package libxml2-dbgsym not available
WARNING: scrollkeeper version None required, but 0.3.14-16ubuntu1 is available
WARNING: libhal1-dbgsym version 0.5.11-4ubuntu2 required, but 0.5.11-4ubuntu3 is available
WARNING: libldap-2.4-2 version 2.4.11-0ubuntu4 required, but 2.4.11-0ubuntu5 is available
WARNING: package debianutils-dbgsym not available
WARNING: package gpgv-dbgsym not available
WARNING: scrollkeeper-dbgsym version None required, but 0.3.14-16ubuntu1 is available
WARNING: libcairo2-dbgsym version 1.7.6-0ubuntu1 required, but 1.8.0-0ubuntu1 is available
WARNING: python-gtk2 version 2.13.0-0ubuntu5 required, but 2.13.0-0ubuntu7 is available
WARNING: libhal-storage1 version 0.5.11-4ubuntu2 required, but 0.5.11-4ubuntu3 is available
WARNING: libcomerr2 version 1.41.2-1ubuntu2 required, but 1.41.3-1ubuntu1 is available
WARNING: package cpp-dbgsym not available
WARNING: pack...

Read more...

Revision history for this message
tdflanders (thomasdelbeke) wrote :

thomas@thomas-laptop:/var/crash$ sudo apt-get check
Reading package lists... Done
Building dependency tree
Reading state information... Done
thomas@thomas-laptop:/var/crash$

Revision history for this message
tdflanders (thomasdelbeke) wrote :

Hi,

the crash does no longer occur and I cannot do a backtrace on the CoreDump file, can you help me out?

Thanks,

Thomas

thomas@thomas-laptop:/var/crash$ ls -la
total 13324
drwxrwxrwx 2 thomas root 4096 2008-10-16 00:03 .
drwxr-xr-x 15 root root 4096 2008-07-02 11:34 ..
-rwxrwxrwx 1 thomas root 0 2008-10-15 00:37 .lock
-rwxrwxrwx 1 thomas thomas 640618 2008-10-14 21:11 _usr_bin_canberra-gtk-play.1000.crash
-rwxrwxrwx 1 thomas thomas 39961 2008-10-13 00:26 _usr_bin_jockey-gtk.1000.crash
-rwxrwxrwx 1 thomas root 12018626 2008-10-13 00:41 _usr_bin_update-manager.0.crash
-rwxrwxrwx 1 thomas thomas 60023 2008-10-15 01:04 _usr_lib_openoffice_program_soffice.bin.1000.crash
-rwxrwxrwx 1 thomas root 837318 2008-10-14 13:59 _usr_sbin_NetworkManager.0.crash
thomas@thomas-laptop:/var/crash$ sudo gdb -c CoreDump /home/thomas/Desktop/update-manager/CoreDump 2>&1 | tee gdb-update-manager.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"...
"/home/thomas/Desktop/update-manager/CoreDump": not in executable format: File format not recognized
/var/crash/CoreDump: No such file or directory.
(gdb)
[10]+ Stopped sudo gdb -c CoreDump /home/thomas/Desktop/update-manager/CoreDump 2>&1 | tee gdb-update-manager.txt
thomas@thomas-laptop:/var/crash$

Revision history for this message
tdflanders (thomasdelbeke) wrote :

OK,

this was the problem:

The CoreDump-file is 42 MB so my report got truncated.

I will upload it further over here.

Please can you help me out with how to do further CoreDump backtraces?

Thanks,

Thomas

Revision history for this message
tdflanders (thomasdelbeke) wrote :
Download full text (6.0 KiB)

Hi there,

I think this was a python bug?

Can you give me instructions on how to debug the crash report?

Thanks,

Thomas

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".
Reading symbols from /usr/bin/python2.5...Reading symbols from /usr/lib/debug/usr/bin/python2.5...done.
done.
warning: core file may not match specified executable file.
Failed to read a valid object file image from memory.
Core was generated by `/usr/bin/python2.5 /usr/bin/update-manager -c -d'.
Program terminated with signal 11, Segmentation fault.
[New process 7052]
[New process 7061]
#0 0xb7de729b in ?? ()
(gdb) set logging file gdb-update-manager.txt
(gdb) set logging on
Copying output to gdb-update-manager.txt.
(gdb) handle SIG33
Signal Stop Print Pass to program Description
SIG33 Yes Yes Yes Real-time event 33
(gdb) handle SIG33 nostop noprint
Signal Stop Print Pass to program Description
SIG33 No No Yes Real-time event 33
(gdb) set pagination 0
(gdb) run
Starting program: /usr/bin/python2.5
[Thread debugging using libthread_db enabled]
Python 2.5.2 (r252:60911, Oct 5 2008, 19:24:49)
[GCC 4.3.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
[New Thread 0xb7d478c0 (LWP 15166)]
>>>
Program received signal SIGTSTP, Stopped (user).
[Switching to Thread 0xb7d478c0 (LWP 15166)]
0xb7f21430 in __kernel_vsyscall ()
(gdb) backtrace full
#0 0xb7f21430 in __kernel_vsyscall ()
No symbol table info available.
#1 0xb7e21bcd in ___newselect_nocancel () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#2 0xb7c7bb61 in call_readline (sys_stdin=0xb7ea2420, sys_stdout=0xb7ea24c0, prompt=0xb7cde874 ">>> ") at /build/buildd/python2.5-2.5.2/Modules/readline.c:779
 p = <value optimized out>
 saved_locale = 0x9290a10 "C"
#3 0x0810e710 in PyOS_Readline (sys_stdin=0xb7ea2420, sys_stdout=0xb7ea24c0, prompt=0xb7cde874 ">>> ") at ../Parser/myreadline.c:208
 _save = (PyThreadState *) 0x9238050
 rv = <value optimized out>
#4 0x0805bbe4 in tok_nextc (tok=0x929ab80) at ../Parser/tokenizer.c:790
 newtok = 0x92735a0 "\030"
#5 0x0805c2df in PyTokenizer_Get (tok=0x929ab80, p_start=0xbfb20978, p_end=0xbfb20974) at ../Parser/tokenizer.c:1137
 result = <value optimized out>
#6 0x08059921 in parsetok (tok=0x929ab80, g=<value optimized out>, start=<value optimized out>, err_ret=0xbfb209c0, flags=0) at ../Parser/parsetok.c:135
 a = 0x0
 type = -1078851240
 len = 0
 str = 0x805ad82 "\205�\211\003t.\211C\b\211C\004\005"
 b = 0x0
 ps = (parser_state *) 0x92a32e0
 n = <value optimized out>
 started = 0
 handling_import = 0
 handling_with = 0
#7 0x080edaa6 in PyRun_InteractiveOneFlags (fp=0xb7ea2420, filename=0x8128462 "<stdin>", flags=0xbfb20b28) at ../Python/pythonrun.c:1383
 m = <value optimized out>
 d = <value optimized out>
 v = <value optimized out>
 w = <value optimized out>
 mod = <value optimized...

Read more...

Revision history for this message
tdflanders (thomasdelbeke) wrote :

Hi Michael,

apt-get check is irrelevant as not run from the latest daily-live cd. Both bug reports are reported from main hard disk partition (also: #root apport-retrace -g).

root@thomas-laptop:/home/thomas# apt-get check
Reading package lists... Done
Building dependency tree
Reading state information... Done
root@thomas-laptop:/home/thomas#

thomas@thomas-laptop:~$ sudo apt-get check
[sudo] password for thomas:
Reading package lists... Done
Building dependency tree
Reading state information... Done
thomas@thomas-laptop:~$

Forum:

http://ubuntuforums.org/showthread.php?p=6472350#post6472350

Revision history for this message
tdflanders (thomasdelbeke) wrote :

I cannot provide any /var/log files for this. The reason is that both these crashes occurred on a live-cd and my swap is not big enough to download all dbgsym's and gdb, alleyoop, valgrind and valgrind and stuff. I also would need to update or debug network-manager first, since I only have wireless or mobile broadband access. Also I cannot #root dpkg-reconfigure -aup low, because I cannot reboot! I cannot possibly upload anything less than the minimal report and I did not save .x-session-errors or a log file for this.

It is not reproducible from hard disk. #root apt-get check is irrelevant for the aforementioned reason.

I post a copy: on the forum and one to Michael and Arnaud. (If this is not the right procedure, please tell me which exact steps to take next time.)

Thanks!

Thomas

<8.10 beta>

Bug #282426 reported by tdflanders on 2008-10-13 (Activity log)
(undecided) Bug #282426:
This report is public
update-manager crashed with SIGSEGV [edit]

This bug report was marked for expiration 14 days ago. (find out why)

<9.04 alfa 2>

Bug #312364 reported by tdflanders on 2008-12-30 (Activity log)
(undecided) Bug #312364:
This report is public
update-manager crashed with SIGSEGV in PyErr_SetFromErrnoWithFilenameObject() [edit]

Forum:

http://ubuntuforums.org/showthread.php?p=6472350#post6472350

Revision history for this message
tdflanders (thomasdelbeke) wrote :

Hi Michael,

I just remembered that I got a python-gobject warning on one of my previously reported synaptic bugs (8.10 alfas). I hope to hear back from anyone soon. Otherwise I will try to contact Sebastian Heinlein, as I think he may actually be responsible for this kind of stuff. (Really, there were so many people 'contacted' with my last bug report that I am only guessing. Happy new year anyway to the lot of you. LOL)

The problem below generated a crash report and apport-gtk did its thing. I got the pop-up "not a genuine ubuntu package". I guess this is because it is an early jaunty 'dbgsym'? Or was this really replaced (e.g. python-gobject by python2.5)?

root@thomas-laptop:/home/thomas# apt-get install python-gobject
Reading package lists... Done
Building dependency tree
Reading state information... Done
python-gobject is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@thomas-laptop:/home/thomas# apt-get install python-gobject-dbgsym
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed
  python-gobject-dbgsym
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 243kB of archives.
After this operation, 745kB of additional disk space will be used.
Get: 1 http://ddebs.ubuntu.com jaunty/main python-gobject-dbgsym 2.15.4-1 [243kB]
Fetched 243kB in 22s (10.8kB/s)
Selecting previously deselected package python-gobject-dbgsym.
(Reading database ... 348134 files and directories currently installed.)
Unpacking python-gobject-dbgsym (from .../python-gobject-dbgsym_2.15.4-1_i386.ddeb) ...
dpkg: error processing /var/cache/apt/archives/python-gobject-dbgsym_2.15.4-1_i386.ddeb (--unpack):
 trying to overwrite `/usr/lib/debug/usr/lib/python2.5/site-packages/gtk-2.0/glib/_glib.so', which is also in package python-gobject-dbg
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/python-gobject-dbgsym_2.15.4-1_i386.ddeb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@thomas-laptop:/home/thomas# apt-get remove python-gobject-dbg
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED
  python-gnome2-desktop-dbg python-gnome2-extras-dbg python-gobject-dbg
  python-gst0.10-dbg python-gtk2-dbg
0 upgraded, 0 newly installed, 5 to remove and 0 not upgraded.
After this operation, 19.6MB disk space will be freed.
Do you want to continue [Y/n]? n
Abort.
root@thomas-laptop:/home/thomas#

Revision history for this message
tdflanders (thomasdelbeke) wrote :

root@thomas-laptop:/home/thomas# apt-get install python-gst0.10-dbgsym
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package python-gst0.10-dbgsym
root@thomas-laptop:/home/thomas# apt-get install python-gst0.10-dbg
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  python-gobject-dbg
The following NEW packages will be installed
  python-gobject-dbg python-gst0.10-dbg
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/1988kB of archives.
After this operation, 6308kB of additional disk space will be used.
Do you want to continue [Y/n]? n
Abort.
root@thomas-laptop:/home/thomas# apt-get build-dep python-gst0.10-dbgsym
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to find a source package for python-gst0.10-dbgsym
root@thomas-laptop:/home/thomas# apt-get build-dep python-gst0.10
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed
  python-gobject-dbg
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/565kB of archives.
After this operation, 1831kB of additional disk space will be used.
Do you want to continue [Y/n]? n
Abort.
root@thomas-laptop:/home/thomas#

Changed in update-manager:
status: Incomplete → Confirmed
Revision history for this message
tdflanders (thomasdelbeke) wrote :
Download full text (22.1 KiB)

Hi Michael,

weird problem here, see debug files in the three debug reports (please triage together and possibly mark as duplicate):

#312364
#315462
#282426

Cheers,

Thomas

root@ubuntu:/home/ubuntu# gdb update-manager | tee gdb-update-manager.txt
"/usr/bin/update-manager": not in executable format: File format not recognized
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-update-manager.log
(gdb) set logging on
Copying output to gdb-update-manager.log.
(gdb) attach 7192
Attaching to process 7192
Reading symbols from /usr/bin/python2.5...(no debugging symbols found)...done.
Reading symbols from /lib/tls/i686/cmov/libpthread.so.0...(no debugging symbols found)...done.
[Thread debugging using libthread_db enabled]
[New Thread 0xb7d908c0 (LWP 7192)]
Loaded symbols for /lib/tls/i686/cmov/libpthread.so.0
Reading symbols from /lib/tls/i686/cmov/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/cmov/libdl.so.2
Reading symbols from /lib/tls/i686/cmov/libutil.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/cmov/libutil.so.1
Reading symbols from /lib/tls/i686/cmov/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/cmov/libm.so.6
Reading symbols from /lib/tls/i686/cmov/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/cmov/libc.so.6
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /var/lib/python-support/python2.5/gtk-2.0/glib/_glib.so...(no debugging symbols found)...done.
Loaded symbols for /var/lib/python-support/python2.5/gtk-2.0/glib/_glib.so
Reading symbols from /usr/lib/pygobject/python2.5/libpyglib-2.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/pygobject/python2.5/libpyglib-2.0.so.0
Reading symbols from /usr/lib/libgobject-2.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgobject-2.0.so.0
Reading symbols from /usr/lib/libgthread-2.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgthread-2.0.so.0
Reading symbols from /lib/tls/i686/cmov/librt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/cmov/librt.so.1
Reading symbols from /usr/lib/libglib-2.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libglib-2.0.so.0
Reading symbols from /usr/lib/libffi.so.5...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libffi.so.5
Reading symbols from /lib/libpcre.so.3...(no debugging symbols found)...done.
Loaded symbols for /lib/libpcre.so.3
Reading symbols from /usr/lib/python2.5/lib-dynload/strop.so....

Revision history for this message
tdflanders (thomasdelbeke) wrote :

root@ubuntu:/home/ubuntu# update-manager -c -d
Bus error (core dumped)
root@ubuntu:/home/ubuntu# ls /var/crash
libcairo2.0.crash libglib2.0-0.0.crash _usr_bin_gksu.0.crash
root@ubuntu:/home/ubuntu# apport-retrace -g /var/crash/libcairo2.0.crash
The program 'apport-retrace' is currently not installed. You can install it by typing:
apt-get install apport-retrace
bash: apport-retrace: command not found
root@ubuntu:/home/ubuntu# apt-get install apport-retrace-dbgsym
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
root@ubuntu:/home/ubuntu# dpkg --configure -a
dpkg: parse error, in file `/var/lib/dpkg/updates/0243' near line 1:
 newline in field name `#padding'
root@ubuntu:/home/ubuntu# dpkg --configure -a
dpkg: parse error, in file `/var/lib/dpkg/updates/0243' near line 1:
 newline in field name `#padding'
root@ubuntu:/home/ubuntu#

Revision history for this message
tdflanders (thomasdelbeke) wrote :

root@ubuntu:/home/ubuntu# ls -la /var/crash
total 820
drwxrwxrwx 2 1000 root 160 2009-01-09 15:45 .
drwxr-xr-x 15 root root 141 2008-10-29 23:12 ..
-rwxrwxrwx 1 1000 root 240014 2009-01-09 15:24 libcairo2.0.crash
-rwxrwxrwx 1 1000 root 237568 2009-01-09 15:24 libglib2.0-0.0.crash
-rwxrwxrwx 1 1000 root 0 2009-01-09 15:25 .lock
-rwxrwxrwx 1 1000 ubuntu 120362 2009-01-09 15:44 _usr_bin_gedit.999.crash
-rwxrwxrwx 1 1000 root 80119 2009-01-09 15:25 _usr_bin_gksu.0.crash
-rwxrwxrwx 1 1000 ubuntu 110658 2009-01-09 15:45 _usr_bin_nautilus.999.crash
root@ubuntu:/home/ubuntu#

Revision history for this message
tdflanders (thomasdelbeke) wrote :

Ok, I do not just feel like debugging dpkg with gdb as I need to go to the post office for registered mail before closing time.

Anyway,

Tomorrow is a new day ...

Revision history for this message
tdflanders (thomasdelbeke) wrote :

Anyway:

root@ubuntu:/home/ubuntu# apt-get install dpkg
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
root@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"...
(no debugging symbols found)
(gdb)

Revision history for this message
tdflanders (thomasdelbeke) wrote :
Revision history for this message
tdflanders (thomasdelbeke) wrote :
Revision history for this message
tdflanders (thomasdelbeke) wrote :
Revision history for this message
tdflanders (thomasdelbeke) wrote :
Download full text (11.3 KiB)

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>

root@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 depen...

Revision history for this message
tdflanders (thomasdelbeke) wrote :
Revision history for this message
tdflanders (thomasdelbeke) wrote :
Revision history for this message
tdflanders (thomasdelbeke) wrote :
Revision history for this message
tdflanders (thomasdelbeke) wrote :
Revision history for this message
tdflanders (thomasdelbeke) wrote :
Revision history for this message
tdflanders (thomasdelbeke) wrote :
Revision history for this message
tdflanders (thomasdelbeke) wrote :
Revision history for this message
tdflanders (thomasdelbeke) wrote :
Revision history for this message
tdflanders (thomasdelbeke) wrote :
Revision history for this message
tdflanders (thomasdelbeke) wrote :
Revision history for this message
tdflanders (thomasdelbeke) wrote :
Download full text (14.8 KiB)

Hi there,

I did it again. The update-manager gdb session would not crash on me, so I tried ctrl+C and then the gdb session of the update-manager gdb session crashed and it did have stack. The update-manager gdb session itself did not. Also dpkg --configure -a gdb session gave the same (type off) output again. I hope this helps.

Cheers,

Thomas

root@ubuntu:/home/ubuntu# gdb gdb | tee gdb-gdb.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-gdb.log
(gdb) attach 13629
Attaching to program: /usr/bin/gdb, process 13629
Reading symbols from /lib/libreadline.so.5...done.
Loaded symbols for /lib/libreadline.so.5
Reading symbols from /lib/libncurses.so.5...done.
Loaded symbols for /lib/libncurses.so.5
Reading symbols from /lib/tls/i686/cmov/libm.so.6...done.
Loaded symbols for /lib/tls/i686/cmov/libm.so.6
Reading symbols from /usr/lib/libexpat.so.1...done.
Loaded symbols for /usr/lib/libexpat.so.1
Reading symbols from /lib/tls/i686/cmov/libdl.so.2...done.
Loaded symbols for /lib/tls/i686/cmov/libdl.so.2
Reading symbols from /lib/tls/i686/cmov/libc.so.6...done.
Loaded symbols for /lib/tls/i686/cmov/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/tls/i686/cmov/libpthread.so.0...done.
[Thread debugging using libthread_db enabled]
[New Thread 0xb7e876b0 (LWP 13629)]
Loaded symbols for /lib/tls/i686/cmov/libpthread.so.0
Reading symbols from /lib/tls/i686/cmov/libthread_db.so.1...done.
Loaded symbols for /lib/tls/i686/cmov/libthread_db.so.1
Reading symbols from /lib/libthread_db.so.1...done.
Loaded symbols for /lib/libthread_db.so.1
0xb80dc430 in __kernel_vsyscall ()
(gdb) continue
Continuing.

Program received signal SIGINT, Interrupt.
[Switching to Thread 0xb7e876b0 (LWP 13629)]
0xb80dc430 in __kernel_vsyscall ()
(gdb) backtrace full
#0 0xb80dc430 in __kernel_vsyscall ()
No symbol table info available.
#1 0xb7ecdc9c in sigsuspend () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#2 0x080a9c1c in linux_nat_wait (ptid={pid = -1, lwp = 0, tid = 0}, ourstatus=0xbfadd554) at /build/buildd/gdb-6.8/gdb/linux-nat.c:2212
 lwpid = 0
 lp = (struct lwp_info *) 0x0
 options = -2147483647
 status = 0
 pid = -1
 flush_mask = {__val = {0 <repeats 32 times>}}
 __PRETTY_FUNCTION__ = "linux_nat_wait"
#3 0x080a4b25 in thread_db_wait (ptid={pid = -1, lwp = 0, tid = 0}, ourstatus=0xbfadd554) at /build/buildd/gdb-6.8/gdb/linux-thread-db.c:904
No locals.
#4 0x08130dd0 in wait_for_inferior (treat_exec_as_sigtrap=0) at /build/buildd/gdb-6.8/gdb/infrun.c:1032
 old_cleanups = (struct cleanup *) 0x947c318
 ecss = {ws = {kind = TARGET_WAITKIND_FORKED, value = {integer = 13878, sig = 13...

Revision history for this message
tdflanders (thomasdelbeke) wrote :
Download full text (5.5 KiB)

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 optimi...

Read more...

Revision history for this message
tdflanders (thomasdelbeke) wrote :
Revision history for this message
tdflanders (thomasdelbeke) wrote :
Revision history for this message
tdflanders (thomasdelbeke) wrote :
Revision history for this message
tdflanders (thomasdelbeke) wrote :
Revision history for this message
tdflanders (thomasdelbeke) wrote :
Revision history for this message
tdflanders (thomasdelbeke) wrote :
Revision history for this message
Kjell Braden (afflux) wrote :

The GDB files you are attaching are no crashes. Please refer from confirming your own bugs. For support, please go to the ubuntuforums or launchpad answers.

Changed in update-manager:
status: Confirmed → Invalid
To post a comment you must log in.