[Bug 766778] New: Crash is happening on the latest update of python-xml package in OpenSUSE 12.1
https://bugzilla.novell.com/show_bug.cgi?id=766778 https://bugzilla.novell.com/show_bug.cgi?id=766778#c0 Summary: Crash is happening on the latest update of python-xml package in OpenSUSE 12.1 Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: All OS/Version: openSUSE 12.1 Status: NEW Severity: Critical Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: goutamkk@gmail.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- Created an attachment (id=494589) --> (http://bugzilla.novell.com/attachment.cgi?id=494589) Screenshot of terminal window displaying the error message User-Agent: Mozilla/5.0 (X11; Linux i686; rv:7.0.1) Gecko/20100101 Firefox/7.0.1 We are the HPLIP (HP Linux Imaging and Printing) driver developers. We are facing certain issue with the updated version of the Python-xml package (python-xml-2.7.2-7.14.1) present in the OpenSUSE 12.1 repositories. Below is the terminal output which describes the problem clearly; Running command "hp-toolbox" from terminal window gives the below output: Traceback (most recent call last): File "/usr/bin/hp-toolbox", line 38, in <module> import base.utils as utils File "/usr/share/hplip/base/utils.py", line 44, in <module> import xml.parsers.expat as expat File "/usr/lib/python2.7/xml/parsers/expat.py", line 4, in <module> from pyexpat import * ImportError: /usr/lib/python2.7/lib-dynload/pyexpat.so: undefined symbol: _Py_HashSecret The pyexpat library has a undefined symbol _Py_HashSecret. Guessing this is due to some latest changes in the Python-xml package. Below are the details of the version of python-xml which got updated recently. ----------------------------------------------------------------------------- linux-tenk:/home/hptest/Downloads # zypper update python-xml Loading repository data... Reading installed packages... Resolving package dependencies... The following package is going to be upgraded: python-xml 1 package to upgrade. Overall download size: 181.0 KiB. No additional space will be used or freed after the operation. Continue? [y/n/?] (y): y Retrieving package python-xml-2.7.2-7.14.1.i586 (1/1), 181.0 KiB (861.0 KiB unpacked) Retrieving: python-xml-2.7.2-7.14.1.i586.rpm [done (159.1 KiB/s)] Installing: python-xml-2.7.2-7.14.1 [done] There are some running programs that use files deleted by recent upgrade. You may wish to restart some of them. Run 'zypper ps' to list these programs. ------------------------------------------------------------------------------ The python applications using pyexpat.so will have this problem. Please provide us the fix at the earliest as this will break lot of other applications. Reproducible: Always Steps to Reproduce: 1.Zypper update python-xml 2.Run command "hp-setup","hp-toolbox","hp-check" etc 3.The error : ImportError: /usr/lib/python2.7/lib-dynload/pyexpat.so: undefined symbol: _Py_HashSecret , is displayed in the terminal. Actual Results: ImportError: /usr/lib/python2.7/lib-dynload/pyexpat.so: undefined symbol: _Py_HashSecret Expected Results: ImportError should not come and the commands should run smoothly. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=766778
https://bugzilla.novell.com/show_bug.cgi?id=766778#c
kk zhang
https://bugzilla.novell.com/show_bug.cgi?id=766778
https://bugzilla.novell.com/show_bug.cgi?id=766778#c1
Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=766778
https://bugzilla.novell.com/show_bug.cgi?id=766778#c2
Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=766778
https://bugzilla.novell.com/show_bug.cgi?id=766778#c3
--- Comment #3 from Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=766778
https://bugzilla.novell.com/show_bug.cgi?id=766778#c4
Jan Matejek
https://bugzilla.novell.com/show_bug.cgi?id=766778
https://bugzilla.novell.com/show_bug.cgi?id=766778#c
Jan Matejek
https://bugzilla.novell.com/show_bug.cgi?id=766778
https://bugzilla.novell.com/show_bug.cgi?id=766778#c5
--- Comment #5 from goutam kodu
i can reproduce this - it is caused by updating python-xml without the corresponding libpython update, which is apparently due to a missing Requires on the same library version. you can fix this problem by issuing "zypper up libpython2_7-1_0" (so i'm lowering the severity) the question remaining is whether it's safe enough to put the missing Requires into python-xml, or if other packages might be affected as well
Hi Jan Matijek, Thanks for the update. This workaround is working fine. Please let us know, when can we expect an actual fix (putting missing Requires into python-xml or some other fix, which works without the need of updating libpython package seperately) for this issue. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=766778
https://bugzilla.novell.com/show_bug.cgi?id=766778#c6
--- Comment #6 from Johannes Meixner
From my current point of view the actual root cause is not in the Python packages but more likely somewhere in the package management system (from RPM and zypper up to OBS and various repositories and things like that).
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=766778
https://bugzilla.novell.com/show_bug.cgi?id=766778#c7
--- Comment #7 from Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=766778
https://bugzilla.novell.com/show_bug.cgi?id=766778#c8
--- Comment #8 from Jan Matejek
Perhaps the root cause is in the Python packages because --------------------------------------------------------------------------- %package -n python-xml Requires: python-base = %{version}-%{release} --------------------------------------------------------------------------- might be needed to enforce an update of the whole stuff in case of updates where the version does not change (i.e. in particular in case of maintenance updates).
yes, this is exactly the case. i'll have to add such line to all binary subpackages that might be using private APIs (those that don't trigger .so version update) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=766778
https://bugzilla.novell.com/show_bug.cgi?id=766778#c9
--- Comment #9 from Jan Matejek
https://bugzilla.novell.com/show_bug.cgi?id=766778
https://bugzilla.novell.com/show_bug.cgi?id=766778#c10
--- Comment #10 from Benjamin Brunner
https://bugzilla.novell.com/show_bug.cgi?id=766778
https://bugzilla.novell.com/show_bug.cgi?id=766778#c11
--- Comment #11 from Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=766778
https://bugzilla.novell.com/show_bug.cgi?id=766778#c12
Ismail Donmez
https://bugzilla.novell.com/show_bug.cgi?id=766778
https://bugzilla.novell.com/show_bug.cgi?id=766778#c13
--- Comment #13 from Ismail Donmez
https://bugzilla.novell.com/show_bug.cgi?id=766778
https://bugzilla.novell.com/show_bug.cgi?id=766778#c14
--- Comment #14 from Ismail Donmez
https://bugzilla.novell.com/show_bug.cgi?id=766778
https://bugzilla.novell.com/show_bug.cgi?id=766778#c15
Jan Matejek
https://bugzilla.novell.com/show_bug.cgi?id=766778
https://bugzilla.novell.com/show_bug.cgi?id=766778#c16
--- Comment #16 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=766778
https://bugzilla.novell.com/show_bug.cgi?id=766778#c17
--- Comment #17 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=766778
https://bugzilla.novell.com/show_bug.cgi?id=766778#c18
--- Comment #18 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=766778
https://bugzilla.novell.com/show_bug.cgi?id=766778#c
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=766778
https://bugzilla.novell.com/show_bug.cgi?id=766778#c19
--- Comment #19 from Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=766778
Swamp Workflow Management
participants (1)
-
bugzilla_noreply@novell.com