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

Bug#200425: apt: segfault on ia64 with + as an option



Package: apt
Version: 0.5.5.1

On ia64 if I run apt with a + on the command line it segfaults,

   # apt-get install +
   Reading Package Lists... Done
   Building Dependency Tree... Done
   Segmentation fault

* It works on i386 and hppa. I haven't tested elsewhere.
* It doesn't seem to matter what apt operation(install, remove, etc)
* A + with a text prefix or suffix behaves properly giving an error of
  no such package
* Multiple +'s cause the same error
* Some other interesting test cases, note the errors. These behave
   identically on i386.

   # apt-get install +foo+
   Reading Package Lists... Done
   Building Dependency Tree... Done
   E: Couldn't find package +foo

   # apt-get install +foo+bar
   Reading Package Lists... Done
   Building Dependency Tree... Done
   E: Couldn't find package +foo+bar

   # apt-get install +foo+bar+
   Reading Package Lists... Done
   Building Dependency Tree... Done
   E: Couldn't find package +foo+bar

   # apt-get install foo+bar
   Reading Package Lists... Done
   Building Dependency Tree... Done
   E: Couldn't find package foo+bar

   # apt-get install foo+bar+
   Reading Package Lists... Done
   Building Dependency Tree... Done
   E: Couldn't find package foo+bar

* I tried under bash and zsh in case it was a shell thing, no difference
* I tried recompiling current apt source in an up to date unstable
  chroot and it didn't fix it.

In case you're wondering... I found this when I botched a cut and paste of
"g++" and only got "++" :)

Let me know if you need me to test anything.

Thanks,

-- 
Matt Taggart
taggart@debian.org





Reply to: