Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GammaRay: Failed to load: ..\gammaray\plugins\gammaray\3.0\qt6_5-GNU-x86_64d\gammaray_probed.dll #959

Open
mml-0104 opened this issue Mar 15, 2024 · 3 comments

Comments

@mml-0104
Copy link

mml-0104 commented Mar 15, 2024

Successfully compile and run the launcher on Windows 10 using Qt6.5.3,but Attach failed.
The console has the following prompt:
image

There is no error reported on the Self Test page:
image

Use default cmake optionals

cmake -G Ninja -DCMAKE_INSTALL_PREFIX="H:/Downloads/gammaray" -DCMAKE_PREFIX_PATH="D:/Qt/6.5.3/mingw_64" ../

The system environment variable PATH setting:

C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files\dotnet;D:\Qt\6.5.3\mingw_64\bin;D:\Qt\Tools\CMake_64\bin;D:\Qt\Tools\Ninja;D:\Qt\Tools\mingw1120_64\bin;

@mml-0104 mml-0104 changed the title GammaRay: Failed to load: H:\Downloads\gammaray\plugins\gammaray\3.0\qt6_5-GNU-x86_64d\gammaray_probed.dll GammaRay: Failed to load: ..\gammaray\plugins\gammaray\3.0\qt6_5-GNU-x86_64d\gammaray_probed.dll Mar 16, 2024
@kpopv
Copy link

kpopv commented Apr 26, 2024

As suggested in #983, I've tried procmon to see where it is failing for me (cf. #960). In my case, gammaray_probed.dll can be found. It fails to access some paths within a target directory (cf. paths.cpp pluginPaths / addPluginPath), but I'm unsure if those are required:

  • QueryOpen plugins\gammaray\3.0\qt5_15-GNU-x86_64d\gammaray_probed.dll SUCCESS
  • QueryOpen plugins\gammaray\3.0\qt5_15-GNU-x86_64d\target\3.0\qt5_15-GNU-x86_64d PATH NOT FOUND
  • QueryOpen plugins\gammaray\3.0\qt5_15-GNU-x86_64d\target NAME NOT FOUND
  • QueryOpen bin\gammaray\3.0\qt5_15-GNU-x86_64d\target PATH NOT FOUND
  • QueryOpen bin\gammaray-target NAME NOT FOUND

After that, my application is started, bot no GammaRay window is shown.

Attached is the full log 960 procmon.zip

@mml-0104
Copy link
Author

mml-0104 commented May 2, 2024

Here is the gammaray.exe process log listened by procmon PM-Logfile.zip

Run program gammaray-launcher first,and launch a test qt program on the launch page
image

Same as your comment:

After that, my application is started, bot no GammaRay window is shown.

@kpopv
Copy link

kpopv commented Jun 19, 2024

Building the same sources with MSVC does result in a working GammaRay.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants