[Blink] segfaults and no sound devices

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


> On 29 Feb 2016, at 11:48, Julian <hasufell at hasufell.de> wrote:
> 
> On 02/29/2016 10:12 AM, Saúl Ibarra Corretgé wrote:
>> 
>> Can you post a GDB backtrace?
>> 
> 
> I currently cannot reproduce the Segmentation fault, just the MemoryError
> above. Probably a memory layout thing that might or might not segfault.
> 

This might be related to the other errors because URI parsing uses the Engine’s internals, which are not fully initialised because it failed.

>> 
>> 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.
>> 
> 
> notifications_trace.txt shows:
> 
> ===================== LOG 1 ========================================
> 2016-02-29 11:28:05.536397 [blink 1552]: Notification name=SIPEngineGotException sender=<Engine(Thread-1, stopped daemon 139895970129664)> data=NotificationData(traceback='Traceback (most recent call last):\n  File "/usr/x86_64-pc-linux-gnu/lib/python2.7/site-packages/sipsimple/core/_engine.py", line 101, in run\n    self._ua = PJSIPUA(self._handle_event, **init_options)\n  File "sipsimple/core/_core.ua.pxi", line 110, in sipsimple.core._core.PJSIPUA.__init__ (sipsimple/core/_core.c:68319)\n  File "sipsimple/core/_core.ua.pxi", line 534, in sipsimple.core._core.PJSIPUA.video_codecs.__set__ (sipsimple/core/_core.c:75488)\n  File "sipsimple/core/_core.lib.pxi", line 416, in sipsimple.core._core.PJMEDIAEndpoint._set_video_codecs (sipsimple/core/_core.c:16075)\nSIPCoreError: Unknown video codec(s): H264\n', type=<class 'sipsimple.core._core.SIPCoreError'>, value=SIPCoreError('Unknown video codec(s): H264',))
> 2016-02-29 11:28:05.536465 [blink 1552]: Notification name=SIPEngineDidFail sender=<Engine(Thread-1, stopped daemon 139895970129664)> data=NotificationData()
> ====================================================================
> 
> However, that doesn't seem to make sense:
> # ffmpeg -codecs | grep 264
> DEV.LS h264                 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (decoders: h264 h264_vdpau ) (encoders: libx264 libx264rgb )
> 
> pjsip_trace.txt shows some stuff too which indicates it does in fact
> find my devices, but then screws up somehow:
> 

[blink 8891] (5) 2016-02-29 11:33:01.686 ffmpeg_vid_cod No recognized raw format for codec [libx264/libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10], codec ignored
[blink 8891] (5) 2016-02-29 11:33:01.686 ffmpeg_vid_cod No recognized raw format for codec [libx264rgb/libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 RGB], codec ignored
[blink 8891] (4) 2016-02-29 11:33:01.686 ffmpeg_vid_cod Cannot find H264 encoder in ffmpeg library

This is the relevant part. I’m not sure how your ffmpeg / libx264 combo is compiled, but we are not finding a compatible H264 in there, hence the error. You can try to set the default codec to VP8.


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/763864e9/attachment.pgp>


More information about the Blink mailing list