From nobody Sun Feb 06 21:21:21 2022 X-Original-To: bugs@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 60ACE19B2F9C for ; Sun, 6 Feb 2022 21:21:22 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JsMds61xbz4cfP for ; Sun, 6 Feb 2022 21:21:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 6837019655 for ; Sun, 6 Feb 2022 21:21:21 +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 216LLLSo020394 for ; Sun, 6 Feb 2022 21:21:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 216LLL77020393 for bugs@FreeBSD.org; Sun, 6 Feb 2022 21:21:21 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: bugs@FreeBSD.org Subject: [Bug 261760] dlopen asserts instead of returning an error Date: Sun, 06 Feb 2022 21:21:21 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: yuri@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@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-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644182482; 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=IxI1VPDkcu8ro0PA8b+M9eJtuFNViA9hTEKfAM6LPbY=; b=pJAw3MNJZerjBHB1Fqlr1xmufTkb2iEo5L5P0xbDjPPCIE3EO4yxTubUzqhK2Z8NzC6fpc +u0FBrPRx75SlIP5sC+ysicpA0Mt7EBWIhp1N48h2VJ/+/X50qAmemrBqDT/+XuHZ0gpSh dald2Hg0IqHsth/uS6W4/1JqEZDjPXyyo8fVt1i1hVKtQCmPD/KWoWeQyoZmu839XmmxH7 BBsar3OjLfoDHKivApf/sEJqhtUfiNoJ2CFcplDq6Wbferl0IDt2GG/+GCnSiBI0zwYu06 /Qn+eqWSiIDEfUIdQAoP3rirQf7mWgjp0wjfJbIdptgT74LnHQdwnWtp+vn1mw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644182482; a=rsa-sha256; cv=none; b=EMiCfG7O7vasunWlr0NLJohXD++7tsVHlutFfmgKcLcdQxPDOvZTqm6E3XnSsO0yz8NjsP mM7WOTOHUVtLFPPwWAsC0FSDTozDuahP5uWB+opL2Zfy/5WjlGQJFu44eBfQMxtBCIuDcm eBYarBdNNySoSnY+PRb67zXevU5FwEq/XuGU4hzhcyCmiWBD+89I9+Q1gpVG8TkF9zTea3 HhJu4dCRCgrI2pGZF+zpVSzmAxnmMvNVrVED+2P2hFmolIsqYyIcTijTtu2oWvPmEB/Kqa /PcBdcPx3P9N7d6ji9Kf2/hOSpfMnh/jcpOqdNGV1t3l9gbR0ZRxjJbdvKKrVg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261760 Bug ID: 261760 Summary: dlopen asserts instead of returning an error Product: Base System Version: 13.0-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: misc Assignee: bugs@FreeBSD.org Reporter: yuri@freebsd.org Attachment #231590 text/plain mime type: Created attachment 231590 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D231590&action= =3Dedit load.c I use the attached program load.c to load the attached shared library CardinalFX.so https://people.freebsd.org/~yuri/CardinalFX.so It prints: > $ ./load ./work/Cardinal-d0224fc/bin/CardinalFX.lv2/CardinalFX.so > Unable to find symbol pthread_mutexattr_setkind_np version (null). Aborti= ng. > Abort trap Expected behavior: dlopen should either succeed or fail with an error messa= ge, but it shouldn't assert. CardinalFX.so is produced by the port audio/cardinal. Please install cardin= al it first for all dependencies of CardinalFX.so --=20 You are receiving this mail because: You are the assignee for the bug.=