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

crash with "Invalid operation (PJ_EINVALIDOP)" #24

Open
SvenRoederer opened this issue Jan 14, 2018 · 2 comments
Open

crash with "Invalid operation (PJ_EINVALIDOP)" #24

SvenRoederer opened this issue Jan 14, 2018 · 2 comments

Comments

@SvenRoederer
Copy link

I'm trying to run mumsi in Debian 9.0. and compiled libpjproject 2.7.1 myself.
When starting mumsi I get the following error:

23:42:06.205           pjsua_core.c  .PJSUA state changed: NULL --> CREATED
2018-01-14 23:42:06,205 [INFO] Pjsua: 23:42:06.205         sip_endpoint.c  .Module "mod-pjsua-log" registered
2018-01-14 23:42:06,206 [INFO] Pjsua: 23:42:06.206         sip_endpoint.c  .Module "mod-tsx-layer" registered
2018-01-14 23:42:06,206 [INFO] Pjsua: 23:42:06.206         sip_endpoint.c  .Module "mod-stateful-util" registered
2018-01-14 23:42:06,206 [INFO] Pjsua: 23:42:06.206         sip_endpoint.c  .Module "mod-ua" registered
2018-01-14 23:42:06,206 [INFO] Pjsua: 23:42:06.206         sip_endpoint.c  .Module "mod-100rel" registered
2018-01-14 23:42:06,206 [INFO] Pjsua: 23:42:06.206         sip_endpoint.c  .Module "mod-pjsua" registered
2018-01-14 23:42:06,206 [INFO] Pjsua: 23:42:06.206         sip_endpoint.c  .Module "mod-invite" registered
2018-01-14 23:42:06,233 [INFO] Pjsua: 23:42:06.233             alsa_dev.c  ..ALSA driver found 23 devices
2018-01-14 23:42:06,233 [INFO] Pjsua: 23:42:06.233             alsa_dev.c  ..ALSA initialized
2018-01-14 23:42:06,234 [INFO] Pjsua: 23:42:06.234                  pjlib  ..select() I/O Queue created (0x563ec3c1b9a8)
2018-01-14 23:42:06,235 [INFO] Pjsua: 23:42:06.235            pjsua_vid.c  ..Initializing video subsystem..
2018-01-14 23:42:06,240 [INFO] Pjsua: 23:42:06.240             v4l2_dev.c  ...Video4Linux2 has 0 devices
2018-01-14 23:42:06,240 [ERROR] Pjsua: 23:42:06.240              sdl_dev.c !SDL_Init() error: No available video device
2018-01-14 23:42:06,240 [INFO] Pjsua: 23:42:06.240         colorbar_dev.c !...Colorbar video src initialized with 2 device(s):
2018-01-14 23:42:06,240 [INFO] Pjsua: 23:42:06.240         colorbar_dev.c  ... 0: Colorbar generator
2018-01-14 23:42:06,240 [INFO] Pjsua: 23:42:06.240         colorbar_dev.c  ... 1: Colorbar-active
2018-01-14 23:42:06,240 [INFO] Pjsua: 23:42:06.240         sip_endpoint.c  .Module "mod-evsub" registered
2018-01-14 23:42:06,240 [INFO] Pjsua: 23:42:06.240         sip_endpoint.c  .Module "mod-presence" registered
2018-01-14 23:42:06,240 [INFO] Pjsua: 23:42:06.240         sip_endpoint.c  .Module "mod-mwi" registered
2018-01-14 23:42:06,240 [INFO] Pjsua: 23:42:06.240         sip_endpoint.c  .Module "mod-refer" registered
2018-01-14 23:42:06,240 [INFO] Pjsua: 23:42:06.240         sip_endpoint.c  .Module "mod-pjsua-pres" registered
2018-01-14 23:42:06,240 [INFO] Pjsua: 23:42:06.240         sip_endpoint.c  .Module "mod-pjsua-im" registered
2018-01-14 23:42:06,240 [INFO] Pjsua: 23:42:06.240         sip_endpoint.c  .Module "mod-pjsua-options" registered
2018-01-14 23:42:06,241 [INFO] Pjsua: 23:42:06.241           pjsua_core.c  .1 SIP worker threads created
2018-01-14 23:42:06,241 [NOTICE] Pjsua: 23:42:06.241           pjsua_core.c  .pjsua version 2.7.1 for Linux-4.9.0.5/x86_64/glibc-2.24 initialized
2018-01-14 23:42:06,241 [INFO] Pjsua: 23:42:06.241           pjsua_core.c  .PJSUA state changed: CREATED --> INIT
2018-01-14 23:42:06,241 [ERROR] Pjsua: 23:42:06.241              media.cpp  pjsua_conf_add_port(mediaPool, (pjmedia_port *)port, &id) error: Invalid operation (PJ_EINVALIDOP) (status=70013) [../src/pjsua2/media.cpp:149]

Any ideas how to solve this?

@one-more-alex
Copy link

I had similar issues.
pjproject-2.3 will show this error.
In my case fixed to update to pjproject-2.4

@bwildenhain
Copy link

bwildenhain commented Jun 12, 2020

I can confirm this problem using the Debian packaged libpjproject 2.7.2 (as currently in sid), it works with self-compiled version 2.10 using ./configure --enabled-shared.

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

3 participants