Bug 119575 - Clear recent document list crashes LO
Summary: Clear recent document list crashes LO
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
6.1.0.3 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-28 20:36 UTC by alther
Modified: 2019-08-20 08:08 UTC (History)
3 users (show)

See Also:
Crash report or crash signature: ["std::_Tree<std::_Tmap_traits<rtl::OUString,configmgr::Access::ModifiedChild,LengthContentsCompare,std::allocator<std::pair<rtl::OUString const ,configmgr::Access::ModifiedChild> >,0> >::_Lbound<rtl::OUString>(rtl::OUString const &)"]


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description alther 2018-08-28 20:36:04 UTC
Description:
I seem to have had a problem with the recent document list for a while.  By that I mean the document list contains documents that no longer exist (I deleted them) and new documents I've created or opened don't appear there.  It's like the list is frozen in time.

Today, I tried clearing the list to see if that would fix the issue, but instead it crashed LibreOffice.  I was in Calc if that makes a difference.

After LO crashes, the Document Recovery dialog appears.  I click OK and the dialog goes away and nothing happens.  I need to kill the LibreOffice process from Task Manager and open the spreadsheet again.

Crash report is here:
http://crashreport.libreoffice.org/stats/crash_details/37e835c0-86e5-4a3d-b809-076e58fa7686

Steps to Reproduce:
I had a "full" recent's list to start with and, as noted above, the list wasn't being updated.
1. Open a spreadsheet
2. File->Recent Documents->Clear List

Actual Results:
LO crashes.  Document Recovery dialog appears listing open documents.  Click OK to recover them, the dialog goes away and nothing happens.  I need to go into the Task Manager to kill LibreOffice.  After killing LO, I can then open a document.

Expected Results:
Clear the list (or prompt me first).


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 alther 2018-08-28 20:39:36 UTC
Restarting in safe mode allows me to clear the recent documents list, but it only contains a single entry after restarting, so I'm not sure how helpful that is, since it doesn't reproduce a full list.
Comment 2 m_a_riosv 2018-08-28 20:53:04 UTC
Open a few files to increase the list, and test.

Not repro.
Versión: 6.1.1.0.0+ (x64)
Id. de compilación: b88053ffeed1f9fb2dda8b3bffe6353d67312e5d
Subprocs. CPU: 4; SO: Windows 10.0; Repres. IU: predet.; 
TinderBox: Win-x86_64@42, Branch:libreoffice-6-1, Time: 2018-08-20_14:53:08
Configuración regional: es-ES (es_ES); Calc: CL
Comment 3 Xisco Faulí 2018-08-29 08:39:42 UTC
I can't reproduce it in

Versión: 6.1.0.3
Id. de compilación: efb621ed25068d70781dc026f7e9c5187a4decd1
Subprocs. CPU: 1; SO: Windows 6.1; Repres. IU: predet.; 
Configuración regional: es-ES (es_ES); Calc: group threaded

nor in

Version: 6.2.0.0.alpha0+
Build ID: a922f56cbf25f78534cd2d36bf13a86a4f15d970
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: el-GR (ca_ES.UTF-8); Calc: threaded

for the test, I loaded 5 files with LibreOffice, removed one from my disk and finally cleaned the list -> The list was cleaned correctly!
Comment 4 Roman Kuznetsov 2018-08-29 20:44:23 UTC
don't repro for 11 recent docs in

Версия: 6.1.1.1 (x64)
ID сборки: 2718b4a18dfcc6a54ebe5f7b801ee7a47fa81e0c
Потоков ЦП: 4; ОС:Windows 10.0; Отрисовка ИП: GL; 
Локаль: ru-RU (ru_RU); Calc: CL
Comment 5 alther 2018-08-29 21:12:23 UTC
I had a full list of 25 documents in my recents.  I haven't had time to fire it up in safe mode and try to reproduce.
Comment 6 tommy27 2018-10-12 05:22:58 UTC
->  alther@acm.org 

LibO 6.1.2 is out, please upgrade and retest.
if issue persists change status to UNCONFIRMED
if issue is gone change it to RESOLVED WORKSFORME

NEEDINFO until then
Comment 7 durvertje 2019-02-04 22:02:35 UTC
I have just upgraded from 5.4.4.2 to 6.1.4.2 (x64, Windows) and I confirm the bug is still present. I also have a full (25 item long) Recent Documents list, which has erroneously not been updated for a while. Selecting the "Clear List" menu item, causes the application to crash. After the crash I have to manually stop all LibreOffice related processes in Task Manager before Calc can again be launched. A crash report can be found here: crashreport.libreoffice.org/stats/crash_details/f22b8222-d7eb-4cf2-8cc8-edbd924e9b0.
Comment 8 Xisco Faulí 2019-02-12 14:19:22 UTC
Once LibreOffice crashes and the document is reopened, is the list cleaned ?

Could you please share a screenshot of the list of recent documents ?
Comment 9 QA Administrators 2019-08-19 07:02:11 UTC Comment hidden (obsolete)
Comment 10 alther 2019-08-19 15:54:30 UTC
I'm currently on LO 6.3.0.4 and have not been able to reproduce it.  I had a full list of 25 documents and was able to clear the list without issue.

As another user commented they experienced the same thing (comment 7).  It seems as if it was just a transition bug - i.e. going from a prior major version to 6.  I'm guessing something was corrupt in the storage of the recent files list and once that was resolved (in safe mode), it hasn't happened again.
Comment 11 Xisco Faulí 2019-08-20 08:08:38 UTC
Thanks for retesting with the latest version.
Setting to RESOLVED WORKSFORME as the commit fixing this issue hasn't been identified.