Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • L libnice
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 49
    • Issues 49
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 9
    • Merge requests 9
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • libnice
  • libnice
  • Issues
  • #33
Closed
Open
Created Nov 22, 2017 by Bugzilla Migration User@bugzilla-migration

segfault in g_socket_send_message

Submitted by Brian J. Murrell @brianjmurrell

Assigned to Brian J. Murrell @brianjmurrell

Link to original bug (#7869)

Description

I'm tying to use https://github.com/tieto/sipe on Fedora 26 which has:

$ rpm -qa | grep nice  
libnice-devel-0.1.13-8.fc26.x86_64  
libnice-0.1.13-8.fc26.x86_64  
libnice-gstreamer1-0.1.13-8.fc26.x86_64  

and getting a [[ https://github.com/tieto/sipe/files/1492935/ThreadStacktrace.txt | segfault ]] where the top 10 frames are:

# 0  0x00007f216e3569fb in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51  
# 1  0x00007f216e358800 in __GI_abort () at abort.c:89  
# 2  0x000055fe5374904a in sighandler (sig=<optimized out>) at gtkmain.c:179  
# 3  0x00007f216e7073b0 in <signal handler called> () at /lib64/libpthread.so.0  
# 4  0x00007f2171f87934 in g_socket_send_message (socket=0x0, address=address@entry=0x0, vectors=0x7f20ec0113d0, num_vectors=2, messages=messages@entry=0x0, num_messages=num_messages@entry=0, flags=0, cancellable=0x0, error=0x7f2115ff7ca0) at gsocket.c:4254  
# 5  0x00007f21582a5238 in socket_send_message (sock=sock@entry=0x7f2100042c30, message=message@entry=0x7f2115ff7da0, reliable=reliable@entry=0) at tcp-bsd.c:306  
# 6  0x00007f21582a54a3 in socket_send_messages (sock=0x7f2100042c30, to=<optimized out>, messages=<optimized out>, n_messages=1) at tcp-bsd.c:360  
# 7  0x00007f215828e5e1 in nice_agent_send_messages_nonblocking_internal (agent=0x55fe55914cd0 [NiceAgent], stream_id=<optimized out>, component_id=<optimized out>, messages=0x55fe566f2230, messages@entry=0x53c205021defcc00, n_messages=n_messages@entry=1, allow_partial=allow_partial@entry=0, error=0x0) at agent.c:4539  
# 8  0x00007f215828eb87 in nice_agent_send_messages_nonblocking (agent=<optimized out>, stream_id=<optimized out>, component_id=<optimized out>, messages=0x53c205021defcc00, messages@entry=0x55fe566f2230, n_messages=n_messages@entry=1, cancellable=cancellable@entry=0x0, error=<optimized out>) at agent.c:4624  
# 9  0x00007f21344f12ca in gst_nice_sink_render_buffers (sink=sink@entry=0x55fe5670a4f0 [GstNiceSink], buffers=buffers@entry=0x7f2115ff7ed8, num_buffers=num_buffers@entry=1, mem_nums=mem_nums@entry=0x7f2115ff7ee7 "\001", total_mem_num=<optimized out>) at gstnicesink.c:297  

Is this a known issue that I need a fix for or should 0.1.13 be stable enough to use with pidgin-sipe?

It's very well worth mentioning that the Fedora packaging of 0.1.13 has a [[ http://pkgs.fedoraproject.org/cgit/rpms/libnice.git/tree/libnice-0.1.13-20160610.patch?h=f26 | nice sized patch ]] on it.

Assignee
Assign to
Time tracking