Issue 122943 - Crash when sort whole Writer text document
Summary: Crash when sort whole Writer text document
Status: CLOSED IRREPRODUCIBLE
Alias: None
Product: Writer
Classification: Application
Component: editing (show other issues)
Version: 4.0.0
Hardware: PC Windows 8, 8.1
: P3 Major (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: needmoreinfo
Depends on:
Blocks:
 
Reported: 2013-08-02 23:52 UTC by over50
Modified: 2017-05-20 10:14 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Test file to crash Writer when sorting whole document (62.03 KB, text/plain)
2013-08-09 04:57 UTC, over50
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description over50 2013-08-02 23:52:05 UTC

    
Comment 1 over50 2013-08-02 23:52:52 UTC
This has only started after the update to 4.0.0
Comment 2 Rainer Bielefeld 2013-08-04 05:40:05 UTC
NOT Reproducible with "AOO 4.0.0-Dev – German UI / German locale  [AOO400m3(Build:9702)  -  Rev. 1503704 2013-07-16 14:54:56 (Di, 16 Jul 2013)]" on German German WIN7 Home Premium (64bit)", Common 4.0-dev User Profile:

I used an arbitrary table > 20 rows, 4 columns an did 20 sorts using different keys, sort order, ..., no crash during 10 sorts.

@over50:
Unfortunatley you description is much too rare.
We need a step by step instruction how to reproduce your problem due to <http://wiki.openoffice.org/wiki/QA/HowToFileIssue>
The crash happens when you sort table rows?
Comment 3 over50 2013-08-04 17:46:43 UTC
Hi Rainer

I am not sorting tables. I have text documents in which most lines are full of text and most documents are hundreds of lines long.  Some may be thousands of lines long.  I do 'control a' to block the entire document and sort the whole document.  Prior to the new version this never failed.  Immediately after the new version, it fails at least once every time I get on my PC.  On average it fails every 3 to 8 sorts.  Writer crashes and I restart it and recover everything back to my last save.  The content of the documents are irrelevant.  It is just numbers, letters and spaces.

This same problem used to happen on an earlier version and an update fixed the problem.  That was quite a while ago now.

Thanks for looking into this issue.

John

(In reply to Rainer Bielefeld from comment #2)
> NOT Reproducible with "AOO 4.0.0-Dev – German UI / German locale 
> [AOO400m3(Build:9702)  -  Rev. 1503704 2013-07-16 14:54:56 (Di, 16 Jul
> 2013)]" on German German WIN7 Home Premium (64bit)", Common 4.0-dev User
> Profile:
> 
> I used an arbitrary table > 20 rows, 4 columns an did 20 sorts using
> different keys, sort order, ..., no crash during 10 sorts.
> 
> @over50:
> Unfortunatley you description is much too rare.
> We need a step by step instruction how to reproduce your problem due to
> <http://wiki.openoffice.org/wiki/QA/HowToFileIssue>
> The crash happens when you sort table rows?
Comment 4 Rainer Bielefeld 2013-08-04 18:13:13 UTC
OBSOLETE due to comment before

@over50 
As I told: we need an instruction how to reproduce the problem (with a sample document), a simple description what you observe is not useful.
Currently I even do not understand how you sort a text document.
But because problem seems to be solved for you I close this bug for now.

Please feel free to reopen if the problem reappears for you and if you can contribute requested additional information Similar to here <https://issues.apache.org/ooo/show_bug.cgi?id=122723#c0>, for example)
Comment 5 over50 2013-08-09 04:55:25 UTC
Hi Rainer
I have created a test document which crashed Writer the first time I tried to sort it.  If you use this test document and sort it all by control 'a' and then Tools, Sort without specifying any special sort requirements it should crash Writer at least one out of every 10 sorts.

Thanks.
John


(In reply to Rainer Bielefeld from comment #4)
> OBSOLETE due to comment before
> 
> @over50 
> As I told: we need an instruction how to reproduce the problem (with a
> sample document), a simple description what you observe is not useful.
> Currently I even do not understand how you sort a text document.
> But because problem seems to be solved for you I close this bug for now.
> 
> Please feel free to reopen if the problem reappears for you and if you can
> contribute requested additional information Similar to here
> <https://issues.apache.org/ooo/show_bug.cgi?id=122723#c0>, for example)
Comment 6 over50 2013-08-09 04:57:24 UTC
Created attachment 81293 [details]
Test file to crash Writer when sorting whole document
Comment 7 Rainer Bielefeld 2013-08-09 05:43:36 UTC
NOT Reproducible with  "AOO 4.0.0 – German UI / German locale  [AOO400m3(Build:9702)  -  Rev. 1503704 2013-07-16 14:54:56 (Di, 16 Jul 2013)]" on German German WIN7 Home Premium (64bit)", Common 4.0-dev User Profile:

1. open reporter's sample document from AOO Start Center
2. <control+a> to select all text
3. Menu 'Tools -> Options -> Sort'

I tried 5 times, always after having newly reopened the document,  ascending / descending / other. AOO will need 15s or so, then the text will be sorted. Afterwards I did 15 additional sorts without closing, only doing smaller changes in the sort dialog for every sort. No crash!
Comment 8 over50 2013-08-09 05:50:23 UTC
Hi Rainer

Thanks for trying.  I think we have done all we can.  There is definitely a bug, but it is proving hard to reproduce at your end for some reason.

I think we should close off this request.

John

(In reply to Rainer Bielefeld from comment #7)
> NOT Reproducible with  "AOO 4.0.0 – German UI / German locale 
> [AOO400m3(Build:9702)  -  Rev. 1503704 2013-07-16 14:54:56 (Di, 16 Jul
> 2013)]" on German German WIN7 Home Premium (64bit)", Common 4.0-dev User
> Profile:
> 
> 1. open reporter's sample document from AOO Start Center
> 2. <control+a> to select all text
> 3. Menu 'Tools -> Options -> Sort'
> 
> I tried 5 times, always after having newly reopened the document,  ascending
> / descending / other. AOO will need 15s or so, then the text will be sorted.
> Afterwards I did 15 additional sorts without closing, only doing smaller
> changes in the sort dialog for every sort. No crash!
Comment 9 over50 2013-08-15 18:26:42 UTC
(In reply to over50 from comment #8)
> Hi Rainer
> 
> Thanks for trying.  I think we have done all we can.  There is definitely a
> bug, but it is proving hard to reproduce at your end for some reason.
> 
> I think we should close off this request.
> 
> John
> 
> (In reply to Rainer Bielefeld from comment #7)
> > NOT Reproducible with  "AOO 4.0.0 – German UI / German locale 
> > [AOO400m3(Build:9702)  -  Rev. 1503704 2013-07-16 14:54:56 (Di, 16 Jul
> > 2013)]" on German German WIN7 Home Premium (64bit)", Common 4.0-dev User
> > Profile:
> > 
> > 1. open reporter's sample document from AOO Start Center
> > 2. <control+a> to select all text
> > 3. Menu 'Tools -> Options -> Sort'
> > 
> > I tried 5 times, always after having newly reopened the document,  ascending
> > / descending / other. AOO will need 15s or so, then the text will be sorted.
> > Afterwards I did 15 additional sorts without closing, only doing smaller
> > changes in the sort dialog for every sort. No crash!

Hi Rainer

I had a theory that the problem may be related to the speed of the steps.  So, I have deliberately slowed down and waited between steps and the problem has not reoccurred.  I have not pinned down which 2 steps conflict if too close together, but I am fairly sure that this may where the problem is.

John
Comment 10 Rainer Bielefeld 2013-08-15 19:32:16 UTC
> I had a theory that the problem may be related to the speed of the steps

Absolutely possible! I will do some more tests tomorrow.
Comment 11 over50 2013-08-25 17:29:01 UTC
Hi Rainer

I have not had time yet to do my own tests on exactly which 2 steps are going too quickly and triggering the crash.  Unless I really concentrate to slow all the steps right down, I am still getting lots of crashes now.  I was wondering whether you had had a chance to do any testing on this?

Also, I use Microsoft Word at work and use similar documents and sort them in the same way.  With Word I never have had this problem.  So it is something in Writer that is not in Word that can't cope with the speed of these steps.

Thanks.

John

(In reply to Rainer Bielefeld from comment #10)
> > I had a theory that the problem may be related to the speed of the steps
> 
> Absolutely possible! I will do some more tests tomorrow.
Comment 12 over50 2013-09-07 21:39:13 UTC
Hi Rainer

Through continued use of Writer I am now convinced that it is NOT just a speed of steps issue, and may have nothing to do with step speed.

I am noticing that I go through long periods with no crashes and then experience a short period with several crashes.

When it is not crashing I have sped my steps up to max and not triggered crashes.

When it is crashing I have slowed all my steps down and it still crashes.

I have no firm theory now as to a possible cause, but I wonder whether some storage area might be blowing its max storage limit or something.

John
Comment 13 over50 2013-10-16 17:35:31 UTC
(In reply to over50 from comment #12)
> Hi Rainer
> 
> Through continued use of Writer I am now convinced that it is NOT just a
> speed of steps issue, and may have nothing to do with step speed.
> 
> I am noticing that I go through long periods with no crashes and then
> experience a short period with several crashes.
> 
> When it is not crashing I have sped my steps up to max and not triggered
> crashes.
> 
> When it is crashing I have slowed all my steps down and it still crashes.
> 
> I have no firm theory now as to a possible cause, but I wonder whether some
> storage area might be blowing its max storage limit or something.
> 
> John

Hello again

I became so frustrated by this bug that I started logging the crashes. From 10 Sep to 5 Oct I had 20 crashes. Then mysteriously after 5 Oct no more so far.  I am not yet assuming they won't resume, but I wonder if something has changed either in Open Office or elsewhere on my PC to stop the crashes after 5 Oct?

John
Comment 14 over50 2013-11-03 19:16:40 UTC
Further update: still no crashes since 5 Oct 13 - amazing and mysterious - no idea why the crashes have stopped.  This same thing happened a long time ago when a significant update was made to Open Office.  It is as if Open Office eventually learns to avoid the problem.