[Blink] segfaults and no sound devices

Julian hasufell at hasufell.de
Sat Feb 27 04:08:21 CET 2016


I have packaged [0] Blink under Exherbo Linux [1]. But when I start it,
I observe two problems:
* there are no sound or video devices showing up
* when trying to make an actual call, blink will eventually segfault

The segfault is here after clicking twice on a contact:
============= TRACEBACK 1 ===========================
Traceback (most recent call last):
  File
"/usr/x86_64-pc-linux-gnu/lib/python2.7/site-packages/blink/contacts.py", line
3456, in _SH_DoubleClicked
    session_manager.create_session(item, item.uri,
item.preferred_media.stream_descriptions,
connect=item.preferred_media.autoconnect)
  File
"/usr/x86_64-pc-linux-gnu/lib/python2.7/site-packages/blink/sessions.py", line
5217, in create_session
    session.init_outgoing(account, contact, contact_uri, streams,
sibling=sibling, reinitialize=reinitialize)
  File
"/usr/x86_64-pc-linux-gnu/lib/python2.7/site-packages/blink/sessions.py", line
638, in init_outgoing
    self.uri = self._normalize_uri(contact_uri.uri)
  File
"/usr/x86_64-pc-linux-gnu/lib/python2.7/site-packages/blink/sessions.py", line
836, in _normalize_uri
    uri = SIPURI.parse(str(uri).translate(None, ' \t'))
  File "sipsimple/core/_core.helper.pxi", line 207, in
sipsimple.core._core.SIPURI.parse (sipsimple/core/_core.c:95509)
  File "sipsimple/core/_core.helper.pxi", line 324, in
sipsimple.core._core.SIPURI_create (sipsimple/core/_core.c:98441)
  File "sipsimple/core/_core.helper.pxi", line 296, in
sipsimple.core._core._pj_sipuri_to_dict (sipsimple/core/_core.c:98104)
  File "sipsimple/core/_core.util.pxi", line 169, in
sipsimple.core._core._pj_str_to_str (sipsimple/core/_core.c:59778)
MemoryError
Segmentation fault
=====================================================


Additionally, when I enter the video section under preferences, it throws:
============= TRACEBACK 2 ===========================
  File
"/usr/x86_64-pc-linux-gnu/lib/python2.7/site-packages/blink/preferences.py",
line 480, in eventFilter
    self.camera_preview.producer = SIPApplication.video_device.producer
AttributeError: 'NoneType' object has no attribute 'producer'
=====================================================

Then, when leaving the video section, it throws:
============= TRACEBACK 3 ===========================
Traceback (most recent call last):
  File
"/usr/x86_64-pc-linux-gnu/lib/python2.7/site-packages/blink/preferences.py",
line 482, in eventFilter
    self.camera_preview.producer = None
  File
"/usr/x86_64-pc-linux-gnu/lib/python2.7/site-packages/blink/widgets/video.py",
line 78, in _set_producer
    self._renderer.producer = producer
  File
"/usr/x86_64-pc-linux-gnu/lib/python2.7/site-packages/blink/widgets/video.py",
line 69, in __getattr__
    return self.__dict__.setdefault(name,
FrameBufferVideoRenderer(self._handle_frame))
  File "sipsimple/core/_core.video.pxi", line 104, in
sipsimple.core._core.VideoConsumer.__cinit__ (sipsimple/core/_core.c:40800)
  File "sipsimple/core/_core.ua.pxi", line 1217, in
sipsimple.core._core._get_ua (sipsimple/core/_core.c:81654)
sipsimple.core._core.SIPCoreError: PJSIPUA is not instantiated
=====================================================

This suggests it's something with sipsimple. I use version 2.6.0.
Cython is version 0.23.4, but I also tried with an older one, which
didn't help. Python is version 2.7.11.

Mind that sound works fine everywhere else, including things like
mumble, teamspeak, steam and so on.


--
[0] https://github.com/hasufell/hasufell-repository
[1] http://exherbo.org/


More information about the Blink mailing list