From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 24991E00546; Wed, 11 Feb 2015 07:54:25 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,MIME_HTML_ONLY, RCVD_IN_DNSWL_LOW autolearn=no version=3.3.1 X-Spam-HAM-Report: * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider * (rjohnweber[at]gmail.com) * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [209.85.216.48 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message * 0.7 MIME_HTML_ONLY BODY: Message only has text/html MIME parts * -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's * domain * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Received: from mail-qa0-f48.google.com (mail-qa0-f48.google.com [209.85.216.48]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 54EB1E002F9 for ; Wed, 11 Feb 2015 07:54:12 -0800 (PST) Received: by mail-qa0-f48.google.com with SMTP id v8so3201472qal.7 for ; Wed, 11 Feb 2015 07:54:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=v+twVT42cKjklI3tKDD+z75Ciaag9ZV6LU28THzmmc0=; b=SZlSDJq0W1LKHG8aqtPE/ajJN4Q0i/5CPaNJQi7gjFDdP6ILFqOQ5smD4tBZKgnl2K IDaFggyxpaB8Jh3f63O7TrCJLbXfoqt5H0Ihl8rmMCXY/CnksxHc3B9qMn8OBQ7cIExK 7uweiibUr/VoKChFsimrLykXAp9ha4KtaHylzk9Mp0A2h/wJq+EuUU6WbdTm5zIjbySy 2nwdS2bu602vg5jTmxNHm7G/WeA1rlCpitNiGOvZSlSx3EYekANjnB7Jbe1yhGGsIYuB 9iVqe3h2n3AB4TU7ZGsfmotIzNaGbziDRdlKnOjEVXX6zXiQLXIrVaTM8Peg/W1W3Lly LYDg== X-Received: by 10.140.43.11 with SMTP id d11mr63433561qga.44.1423670051800; Wed, 11 Feb 2015 07:54:11 -0800 (PST) Received: from goober-2.local ([75.76.125.94]) by mx.google.com with ESMTPSA id 11sm1118167qgt.41.2015.02.11.07.54.11 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 11 Feb 2015 07:54:11 -0800 (PST) Message-ID: <54DB7B22.5090802@gmail.com> Date: Wed, 11 Feb 2015 09:54:10 -0600 From: John Weber User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: =?UTF-8?B?QWxmb25zbyBUYW3DqXM=?= References: <1423466231-3334-1-git-send-email-alfonso@tames.com> <54DADAA7.1080905@tames.com> In-Reply-To: Cc: "meta-freescale@yoctoproject.org" Subject: Re: [meta-fsl-arm-extra][PATCH][master] linux-wandboard: Update kernel to 3.10.53-1.1.0_ga X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Feb 2015 15:54:25 -0000 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
On 2/11/15, 5:02 AM, John Weber wrote:


On Tuesday, February 10, 2015, Alfonso Tamés <alfonso@tames.com> wrote:


Looks good to me, Alfonso.  I've applied it and tested it with wandcam and gstreamer-1.0.  Looks like I'm getting some sketchy problem that results in a segfault when a gstreamer pipeline shuts down, but not sure if that is due to this kernel or if it existed in previous kernels (3.10.17 versions or 3.10.31).


:(

I just tested a fresh install and I'm getting the same error:

root@wandboard-quad:~# GST_DEBUG=*:3; gst-launch-1.0 -e imxv4l2src capture-mode=4 fps-n=30 ! imxvpuenc_h264 bitrate=4096 ! h264parse ! mp4mux ! filesink location=video.mp4
...
EOS received - stopping pipeline...
Execution ended after 0:00:04.088140334
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Caught SIGSEGV
#0  0x76c72498 in waitpid () from /lib/libpthread.so.0
#1  0x76c9cb64 in g_on_error_stack_trace () from /usr/lib/libglib-2.0.so.0
#2  0x0000b4e0 in ?? ()
Spinning.  Please run 'gdb gst-launch-1.0 1011' to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core.
^C

Any ideas Otavio?

Can you see this with a videotestsrc? 
I'm seeing the same issue (segfault) on this side with a really fresh build of fsl-image-multimedia-full using master, using Carlos's gstreamer-1.0 plugins:

gst-launch-1.0 imxv4l2src capture-mode=4 fps-n=30 ! imxipuvideosink

I'm not seeing a problem with this pipeline, which is from an image with the gst1.0-fsl-plugins installed (note that Freescale's element has the same name as Carlos's, but uses caps to set the format instead of properties):
gst-launch-1.0 imxv4l2src ! video/x-raw,format=I420,width=1280,height=720,framerate=30/1 ! imxv4l2sink

I do see tearing with the same pipeline, but using the imxipuvideosink instead of the imxv4l2sink.

The pipeline (similar to yours but using the gst1.0-fsl-plugin imxv4l2src) works for me:
gst-launch-1.0 imxv4l2src ! video/x-raw,format=I420,width=1280,height=720,framerate=30/1 ! imxvpuenc_h264 bitrate=2000 ! h264parse ! mp4mux ! filesink location=video.mp4