NetBSD Problem Report #57760

From www@netbsd.org  Sat Dec  9 10:12:36 2023
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))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 984701A9239
	for <gnats-bugs@gnats.NetBSD.org>; Sat,  9 Dec 2023 10:12:36 +0000 (UTC)
Message-Id: <20231209101235.AD1F41A923A@mollari.NetBSD.org>
Date: Sat,  9 Dec 2023 10:12:35 +0000 (UTC)
From: tlaronde@kergis.com
Reply-To: tlaronde@kergis.com
To: gnats-bugs@NetBSD.org
Subject: xine crashes without file argument
X-Send-Pr-Version: www-1.0

>Number:         57760
>Category:       pkg
>Synopsis:       xine crashes without file argument
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Dec 09 10:15:00 +0000 2023
>Last-Modified:  Sun Dec 10 10:15:01 +0000 2023
>Originator:     Thierry LARONDE
>Release:        NetBSD 10.0_RC1
>Organization:
>Environment:
NetBSD cauchy.polynum.local 10.0_RC1 NetBSD 10.0_RC1 (CAUCHY) #0: Thu Dec  7 15:47:29 CET 2023  tlaronde@cauchy.polynum.local:/data/m/netbsd-10/sys/arch/amd64/compile/CAUCHY amd64
>Description:
MesaLib-21.3.9nb3
xine-lib-1.2.12nb13
xine-ui-0.99.13nb7

Note is amd64 with an integrated Intel and a discrete radeon, but crash occurs whether the integrated GPU is enable or not. The screen is using the radeon card.

Whe invoked without argument:

$ xine&

xine crashes here:

#4  0x000077d563df3d9c in vl_idct_init_buffer ()
   from /usr/pkg/lib/vdpau/libvdpau_r600.so.1

On the same node, vlc(1) works.
>How-To-Repeat:
On an amd64 with a radeon (r600) just invoke xine without argument:

$ xine&
>Fix:

>Audit-Trail:
From: tlaronde@kergis.com
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/57760: xine crashes without file argument
Date: Sun, 10 Dec 2023 10:55:43 +0100

 xine(1) doesn't display anything when playing back an mp4 if the
 Screen depth is 16bits.

 It displays it if the screen depth is 24bits.

 It doesn't render a DVD in whatever depth---the bug is in
 MesaLib/gallium, at least with the radeon r600 driver. The bug hence
 appears also with vlc(1) and whatever is using the same code.
 -- 
         Thierry Laronde <tlaronde +AT+ kergis +dot+ com>
                      http://www.kergis.com/
                     http://kertex.kergis.com/
 Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C

From: tlaronde@kergis.com
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/57760: xine crashes without file argument
Date: Sun, 10 Dec 2023 11:09:58 +0100

 To summarize at the moment with xine:

 - xine(1) crashes at whatever depth when invoked without argument
 because it tries to display the logo: "xine --no-logo" passes this and
 doesn't crash at least then. If invoked with a mp4 file: at 16bits,
 sound is here but no image; at 24 bits, rendering... In all cases,
 unable to play a DVD (crashes): bug in MesaLib/gallium, at least
 with radeon r600 driver;

 -- 
         Thierry Laronde <tlaronde +AT+ kergis +dot+ com>
                      http://www.kergis.com/
                     http://kertex.kergis.com/
 Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2023 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.