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

Segv in toxav on friend going offline during active call #871

Open
robinlinden opened this issue Apr 14, 2018 · 4 comments
Open

Segv in toxav on friend going offline during active call #871

robinlinden opened this issue Apr 14, 2018 · 4 comments
Labels
P3 Low priority
Milestone

Comments

@robinlinden
Copy link
Member

robinlinden commented Apr 14, 2018

Program received signal SIGSEGV, Segmentation fault.
0x0000000000520fad in m_friend_exists ()
(gdb) bt
#0  0x0000000000520fad in m_friend_exists ()
#1  0x00000000005077f4 in toxav_video_send_frame ()
#2  0x00000000004e70c5 in utox_video_thread ()

There isn't anything that can segv in m_friend_exists itself, but since this wasn't a debug build or anything, friend_not_valid was probably inlined and segfaulted when accessing the friendlist.

@zoff99
Copy link

zoff99 commented Apr 14, 2018

#854

@zoff99
Copy link

zoff99 commented Apr 14, 2018

lets try this
zoff99@ef5e84b

@zoff99
Copy link

zoff99 commented Apr 14, 2018

@iphydf can u write a small test case where tox_friend_exists get called in a loop in a different thread. while the main thread does tox_iterate() ?
and add/remove some other tox nodes constantly

@zoff99
Copy link

zoff99 commented Apr 14, 2018

@robinlinden its strange cause tox_friend_exists should only ever get called when u add a friend or delete a friend.
if a friend just goes offline the friendlist should not change

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

No branches or pull requests

3 participants