Bug 118766 - Access2Base: Libo 6.2 Alpha throws general I/O error when loading (or first call into) Acess2Base library
Summary: Access2Base: Libo 6.2 Alpha throws general I/O error when loading (or first c...
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
Version:
(earliest affected)
6.2.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Jean-Pierre Ledure
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-14 20:09 UTC by Drew Jensen
Modified: 2018-07-31 13:03 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Drew Jensen 2018-07-14 20:09:02 UTC
Description:
Open an ODB file which uses the Access2Base basic library throws a general I/O error rendering the use of the basic functions impossible.

Steps to Reproduce:
1. Start LibO and ensure that Basic macro functioning is enabled
2. Open attached example file, or any other odb which uses the Access2Base library
3.

Actual Results:
General I/O error

Expected Results:
File opens, library loads and initializes.


Reproducible: Always


User Profile Reset: No



Additional Info:
Currently no problem in 5.4.7, 6.0.x or 6.1 RC1

Bibisect using daily master repo generates the following output:
 5d07d61d01baa9eaafaec5e6f1d18fbe62a747f0 is the first bad commit
commit 5d07d61d01baa9eaafaec5e6f1d18fbe62a747f0
Author: Miklos Vajna <vmiklos@collabora.co.uk>
Date:   Sat Jun 30 07:06:45 2018 +0200

    2018-06-30: source-hash-7696d1d217b6cff63490e7f98403d0e499c33d17
Comment 1 Drew Jensen 2018-07-14 20:18:48 UTC
You can find an example file for testing, this one with a firebird engine and not everything fixed up in the migration yet, but it works for this. Too big for buzilla, so you can download it here https://nextcloud.documentfoundation.org/s/ePAmqMj3N2Ywms4
Comment 2 Jean-Pierre Ledure 2018-07-17 13:22:27 UTC
Seems that commit https://gerrit.libreoffice.org/#/c/53896 has erroneously suppressed a trailing ">" in the xml headers of every module in the library. This could explain that the library could not be loaded.

I posted a patch https://gerrit.libreoffice.org/gitweb?p=core.git;a=commit;h=a61b903e33e6f2f1b881b83e4608b70677955999 today to correct this.

Drew, could you please retry (I haven't a master environment ready at this time) and change the status if OK ?

Thanks.
JPL
Comment 3 Xisco Faulí 2018-07-18 18:20:27 UTC
Setting to ASSIGNED.

@Jean-Pierre Ledure, thanks for taking care of it!!