Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 253896 - Python-uno bridge breaks in hardened openoffice-bin
Summary: Python-uno bridge breaks in hardened openoffice-bin
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: The Gentoo Linux Hardened Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-05 19:37 UTC by Dani Church
Modified: 2011-02-05 19:24 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge.info,3.64 KB, text/plain)
2009-01-06 00:27 UTC, Dani Church
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dani Church 2009-01-05 19:37:41 UTC
Trying to use the included Python interpreter in app-office/openoffice-bin-3.0.0 to load the Python-uno bridge crashes with a reference to std::bad_alloc.  Disabling mprotect() restrictions fixes the problem.

# /usr/lib/openoffice/program/python
Python 2.3.4 (#1, Jul 29 2008, 14:55:12)
[GCC 4.2.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import uno
terminate called after throwing an instance of 'std::bad_alloc'
  what():  St9bad_alloc
Aborted

# chpax -m /usr/lib/openoffice/basis-link/program/python.bin
# /usr/lib/openoffice/program/python 
Python 2.3.4 (#1, Jul 29 2008, 14:55:12)
[GCC 4.2.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import uno
>>> 


Reproducible: Always

Steps to Reproduce:
Comment 1 Gordon Malm (RETIRED) gentoo-dev 2009-01-06 00:18:35 UTC
emerge --info please.
Comment 2 Dani Church 2009-01-06 00:27:56 UTC
Created attachment 177528 [details]
emerge --info
Comment 3 Andreas Proschofsky (RETIRED) gentoo-dev 2009-11-25 12:34:48 UTC
Anyone tried this recently?
Comment 4 Andreas Proschofsky (RETIRED) gentoo-dev 2011-02-05 19:24:35 UTC
No Feedback, closing