Bug 107732 - Crash in: CharAttribList::DeleteEmptyAttribs(SfxItemPool &)
Summary: Crash in: CharAttribList::DeleteEmptyAttribs(SfxItemPool &)
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
5.2.4.2 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-09 18:43 UTC by Jari Juslin
Modified: 2017-05-17 19:21 UTC (History)
2 users (show)

See Also:
Crash report or crash signature: ["CharAttribList::DeleteEmptyAttribs(SfxItemPool &)"]


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jari Juslin 2017-05-09 18:43:19 UTC
This bug was filed from the crash reporting server and is br-0c911545-08ae-4781-a2a2-886b8cb5c8ce.
=========================================

I was trying to get my existing Conditional Formatting working when the Calc started crashing. It crashed first once, then another time during recovery. Second try at recovery finally solved the issue.
Comment 1 Julien Nabet 2017-05-09 20:54:34 UTC
Would it be possible you give a try to a newer LO version?
Last stable one is 5.3.2.

You may also give a try to 5.2.7 but if you still reproduce the bug on it, you must know there won't be any official new version of 5.2
Comment 2 Jari Juslin 2017-05-11 10:59:12 UTC
The problem here is that I cannot reliably reproduce this. The Calc behaves rather erratically in my use case; usually it just produces weird results, but in this case it crashed completely.

I upgraded now to 5.2.6.2, as that's the version the automated update system offered me. If the problems persist, I'll try some later version.

My use case is basically this: I have a spreadsheet with pre-processed data coming from external program in CSV format and I paste new version of that data almost daily. Then I have formulas on the spreadsheet that calculate a metric from each row based on the data from the CSV, after which I sort the rows per that metric. Now I have Conditional Formatting that colors the rows based on a) if they are listed on special block list elsewhere in the spreadsheet and b) if they have certain value on certain column.

What usually happens is that when I sort the main data, the Conditional Formatting definition goes from a single continuous area to about dozen separate Conditional Formatting entries. The bug occurred when I was cleaning this up, editing one of the clauses manually to cover the whole spreadsheet.

What might affect this is that the Conditional Formatting in question was created something like 18 months ago, so with older version of the program.
Comment 3 Julien Nabet 2017-05-13 15:09:16 UTC
Let's put this one to WFM.
Don't hesitate to reopen this tracker if you still reproduce this.
In this case, could you attach an example file and step by step process to reproduce this because your description in your comment is too general.

BTW LO won't propose you more than 5.2.7 since it only proposes last version of the same branch (you're on 5.2 branch).
Comment 4 Jari Juslin 2017-05-16 12:55:27 UTC
I upgraded to 5.3.3 and now the whole program gets stuck when opening the document in question. Windows shows the busy-ring indicating UI is stuck. The ring briefly disappears every now and then but the UI does not respond even then.
Comment 5 Xisco Faulí 2017-05-16 13:03:34 UTC
Could you please attach a sample document, as this makes it easier for us to verify the bug?
Comment 6 Julien Nabet 2017-05-16 13:05:13 UTC
Let's reopen the bug meanwhile
Comment 7 Jari Juslin 2017-05-16 13:07:00 UTC
May I email it to you instead? I'd rather not put it to open Internet and as the version 5.3.3 is unresponsive with it it's rather difficult to sanitize it.
Comment 8 Xisco Faulí 2017-05-16 13:10:04 UTC
(In reply to Jari Juslin from comment #7)
> May I email it to you instead? I'd rather not put it to open Internet and as
> the version 5.3.3 is unresponsive with it it's rather difficult to sanitize
> it.

Yes, please send it to my email...
Comment 9 Xisco Faulí 2017-05-16 14:23:40 UTC
(In reply to Jari Juslin from comment #4)
> I upgraded to 5.3.3 and now the whole program gets stuck when opening the
> document in question. Windows shows the busy-ring indicating UI is stuck.
> The ring briefly disappears every now and then but the UI does not respond
> even then.

I can't reproduce it in

Versión: 5.3.2.2
Id. de compilación: 6cd4f1ef626f15116896b1d8e1398b56da0d0ee1
Subproc. CPU: 1; SO: Windows 6.1; Repr. de IU: predet.; Motor de trazado: HarfBuzz; 
Configuración regional: ro-RO (es_ES); Calc: group

or 

Version: 5.4.0.0.alpha1+
Build ID: 8c0be54a7da6262dffe04357121814dd22b5d7fe
CPU threads: 1; OS: Windows 6.1; UI render: default; 
TinderBox: Win-x86@62-TDF, Branch:MASTER, Time: 2017-05-15_01:35:45
Locale: es-ES (es_ES); Calc: group

Could you please reset your Libreoffice profile ( https://wiki.documentfoundation.org/UserProfile ) and re-test?

On the other hand, do you know the steps to reproduce the crash ?
Comment 10 Jari Juslin 2017-05-16 14:24:58 UTC
Will do.
Comment 11 Jari Juslin 2017-05-17 19:20:06 UTC
I reset the profile and this it looks good. The UI-being-stuck no longer happens.