[issue166] Segmentation fault on "smart update"
Werner Flamme
werner.flamme at ufz.de
Wed Jun 28 01:19:22 PDT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jeff Johnson schrieb am 27.06.2006 20:02:
>
> On Jun 27, 2006, at 6:16 AM, Werner Flamme wrote:
>
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA1
>>>
>>> Jeff Johnson schrieb am 16.06.2006 16:38:
>>>> On Jun 16, 2006, at 10:31 AM, Werner Flamme wrote:
>>>>
>>>>>> -----BEGIN PGP SIGNED MESSAGE-----
>>>>>> Hash: SHA1
>>>>>>
>>>>>> Jeff Johnson at Labix Tracker schrieb am 16.06.2006 15:13:
>>>>>>> Jeff Johnson <n3npq at mac.com> added the comment:
>>>>>>>
>>>>>>> On Jun 16, 2006, at 8:59 AM, Michael Vogt at Labix Tracker wrote:
>>>>>>>
>>>>>>>> Michael Vogt <michael.vogt at ubuntu.com> added the comment:
>>>>>>>>
>>>>>>>> So it crashs somewhere in librpmdb:
>>>>>>>>
>>>>>>>> 0x00002aaaad7252f0 in rpmfiBuildFNames () from /usr/lib64/
>>>>>>>> librpmdb-4.1.so
>>>>>>>> (gdb) backtrace
>>>>>>>> #0 0x00002aaaad7252f0 in rpmfiBuildFNames () from /usr/lib64/
>>>>>>>> librpmdb-4.1.so
>>>>>>>> #1 0x00002aaaad5bf198 in rpmHeaderGetEntry () from /usr/lib64/
>>>>>>>> librpm-4.1.so
>>>>>>>> #2 0x00002aaaad460c4f in tagNumFromPyObject () from
>>>>>>>> /usr/lib64/python2.4/site-packages/rpmmodule.so
>>>>>>>> #3 0x00002aaaaac51c76 in PyEval_EvalFrame () from /usr/lib64/
>>>>>>>> libpython2.4.so.1.0
>>>>>>>> [..]
>>>>>>>>
>>>>>>>> Does this help the rpm gurus get a idea what is wrong?
>>>>>>>>
>>>>>>> Almost.
>>>>>>>
>>>>>>> Do you have a ptr to the package that caused the problem?
>>>>>>>
>>>>>>> It's likelier a build than an install problem.
>>>>>>>
>>>>>>> 73 de Jeff
>>>>>>>
>>>>>> rz36:~ # ldconfig -p | grep librpmdb
>>>>>> librpmdb-4.1.so (libc6,x86-64) => /usr/lib64/
>>>>>> librpmdb-4.1.so
>>>>>> rz36:~ # rpm -q rpm
>>>>>> rpm-4.1.1-222
>>>>>>
>>>>>> Still running SUSE 10.0 x86_64 ;-)
>>>>>>
>>>> I'm looking for the package that triggers the problem rather than the
>>>> version of the rpm package.
>>>>
>>>> rpmHeaderGetEntry() is a wrapper that conceals the fact that rpm
>>>> saves file
>>>> names as a (DIRNAME, BASENAME, DIRINDEX) triple rather than a a path.
>>>>
>>>> My guess is that there is something different with the file paths in
>>>> that specific package.
>>>>
>>>> 73 de Jeff
>>>>
>>> Jeff,
>>>
>>> do I have to do this? If yes, what must I do?
>>>
>
> I'd like to see the package that was being processed wen the segfault
> (and the traceback above) was generated.
:-/ That's what I guessed. Where/how can I find this package?
>
> It's likely to be a package in the channel 'Packman 3rd Party Package
> Repository'.
Well, I have 3 channels with this "long name". It sure would be better if
smart writes the channel id (or "short name") additionally or instead,
since smart checks this id for being unique.
>
> 73 de Jeff
- ---snip---
rz36:~ # smart update --log-level=debug
Segmentation fault
##############################################################################
( 98%)
rz36:~ # smart channel --show
[suse-extra]
type = yast2
name = SUSE Linux extra proprietary packages
baseurl =
http://ftp.belnet.be/mirrors/ftp.suse.com/suse/i386/10.0/inst-source-extra
[suse]
type = yast2
name = SUSE 10.0 OpenSource Repository
baseurl = http://download.opensuse.org/distribution/SL-10.0-OSS/inst-source
[suse-100-apt-security]
type = apt-rpm
name = SUSE Linux 10.0 APT Security Repository
baseurl = http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/10.0-x86_64
components = security
[suse-kde-backports]
type = rpm-md
name = Current KDE applications
disabled = yes
baseurl = http://software.opensuse.org/download/KDE:/Backports/SUSE_Linux_10.0
[suse-100-yum]
type = rpm-md
name = SUSE Linux 10.0 YUM Base Repository
baseurl =
ftp://ftp.gwdg.de/pub/opensuse/distribution/SL-10.0-OSS/inst-source/suse
[suse-100-apt-wine]
type = apt-rpm
name = SUSE Linux 10.0 APT wine Repository
disabled = yes
baseurl = http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/10.0-x86_64
components = wine
[suse-100-apt-samba3]
type = apt-rpm
name = SUSE Linux 10.0 APT Samba3 Repository
baseurl = http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/10.0-x86_64
components = samba3
[rpm-sys]
type = rpm-sys
name = RPM System
[suse-update-okinal]
type = rpm-md
name = SUSE Linux Online Updates
baseurl = ftp://ftp.suse.com/pub/suse/update/10.0/
[guru]
type = yast2
name = Guru 3rd party package repository
baseurl = http://ftp.gwdg.de/pub/linux/misc/suser-guru/rpm/10.0
[suse-100-apt-gnome]
type = apt-rpm
name = SUSE Linux 10.0 APT Gnome Repository
disabled = yes
baseurl = http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/10.0-x86_64/RPMS.gnome/
components = gnome
[suse-java-okinal]
type = yast2
name = SUSE 10.0 Java Repository
baseurl =
http://download.opensuse.org/distribution/SL-10.0-OSS/inst-source-java
[suse-mozilla-okinal]
type = rpm-md
name = Latest mozilla.org packages
disabled = yes
baseurl = ftp://ftp.suse.com/pub/projects/mozilla/10.0
[oldapt]
type = apt-rpm
name = alte APT-Quellen
baseurl = ftp://ftp4.gwdg.de/pub/linux/suse/apt/SuSE/10.0-x86_64
components = gnome rpmkeys base java update extra samba3 ximian kraxel
suse-people suse-projects packman mozilla suser-drcux suser-gbv suser-guru
suser-jengelh suser-scorot security
[guru-100-apt]
type = apt-rpm
name = Guru 10.0 APT Repository
disabled = yes
baseurl =
http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/10.0-x86_64/RPMS.suser-guru
components = suser-guru
[suse-100-apt-update]
type = apt-rpm
name = SUSE Linux 10.0 APT Update Repository
baseurl = http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/10.0-x86_64
components = update
[deb-sys]
type = deb-sys
name = DEB System
disabled = yes
[suse-100-apt-mozilla]
type = apt-rpm
name = SUSE Linux 10.0 APT Mozilla Repository
disabled = yes
baseurl = http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/10.0-x86_64/RPMS.mozilla/
components = mozilla
[packman-100-yum]
type = rpm-md
name = Packman 10.0 YUM Repository
baseurl = http://packman.iu-bremen.de/suse/10.0/
[packman-100-apt]
type = apt-rpm
name = Packman 10.0 APT Repository
disabled = yes
baseurl = http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/10.0-x86_64/RPMS.packman/
components = packman
[suse-100-apt-java]
type = apt-rpm
name = SUSE Linux 10.0 APT Java Repository
disabled = yes
baseurl = http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/10.0-x86_64/RPMS.java/
components = java
[suse-wine-okinal]
type = rpm-md
name = Latest wine packages
disabled = yes
baseurl = ftp://ftp.suse.com/pub/people/meissner/wine/10.0/
[suse-100-apt-openoffice]
type = apt-rpm
name = SUSE Linux 10.0 APT OpenOffice.org Repository
disabled = yes
baseurl = http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/10.0-x86_64
components = openoffice
[suse-kde]
type = rpm-md
name = Latest KDE packages
disabled = yes
baseurl = http://software.opensuse.org/download/KDE:/KDE3/SUSE_Linux_10.0
[suse-100-apt-extra]
type = apt-rpm
name = SUSE Linux 10.0 APT Extra Repository
disabled = yes
baseurl = http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/10.0-x86_64/RPMS.extra/
components = extra
[suse-100-apt]
type = apt-rpm
name = SUSE Linux 10.0 APT Base Repository
baseurl = http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/10.0-x86_64
components = base
[packman2]
type = yast2
name = Packman 3rd Party Package Repository
disabled = yes
baseurl = http://packman.inode.at/suse/10.0
[suse-okinal]
type = yast2
name = SUSE 10.0 OpenSource Repository
baseurl = http://download.opensuse.org/distribution/SL-10.0-OSS/inst-source
[suse-update]
type = rpm-md
name = SUSE Linux Online Updates
baseurl = ftp://ftp.suse.com/pub/suse/update/10.0/
[suse-wine]
type = rpm-md
name = Latest wine packages
disabled = yes
baseurl = ftp://ftp.suse.com/pub/people/meissner/wine/10.0/
[suse-java]
type = yast2
name = SUSE 10.0 Java Repository
baseurl =
http://download.opensuse.org/distribution/SL-10.0-OSS/inst-source-java
[suse-100-yum-extra]
type = rpm-md
name = SUSE Linux 10.0 YUM Extra Repository
baseurl =
ftp://ftp.gwdg.de/pub/linux/suse/ftp.suse.com/suse/x86_64/10.0/SUSE-Linux10.0-GM-Extra/suse
[suse-mozilla]
type = rpm-md
name = Latest mozilla.org packages
disabled = yes
baseurl = ftp://ftp.suse.com/pub/projects/mozilla/10.0
[suse-100-apt-suse-projects]
type = apt-rpm
name = SUSE Linux 10.0 APT Suse Projects Repository
disabled = yes
baseurl = http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/10.0-x86_64
components = suse-projects
[suse-kde-okinal]
type = yast2
name = Latest wine packages
disabled = yes
baseurl =
ftp://ftp.suse.com/pub/suse/x86_64/supplementary/KDE/update_for_10.0/yast-source
[suse-extra-okinal]
type = yast2
name = SUSE Linux extra proprietary packages
baseurl =
http://ftp.belnet.be/mirrors/ftp.suse.com/suse/i386/10.0/inst-source-extra
[suse-100-yum-kde-stable]
type = rpm-md
name = SUSE Linux 10.0 REPODATA kde Repository
baseurl = http://software.opensuse.org/download/KDE:/KDE4/SUSE_Linux_10.0
[packman]
type = yast2
name = Packman 3rd Party Package Repository
disabled = yes
baseurl = http://packman.inode.at/suse/10.0
[suse-100-apt-usr-local-bin]
type = apt-rpm
name = SUSE Linux 10.0 APT usr-local-bin Repository
disabled = yes
baseurl = http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/10.0-x86_64
components = usr-local-bin
[packman-okinal]
type = yast2
name = Packman 3rd Party Package Repository
disabled = yes
baseurl = http://packman.inode.at/suse/10.0
[packman-i686-100-apt]
type = apt-rpm
name = Packman-i686 10.0 APT Repository
disabled = yes
baseurl = http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/10.0-x86_64
components = packman-i686
[suse-100-yum-java]
type = rpm-md
name = SUSE Linux 10.0 YUM Java Repository
baseurl =
ftp://ftp.gwdg.de/pub/opensuse/distribution/SL-10.0-OSS/inst-source-java/suse
[guru-okinal]
type = yast2
name = Guru 3rd party package repository
baseurl = http://ftp.gwdg.de/pub/linux/misc/suser-guru/rpm/10.0
- ---pins---
As far as I see, all channels named "Packman 3rd Party Package Repository"
are disabled now. Still segfaulting :-( rpm --rebuild does not help.
Regards,
Werner
- --
Werner Flamme, Abt. WKDV
UFZ Umweltforschungszentrum Leipzig-Halle GmbH,
Permoserstr. 15 - 04318 Leipzig
Tel.: (0341) 235-3921 - Fax (0341) 235-453921
http://www.ufz.de - eMail: werner.flamme at ufz.de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
iD8DBQFEojuKk33Krq8b42MRAnghAJwNdHbh3rYa654PUr0IezKnvMrk3wCeIp5G
XRVhG9CgOrAMaPLVHG7JWSo=
=LwGy
-----END PGP SIGNATURE-----
More information about the Smart
mailing list