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

mod_verto: fix segfault in verto bye #2634

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

wmasilva
Copy link
Contributor

it happens when verto couldn't create the channel but it receives a bye.
Checking tech_pvt solves the issue.

BT:

program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f3915f27591 in verto__bye_func (method=<optimized out>, params=<optimized out>, jsock=<optimized out>, response=<optimized out>) at mod_verto.c:3141
3141	mod_verto.c: No such file or directory.
[Current thread is 1 (Thread 0x7f3915994700 (LWP 1799715))]
(gdb) bt
#0  0x00007f3915f27591 in verto__bye_func (method=<optimized out>, params=<optimized out>, jsock=<optimized out>, response=<optimized out>) at mod_verto.c:3141
#1  0x00007f3915f31e7f in process_jrpc (jsock=0x55874b21e028, json=<optimized out>) at mod_verto.c:1556
#2  0x00007f3915f32867 in process_input (bytes=<optimized out>, data=<optimized out>, jsock=0x55874b21e028) at mod_verto.c:1602
#3  client_run (jsock=0x55874b21e028) at mod_verto.c:2177
#4  0x00007f3915f339bf in client_thread (thread=<optimized out>, obj=0x55874b21e028) at mod_verto.c:2221
#5  0x00007f392208087e in switch_core_session_thread_pool_worker (thread=0x55874c326280, obj=<optimized out>) at src/switch_core_session.c:1792
#6  0x00007f3921fc5ea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007f3921ce1acf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

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

Successfully merging this pull request may close these issues.

1 participant