Re: Hang/crash in templates

2013-04-25 Thread Miklos Vajna
On Thu, Apr 25, 2013 at 02:14:18PM +0200, Lionel Elie Mamane wrote: > I don't know what cache you are talking about. If some binary (as > opposed to XML) format got changed incompatibly, then yes, this is > bad. Judging from the strings in the memory garbage I saw in gdb, this is used in ~/.conf

Re: Hang/crash in templates

2013-04-25 Thread Michael Stahl
On 25/04/13 13:29, Miklos Vajna wrote: > TemplateContent::TemplateContent gets an INetURLObject, and the next > assert fails, as GetProtocol() is INET_PROT_NOT_VALID. If you step up > the backtrace in gdb, you see that the "URL" was ~memory garbage. > > On the other hand, for now I would just cha

Re: Hang/crash in templates

2013-04-25 Thread Lionel Elie Mamane
On Thu, Apr 25, 2013 at 01:29:00PM +0200, Miklos Vajna wrote: > On Thu, Apr 25, 2013 at 01:08:47PM +0200, Lionel Elie Mamane > wrote: >> If you can point valgrind/gdb it yourself and point me towards the >> place / stacktrace that allocates "a lot", I can look at that place >> and see if I get i

Re: Hang/crash in templates

2013-04-25 Thread Miklos Vajna
On Thu, Apr 25, 2013 at 01:08:47PM +0200, Lionel Elie Mamane wrote: > So I gather that "the issue" is that saving this document makes > LibreOffice eat unreasonable amounts of memory. No, saving the docx attachment as odf is (more or less) fine. But then reading back the odf results in eating to

Re: Hang/crash in templates

2013-04-25 Thread Lionel Elie Mamane
On Thu, Apr 25, 2013 at 12:24:37PM +0200, Miklos Vajna wrote: > On Thu, Apr 25, 2013 at 11:26:35AM +0200, Miklos Vajna > wrote: >> I'll bisect it later today. > git bisect says: > 9830fd36dbdb72c79703b0c61efc027fba793c5a is the first bad commit > commit 9830fd36dbdb72c79703b0c61efc027fba793c5a

Re: Hang/crash in templates

2013-04-25 Thread Thorsten Behrens
Miklos Vajna wrote: > I'll bisect it later today. > I wonder if 9830fd36dbdb72c79703b0c61efc027fba793c5a is related - it modifies the binary format of the templatefoldercache ... Cheers, -- Thorsten signature.asc Description: Digital signature ___ Li

Re: Hang/crash in templates

2013-04-25 Thread Miklos Vajna
Hi, On Thu, Apr 25, 2013 at 11:26:35AM +0200, Miklos Vajna wrote: > I'll bisect it later today. git bisect says: 9830fd36dbdb72c79703b0c61efc027fba793c5a is the first bad commit commit 9830fd36dbdb72c79703b0c61efc027fba793c5a Author: Lionel Elie Mamane Date: Sun Mar 17 08:36:26 2013 +0100

Re: Hang/crash in templates

2013-04-25 Thread Miklos Vajna
Hi, On Wed, Apr 24, 2013 at 10:44:13PM +0200, Fridrich Strba wrote: > We have a crash (on systems with low memory) or hang (with more memory) > in templates. It is a problem with all templates but one can see it in > impress directly, because the template previews are part of the standard > side

Hang/crash in templates

2013-04-24 Thread Fridrich Strba
Hello, good people, We have a crash (on systems with low memory) or hang (with more memory) in templates. It is a problem with all templates but one can see it in impress directly, because the template previews are part of the standard side-bar and we regenerate the template cache there. I invest