NetBSD Problem Report #60072

From www@netbsd.org  Thu Mar 12 12:50:43 2026
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256
	 client-signature RSA-PSS (2048 bits) client-digest SHA256)
	(Client CN "mail.netbsd.org", Issuer "R12" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 204051A9239
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 12 Mar 2026 12:50:43 +0000 (UTC)
Message-Id: <20260312125042.083FF1A923A@mollari.NetBSD.org>
Date: Thu, 12 Mar 2026 12:50:41 +0000 (UTC)
From: ea1abz@gmail.com
Reply-To: ea1abz@gmail.com
To: gnats-bugs@NetBSD.org
Subject: x11/xfce4-screeshooter crash on RaspberryPi 4
X-Send-Pr-Version: www-1.0
X-From4GNATS: "ea1abz@gmail.com via gnats" <gnats-admin@NetBSD.org>

>Number:         60072
>Category:       pkg
>Synopsis:       x11/xfce4-screeshooter crash on RaspberryPi 4
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 12 12:55:00 +0000 2026
>Last-Modified:  Fri Mar 13 08:35:01 +0000 2026
>Originator:     Ramiro Aceves
>Release:        2025Q4
>Organization:
>Environment:
NetBSD netbsd-raspa4 10.1 NetBSD 10.1 (GENERIC64) #0: Mon Dec 16 13:08:11 UTC 2024  mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/evbarm/compile/GENERIC64 evbarm
>Description:
execute:

netbsd-raspa4$ xfce4-screenshooter 

select an area with the mouse and copy to the clipboard

(xfce4-screenshooter:20845): GVFS-RemoteVolumeMonitor-WARNING **: 13:45:04.215: cannot open directory /usr/pkg/share/gvfs/remote-volume-monitors: Falló al abrir la carpeta «/usr/pkg/share/gvfs/remote-volume-monitors»: No such file or directory
[1]   Illegal instruction (core dumped) xfce4-screenshooter
netbsd-raspa4$ 

I compiled multimedia/libaom with debugging symbols just in case it helps.

netbsd-raspa4$ gdb /usr/pkg/bin/xfce4-screenshooter
GNU gdb (GDB) 11.0.50.20200914-git
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "aarch64--netbsd".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/pkg/bin/xfce4-screenshooter...
(No debugging symbols found in /usr/pkg/bin/xfce4-screenshooter)
(gdb) run
Starting program: /usr/pkg/bin/xfce4-screenshooter 
[New LWP 20821 of process 25777]
[New LWP 20970 of process 25777]
[New LWP 23253 of process 25777]
[New LWP 5453 of process 25777]
[New LWP 13098 of process 25777]

(xfce4-screenshooter:25777): GVFS-RemoteVolumeMonitor-WARNING **: 13:47:19.455: cannot open directory /usr/pkg/share/gvfs/remote-volume-monitors: Falló al abrir la carpeta «/usr/pkg/share/gvfs/remote-volume-monitors»: No such file or directory
[New LWP 28861 of process 25777]
[New LWP 21782 of process 25777]
[New LWP 28541 of process 25777]

Thread 1 "" received signal SIGILL, Illegal instruction.
variance_16xh_neon_dotprod (sum=<synthetic pointer>, sse=0xffffffe99f54, h=16, 
    ref_stride=<optimized out>, 
    ref=0xffd38c5e4538 <AV1_VAR_OFFS> '\200' <repeats 128 times>, "\004\005\005\006\a\a\b\t\t\n\v\v\f\r\r\016\006\006\b\b\n\n", src_stride=<optimized out>, 
    src=0xffd38dd18270 "")
    at /usr/pkgsrc/multimedia/libaom/work/libaom-3.12.1/aom_dsp/arm/variance_neon_dotprod.c:93
93	    src_sum = vdotq_u32(src_sum, s, vdupq_n_u8(1));
(gdb) list
88	  int i = h;
89	  do {
90	    uint8x16_t s = vld1q_u8(src);
91	    uint8x16_t r = vld1q_u8(ref);
92	
93	    src_sum = vdotq_u32(src_sum, s, vdupq_n_u8(1));
94	    ref_sum = vdotq_u32(ref_sum, r, vdupq_n_u8(1));
95	
96	    uint8x16_t abs_diff = vabdq_u8(s, r);
97	    sse_u32 = vdotq_u32(sse_u32, abs_diff, abs_diff);
(gdb) list
98	
99	    src += src_stride;
100	    ref += ref_stride;
101	  } while (--i != 0);
102	
103	  int32x4_t sum_diff =
104	      vsubq_s32(vreinterpretq_s32_u32(src_sum), vreinterpretq_s32_u32(ref_sum));
105	  *sum = horizontal_add_s32x4(sum_diff);
106	  *sse = horizontal_add_u32x4(sse_u32);
107	}
(gdb)
>How-To-Repeat:
execute xfce4-screenshooter, select an area with the mouse and copy to the clipboard.
>Fix:
Yes please.

>Audit-Trail:
From: Benny Siegert <bsiegert@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: pkg-manager@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org
Subject: Re: pkg/60072: x11/xfce4-screeshooter crash on RaspberryPi 4
Date: Thu, 12 Mar 2026 17:59:08 +0000 (UTC)

 On Thu, 12 Mar 2026, ea1abz@gmail.com via gnats wrote:

 > Thread 1 "" received signal SIGILL, Illegal instruction.
 > variance_16xh_neon_dotprod (sum=<synthetic pointer>, sse=0xffffffe99f54, h=16,

 This sounds like your libaom is compiled to use Neon VFP instructions, but 
 your hardware doesn't support them.

 -- 
 Benny

From: Ramiro Aceves <ea1abz@gmail.com>
To: gnats-bugs@netbsd.org, pkg-manager@netbsd.org, gnats-admin@netbsd.org,
 pkgsrc-bugs@netbsd.org
Cc: 
Subject: Re: pkg/60072: x11/xfce4-screeshooter crash on RaspberryPi 4
Date: Fri, 13 Mar 2026 09:31:48 +0100

 El 12/3/26 a las 19:00, Benny Siegert via gnats escribió:
 > The following reply was made to PR pkg/60072; it has been noted by GNATS.
 > 
 > From: Benny Siegert <bsiegert@netbsd.org>
 > To: gnats-bugs@netbsd.org
 > Cc: pkg-manager@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org
 > Subject: Re: pkg/60072: x11/xfce4-screeshooter crash on RaspberryPi 4
 > Date: Thu, 12 Mar 2026 17:59:08 +0000 (UTC)
 > 
 >   On Thu, 12 Mar 2026, ea1abz@gmail.com via gnats wrote:
 >   
 >   > Thread 1 "" received signal SIGILL, Illegal instruction.
 >   > variance_16xh_neon_dotprod (sum=<synthetic pointer>, sse=0xffffffe99f54, h=16,
 >   
 >   This sounds like your libaom is compiled to use Neon VFP instructions, but
 >   your hardware doesn't support them.
 >   
 >   --
 >   Benny
 >   

 Hi Benny.

 It seems to fix placing this in multimedia/libaom Makefile:

 CMAKE_CONFIGURE_ARGS+=	-DENABLE_NEON_DOTPROD=0

 I do not know if it is a proper fix.

 Regards.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.