Bug Hunting Session
Bug 104083 - CRASH - macOS newly created Base files cause crash in mdworker and hang in LibreOffice process - LO spotlight importer code
Summary: CRASH - macOS newly created Base files cause crash in mdworker and hang in L...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
Version:
(earliest affected)
5.3.0.0.alpha1+
Hardware: x86-64 (AMD64) Mac OS X (All)
: highest critical
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2016-11-21 11:14 UTC by Alex Thurgood
Modified: 2019-02-06 12:04 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Console trace (43.09 KB, text/plain)
2016-11-21 11:15 UTC, Alex Thurgood
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Thurgood 2016-11-21 11:14:25 UTC
Description:
Create a new ODB (embedded hsqldb) file using the DB wizard.
When attempting to save the file, LO Base crashes.

Console output indicates that the file flags are causing mdworker to crash.

Steps to Reproduce:
1. Create a new ODB file using DB wizard. No need to add tables.
2. Attempt to save the new file to local disk space.


Actual Results:  
LO Base hangs indefinitely. Forced kill is required to remove process.

The mdworker process SIGBARTs when trying to analyze the file. As this uses the Spotlight code from LO, LO appears to hang as a result.

Expected Results:
The file should be saved without causing the LO process to hang. The mdworker process should not die when calling the LO Spotlight importer code.


Reproducible: Always

User Profile Reset: No

Additional Info:


User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:49.0) Gecko/20100101 Firefox/49.0
Comment 1 Alex Thurgood 2016-11-21 11:15:12 UTC
Created attachment 128917 [details]
Console trace
Comment 2 Telesto 2016-11-22 08:17:19 UTC
I can confirm LO Base hangs indefinitely. Forced kill is required to remove process.
The mdworker process didn't SIGBART, this time. But I have seen it happen, if I remember correctly.

Version: 5.3.0.0.alpha1+
Build ID: 6984fd5a756f1e01e94da14f01df5a0e20791630
CPU Threads: 4; OS Version: Mac OS X 10.12.1; UI Render: default; Layout Engine: new; 
TinderBox: MacOSX-x86_64@49-TDF, Branch:master, Time: 2016-11-05_02:01:59
Locale: nl-NL (nl_NL.UTF-8); Calc: group
Comment 3 Alex Thurgood 2017-07-06 09:04:28 UTC
WFM in

Version: 5.3.4.2
Build ID: f82d347ccc0be322489bf7da61d7e4ad13fe2ff3
Threads CPU : 4; Version de l'OS :Mac OS X 10.12.5; UI Render : par défaut; Moteur de mise en page : nouveau; 
Locale : fr-FR (fr_FR.UTF-8); Calc: group