From nobody Mon Feb 07 20:24:57 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 97F1F19AFEEC for ; Mon, 7 Feb 2022 20:24:57 +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 4JsyLK3BQFz4XYv for ; Mon, 7 Feb 2022 20:24:57 +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 4A66043BA for ; Mon, 7 Feb 2022 20:24:57 +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 217KOv33088388 for ; Mon, 7 Feb 2022 20:24:57 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 217KOvZw088387 for bugs@FreeBSD.org; Mon, 7 Feb 2022 20:24:57 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 when libGL-NVIDIA.so.1 is present in dependencies Date: Mon, 07 Feb 2022 20:24:57 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed 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: Message-ID: In-Reply-To: References: 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=1644265497; 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: in-reply-to:in-reply-to:references:references; bh=w+cO0637e9FomlNXYvPk943Lv0gPw74Z7eRufha9D64=; b=y4J2LsylKYBai1Umc5/L9r4Tjfj4B0l8trUePJweaPVPfMDrvoQkDB4xhGooQ+S/pIbhWL zrFhYmrobkusQFDUYsw61EKyNBIQa/ube1HxXX0fzCCElSZ8wBG6HV0kWNgF3q0S7n75bj 2uyKLjtOQDkZcTBFii/m/d7leZ1z1MZztwoq0agpjcyHNvGLHKnwj0h53SeqROwuiN/+Fw o+CBlzLDjRxrPZt02fQuHAFWAiq7PDiguYWsVQNpJNzbDSvb5cdMTmMfdkaosoN/McihJG /MOS5GEcsjufa7ErTRkAxU20vZMuYVaQPMfhs8yMCPZokcEgpR55EFMBLnKfEw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644265497; a=rsa-sha256; cv=none; b=rktneG4x6YHCez2BTq/UzXSpLj56GamHpmbXAY8dPA7GhMzu717sWupWEor1C6UL67KGV3 lqJWDxHuSAi8OHbfNQFkCvaVVYdWjzG3aVu5Nty7LKrV2PDcM8CmBs6Nqor9i4/K01Prrl pe5VT5WAWMH8JhDy6Zp4ytN4uIw7JepQukVkBDeJ02yL3vn/MBbEE4K7iMKv7JpM5fmOzR N/1Y2d4NgzPbuXBwAlaZ0TFHZnyACmdV6JEXhZ1O0kanuMK83eBYwJWXJY7ZBWfKA49ECP OXENXJ2lFgnjv/KOIFQPoSIlnaj/4S1TNF8E1gH1iRNV11W9V4vWy9StaqmvUw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261760 --- Comment #20 from Yuri Victorovich --- (In reply to Alex S from comment #19) When I do handle=3Ddlopen(nullptr) and dlsym(handle, "pthread_create") retu= rns null. But after 'patchelf --add-needed libthr.so a.out' dlsym returns the symbol. It's not clear why doing the same with libGL-NVIDIA.so.1 doesn't make the symbol available. ------------- But libGL-NVIDIA.so.1 works in most cases, not clear what triggers this. --=20 You are receiving this mail because: You are the assignee for the bug.=