Bug 91181 - Hyphenation Hangup/Freeze
Summary: Hyphenation Hangup/Freeze
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.3.7.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-09 11:32 UTC by Hermann Rochholz
Modified: 2017-09-02 09:15 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
test document (26.93 KB, application/vnd.oasis.opendocument.text)
2015-05-22 18:21 UTC, Gordo
Details
backtrace (17.23 KB, text/plain)
2015-06-11 10:40 UTC, Gordo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hermann Rochholz 2015-05-09 11:32:15 UTC
Hallo! 

I have a freeze of LO. Writer when I press the button "Silbentrennung" (Hypenation). 
The bar at the bottom runs to the mid of screen and then I have to terminate L.O. Writer and to recover. 

It's fully reproducible. I had it 30 or 40 times. Recovering works fine. ;-)
It was the same in the version before. 

(Now I am going step by step through the document and mark it and press then "hyphenation".) 

I _assume_ an interference between footnotes and hyphenation and/or an infinite loop. 
I don't know how to reduce this problem- it's a book with 200 pages and I don't want to put it here. 

Nevertheless IMO the last versions of LO were a quantum leap in product quality. 

Hermann
Comment 1 raal 2015-05-12 18:03:17 UTC
Hello,
Thank you for reporting the bug. If possible, please follow the instructions provided at this link < https://wiki.documentfoundation.org/How_to_get_a_backtrace_with_WinDbg > and submit a backtrace. That way a developer can look into the underlying reason of the crash. Thank you
Comment 2 Hermann Rochholz 2015-05-16 11:19:37 UTC
Hallo!

Hmm  - The debug process to create a backtrace is maybe fine for a crash, 
but I have a HANGUP. 

I tried to reproduce it - against my opinion that this procedure cannot work-
and it did not work. There's no info when I kill the process. 

Now I have reduced the document to about 70 pages (from 204),but a further reduction was not possible. 

AGAIN: I press "Silbentrennung" and the blue bar at the bottom  is progressing to 
about mid of screen and that's it. Probably I can wait until next century.
Then I have to click the cross at the right top and then a window is popping up that there's no response of process.  

Hermann

I already tried to create a backtrace month ago- but windbg crashed...
Comment 3 Hermann Rochholz 2015-05-16 11:33:07 UTC
0:001> !analyze -v
*******************************************************************************
*                                                                             *
*                        Exception Analysis                                   *
*                                                                             *
*******************************************************************************

GetPageUrlData failed, server returned HTTP status 404
URL requested: http://watson.microsoft.com/StageOne/swriter_exe/4_3_7_2/553580dd/ntdll_dll/6_1_7601_18839/553e8bfa/80000003/0004ce30.htm?Retriage=1

FAULTING_IP: 
ntdll!DbgBreakPoint+0
00000000`76fece30 cc              int     3

EXCEPTION_RECORD:  ffffffffffffffff -- (.exr 0xffffffffffffffff)
ExceptionAddress: 0000000076fece30 (ntdll!DbgBreakPoint)
   ExceptionCode: 80000003 (Break instruction exception)
  ExceptionFlags: 00000000
NumberParameters: 1
   Parameter[0]: 0000000000000000

FAULTING_THREAD:  00000000000014dc

DEFAULT_BUCKET_ID:  STATUS_BREAKPOINT

PROCESS_NAME:  swriter.exe

ERROR_CODE: (NTSTATUS) 0x80000003 - {AUSNAHME}  Haltepunkt  Im Quellprogramm wurde ein Haltepunkt erreicht.

EXCEPTION_CODE: (HRESULT) 0x80000003 (2147483651) - Mindestens ein Argument ist ung ltig.

EXCEPTION_PARAMETER1:  0000000000000000

MOD_LIST: <ANALYSIS/>

NTGLOBALFLAG:  0

APPLICATION_VERIFIER_FLAGS:  0

PRIMARY_PROBLEM_CLASS:  STATUS_BREAKPOINT

BUGCHECK_STR:  APPLICATION_FAULT_STATUS_BREAKPOINT

STACK_TEXT:  
00000000`004cf608 00000000`77093d18 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : ntdll!DbgBreakPoint
00000000`004cf610 00000000`77003ef2 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : ntdll!DbgUiRemoteBreakin+0x38
00000000`004cf640 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : ntdll!RtlUserThreadStart+0x25


