Skip to content

m_hnd is null #1

Open
Open

Description

@ameya7295

sample-cpp-plugin-master/./psdk/loader.hpp:55: Plugin::Plugin(std::string): Assertion `m_hnd != nullptr' failed.
Aborted (core dumped)

May I know, why this issue is generated.
I am running on Linux Ubuntu machine.
gcc version is 9.3

Activity

  1. ameya7295 commented on Jun 13, 2021

    @ameya7295
    Author

    Update :
    in loader.hpp : 50
    if I change m_hnd = dlopen(m_file.c_str(), RTLD_LAZY);
    to m_hnd = dlopen("./PluginA.so", RTLD_LAZY); it works.

  2. haithink commented on Nov 1, 2021

    @haithink

    Update : in loader.hpp : 50 if I change m_hnd = dlopen(m_file.c_str(), RTLD_LAZY); to m_hnd = dlopen("./PluginA.so", RTLD_LAZY); it works.

    Same with you. Fix the so file path。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions