[MBT] new ticket for pkg rpm "segfault while upgrading several packages with --root specified"

bugs at pld.org.pl bugs at pld.org.pl
Sun Dec 1 01:13:52 CET 2002


Date: 2002-12-01 01:13:49+01	Author: Radosław Zieliński (radek) <radek at karnet.pl> 
Title:         segfault while upgrading several packages with --root specified
Ticket ID:     #481
Ticket URL:    http://bugs.pld.org.pl/?bug=481
Package:       rpm-4.0.2-102
Distribution:  PLD-1.0.devel.main PLD-1.0.devel.test PLD-1.0.devel.supported
Category:      doesn't work as it should
Current state: opened
Text:

Segmentation fault occured while trying to upgrade make-3.79.1-13 to 3.80-1:

  # /bin/rpm --upgrade -vh --root /opt/builder --noorder make-3.80-1.i686.rpm
  zsh: segmentation fault  /bin/rpm --upgrade -vh --root /opt/builder --noorder make-3.80-1.i686.rpm

After chroot'ing, everything worked fine.  (And I forgot to keep an
output from strace. :-/ )

The same problem occured with grep-2.5e-6 -> grep-2.5.1-4.  I have tested
it with poldek:

  $ poldek -n radek -n ra --root /opt/builder --upgrade-dist -v
  błąd: /home/users/radek/rpm/RPMS/packages.dir.gz: Nie ma takiego pliku ani katalogu
  Wczytywanie /home/users/radek/rpm/RPMS/...Wczytywanie ftp://ftp.pld.org.pl/dists/ra/PLD/i686/PLD/RPMS/packages.dir.gz...
  Przeczytano 5561 pakietów
  Usunięto 16 zdublowanych pakietów z listy dostępnych
  Szukam pakietów do aktualizacji...
  Przetwarzanie zależności...
  grep-2.5e-6 zostanie zastąpiony przez grep-2.5.1-4
  Zaznaczono 1 pakiet do instalacji, 1 do usunięcia:
  I grep-2.5.1-4
  R grep-2.5e-6
  Uruchamianie sudo /bin/rpm --upgrade -vh --root /opt/builder --noorder...
  błąd: /usr/bin/sudo usieczon za sprawą sygnału Naruszenie ochrony pamięci

Next try was supposed to be pasted into this report, so I have turned the
Polish locale off:

  $ LANG=C poldek -n radek -n ra --root /opt/builder --upgrade-dist -v
  error: /home/users/radek/rpm/RPMS/packages.dir.gz: No such file or directory
  Loading /home/users/radek/rpm/RPMS/...Loading ftp://ftp.pld.org.pl/dists/ra/PLD/i686/PLD/RPMS/packages.dir.gz...
  5561 packages read
  Removed 16 duplicate packages from available set
  Looking up packages for upgrade...
  Processing dependencies...
  grep-2.5e-6 obsoleted by grep-2.5.1-4
  There are 1 package to install, 1 to uninstall:
  I grep-2.5.1-4
  R grep-2.5e-6
  Executing sudo /bin/rpm --upgrade -vh --root /opt/builder --noorder...
  Preparing...                ########################################### [100%]
     1:grep                   ########################################### [100%]

...and it worked.  Unfortunately, I don't have old versions of this
packages to make more tests.

Upgrading other packages (about 30) worked fine.  I don't have the list,
though.





More information about the pld-bugs mailing list