Issue Details (XML | Word | Printable)

Key: CORE-5908
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Alexander Peshkov
Reporter: Alexander Peshkov
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Firebird Core

Enhance dynamic libraries loading related error messages

Created: 07/Sep/18 01:48 PM   Updated: 20/Sep/18 04:09 PM
Component/s: None
Affects Version/s: 4.0 Alpha 1, 2.5.8, 3.0.3
Fix Version/s: 3.0.4, 4.0 Beta 1

QA Status: Done successfully
Test Details: Thanks to Alex for suggestion about implementation.


 Description  « Hide
Due to wrong initial design of class ModuleLoader errors displayed when loading library fails miss OS-specific information about a reason of a failure (no such file, invalid format, unresolved external reference, etc.), they only say - module/library not loaded. This makes fixing related bugs extremely problematic in many cases.

Errors reported should be extended in order to show exact reason of a failure.

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Alexander Peshkov added a comment - 07/Sep/18 02:11 PM
Messages are enhanced except deprecated UDFs and unfortunately ICU - in case of failure ICU is attempted to be loaded >50 times and reporting all errors to user is definitely unreal.