USING LO 4.4.0.1 + Ubuntu 14.04 I discovered this problem while trying to repro bug 87604. REPRO Steps: 1) Open Writer 2) I initially wrote some text and converted it to Style 'Heading 1', but that doesn't seem to always be necessary for repro 3) Insert -> Indexes and Tables -> Indexes and Tables RESULT: LO crashes If the dialog for Indexes and Tables actually appears and LO doesn't immediately crash, close the dialog and try typing some more text. Then try to open the dialog again.
(In reply to Robinson Tryon (qubit) from comment #0) > REPRO Steps: > 1) Open Writer > 2) I initially wrote some text and converted it to Style 'Heading 1', but > that doesn't seem to always be necessary for repro Consistent repro: Type some text, then wait for the Updater notification to appear before trying to open the Indexes and Tables dialog. I can't repro with a 4.5-build from the master branch, perhaps because there's no update notification?
Created attachment 111255 [details] GDBtrace.log from LibreOffice
On pc Debian x86-64 with 4.4. sources updated yesterday + brand new file, I don't reproduce this. Robinson: Could you attach the file so I could give it a try?
Hi, confirmed using Version: 4.4.0.1 Build ID: 1ba9640ddd424f1f535c75bf2b86703770b8cf6f Locale: fr_FR - Ubuntu 14.10 Julien: to reproduce, just write : New title, set it to Heading one, enter blabla below, then Insert > Index and tables > Index on a new line ==> crash. I can reproduce it each time I tried. Set as New - Sophie
Sophie: I failed to reproduce this :-( Perhaps is it because I use a build from 4.4 sources updated yesterday?
Julien, I just tested with an old master I had at hand Version: 4.5.0.0.alpha0+ Build ID: 317b5bc5f801135b027e02d5acfc407cc2d05689 TinderBox: Linux-rpm_deb-x86_64@46-TDF, Branch:master, Time: 2014-12-01_00:15:34 Locale: fr_FR I was not able to reproduce with this one, the TOC is created with no problem. I'll try with master 4.4. Sophie
works great with this one Version: 4.4.0.1.0+ Build ID: a7f76a197900e7ece5d09fed2bf7920a42425e9c TinderBox: Linux-rpm_deb-x86_64@46-TDF, Branch:libreoffice-4-4, Time: 2014-12-23_15:24:54 Locale: fr_FR - Sophie
Thank you Sophie for your feedback, let's put this to WFM.
(In reply to Robinson Tryon (qubit) from comment #1) > Consistent repro: Type some text, then wait for the Updater notification to > appear before trying to open the Indexes and Tables dialog. > > I can't repro with a 4.5-build from the master branch, perhaps because > there's no update notification? Julien: I'm inclined to just toss this one on the 'done' heap, but is there any reason to suspect the updater?
(In reply to Robinson Tryon (qubit) from comment #9) > (In reply to Robinson Tryon (qubit) from comment #1) > > Consistent repro: Type some text, then wait for the Updater notification to > > appear before trying to open the Indexes and Tables dialog. > > > > I can't repro with a 4.5-build from the master branch, perhaps because > > there's no update notification? > > Julien: I'm inclined to just toss this one on the 'done' heap, but is there > any reason to suspect the updater? I just realized that I had missed the "updater" part. I must recognize I don't know what's the "updater" in LO :-(
(In reply to Julien Nabet from comment #10) > I just realized that I had missed the "updater" part. I must recognize I > don't know what's the "updater" in LO :-( The updater is the tool that notifies users if an update is available for a given version: https://wiki.documentfoundation.org/Updater More Testing: I deleted my UserProfile and disabled the network on my machine, and then tried to repro again: - I added text - I changed the styles of text - etc.. Each time I tried to add ToC, the dialog opened without a crash. I then re-enabled the network and restarted LibreOffice (I waited for a while, but never got a prompt about an available update; it's possible that the program only checks once, shortly after startup). I poked at text/styles, and was successful at opening the ToC dialog. Then the second I saw the updater message appear, I tried again and got the crash. If there's some brittle code in LibreOffice that's crashing here, it might be worth it for us to track it down, especially if the bug might still be lurking in master.
I can't use master sources for the moment since I can't build it anymore with dbgutil (which seems to me mandatory to find a bug), see http://nabble.documentfoundation.org/Build-fails-with-master-sources-td4133670.html . I'll try to give a new try with 4.4 sources once it will be built with the last commits.
(In reply to Robinson Tryon (qubit) from comment #1) > (In reply to Robinson Tryon (qubit) from comment #0) > > REPRO Steps: > > 1) Open Writer > > 2) I initially wrote some text and converted it to Style 'Heading 1', but > > that doesn't seem to always be necessary for repro > > Consistent repro: Type some text, then wait for the Updater notification to > appear before trying to open the Indexes and Tables dialog. > > I can't repro with a 4.5-build from the master branch, perhaps because > there's no update notification? Nobody asked, but can confirm this bug also appears in win7 ultimate 64 bit (AMD) on 4.4.0.2. LO waits for a few secs then just dissappers without a trace. /Per
(In reply to Per from comment #13) > (In reply to Robinson Tryon (qubit) from comment #1) > > (In reply to Robinson Tryon (qubit) from comment #0) > > > REPRO Steps: > > > 1) Open Writer > > > 2) I initially wrote some text and converted it to Style 'Heading 1', but > > > that doesn't seem to always be necessary for repro > > > > Consistent repro: Type some text, then wait for the Updater notification to > > appear before trying to open the Indexes and Tables dialog. > > > > I can't repro with a 4.5-build from the master branch, perhaps because > > there's no update notification? > > Nobody asked, but can confirm this bug also appears in win7 ultimate 64 bit > (AMD) on 4.4.0.2. LO waits for a few secs then just dissappers without a > trace. /Per Hmm, hmm... that's dangerous news, as my guess about the Updater was predicated on the (accidentally set) upgrade path from 4.4.0.1 -> 4.3.5.2 in the server-side of the Updater. AFAIK, there's no upgrade path yet set for 4.4.0.2 rc, so maybe there's an underlying bug that *wasn't* fixed by 4.4.0.2? (I TESTED with LO 4.4.0.2 + Ubuntu 14.04, but couldn't repro. There's no prompt from the updater to update the build, but I waited a minute or so after I wrote some text before I opened the Indexes and Tables dialog.)
(In reply to Robinson Tryon (qubit) from comment #14) > (In reply to Per from comment #13) > > (In reply to Robinson Tryon (qubit) from comment #1) > > > (In reply to Robinson Tryon (qubit) from comment #0) > > > > REPRO Steps: > > > > 1) Open Writer > > > > 2) I initially wrote some text and converted it to Style 'Heading 1', but > > > > that doesn't seem to always be necessary for repro > > > > > > Consistent repro: Type some text, then wait for the Updater notification to > > > appear before trying to open the Indexes and Tables dialog. > > > > > > I can't repro with a 4.5-build from the master branch, perhaps because > > > there's no update notification? > > > > Nobody asked, but can confirm this bug also appears in win7 ultimate 64 bit > > (AMD) on 4.4.0.2. LO waits for a few secs then just dissappers without a > > trace. /Per > > Hmm, hmm... that's dangerous news, as my guess about the Updater was > predicated on the (accidentally set) upgrade path from 4.4.0.1 -> 4.3.5.2 in > the server-side of the Updater. > > AFAIK, there's no upgrade path yet set for 4.4.0.2 rc, so maybe there's an > underlying bug that *wasn't* fixed by 4.4.0.2? > > (I TESTED with LO 4.4.0.2 + Ubuntu 14.04, but couldn't repro. There's no > prompt from the updater to update the build, but I waited a minute or so > after I wrote some text before I opened the Indexes and Tables dialog.) I have tried to find a workaround (not a good one - just one that works) and if you do not add _anything_ into your document before insert-> index and tables, you get the dialog and are able to specify your details. If you after that add all of your paragraphs and headings it seems ok. so "nil" input data to the "indexer" works, but "any" data kills LO...
(In reply to Robinson Tryon (qubit) from comment #14) > (In reply to Per from comment #13) > > (In reply to Robinson Tryon (qubit) from comment #1) > > > (In reply to Robinson Tryon (qubit) from comment #0) > > > > REPRO Steps: > > > > 1) Open Writer > > > > 2) I initially wrote some text and converted it to Style 'Heading 1', but > > > > that doesn't seem to always be necessary for repro > > > > > > Consistent repro: Type some text, then wait for the Updater notification to > > > appear before trying to open the Indexes and Tables dialog. > > > > > > I can't repro with a 4.5-build from the master branch, perhaps because > > > there's no update notification? > > > > Nobody asked, but can confirm this bug also appears in win7 ultimate 64 bit > > (AMD) on 4.4.0.2. LO waits for a few secs then just dissappers without a > > trace. /Per > > Hmm, hmm... that's dangerous news, as my guess about the Updater was > predicated on the (accidentally set) upgrade path from 4.4.0.1 -> 4.3.5.2 in > the server-side of the Updater. > > AFAIK, there's no upgrade path yet set for 4.4.0.2 rc, so maybe there's an > underlying bug that *wasn't* fixed by 4.4.0.2? > > (I TESTED with LO 4.4.0.2 + Ubuntu 14.04, but couldn't repro. There's no > prompt from the updater to update the build, but I waited a minute or so > after I wrote some text before I opened the Indexes and Tables dialog.) I also tested this using the new 4.4.0.3 It still dies exacly the same way (LO just gone - no message) as 4.4.0.2 on win 7 64 bit Ultimate! /Per
I think the updater wants to put an icon into the top most menubar. The insert toc dialog has a preview which is an embedded writer window. I bet the menubar belongs to the preview, but is not visible/live or whatever so its pWindow is NULL and this dies because of the refactoring of http://cgit.freedesktop.org/libreoffice/core/commit/?id=fdffaef6ea21d165f1026940d5150a694dc85c46 which assumed that pWindow was always non-NULL and that it is always a MenuBarWindow.
Caolán McNamara committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=c6b40488c07149a2fcc8023dce4e9efb9e2fdf89 Resolves: tdf#87663 update checker tries to add icon to toc preview toolbar It will be available in 4.5.0. 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.
Caolán McNamara committed a patch related to this issue. It has been pushed to "libreoffice-4-4": http://cgit.freedesktop.org/libreoffice/core/commit/?id=b72573c15f123633a691bc76098405f24b17ecc2&h=libreoffice-4-4 Resolves: tdf#87663 update checker tries to add icon to toc preview toolbar It will be available in 4.4.2. 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.
Caolán McNamara committed a patch related to this issue. It has been pushed to "libreoffice-4-4-1": http://cgit.freedesktop.org/libreoffice/core/commit/?id=21e6d5e42204e5a3e10de43a2b3ef880f4934aa0&h=libreoffice-4-4-1 Resolves: tdf#87663 update checker tries to add icon to toc preview toolbar It will be available in 4.4.1. 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.
Hi, I tested the libo-44~2015-02-19_23.54.56_LibreOfficeDev_4.4.2.0.0_Win_x86.msi and it worked without issues om win7 ultimate 64bit Swedish /per
Following last comment, I'll put to VERIFIED
(In reply to Per from comment #21) > Hi, I tested the > libo-44~2015-02-19_23.54.56_LibreOfficeDev_4.4.2.0.0_Win_x86.msi > and it worked without issues om win7 ultimate 64bit Swedish > /per (In reply to Julien Nabet from comment #22) > Following last comment, I'll put to VERIFIED Does the 4.4.2.0.0 build above try to run the updater? Reason: Caolán McNamara described the problem in comment #17: > I think the updater wants to put an icon into the top most menubar. The > insert toc dialog has a preview which is an embedded writer window. > ...
(In reply to Robinson Tryon (qubit) from comment #23) > (In reply to Julien Nabet from comment #22) > > Following last comment, I'll put to VERIFIED > > Does the 4.4.2.0.0 build above try to run the updater? > > Reason: Caolán McNamara described the problem in comment #17: I don't know at all, I was just updating the bugtracker following last comment.
(In reply to Julien Nabet from comment #24) > (In reply to Robinson Tryon (qubit) from comment #23) > > (In reply to Julien Nabet from comment #22) > > > Following last comment, I'll put to VERIFIED > > > > Does the 4.4.2.0.0 build above try to run the updater? > > > > Reason: Caolán McNamara described the problem in comment #17: > I don't know at all, I was just updating the bugtracker following last > comment. Okay, I just wanted to make sure that we were testing the new (hopefully fixed) build of LibreOffice in an environment that had the potential to trigger the bug. If we never hit the codepath to put an updater icon in the menubar, then it seems possible that the bug could easily remain.