Opened 16 months ago

Closed 5 weeks ago

#12886 closed Bugs (obsolete)

Loading shared libraries with appended decorations hides actual errors in case of failure

Reported by: anonymous Owned by:
Milestone: To Be Determined Component: None
Version: Boost 1.63.0 Severity: Problem
Keywords: Cc:


When loading a shared library with the boost shared_library class from dll module using the boost::dll::load_mode::append_decorations mode and the loading fails for some reason, the function tries to load the library without decorations. If this also fails because the decorations are mandatory to be appended, the original error of the first (failed) load attempt is hidden, i.e. in the thrown exception, only the error with failed loading due to not found file is visible.

Better would be when the loading without appended decorations would be done only in case the boost::dll::load_mode::append_decorations mode is not applied.

Attachments (0)

Change History (1)

comment:1 Changed 5 weeks ago by John Maddock

Resolution: obsolete
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
as closed The ticket will remain with no owner.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.