[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#37312: weird apt-get segfault



Package: apt
Version: 0.3.4

  Just today, apt-get started consistently segfaulting consistently when
invoked from the command line...sometimes.  The odd thing is, I don't believe
that I upgraded apt recently; however, I upgraded xkeycaps which is currently in
a horribly broken state, and I suspect that could be causing apt some confusion.

  The symptoms were this: when I attempt to install new software using
apt-get, it segfaults.  A backtrace showed this:

(gdb) run install xqf
Starting program: /usr/bin/apt-get install xqf
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
Linux thread target has modified Unknown signal handling
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  qstat
The following NEW packages will be installed:
  qstat xqf
0 packages upgraded, 2 newly installed, 0 to remove and 3 not upgraded.
1 packages not fully installed or removed.
(no debugging symbols found)...(no debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
0x40081783 in pkgAcqArchive::pkgAcqArchive ()
(gdb) bt
#0  0x40081783 in pkgAcqArchive::pkgAcqArchive ()
#1  0x40070e84 in pkgPackageManager::GetArchives ()
#2  0x8050a97 in   ()
#3  0x8054733 in   ()
#4  0x4004b922 in CommandLine::DispatchArg ()
#5  0x8056150 in   ()

  Running it with the -s option worked perfectly, displaying the expected
simulation.  I managed to install the software by invoking apt from dselect;
this worked perfectly.  And to complete the confusion, I then did apt-get update
to see if it worked (it did) and then tried to install more software--it seems
that apt has stopped segfaulting again!  Good luck tracking this down :-/ , but
I figured I'd submit it anyway and see if someone else could puzzle it out.

  Daniel

-- 
  You will soon forget this.


Reply to: