From nobody Wed Dec 17 17:42:23 2025 X-Original-To: java@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4dWh2R0kNLz6L3pZ for ; Wed, 17 Dec 2025 17:42:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dWh2R06q2z3qCV for ; Wed, 17 Dec 2025 17:42:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765993343; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=DJ8/ganFOALYc25NXzCjQraNCG25kypg+Dpfo3LFYLY=; b=RhUphLeFLwCb3UlTmmChyKwOCxFs8NdbNGT40TVKrzGem8y0EvMzeI0uXQuvjopseGauI1 MPlPxi5YL/AZwoJO2PGzMiqaBV+m0oGhOuqI9tcF4aaLj8wcnj0SNlUb1PQpaak4T7nSRH XKUyEQncv6eOqoVZmrM+fu0C65RPnDUCJrkHh/np/ydwSL4GjrMOQA/jy/a2j0hZscWw93 x/XWwDkASd+m7vJU+alUK+ouLR4yT5j5rbOkkVAI4jvntP35hPFbgBq8/RWpDaSCC7dEW+ d8E0B5WomBUDitLCinwc9RDiVdN4ZHvHyVevtAFs+CRM/gufUXiByBOBfnwJWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765993343; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=DJ8/ganFOALYc25NXzCjQraNCG25kypg+Dpfo3LFYLY=; b=h410WYsYx5tuKnRe1FdFqyUSGFzQIut6jRN7pzO98UV8ihm36kS+a8lKN5Ww6HL/8ymKqF DpEadacHuoUqohDFg0/V8uzvOnOoS3JMBe73Nix2YTljoG52wZ8qlITwMQUSm03UGDcSKo vpPexV/+3buTqjcQea6/zRloq6P4akabX3BA91uq3qp4th11UJykIcrq2yNGB69uWWikZC bzi9GMnH0QYq7ThTGogvZkgWBN3bmsaZTj8itnEkWZobU8Wc4epOED4v6gCav4YV2t1Srx KDISlALP3MQQ3DvsCklLyRsqI+FPZAQ0SCXOgPSzbQks0GQnjqYl6hpTzVg6cQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765993343; a=rsa-sha256; cv=none; b=VZecMAY6daebH143Ik2ijfG0iSpahQflzpLZXq703H7lVpKvAc+wQYMJUWYxTAF/BnMDtz /xFuq/ayOBaUKUOPYKy2auVefH89zjUN9ZXrm1CRmwirHH+jd3NB2TTZ3hEbm6bwzC+oyk SjMi7xh0/WzEkf2gX1F9wbgC8Nj7A6sRnglSZsoSbhfw3jCHsE08FXPhXzZ2NBRYhWG9+4 r/LX1Awt/mK7pI51Hdc+87jJi2xEG9V0wBCYVrm0wjkuRub3BCYihRnmxFvMWWz3fDlDxo 2OvEnSoqHQHK9eBgPTtE2j6drcTVIWKrxTnESviBVNjOh0EvKJ3fnRATPAQDYA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4dWh2Q6qSdz12MF for ; Wed, 17 Dec 2025 17:42:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 5BHHgMCH042999 for ; Wed, 17 Dec 2025 17:42:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5BHHgMCe042998 for java@FreeBSD.org; Wed, 17 Dec 2025 17:42:22 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: [Bug 291743] Java programs cannot play sound Date: Wed, 17 Dec 2025 17:42:23 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: mi@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.mimetype attachments.created Message-ID: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Porting Java to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-java List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-java@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D291743 Bug ID: 291743 Summary: Java programs cannot play sound Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: java@FreeBSD.org Reporter: mi@FreeBSD.org Attachment #266295 text/plain mime type: Created attachment 266295 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D266295&action= =3Dedit The test program On different systems, using different JDK-versions -- from 8 to 23 -- the symptoms are the same: javax.sound.sampled.AudioSystem.getMixerInfo() retur= ns an empty list despite multiple audio systems listed in /dev/sndstat -- and = the audio, indeed, working for applications like Firefox and MPlayer. Running the attached simple program under ktrace, I see attempts to open non-existent Linux-type devices like /dev/snd/controlC* and /dev/aloadC*, w= hich do not exist -- but not the actual /dev/dsp*! For JDKs above 8, you can just use jshell -- without compiling my test-prog= ram: % env JAVA_VERSION=3D22 jshell --show-version jshell 22.0.2 | Welcome to JShell -- Version 22.0.2 | For an introduction type: /help intro jshell> javax.sound.sampled.AudioSystem.getMixerInfo(); $1 =3D=3D> Mixer$Info[0] { } Many years ago, when I was using the games/jin port, this was not a problem= -- the game was playing its sounds at the right moments. (P.S. An attempt to reach the ports' maintainers directly bounced: "... was unable to be delivered to the list because you are not a list subscriber", which is a problem in its own right.) --- Comment #1 from Bugzilla Automation --- Maintainer informed via mail --=20 You are receiving this mail because: You are the assignee for the bug.=