Bug 757653
Summary: | [abrt] openoffice.org-impress-1:3.3.0-20.8.fc14: XQueryExtension killed by signal 11 (SIGSEGV) | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Nicolas Sapa <redhat> | ||||||
Component: | openoffice.org | Assignee: | Caolan McNamara <caolanm> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | unspecified | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 14 | CC: | caolanm | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | x86_64 | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | abrt_hash:a5fa11ebe0d4c7862c63dc4d2579fd3ab4383e4a | ||||||||
Fixed In Version: | libreoffice-3.3.4.1-1.fc15 | Doc Type: | Bug Fix | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2011-12-14 23:35:34 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Nicolas Sapa
2011-11-28 09:29:15 UTC
Created attachment 537411 [details]
File: backtrace
#!/usr/bin/env python # -*- coding: utf-8 -*- import os,time,sys,random import uno # Sanity check if len(sys.argv) < 2: sys.exit('Usage: %s file:///path/to/filename.odp' % sys.argv[0]) # Contexte UNO localContext = uno.getComponentContext() resolver = localContext.ServiceManager.createInstanceWithContext("com.sun.star.bridge.UnoUrlResolver", localContext) # Creation de l'instance LibreOffice port = random.randint(4000,5000) print('Activation de UNO sur le port %i' % port) smgr = None while smgr==None: try: print('Essai instanciation ...') smgr = resolver.resolve( "uno:socket,host=localhost,port=" + str(port) + ";urp;StarOffice.ServiceManager") except Exception as exceptInfo: print('Echec instanciation: ' + exceptInfo.Message) os.system("ooimpress -norestore -nologo -nodefault -nolockcheck -invisible -headless \"-accept=socket,host=localhost,port=" + str(port) + ";urp;\" &") time.sleep(2) print('Connectée à UNO') # Acces instance remoteContext = smgr.getPropertyValue("DefaultContext") desktop = smgr.createInstanceWithContext("com.sun.star.frame.Desktop",remoteContext) try: print('Ouverture de %s ...' % sys.argv[1]) document = desktop.loadComponentFromURL(sys.argv[1],"_blank", 0, () ) except Exception as exceptInfo: sys.exit('Echec ouverture: ' + exceptInfo.Message) # Acces aux controller dxcont = document.getCurrentController() # retourne un XController dxmodel = dxcont.getModel() # retourne un XModel dxframe = dxcont.getFrame() # retourne un XFrame dxwindow = dxframe.getContainerWindow() # retourne un XWindow pres = document.Presentation # retourne un XPresentation # Cache la fenetre principale d'OO dxwindow.setVisible(False) # Configuration de la presentation pres.IsFullScreen = True pres.AllowAnimations = True pres.IsAutomatic = True pres.Pause = 0 # On recuperes les pages dpages = dxmodel.getDrawPages() # retourne un XDrawPages # Demarrage de la presentation pres.start() print("Nombre de pages: %i " % dpages.Count) currentPage = dpages.page1 print("Diapo %i" % currentPage.Number) time.sleep(5) currentPage = dpages.page2 print("Diapo %i" % currentPage.Number) time.sleep(5) # On quitte tout pres.end() document.dispose() desktop.terminate() sys.exit('Fin ...') Quite probably this is the problem fixed by http://cgit.freedesktop.org/libreoffice/core/commit/?id=a07e8231a5cd3e12f7120486098479ab6ae6bcc2 Created attachment 537869 [details]
replacement script without line breaks and with fixed page index getter
Assuming that's the problem, >= openoffice.org-3.3.0-20.10.fc14 will have that fix if we do another release for F-14 openoffice.org-3.3.0-20.10.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/openoffice.org-3.3.0-20.10.fc14 libreoffice-3.3.4.1-1.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/libreoffice-3.3.4.1-1.fc15 Package openoffice.org-3.3.0-20.10.fc14: * should fix your issue, * was pushed to the Fedora 14 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing openoffice.org-3.3.0-20.10.fc14' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2011-16640/openoffice.org-3.3.0-20.10.fc14 then log in and leave karma (feedback). libreoffice-3.3.4.1-1.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report. |