X-Loop: help-debbugs@HIDDEN
Subject: bug#77793: x64dbg cannot find builtin libraries references when running on the Guix's wine
Resent-From: Carlos <gcarlos@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Mon, 14 Apr 2025 04:43:02 +0000
Resent-Message-ID: <handler.77793.B.17446057388059 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 77793
X-GNU-PR-Package: guix
X-GNU-PR-Keywords:
To: 77793 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-guix@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.17446057388059
(code B ref -1); Mon, 14 Apr 2025 04:43:02 +0000
Received: (at submit) by debbugs.gnu.org; 14 Apr 2025 04:42:18 +0000
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
From: Carlos <gcarlos@HIDDEN>
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-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
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Carlos <gcarlos@HIDDEN> Subject: bug#77793: Acknowledgement (x64dbg cannot find builtin libraries references when running on the Guix's wine) Message-ID: <handler.77793.B.17446057388059.ack <at> debbugs.gnu.org> References: <fe7e0867-2096-48bc-a063-a008718d45f8@HIDDEN> X-Gnu-PR-Message: ack 77793 X-Gnu-PR-Package: guix Reply-To: 77793 <at> debbugs.gnu.org Date: Mon, 14 Apr 2025 04:43:03 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-guix@HIDDEN If you wish to submit further information on this problem, please send it to 77793 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 77793: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D77793 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.