Received: (at submit) by debbugs.gnu.org; 14 Apr 2025 04:42:18 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Apr 14 00:42:18 2025 Received: from localhost ([127.0.0.1]:45230 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1u4BeD-00025o-KH for submit <at> debbugs.gnu.org; Mon, 14 Apr 2025 00:42:18 -0400 Received: from lists.gnu.org ([2001:470:142::17]:51712) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <gcarlos@HIDDEN>) id 1u48Hl-0007QP-Rf for submit <at> debbugs.gnu.org; Sun, 13 Apr 2025 21:06:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <gcarlos@HIDDEN>) id 1u48Hg-00089b-7C for bug-guix@HIDDEN; Sun, 13 Apr 2025 21:06:48 -0400 Received: from layka.disroot.org ([178.21.23.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <gcarlos@HIDDEN>) id 1u48Hd-0000OX-UH for bug-guix@HIDDEN; Sun, 13 Apr 2025 21:06:47 -0400 Received: from mail01.disroot.lan (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 4057425D17 for <bug-guix@HIDDEN>; Mon, 14 Apr 2025 03:06:42 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id 3HQTTBNGQOX9 for <bug-guix@HIDDEN>; Mon, 14 Apr 2025 03:06:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1744592801; bh=RvYZHhCe9LxWarEa5v8y0+pnS08iqFye3prmNapOlHA=; h=Date:To:From:Subject; b=M6IdH4gO6QBWe5XZm8Lul3PQHaSjpAHohmo4xjq1mZw3yhSrx0qmvb13AJ1PR4Xiz Q2yMogw3JqNE1AkJidOrGMF2Pp72Oh01XJ7DQacIx91Ip7F9DSO0WdxMgNRc/yUOJc PCzdlIM/0+qdVwc4fDot5qlru/P/YFs+I2Sf71Jbi80ZLvP2xVfI3LvvJ6Z4WcIbzi rBeVK8gCz3IShu5sLUfHPK+oE2YLNMwu8XQmAHExryAAJGFxXXl8yJ/T7mtCPhfNWT d+LAkZHKAZa/ijMV3I6vI+oP1fzzAUVy019xWv24KCHUuOLz1yW64PWylsTyhJyfqb voCILSTDH6udA== Message-ID: <fe7e0867-2096-48bc-a063-a008718d45f8@HIDDEN> Date: Mon, 14 Apr 2025 02:06:15 +0000 MIME-Version: 1.0 User-Agent: Icedove Daily Content-Language: en-US To: bug-guix@HIDDEN From: Carlos <gcarlos@HIDDEN> Subject: x64dbg cannot find builtin libraries references when running on the Guix's wine Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=178.21.23.139; envelope-from=gcarlos@HIDDEN; helo=layka.disroot.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 14 Apr 2025 00:42:15 -0400 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.1 (/) Hi! I'm facing a strange bug on wine that seems to be present only on the guix build. In summary, I'm running a debugger through wine (x64dbg) and a specific functionality is misbehaving when compared with the same program running on another distributions (formerly, I use to get it working in Gentoo and Void Linux). The problem itself is that x64dbg seems to be unable to resolve builtin libraries at the import table of an executable. That is, if there's some random dll file used by the exe in the same directory, x64dbg is able to resolve it and show the symbols it exports and etc. But if the .exe is linked against some of the builtin dlls provided by wine, it just fails and shows the error "GetFileNameFromHandle failed", which is a function of x64dbg. Apparently, the point of code where this function is called on x64dbg is: https://github.com/x64dbg/x64dbg/blob/a5a25cc4a46d3823078050d548a5322849cb245c/src/dbg/commands/cmd-debug-control.cpp#L124 By the way, running wine with WINEDEBUG=warn+all shown some interesting log lines that occurs for a lot of dlls and is not present on the wine tested in another distribution, except for the first one: 0158:warn:file:NtCreateFile L"\\??\\Z:\\home\\mim\\projects\\gc\\gc2-client-cd\\shlwapi.dll" not found (c0000034) 0158:warn:module:virtual_map_builtin_module L"\\??\\C:\\windows\\system32\\shlwapi.dll" found in WINEDLLPATH but not a builtin, ignoring 0150:warn:file:NtCreateFile L"\\??\\Z:\\home\\mim\\projects\\gc\\gc2-client-cd\\x64dbg\\x32\\??? (GetFileNameFromHandle failed)" not found (c0000033) I've tested 3 versions of wine on guix: 9.0, 9.17 (the exact one that I had working on Void Linux) and 10.0. Thank you all, Carlos
Carlos <gcarlos@HIDDEN>
:bug-guix@HIDDEN
.
Full text available.bug-guix@HIDDEN
:bug#77793
; Package guix
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.