GammaRay icon indicating copy to clipboard operation
GammaRay copied to clipboard

GammaRay connects and timeouts

Open heatblazer opened this issue 4 months ago • 0 comments

Hi I have build gammaray with gcc 6.7.1 and tried to attach and debug a small toy project of mine with Qt. However I got some errors that can't found in the wiki:

warning: process 14332 is already traced by process 14322
ptrace: Operation not permitted.
No symbol table is loaded.  Use the "file" command.
No symbol table is loaded.  Use the "file" command.
The program is not being run.
ilian@ilian-t14s:~/Qt/gammaray/bin$ ps aux | grep gamma
ilian      14487  0.2  0.1 571236 54812 ?        Sl   10:51   0:00 /home/ilian/Qt/gammaray/bin/gammaray --no-inprocess --probe qt6_7-x86_64 --listen tcp://127.0.0.1 --pid 14332
ilian      14618  0.0  0.0   9000  2232 pts/0    S+   10:51   0:00 grep gamma
ilian@ilian-t14s:~/Qt/gammaray/bin$ sudo kill -HUP Target not responding - timeout. Try setting the env variable GAMMARAY_LAUNCHER_TIMEOUT to a bigger value (in seconds).
See <https://github.com/KDAB/GammaRay/wiki/Known-Issues> for troubleshooting

This link (https://github.com/heatblazer/zzx) is my repo for a smiple Qt application with QWidgets, I am starting it and it's running and I want to attach via GammaRay but however the above problem occurs. Also in the pointed wiki I didn't found anything regarding GAMMARAY_LAUNCHER_TIMEOUT.

heatblazer avatar Aug 22 '25 07:08 heatblazer