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

Janus crashes when starts at centos7.3 #1058

Closed
richard1219 opened this issue Nov 10, 2017 · 6 comments
Closed

Janus crashes when starts at centos7.3 #1058

richard1219 opened this issue Nov 10, 2017 · 6 comments

Comments

@richard1219
Copy link

richard1219 commented Nov 10, 2017

I get the follow log and stack on both v0.25 and 0.26, the follow ones is v0.25:
log:
[Fri Nov 10 12:04:35 2017] VideoRoom watchdog started
[Fri Nov 10 12:04:35 2017] JANUS VideoRoom plugin initialized!
[Fri Nov 10 12:04:35 2017] Loading plugin 'libjanus_voicemail.so'...
[Fri Nov 10 12:04:35 2017] JANUS VoiceMail plugin initialized!
[Fri Nov 10 12:04:35 2017] Transport plugins folder: /usr/local/lib/janus/transports
[Fri Nov 10 12:04:35 2017] VoiceMail watchdog started
[Fri Nov 10 12:04:35 2017] Loading transport plugin 'libjanus_http.so'...
Segmentation fault (core dumped)

stack:

https://gist.github.com/richard1219/be0bd4b48013e48037f61550839665a5

@lminiero
Copy link
Member

As clearly explained in the guidelines, please do NOT paste huge logs inline. Use pastebin, gist or whatever instead.

@lminiero
Copy link
Member

Looks like it's dying deep within dlopen when loading the HTTP transport. Have you tried removing that shared object and see if it works with the other transports instead? A clean install may also help understand if it was a one-time compile issue.

@richard1219
Copy link
Author

richard1219 commented Nov 13, 2017

Thank you for your replay @lminiero !
Finally, I found that the "libjanus_http" module conflicts with the "libjanus_sipre" module, when I disabled the libjanus_http in transports section OR disable libjanus_sipre in plgins section, janus started up smoothly, but when I enabled both of them, I got a libjanus_http dlopen crash.

@lminiero
Copy link
Member

Weird, did you find out where the conflict was?

@richard1219
Copy link
Author

Not yet, but I think it's somthing like 'open twice' issue likes dlfcn-win32/dlfcn-win32#32, but I haven't looked into about this.

@lminiero
Copy link
Member

Ack. Closing then as this looks very specific to your setup, feel free to reopen should you find more info that indicate a fix we should apply.

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

No branches or pull requests

2 participants