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.

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

===================== LOG 2 ========================================
[blink 8891] (4) 2016-02-29 11:33:01.378 os_core_unix.c pjlib 2.4-svn for POSIX 
initialized
[blink 8891] (5) 2016-02-29 11:33:01.391     alsa_dev.c Added sound device 
sysdefault:CARD=PCH
[blink 8891] (5) 2016-02-29 11:33:01.391     alsa_dev.c Added sound device 
iec958:CARD=PCH,DEV=0
[blink 8891] (5) 2016-02-29 11:33:01.391     alsa_dev.c Added sound device 
hdmi:CARD=NVidia,DEV=0
[blink 8891] (5) 2016-02-29 11:33:01.682     alsa_dev.c Added sound device 
sysdefault:CARD=U0x46d0x802
[blink 8891] (5) 2016-02-29 11:33:01.682     alsa_dev.c Added sound device 
iec958:CARD=U0x46d0x802,DEV=0
[blink 8891] (4) 2016-02-29 11:33:01.682     alsa_dev.c ALSA driver found 5 
devices
[blink 8891] (4) 2016-02-29 11:33:01.682     alsa_dev.c ALSA initialized
[blink 8891] (4) 2016-02-29 11:33:01.685          pjlib select() I/O Queue 
created (0x7fa03c062e18)
[blink 8891] (5) 2016-02-29 11:33:01.685         opus.c Init opus
[blink 8891] (5) 2016-02-29 11:33:01.685         opus.c Init opus > DONE
[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
[blink 8891] (4) 2016-02-29 11:33:01.686          vpx.c Init vpx codec
[blink 8891] (4) 2016-02-29 11:33:01.686          vpx.c Enum codecs...
[blink 8891] (5) 2016-02-29 11:33:01.686     v4l2_dev.c Found capture device 
UVC Camera (046d:0802)
[blink 8891] (5) 2016-02-29 11:33:01.686     v4l2_dev.c   Enumerating formats:
[blink 8891] (5) 2016-02-29 11:33:01.686     v4l2_dev.c    Supported: YUYV 4:2:2
[blink 8891] (5) 2016-02-29 11:33:01.686     v4l2_dev.c    Unsupported: 
Motion-JPEG
[blink 8891] (5) 2016-02-29 11:33:01.686     v4l2_dev.c    Unsupported: RGB3
[blink 8891] (5) 2016-02-29 11:33:01.686     v4l2_dev.c    Supported: BGR3
[blink 8891] (5) 2016-02-29 11:33:01.686     v4l2_dev.c    Unsupported: YU12
[blink 8891] (5) 2016-02-29 11:33:01.686     v4l2_dev.c    Unsupported: YV12
[blink 8891] (4) 2016-02-29 11:33:02.189     v4l2_dev.c Video4Linux2 has 1 
devices
[blink 8891] (4) 2016-02-29 11:33:02.189 colorbar_dev.c Colorbar video src 
initialized with 2 device(s):
[blink 8891] (4) 2016-02-29 11:33:02.189 colorbar_dev.c  0: Colorbar generator
[blink 8891] (4) 2016-02-29 11:33:02.189 colorbar_dev.c  1: Colorbar-active
[blink 8891] (4) 2016-02-29 11:33:02.189       fb_dev.c FrameBuffer initialized
[blink 8891] (4) 2016-02-29 11:33:02.189     null_dev.c Null video src 
initialized with 1 device(s):
[blink 8891] (4) 2016-02-29 11:33:02.189     null_dev.c  0: Null video device
[blink 8891] (5) 2016-02-29 11:33:02.189 sip_endpoint.c Creating endpoint 
instance...
[blink 8891] (4) 2016-02-29 11:33:02.189          pjlib select() I/O Queue 
created (0x7fa03c10ff68)
[blink 8891] (4) 2016-02-29 11:33:02.189 sip_endpoint.c Module "mod-msg-print" 
registered
[blink 8891] (5) 2016-02-29 11:33:02.189 sip_transport. Transport manager 
created.
[blink 8891] (4) 2016-02-29 11:33:02.189 sip_endpoint.c Module "mod-tsx-layer" 
registered
[blink 8891] (4) 2016-02-29 11:33:02.189 sip_endpoint.c Module 
"mod-stateful-util" registered
[blink 8891] (4) 2016-02-29 11:33:02.189 sip_endpoint.c Module "mod-ua" 
registered
[blink 8891] (4) 2016-02-29 11:33:02.189 sip_endpoint.c Module "mod-evsub" 
registered
[blink 8891] (4) 2016-02-29 11:33:02.189 sip_endpoint.c Module "mod-100rel" 
registered
[blink 8891] (4) 2016-02-29 11:33:02.189 sip_endpoint.c Module "mod-invite" 
registered
[blink 8891] (4) 2016-02-29 11:33:02.189 udp0x7fa03c19c SIP UDP transport 
started, published address is <snip>
[blink 8891] (4) 2016-02-29 11:33:02.190   tcplis:42437 SIP TCP listener ready 
for incoming connections at <snip>
[blink 8891] (4) 2016-02-29 11:33:02.190   tcplis:42437 SIP TCP listener 
destroyed
[blink 8891] (5) 2016-02-29 11:33:02.190 sip_endpoint.c Destroying endpoing 
instance..
[blink 8891] (4) 2016-02-29 11:33:02.190 sip_transactio Stopping transaction 
layer module
[blink 8891] (4) 2016-02-29 11:33:02.190 sip_transactio Stopped transaction 
layer module
[blink 8891] (4) 2016-02-29 11:33:02.190 sip_endpoint.c Module 
"mod-stateful-util" unregistered
[blink 8891] (4) 2016-02-29 11:33:02.190 sip_endpoint.c Module "mod-invite" 
unregistered
[blink 8891] (4) 2016-02-29 11:33:02.190 sip_endpoint.c Module "mod-100rel" 
unregistered
[blink 8891] (4) 2016-02-29 11:33:02.190 sip_endpoint.c Module "mod-evsub" 
unregistered
[blink 8891] (4) 2016-02-29 11:33:02.190 sip_endpoint.c Module "mod-ua" 
unregistered
[blink 8891] (4) 2016-02-29 11:33:02.190 sip_transactio Transaction layer 
module destroyed
[blink 8891] (4) 2016-02-29 11:33:02.190 sip_endpoint.c Module "mod-tsx-layer" 
unregistered
[blink 8891] (4) 2016-02-29 11:33:02.190 sip_endpoint.c Module "mod-msg-print" 
unregistered
[blink 8891] (5) 2016-02-29 11:33:02.190 sip_transport. Destroying transport 
manager
[blink 8891] (4) 2016-02-29 11:33:02.191 udp0x7fa03c19c SIP UDP transport 
destroyed
[blink 8891] (4) 2016-02-29 11:33:02.191 sip_endpoint.c Endpoint 0x7fa03c1043d8 
destroyed
[blink 8891] (4) 2016-02-29 11:33:02.191          vpx.c Deinit vpx codec
====================================================================
_______________________________________________
Blink mailing list
[email protected]
http://lists.ag-projects.com/mailman/listinfo/blink

Reply via email to