[Blink] segfaults and no sound devices

Saúl Ibarra Corretgé saul at ag-projects.com
Mon Feb 29 10:12:23 CET 2016


Hi Julian,

> On 27 Feb 2016, at 04:08, Julian <hasufell at hasufell.de> wrote:
> 
> 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
> 

It’s the first time I hear of such Linux distribution. We do our development on Debian and provide packages for Debian and Ubuntu and while I know there are no problems in running Blink in other distributions I guess YMMV. Let´s see:

> 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
> =====================================================
> 

Can you post a GDB backtrace?

> 
> 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'
> =====================================================
> 

Are you sure you don’t get any traceback prior to this? SIPApplication.video_device is guaranteed to exist since it’s created when the subsystems are initialized.

> 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
> =====================================================
> 

Yep, this confirms my suspicion above. The Engine is failing to properly start. If you can, enable notifications trace and restart Blink. The notifications_rave should show what’s happening.


Kind regards,

--
Saúl Ibarra Corretgé
AG Projects



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.ag-projects.com/pipermail/blink/attachments/20160229/69cdd532/attachment.pgp>


More information about the Blink mailing list