Debug error

Marius Gedminas marius at pov.lt
Sat Jan 21 03:25:42 UTC 2012


On Fri, Jan 20, 2012 at 06:11:56PM +0000, R Kimber wrote:
> On Fri, 20 Jan 2012 18:46:48 +0200
> Marius Gedminas wrote:
> 
> > Ok, so the versions match.
> > 
> > (Although you should install the security update!)
> 
> Yes.  That came through today, and I installed it.
> 
> > I can reproduce your problem:
>  
> > Looks like a bug to me.  This bug, actually:
> > https://bugs.launchpad.net/ubuntu/+source/libxml2/+bug/669852
> 
> > > Maybe this is the problem, but Synaptic does not show a libxml2-dbgsym
> > > package as being available.
> > 
> > That's fine; it comes from the ddebs repository which is not enabled by
> > default.  See https://wiki.ubuntu.com/DebuggingProgramCrash for more
> > information.
> > 
> > Most packages do not have a -dbg version, but almost all of them have
> > -dbgsym.  Libxml2 has both, for some reason.  I just wanted to make sure
> > which one you were using.
> > 
> > Incidentally, when I install libxml2-dbgsym, gdb is then able to find
> > libxml2's debug symbols.  I suggest you do the same.
> 
> Many thanks for your help.  I tried to install libxml2-dbgsym, but I get
> 
> libxml2-dbgsym:
>   Depends: libxml2 (=2.7.8.dfsg-4) but 2.7.8.dfsg-4ubuntu0.1 is to be
> installed

Run apt-get update and try again?  It probably takes a bit of time for
the debug symbols to appear after the security update.

I can already see the new version of libxml2-dbgsym here:

$ apt-cache policy libxml2-dbgsym
libxml2-dbgsym:
  Installed: 2.7.8.dfsg-4
  Candidate: 2.7.8.dfsg-4ubuntu0.1
  Version table:
     2.7.8.dfsg-4ubuntu0.1 0
        500 http://ddebs.ubuntu.com/ oneiric-updates/main i386 Packages
        500 http://ddebs.ubuntu.com/ oneiric-updates/main i386 Packages
        500 http://ddebs.ubuntu.com/ oneiric-security/main i386 Packages
        500 http://ddebs.ubuntu.com/ oneiric-security/main i386 Packages
 *** 2.7.8.dfsg-4 0
        500 http://ddebs.ubuntu.com/ oneiric/main i386 Packages
        500 http://ddebs.ubuntu.com/ oneiric/main i386 Packages
        100 /var/lib/dpkg/status

(and yeah, I need to install the security update too ;)

You may also want to check if you have a ddebs repository for oneiric-security
enabled.  E.g. I have

$ cat /etc/apt/sources.list.d/ddebs.list
deb http://ddebs.ubuntu.com oneiric main restricted universe multiverse
deb http://ddebs.ubuntu.com oneiric-updates main restricted universe multiverse
deb http://ddebs.ubuntu.com oneiric-security main restricted universe multiverse
deb http://ddebs.ubuntu.com oneiric-proposed main restricted universe multiverse


Marius Gedminas
-- 
Any sufficiently advanced bug is indistinguishable from a feature.
                -- Rich Kulawiec
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20120121/5acebecc/attachment.sig>


More information about the ubuntu-users mailing list