Skip to content

dlclose() causes .so unloaded and does not reload it back on reverse-continue #3846

@midenok

Description

@midenok

In continuation of #3845.

For the trace of the following sequence:

  1. dlopen(X.so)
  2. debugged code
  3. dlclose(X.so)
  4. After dlclose()

Until 4. is reached 2. displays X.so in info shared. But if 4. is reached in trace replay, reverse-continue to 2. does not return back X.so to loaded modules.

The workaround to this is restart from the start or replay dlopen() again. Saved checkpoints also restore correct modules list.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions