Mantis - python
Viewing Issue Advanced Details
5011 regular use minor always 2012-10-10 17:36 2013-04-29 12:17
crisb  
maciej  
normal  
closed  
fixed  
none    
none  
0005011: expat module segfault on solaris 11 x86
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)

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


Issue History
2012-10-10 17:36 crisb New Issue
2012-10-10 21:16 dam Note Added: 0010175
2012-10-11 09:59 crisb Note Added: 0010176
2012-11-06 15:55 cgrzemba Note Added: 0010206
2013-02-26 17:02 lschweiss Issue Monitored: lschweiss
2013-02-26 17:03 lschweiss Note Added: 0010277
2013-04-21 13:27 maciej Note Added: 0010349
2013-04-21 13:27 maciej Assigned To => maciej
2013-04-21 13:27 maciej Status new => feedback
2013-04-29 11:32 crisb Resolution open => fixed
2013-04-29 11:39 crisb Note Added: 0010365
2013-04-29 12:17 maciej Note Added: 0010366
2013-04-29 12:17 maciej Status feedback => closed

Notes
(0010175)
dam   
2012-10-10 21:16   
Also Solaris 11 Sparc works, just Solaris 11 x86 is segfaulting.
(0010176)
crisb   
2012-10-11 09:59   
Confirmed working also on solaris 10 x86
(0010206)
cgrzemba   
2012-11-06 15:55   
a rebuild with SOS12U3 delivers a working pyexpat.so
(0010277)
lschweiss   
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   
2013-04-21 13:27   
All Python packages are now compiled with SOS12U3. Is this error still occurring?
(0010365)
crisb   
2013-04-29 11:39   
now working fine
(0010366)
maciej   
2013-04-29 12:17   
Excellent. I like the smell of a closed bug in the morning.