Menu

#620 TTlsContainer usage causes link error in Debug Dynamic build mode (regression in 6.40)

8
pending
1
2026-04-02
2025-07-20
No

In header "owl/thread.h (sourceforge.net)", the diagnostic group OwlThread is declared, but it is not exported. This leads to link errors in Dynamic Debug builds for client code that uses the template TTlsContainer (which in turn uses the OwlThread group for the trace statements in its implementation).

Note that the only other exposed diagnostic group Def (defined in "checks.h (sourceforge.net)") is properly exported.

This issue is caused by a regression in the TTlsContainer rewrite in [r1233], fixing a thread-safety issue [bugs:#196].

TODO: Consider rewriting the code to not expose OwlThread.

Related

Bugs: #196
Commit: [r1233]
Wiki: OWLNext_Roadmap_and_Prereleases

Discussion

  • Vidar Hasfjord

    Vidar Hasfjord - 2025-07-21
    • status: open --> pending
     
  • Vidar Hasfjord

    Vidar Hasfjord - 2025-07-21

    This issue has now been fixed on the trunk [r8046]. Note that Owlet does not have this issue since the elimination of "thread.h" in this branch.

    Since we now follow strict semantic versioning, and this bug fix alters the API, it cannot be applied as a patch for our stable releases. The recommended workaround is to eliminate use of TTlsContainer, already a deprecated class (see Multi-threading and OWLNext).

     

    Related

    Commit: [r8046]
    Wiki: Multi-threading_and_OWLNext

  • Vidar Hasfjord

    Vidar Hasfjord - 2026-04-02
    • labels: Build, API --> Build, API, Regression
     

Log in to post a comment.

MongoDB Logo MongoDB