Repository navigation
Commit 60561f6
Report why a simulation setup library cannot be loaded
This replaces the asserts in execFromPlugin by fatal messages with the reason.
- A failed dlopen of libO2G4Setup and friends stopped at assert(libHandle), without the error from dlerror().
- The message now gives the dlopen error, e.g. a missing static TLS reserve for Geant4 built with the initial-exec TLS model.
- The library is opened once, with the platform suffix from DLLoaderBase.h.
- A fair::FatalException follows the fatal message, since LOG(fatal) ends the process only when a fatal handler is installed.
https://its.cern.ch/jira/browse/O2-7305
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent a8a2a45 commit 60561f6
1 file changed
Lines changed: 14 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
| 19 | + | |
23 | 20 | | |
24 | 21 | | |
25 | 22 | | |
| |||
28 | 25 | | |
29 | 26 | | |
30 | 27 | | |
31 | | - | |
32 | | - | |
| 28 | + | |
| 29 | + | |
33 | 30 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
38 | 35 | | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
| 36 | + | |
46 | 37 | | |
47 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
48 | 43 | | |
49 | 44 | | |
50 | 45 | | |
| |||
0 commit comments