abrt version: 1.1.18 architecture: x86_64 Attached file: backtrace, 58978 bytes cmdline: /usr/lib64/openoffice.org3/program/simpress.bin -impress -norestore -nologo -nodefault -invisible -headless -accept=socket,host=localhost,port=4905;urp; comment: OpenOffice shouldn't crash component: openoffice.org Attached file: coredump, 261529600 bytes executable: /usr/lib64/openoffice.org3/program/simpress.bin kernel: 2.6.35.14-103.fc14.x86_64 package: openoffice.org-impress-1:3.3.0-20.8.fc14 rating: 4 reason: Process /usr/lib64/openoffice.org3/program/simpress.bin was killed by signal 11 (SIGSEGV) release: Fedora release 14 (Laughlin) time: 1322470634 uid: 500 How to reproduce ----- 1. Started the fallowing python script 2. 3.
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.