Bug 109065 - Mac AddressBook ODB crashes and closes on opening table then LibreOffice enters document recovery loop (MacOS only)
Summary: Mac AddressBook ODB crashes and closes on opening table then LibreOffice ente...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
Version:
(earliest affected)
5.0.6.3 release
Hardware: All macOS (All)
: high major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: haveBacktrace, regression
Depends on:
Blocks:
 
Reported: 2017-07-11 12:28 UTC by Alex Thurgood
Modified: 2017-08-01 10:36 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
lldb full backtrace (42.75 KB, text/plain)
2017-07-11 12:30 UTC, Alex Thurgood
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Thurgood 2017-07-11 12:28:55 UTC
Description:
Attempting to open the only table in a Mac Addressbook ODB file causes LibreOffice to crash, close the ODB file, then attempt a recovery, which repeats itself endlessly.

Steps to Reproduce:
1. Open an ODB file configured to connect to a Mac AddressBook
2. Select the Tables icon
3. Double-click on the only table entry in the list of tables
4. Crash, then recovery loop

Actual Results:  
See above

Expected Results:
The application should not crash, recovery mode should allow the file to be recovered and the table to be opened.


Reproducible: Always

User Profile Reset: yes

Additional Info:
This is a regression over the 4.x branch where this feature used to work.


User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:54.0) Gecko/20100101 Firefox/54.0
Comment 1 Alex Thurgood 2017-07-11 12:30:05 UTC
Created attachment 134587 [details]
lldb full backtrace
Comment 2 Alex Thurgood 2017-07-11 12:32:53 UTC
Also tested against 
Version: 5.3.2.2
Build ID: 6cd4f1ef626f15116896b1d8e1398b56da0d0ee1
Threads CPU : 8; 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

Crash occurs there too
Comment 3 Alex Thurgood 2017-07-11 12:33:48 UTC
No crash in

Version: 4.1.6.2
Build ID: 40ff705089295be5be0aae9b15123f687c05b0a
Comment 4 Alex Thurgood 2017-07-11 12:34:45 UTC
No crahs in 

Version: 4.2.5.2
Build ID: 61cb170a04bb1f12e77c884eab9192be736ec5f5
Comment 5 Alex Thurgood 2017-07-11 12:35:47 UTC
No crash in 

Version: 4.3.4.1
Build ID: bc356b2f991740509f321d70e4512a6a54c5f243
Comment 6 Alex Thurgood 2017-07-11 12:36:48 UTC
No crash in 

Version: 4.4.5.2
Build ID: a22f674fd25a3b6f45bdebf25400ed2adff0ff99
Locale : fr_FR.UTF-8
Comment 7 Alex Thurgood 2017-07-11 12:38:25 UTC
First crashes in 


Version: 5.0.6.3
Build ID: 490fc03b25318460cfc54456516ea2519c11d1aa
Locale : fr-FR (fr_FR.UTF-8)

setting version back to earliest tested where bug reproduced
Comment 8 Alex Thurgood 2017-07-11 12:50:13 UTC
This bug is specific to MacOS.
Comment 9 Julien Nabet 2017-07-28 20:23:42 UTC
Alex: did you succeed in building LO on MacOs?
Indeed, I gave a try with master sources in last days and I don't reproduce the crash.
I must recognize my test is perhaps not relevant since there's only 2 lines in address book (I use mainly my laptop on Linux).
Comment 10 Alex Thurgood 2017-07-31 13:05:19 UTC
Hi Julien

Yes, this now works again in my master build

Version: 6.0.0.0.alpha0+
Build ID: 376e27dd498d64212e570354a94c527b37d367b1
CPU threads: 4; OS: Mac OS X 10.12.6; UI render: default; 
Locale: fr-FR (fr_FR.UTF-8); Calc: group


I have 794 records in my Mac Addressbook so a fair number for testing purposes.
Comment 11 Alex Thurgood 2017-07-31 13:05:59 UTC
The problem is whether whatever fixed this will make into 5.4 ?
Comment 12 Julien Nabet 2017-07-31 13:25:22 UTC
(In reply to Alex Thurgood from comment #11)
> The problem is whether whatever fixed this will make into 5.4 ?

I don't know if it'll be ok on 5.4 since we don't know what fix it.
Either you can install last daily 5.4 to give it a try or just wait for it.
Comment 13 Alex Thurgood 2017-07-31 16:03:52 UTC
Works now also on

Version: 5.4.0.3
Build ID: 7556cbc6811c9d992f4064ab9287069087d7f62c
CPU threads: 4; OS: Mac OS X 10.12.6; UI render: default; 
Locale: fr-FR (fr_FR.UTF-8); Calc: group
Comment 14 Julien Nabet 2017-07-31 16:38:48 UTC
Good news!

BTW, do you still reproduce tdf#87975 put in See Also?
Comment 15 Alex Thurgood 2017-08-01 10:36:37 UTC
(In reply to Julien Nabet from comment #14)
> Good news!
> 
> BTW, do you still reproduce tdf#87975 put in See Also?


Sorted ! Thanks for reminding me of that one ! :-)