To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=75041
Issue #|75041
Summary|Get Service Manager from UNO Context causes Bus Error
|(Intel Mac only)
Component|udk
Version|OOo 2.1
Platform|Macintosh
URL|
OS/Version|Mac OS X
Status|UNCONFIRMED
Status whiteboard|
Keywords|
Resolution|
Issue type|DEFECT
Priority|P1
Subcomponent|code
Assigned to|kr
Reported by|hydromet
------- Additional comments from [EMAIL PROTECTED] Fri Mar 2 04:18:08 +0000
2007 -------
Only observed so far on Intel Mac hardware architecture (running Mac OS X
10.4.8) -- specifically an Intel iMac with Core 2 Duo chip, when trying to get
the ServiceManager from the UNO local context (at least only in Python using the
Python - UNO bridge, I haven't tried this in Java or other languages) causes a
Bus Error. Here is a code snippet (taken from UNO examples) to demonstrate that
the fourth line in the code below ( smgr = context.ServiceManager ) causes the
Bus Error each and every time on the Intel iMac:
local = uno.getComponentContext()
resolver =
local.ServiceManager.createInstanceWithContext("com.sun.star.bridge.UnoUrlResolver",
local)
context =
resolver.resolve("uno:socket,host=localhost,port=2002;urp;StarOffice.ComponentContext")
smgr = context.ServiceManager
desktop =
context.ServiceManager.createInstanceWithContext("com.sun.star.frame.Desktop",
context)
The code works fine however on a Mac with PowerPC G4 chip (single processor)
running Mac OS X 10.4.8
---------------------------------------------------------------------
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]