Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assertion error in ns_mxcheck and ns_mxcheck_async #20

Open
ghost opened this issue Oct 30, 2013 · 3 comments
Open

Assertion error in ns_mxcheck and ns_mxcheck_async #20

ghost opened this issue Oct 30, 2013 · 3 comments

Comments

@ghost
Copy link

ghost commented Oct 30, 2013

ns_mxcheck and ns_mxcheck_async fails to load with an assertion error:

<@OperServ> nyuszika7h MODLOAD: contrib/ns_mxcheck_async
<@OperServ> (loader_posix.c:43) [mowgli_module_open]: critical: Assertion 'handle != NULL' failed.
<@OperServ> module_load(): error while loading /opt/zetronirc/atheme706/modules/contrib/ns_mxcheck_async:
<@OperServ> nyuszika7h MODLOAD: contrib/ns_mxcheck
<@OperServ> (loader_posix.c:43) [mowgli_module_open]: critical: Assertion 'handle != NULL' failed.
<@OperServ> module_load(): error while loading /opt/zetronirc/atheme706/modules/contrib/ns_mxcheck:

@dwfreed
Copy link
Contributor

dwfreed commented Oct 30, 2013

Those line numbers indicate that dlopen() returned NULL. Add the following line in libmowgli-2/src/libmowgli/module/loader_posix.c, just above the first return_val_if_fail in the file:

mowgli_log("%s", dlerror());

Then recompile Atheme, and try to load the module again.

@ghost
Copy link
Author

ghost commented Oct 30, 2013

I'll do that tomorrow.

@ghost
Copy link
Author

ghost commented Nov 7, 2013

Sorry, I haven't had the time to set up a testnet yet. I'll try to do it sometime this week.

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

No branches or pull requests

1 participant