Bug 829531

Summary: [abrt] system-config-printer-1.3.8-4.fc16: expat.py:4:<module>:ImportError: /usr/lib64/python2.7/site-packages/_xmlplus/parsers/pyexpat.so: undefined symbol: XML_SetHashSalt
Product: [Fedora] Fedora Reporter: Mladen Gogala <mgogala>
Component: expatAssignee: Joe Orton <jorton>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: jorton, jpopelka, twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:c497551e1b46b5dce92e42a83c295db1e3a37eda
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-08 13:08:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace none

Description Mladen Gogala 2012-06-07 01:42:26 UTC
libreport version: 2.0.8
abrt_version:   2.0.7
cmdline:        /usr/bin/python /usr/share/system-config-printer/system-config-printer.py
executable:     /usr/share/system-config-printer/system-config-printer.py
kernel:         3.3.7-1.fc16.x86_64
reason:         expat.py:4:<module>:ImportError: /usr/lib64/python2.7/site-packages/_xmlplus/parsers/pyexpat.so: undefined symbol: XML_SetHashSalt
time:           Wed 06 Jun 2012 09:36:09 PM EDT
uid:            1000
username:       mgogala

backtrace:      Text file, 7631 bytes

event_log:
:2012-06-06-21:38:03> Smolt profile successfully saved
:2012-06-06-21:38:23> Logging into Bugzilla at https://bugzilla.redhat.com
:2012-06-06-21:38:24  fatal: XML-RPC(300): RPC failed at server.  The username or password you entered is not valid.
:2012-06-06-21:38:24* (exited with 1)
:2012-06-06-21:41:55> Smolt profile successfully saved

smolt_data:
:
:
:General
:=================================
:UUID: 12cbcd84-8ac7-432b-8e51-24787d78aff1
:OS: Fedora release 16 (Verne)
:Default run level: Unknown
:Language: en_US.UTF-8
:Platform: x86_64
:BogoMIPS: 6428.82
:CPU Vendor: AuthenticAMD
:CPU Model: AMD Phenom(tm) II X4 840 Processor
:CPU Stepping: 3
:CPU Family: 16
:CPU Model Num: 5
:Number of CPUs: 4
:CPU Speed: 3200
:System Memory: 16049
:System Swap: 16383
:Vendor: System manufacturer
:System: System Product Name System Version
:Form factor: Desktop
:Kernel: 3.3.7-1.fc16.x86_64
:SELinux Enabled: 0
:SELinux Policy: targeted
:SELinux Enforce: Unknown
:MythTV Remote: Unknown
:MythTV Role: Unknown
:MythTV Theme: Unknown
:MythTV Plugin: 
:MythTV Tuner: -1
:
:
:Devices
:=================================
:(4098:17296:4163:33673) pci, ahci, STORAGE, M4A785TD Motherboard
:(4130:38409:4163:33854) pci, pcieport, PCI/PCI, RS780/RS880 PCI to PCI bridge (PCIE port 5)
:(4130:38401:4163:33854) pci, None, HOST/PCI, M5A88-V EVO
:(4130:4612:0:0) pci, None, HOST/PCI, Family 10h Processor Link Control
:(4130:4609:0:0) pci, None, HOST/PCI, Family 10h Processor Address Map
:(4130:4608:0:0) pci, None, HOST/PCI, Family 10h Processor HyperTransport Configuration
:(4130:4611:0:0) pci, k10temp, HOST/PCI, Family 10h Processor Miscellaneous Control
:(4130:4610:0:0) pci, None, HOST/PCI, Family 10h Processor DRAM Controller
:(4332:33128:4163:33842) pci, r8169, ETHERNET, P8P67 Deluxe Motherboard [Realtek RTL8111E]
:(4130:38403:4163:33854) pci, pcieport, PCI/PCI, RS780 PCI to PCI bridge (ext gfx port 0)
:(4098:17308:4163:33673) pci, pata_atiixp, STORAGE, SB7x0/SB8x0/SB9x0 IDE Controller
:(4098:17285:4163:33673) pci, None, SERIAL, M4A785TD Motherboard
:(4098:17309:4163:33673) pci, None, PCI/ISA, SB7x0/SB8x0/SB9x0 LPC host controller
:(4098:17283:4163:33644) pci, snd_hda_intel, MULTIMEDIA, M4A785TD Motherboard
:(4098:17305:4163:33673) pci, ohci_hcd, USB, SB7x0/SB8x0/SB9x0 USB OHCI2 Controller
:(4098:17284:0:0) pci, None, PCI/PCI, SBx00 PCI to PCI Bridge
:(4098:17302:4163:33673) pci, ehci_hcd, USB, SB7x0/SB8x0/SB9x0 USB EHCI Controller
:(4318:357:4318:820) pci, nvidia, VIDEO, NV44 [Quadro NVS 285]
:(4098:17303:4163:33673) pci, ohci_hcd, USB, SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
:(4098:17304:4163:33673) pci, ohci_hcd, USB, SB7x0 USB OHCI1 Controller
:(4098:17302:4163:33673) pci, ehci_hcd, USB, SB7x0/SB8x0/SB9x0 USB EHCI Controller
:(4098:17304:4163:33673) pci, ohci_hcd, USB, SB7x0 USB OHCI1 Controller
:(4098:17303:4163:33673) pci, ohci_hcd, USB, SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
:
:
:Filesystem Information
:=================================
:device mtpt type bsize frsize blocks bfree bavail file ffree favail
:-------------------------------------------------------------------
:/dev/mapper/vg_medo-lv_root / ext4 4096 4096 24537987 20759846 19531046 6144000 5804974 5804974
:/dev/sdb1 WITHHELD xfs 4096 4096 26201600 23366303 23366303 104857600 104808235 104808235
:/dev/sdb2 WITHHELD xfs 4096 4096 52403200 26767153 26767153 209715200 209715159 209715159
:/dev/sda2 /boot ext4 1024 1024 508745 409764 384164 128016 127783 127783
:/dev/mapper/vg_medo-lv_home /home xfs 4096 4096 49218068 33435121 33435121 196968448 196941856 196941856
:

