OpenCSW Bug Tracker


Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005011 [python] regular use minor always 2012-10-10 17:36 2013-04-29 12:17
Reporter crisb View Status public  
Assigned To maciej
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Product Build
Summary 0005011: expat module segfault on solaris 11 x86
Description when importing the expat module, I get a segfault every time.

crisb@pinkman:~/cas3.70_1/src$ /opt/csw/bin/python
Python 2.6.8 (unknown, Sep 20 2012, 17:42:58) [C] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
>>> import xml.parsers.expat
Segmentation Fault (core dumped)

Steps To Reproduce
Additional Information I've tried this on Solaris 10 SPARC as well and it works fine.

gdb reports failure in:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1 (LWP 1)]
0xfdd78085 in get_version_string () from /opt/csw/lib/python/lib-dynload/pyexpat.so
(gdb) where
#0 0xfdd78085 in get_version_string () from /opt/csw/lib/python/lib-dynload/pyexpat.so
0000001 0xfdd781bf in initpyexpat () from /opt/csw/lib/python/lib-dynload/pyexpat.so
0000002 0xfeedbe18 in _PyImport_LoadDynamicModule () from /opt/csw/lib/libpython2.6.so.1.0
0000003 0xfeed92a7 in load_module () from /opt/csw/lib/libpython2.6.so.1.0
0000004 0xfeeda968 in import_submodule () from /opt/csw/lib/libpython2.6.so.1.0
0000005 0xfeeda1e4 in load_next () from /opt/csw/lib/libpython2.6.so.1.0


Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0010175)
dam (administrator)
2012-10-10 21:16

Also Solaris 11 Sparc works, just Solaris 11 x86 is segfaulting.
(0010176)
crisb (developer)
2012-10-11 09:59

Confirmed working also on solaris 10 x86
(0010206)
cgrzemba (developer)
2012-11-06 15:55

a rebuild with SOS12U3 delivers a working pyexpat.so
(0010277)
lschweiss (reporter)
2013-02-26 17:03

Same problem on OpenIndiana 151a7. Was working under 151a5.

Program received signal SIGSEGV, Segmentation fault.
0xfe0f8085 in get_version_string () from /opt/csw/lib/python/lib-dynload/pyexpat.so
(gdb) backtrace
#0 0xfe0f8085 in get_version_string () from /opt/csw/lib/python/lib-dynload/pyexpat.so
0000001 0xfe0f81bf in initpyexpat () from /opt/csw/lib/python/lib-dynload/pyexpat.so
0000002 0xfeedbe18 in _PyImport_LoadDynamicModule () from /opt/csw/lib/libpython2.6.so.1.0
0000003 0xfeed92a7 in load_module () from /opt/csw/lib/libpython2.6.so.1.0
0000004 0xfeeda968 in import_submodule () from /opt/csw/lib/libpython2.6.so.1.0
(0010349)
maciej (reporter)
2013-04-21 13:27

All Python packages are now compiled with SOS12U3. Is this error still occurring?
(0010365)
crisb (developer)
2013-04-29 11:39

now working fine
(0010366)
maciej (reporter)
2013-04-29 12:17

Excellent. I like the smell of a closed bug in the morning.


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker