Created attachment 89346 [details] example of document with headings in a table Steps to reproduce: - open the attached document - try to create a table of contents : menu Insert > Indexes and Tables... > Indexes and Table Current behavior: LibreOffice freezes when it try to build the preview of the ToC. It seems to be entered in an endless loop. The bug occurs in version 4.1.4.0.0+ and the master (Version: 4.2.0.0.alpha1+ Build ID: 11077cb75d0dcf1ebb25b12358776fde45a78eb4) but not in 4.0.6 If I add the ToC with 4.0.6, save the file and try to edit the ToC of the modified document with 4.1, I get the same freeze. Best regards. JBF
Hi Jean-Baptiste, It does not freeze for me with 4.1.3.2 (and earlier versions I tested) on my 32 bits Ubunutu. Ciao, Cor
(In reply to comment #1) > Hi Jean-Baptiste, > > It does not freeze for me with 4.1.3.2 (and earlier versions I tested) on my > 32 bits Ubunutu. I just tried with vanilla version 4.1.3.2 64 bits and it works as expected. I see 2 possibilities: 1/ a problem in my own build but that is weird because I have the same problem with the master for which I do complete builds 2/ a recent regression. Will rebuild my 4.1.4 completely (make distclean && make) Best regards. JBF > > Ciao, > Cor
Hi, I can only reproduce this bug in Master: Version: 4.2.0.0.alpha1+ Build ID: 868103846b9b32bfecd77c08055fdca69d0265c2 TinderBox: MacOSX-x86@48-TDF, Branch:master, Time: 2013-11-14_23:51:46 In the other versions (including 4.2 alpha 1) I can add the TOC with out a problem. So is the version field set right?
Same problem on master for me. Will try to have a backtrace of the freeze
Created attachment 89363 [details] Backtrace during the freeze
Seems to be b376eacdfae11f5d39eb7011efe67390d9f495e7 , Caolan please have a look, thanks.
(In reply to comment #6) > Seems to be b376eacdfae11f5d39eb7011efe67390d9f495e7 , Caolan please have a > look, thanks. Confirmed for LO 4.1.4.0.0+ : if I revert the corresponding commit (https://gerrit.libreoffice.org/gitweb?p=core.git;a=commit;h=7eae50f9ff5877ef880be9a85d3f7e52b1fec49f) there is no freeze and the ToC dialog works as expected. Thank you Arnaud. Best regards. JBF
Maybe I did create a duplicate of this bug, but Arnaud point me to this bug report. I already can reproduce a freeze when opening a new document and go to Insert > Indexes and tables > indexes and tables. See bug 71754 (no need for headings in the table or something like that). Sorry if it's a dupe. Kind regards, Joren
*** Bug 71754 has been marked as a duplicate of this bug. ***
(In reply to comment #8) > [...] > (no need for headings in the table or something like that). You are right, I reported the scenario which triggered this bug for me. I forgot to try more simple situations (just open ToC creation dialog in an empty document) Best regards. JBF
Thanks to Joel, added a 4.1.4 pre-release tag :). Marking it that way. Kind regards, Joren
Sorry for the noise. After some discussion on the qa-chat: 4.1.4 isn't branched of yet. It will branched of from 4.1.0.0 master. So marking it as that version right now :). When 4.1.4 RC1 is out, we can mark it as such (because 4.1.0.0 master is under continuous development). Kind regards, Joren
Arnaud Versini committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=7726339a648ac94bb7c365950f23dabec5aa52e7 Writer : Fix fdo#71694 by clearing old anchor frame before setting new The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Fixed in master now, and fix proposed in gerrit for 4-1
Arnaud Versini committed a patch related to this issue. It has been pushed to "libreoffice-4-1": http://cgit.freedesktop.org/libreoffice/core/commit/?id=394a1ee9a0f5438bda41cbf4ecf065b9b278b4c4&h=libreoffice-4-1 Writer : Fix fdo#71694 by clearing old anchor frame before setting new It will be available in LibreOffice 4.1.4. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
@Caolan: Thank you very much for the fix. Verified in the master and LO 4.1.4.0.0+ Best regards. JBF
Oups, thank you Arnaud. :-)