[issue166] Segmentation fault on "smart update"

Werner Flamme werner.flamme at ufz.de
Tue Jun 27 03:16:55 PDT 2006


-----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?

In the meantime, I installed smart 0.42:

rz36:~ # smart update --log-level=debug
debug: Failed fetching channel 'Packman 3rd Party Package Repository'
Segmentation fault
##############################################################################
  ( 98%)
rz36:~ # rpm -qa | grep smart
smart-addons-0.42-1.guru.suse100
apt-smartclean-1.0-0.oc2pus.2
smart-0.42-1.guru.suse100
smart-gui-0.42-1.guru.suse100
smart-ksmarttray-0.42-1.guru.suse100
rz36:~ # rpm -qa | grep py
python-numeric-24.0-2
python-ctypes-0.9.9.3-1.guru.suse100
python-cairo-1.0.2-14
python-qt-3.5.3-2.7
kdebindings3-python-3.5.3-2.7
python-2.4.1-3
python-logilab-common-0.11.0-3
python-curses-2.4.1-3
python-gdbm-2.4.1-3
python-ldap-2.2.0-1.guru.suse100
pyweblib-1.3.3-4
python-kde-extensions-0.4.0-1.guru.suse100
pylint-0.7.0-3
python-wxGTK-2.6.1.0-4
python-tk-2.4.1-3
python-smbpasswd-1.0.1-2.guru.suse100
mmpython-0.4.9-1
rpm-python-4.1.1-222
python-elementtree-1.2.6-2
libxml2-python-2.6.23-1.guru.suse100
python-doc-2.4.1-3
python-imaging-1.1.4-298
python-gtk-2.8.2-21
pyxml-0.8.4-4
python-xml-2.4.1-3
python-32bit-2.4.1-3
libxslt-python-1.1.15-2.guru.suse100
python-zopeinterface-3.0.1-2
python-crypto-2.0-4
rz36:~ #

May one of these packages be the cause?

I still have no clue where the debugging output goes to. I sure is more
than one line on the console, isn't it?

Another rpm --rebuilddb does not fix the problem.

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

iD8DBQFEoQWXk33Krq8b42MRAjGBAJ9pM1haH1S2cVCEHnAoTOgsSt6D1ACfZNEf
YdRqL1ptAhz7B8kbioFo/4E=
=yr2h
-----END PGP SIGNATURE-----



More information about the Smart mailing list