NetBSD Problem Report #55823

From john@eir.zia.io  Tue Nov 24 17:42:05 2020
Return-Path: <john@eir.zia.io>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id D963B1A921F
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 24 Nov 2020 17:42:04 +0000 (UTC)
Message-Id: <20201124135016.9995B164BC70@eir.zia.io>
Date: Tue, 24 Nov 2020 13:50:16 +0000 (UTC)
From: john@ziaspace.com
Reply-To: john@ziaspace.com
To: gnats-bugs@NetBSD.org
Subject: h264_omx use on RPi on NetBSD 9 causes lockup
X-Send-Pr-Version: 3.95

>Number:         55823
>Category:       port-arm
>Synopsis:       h264_omx use on RPi on NetBSD 9 causes lockup
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-arm-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Nov 24 17:45:00 +0000 2020
>Originator:     John Klos
>Release:        NetBSD 9.1_STABLE
>Organization:

>Environment:


System: NetBSD eir.zia.io 9.1_STABLE NetBSD 9.1_STABLE (GENERIC) #0: Sun Nov 22 20:22:55 UTC 2020 john@frigg.zia.io:/usr/obj-evbarm/sys/arch/evbarm/compile/GENERIC evbarm
Architecture: earmv7hf
Machine: evbarm
>Description:

Built ffmpeg4 with PKG_OPTIONS.ffmpeg4=rpi
Tested with:
ffmpeg4 -i test.mkv -c:a copy -c:v h264_omx -crf 28 -vf scale=1280:720 -benchmark -y test.m4v

Machine panicked:

[ 61905.5628813] uvm_fault(0x809a9dd0, 69c8200, 2)
[ 61905.5628813] Fatal kernel mode data abort: 'Translation Fault (S)'
[ 61905.5763386] trapframe: 0xba62be18
[ 61905.5763386] FSR=00002805, FAR=69c83500, spsr=000e0113
[ 61905.5829495] r0 =69c83500, r1 =00000b00, r2 =00000040, r3 =00000010
[ 61905.5829495] r4 =69c83510, r5 =00000af0, r6 =045ed510, r7 =80936674
[ 61905.6129523] r8 =001dcb07, r9 =00000000, r10=00000af0, r11=ba62be9c
[ 61905.6129523] r12=0000003f, ssp=ba62be68, slr=8007f64c, pc =8007cb60

Stopped in pid 0.83 (system) at netbsd:armv7_dcache_inv_range+0x28:      mcr
p15, 0, r0, c7, c6, 1

>How-To-Repeat:

>Fix:


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.