Comment 1 Mladen Gogala 2012-06-07 01:42:32 UTC
Created attachment 590036 [details]
File: backtrace

Comment 2 Jiri Popelka 2012-06-07 08:36:52 UTC
What is the output of the following command ?
rpm -q python-libs expat

Comment 3 Mladen Gogala 2012-06-07 11:47:40 UTC
[mgogala@medo ~]$ rpm -q python-libs expat
python-libs-2.7.3-3.fc16.x86_64
expat-2.1.0-1.fc16.x86_64
expat-2.1.0-1.fc16.i686
[mgogala@medo ~]$

Comment 4 Joe Orton 2012-06-08 12:35:21 UTC
Please post the output of:

$ ldd /usr/lib64/python2.7/site-packages/_xmlplus/parsers/pyexpat.so

Comment 5 Mladen Gogala 2012-06-08 12:43:56 UTC
[mgogala@medo ~]$ ldd /usr/lib64/python2.7/site-packages/_xmlplus/parsers/pyexpat.so
	linux-vdso.so.1 =>  (0x00007fff9f5ff000)
	libexpat.so.1 => /oracle/product/11.2.0/11.2.0.3/lib/libexpat.so.1 (0x00007f5ea76c9000)
	libpython2.7.so.1.0 => /usr/lib64/libpython2.7.so.1.0 (0x00007f5ea72e3000)
	libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f5ea70c7000)
	libc.so.6 => /lib64/libc.so.6 (0x00007f5ea6d0f000)
	libdl.so.2 => /lib64/libdl.so.2 (0x00007f5ea6b0a000)
	libutil.so.1 => /lib64/libutil.so.1 (0x00007f5ea6907000)
	libm.so.6 => /lib64/libm.so.6 (0x00007f5ea6683000)
	/lib64/ld-linux-x86-64.so.2 (0x0000003161c00000)
[mgogala@medo ~]$ 


I believe I can see the problem now.

Comment 6 Mladen Gogala 2012-06-08 12:53:20 UTC
When I do it as "root", there are no problems:

[mgogala@medo ~]$ su - root
Password: 
[root@medo ~]# ldd /usr/lib64/python2.7/site-packages/_xmlplus/parsers/pyexpat.s
ldd: /usr/lib64/python2.7/site-packages/_xmlplus/parsers/pyexpat.s: No such file or directory
[root@medo ~]# ldd /usr/lib64/python2.7/site-packages/_xmlplus/parsers/pyexpat.so
	linux-vdso.so.1 =>  (0x00007fff33bff000)
	libexpat.so.1 => /lib64/libexpat.so.1 (0x00007f2c1b974000)
	libpython2.7.so.1.0 => /usr/lib64/libpython2.7.so.1.0 (0x00007f2c1b5b6000)
	libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f2c1b399000)
	libc.so.6 => /lib64/libc.so.6 (0x00007f2c1afe1000)
	libdl.so.2 => /lib64/libdl.so.2 (0x00007f2c1addd000)
	libutil.so.1 => /lib64/libutil.so.1 (0x00007f2c1abd9000)
	libm.so.6 => /lib64/libm.so.6 (0x00007f2c1a955000)
	/lib64/ld-linux-x86-64.so.2 (0x0000003161c00000)
[root@medo ~]# system-config-printer
[root@medo ~]# 

Shouldn't a sistem directory like /lib64 take precedence over the LD_LIBRARY_PATH? I am using Oracle on Fedora and, being a professional Oracle DBA, I cannot refrain from doing so. Shouldn't the configuration tools have their own LD_LIBRARY_PATH configured?

Comment 7 Joe Orton 2012-06-08 13:08:11 UTC
LD_LIBRARY_PATH always takes precedence.  You could do

export LD_LIBRARY_PATH=/lib64:/usr/lib64:/oracle/stuff

but then all bets are off as to whether Oracle requires its own patched libexpat (or other libraries).

See also bug 821337 comment 12.

*** This bug has been marked as a duplicate of bug 821337 ***

Comment 8 Mladen Gogala 2012-06-08 16:06:04 UTC
My workaround was to install the instant client and point my ORACLE_HOME there. Instant client doesn't contain the expat library, so all is well for now.