[prev in list] [next in list] [prev in thread] [next in thread] 

List:       libreoffice
Subject:    LibreOffice crash
From:       mstahl () redhat ! com (Michael Stahl)
Date:       2015-03-31 18:24:23
Message-ID: mfeoon$9me$1 () ger ! gmane ! org
[Download RAW message or body]

On 31.03.2015 15:08, Michael Stahl wrote:
> On 28.03.2015 21:52, Piet van Oostrum wrote:

>>  > Now when I do this with a Writer document:
>>  > 
>>  > textdoc = smgr.createInstanceWithContext("com.sun.star.text.TextDocument", context)
>>  > 
>>  > LibreOffice crashes with a segmentation fault. 
> 
> this is not a supported way to create a document: it will only create
> the document model but no view or controller for it.  there is probably
> some bug where a pointer is null and dereferenced, but if it didn't
> crash it still wouldn't work because some APIs require that there is a view.

actually now i tried it out and the crash was pretty trivially fixed
with commit d360477d8740f29e2c2bc5f7bbd667df7cd26ee9


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic