To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=51385
                  Issue #:|51385
                  Summary:|-Wa,--noexecstack breaks pyuno ? (execshield)
                Component:|udk
                  Version:|680m112
                 Platform:|All
                      URL:|
               OS/Version:|Linux
                   Status:|NEW
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|DEFECT
                 Priority:|P2
             Subcomponent:|code
              Assigned to:|cmc
              Reported by:|cmc





------- Additional comments from [EMAIL PROTECTED] Wed Jun 29 14:05:41 -0700 
2005 -------
I apparently really cocked something up. To remove possible security
implications of having executable stack (a big RedHat no-no) I added
-Wa,--noexecstack to the compilation flags in
bridges/source/cpp_uno/gcc3_linux_intel/makefile.mk but for reasons that escape
me with this change in place the pyuno external code tends to crash at          
    

rReturn = Reference<XInterface > ( pCppI, SAL_NO_ACQUIRE );
in remotebridges/source/bridge/remote_bridge.cxx

when aInstanceName is StarOffice.ComponentContext at 
Reference< XInterface > xRet( xBridge->getInstance( aInstanceName ) );
in remotebridges/source/unourl_resolver/unourl_resolver.cxx

when the python code of 

resolver.resolve(
"uno:socket,host=localhost,port=2002;urp;StarOffice.ComponentContext" )

is executed.

Reverting the noexecstack change seems to fix this. It's something to do with
execshield, i.e. alternatively echo 0 > /proc/sys/kernel/exec-shield to disable
execshield also works. 

cmc->rene: does this address your similiar sounding pyuno problem ?
cmc->sb: any ideas about this, reverting my change would seem to fix this. That
the right thing to do ?

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to