Package: apt
Version: 0.5.3
Severity: grave

Any package using libapt-pkg segfaults at the "building dependency tree" step.

arrakis:~# apt-get update
[snip]
Reading Package Lists... Done
Segmentation fault (core dumped)

arrakis:~# aptitude
Building Dependency Tree: 0%Segmentation fault (core dumped)

It does the same for gnome-apt or deity.

Here is the state of the stack for apt-get update at the time of the segfault
:
(gdb) bt
#0  0x4006de1f in pkgDepCache::Init ()
   from /usr/lib/libapt-pkg-libc6.2-3-2.so.3.1
#1  0x4008f8f9 in pkgCacheFile::Open ()
   from /usr/lib/libapt-pkg-libc6.2-3-2.so.3.1
#2  0x8056137 in strcpy ()
#3  0x40061e9e in CommandLine::DispatchArg ()
   from /usr/lib/libapt-pkg-libc6.2-3-2.so.3.1
#4  0x8061b33 in strcpy ()
#5  0x401762eb in __libc_start_main () from /lib/libc.so.6

Oops... not really cool.

-- 
Josselin Mouette

Reply via email to