FOLLOWUP_IP: 
ntdll!DbgBreakPoint+0
00000000`76fece30 cc              int     3

SYMBOL_STACK_INDEX:  0

SYMBOL_NAME:  ntdll!DbgBreakPoint+0

FOLLOWUP_NAME:  MachineOwner

MODULE_NAME: ntdll

IMAGE_NAME:  ntdll.dll

DEBUG_FLR_IMAGE_TIMESTAMP:  553e8bfa

STACK_COMMAND:  ~1s ; kb

BUCKET_ID:  MANUAL_BREAKIN

FAILURE_BUCKET_ID:  STATUS_BREAKPOINT_80000003_ntdll.dll!DbgBreakPoint

WATSON_STAGEONE_URL:  http://watson.microsoft.com/StageOne/swriter_exe/4_3_7_2/553580dd/ntdll_dll/6_1_7601_18839/553e8bfa/80000003/0004ce30.htm?Retriage=1

Followup: MachineOwner
---------
Comment 4 Gordo 2015-05-22 18:21:34 UTC
Created attachment 115847 [details]
test document

I was able to reproduce the hang but not every time.

1. Open the attachment and turn on View -> Toolbars -> Tools.
2. Scroll a few pages and click on Hyphenation -> Hyphenate All.
3. Continue checking at the beginning of the document?  Yes.
4. Hyphenation Completed.  OK.
5. Undo.
6. Continue to place the cursor on different pages and repeat.

I've had it hang on the first try and other times it has taken multiple efforts to get it to hang.

You might also try selecting a paragraph or two and running hyphenation and undoing it and then do the hyphenate all.

After recovery I found Tools -> Options -> Language Settings -> Writing Aids -> Options -> Hyphenate without inquiry had become unchecked.

Windows Vista 64
Version: 4.4.3.2
Build ID: 88805f81e9fe61362df02b9941de8e38a9b5fd16
Comment 5 raal 2015-05-23 10:26:38 UTC
No crash with Version: 5.1.0.0.alpha1+
Build ID: e929194317a7debb1c5467282230cbbabe61a710
TinderBox: Linux-rpm_deb-x86_64@46-TDF, Branch:master, Time: 2015-05-22_06:33:18

LO 4.4.3, win7:  after "3. Continue checking at the beginning of the document?  Yes."  LO freeze, RAM grows up to 1,5GB +100%CPU

Could you test with LO 5? http://dev-builds.libreoffice.org/daily/master/Win-x86@42/current/
Comment 6 Gordo 2015-05-23 11:52:59 UTC
Win version in master does not have the language modules.

Version: 5.1.0.0.alpha1+
Build ID: d8208da8576874fdb07014287e6cbc0aeba741bb
TinderBox: Win-x86@39, Branch:master, Time: 2015-05-23_09:23:03
Comment 7 Hermann Rochholz 2015-05-23 12:43:15 UTC
@Gordo: Now I searched a little bit: No, this check did not have any influence. 
It's not clearly translated in german- Hyphenation is "Silbentrennung", but here it's only translated by "Trennung"- It's clear, but I searched for "Silben..."
Comment 8 Hermann Rochholz 2015-05-23 12:56:59 UTC
@raal:

I try to make german hypenation: Then a window pops up with a message that German hypnation is not possible. 
Lateron Libreoffice tells me that hyphenation is finished. 

But this is only working at the first call. 

Next:
I marked the complete text with "Ctrl A" and then tried to set everything to German-
No Way: Language at bottom bar is not available in this mode.

Hermann
Comment 9 Hermann Rochholz 2015-05-23 13:59:24 UTC
Please forget my comment:
"Next:
I marked the complete text with "Ctrl A" and then tried to set everything to German- 
No Way: Language at bottom bar is not available in this mode."

Thank you.
Comment 10 Hermann Rochholz 2015-06-08 13:06:21 UTC
Hallo! 

OK- TODAY I downloaded the 5.0 Beta Version. libreoffice-5-0~2015-05-28_21.56.25_LibreOfficeDev_5.0.0.0.beta1_Win_x86_en-US_de_ar_ja_ru_qtz.msi
including German Helppack. 
libreoffice-5-0~2015-05-28_21.56.25_LibreOfficeDev_5.0.0.0.beta1_Win_x86_helppack_de.msi

Freeze is the same for my 206-page book. 

First I choose (It's German- maybe the translation is not absolute accurate!):
1) Extras - Language - Whole Text - German.
2) Extras - Language - Hyphenation - Freeze (and recover after restart).

The first time I tried that the hyphenation tool proposed single words and I did not choose this option. Maybe this was not a good idea. 
Nevertheless: what is the strategy to fix this?

My theory again: I have many footnotes being partially over more than one page.
I ASSUME that there is a conflict between them and the standard pagebreak. 
And therefore the algorithm ends in an infinite loop. 

Kind regards 
Hermann
Comment 11 Gordo 2015-06-11 10:40:52 UTC
Created attachment 116466 [details]
backtrace

I pinched the language file from the .deb package.

Windows Vista 64
Version: 5.1.0.0.alpha1+
Build ID: 5fc0cbbc1254223fedf0f78c5e7539219b228697
TinderBox: Win-x86@39, Branch:master, Time: 2015-06-11_04:30:51
Comment 12 QA Administrators 2017-09-01 11:16:58 UTC Comment hidden (obsolete)
Comment 13 Hermann Rochholz 2017-09-02 09:15:04 UTC
New versions do not show this error.
V 5.4.0.3 works on both Win7 Prof and Win7 Home. 

Thank you developers!