Skip to content

Known Issues

vkrause edited this page Dec 18, 2011 · 26 revisions

Known Issues

All Platforms

Injection does not work with static linking

The way GammaRay injects itself into the analyzed application requires dynamic linking to Qt at the moment. Neither statically linked applications nor a statically linked GammaRay will work.

The solution would be "static injection", similar to what QtCreator does with the QML debugger, statically linking GammaRay in to the application. This has not been implemented yet. Also note that this will not work with GammaRay plug-ins, those would need to be linked statically as well.

Linux

Preloading fails with -Bsymbolic-function

If your Qt is linked with "-Bsymbolic-function", preloading wont work. If used, references to global functions are bind to the shared object internally. The definition of the function is now fixed and cant be overwritten by preloading.

Be sure that your distro provided packages or your self-compiled packages are not linked with this flag (check with echo $LDFLAGS before compiling). For more info see: "man ld; search for "-Bsymbolic-function".

Affected distros (you may insert others here):

  • Ubuntu 10.10, 11.04

If you are affected by this, try the gdb or style injectors instead, using the "-i" command line option.

Mac

Undefined behavior when using app bundles containing Qt

When attaching GammaRay to an app bundle that contains its own Qt version, GammaRay may additionally load the Qt libraries it has been linked against. This will cause undefined behavior even if these are exactly the same Qt versions as static variables are overwritten in the process.

So far, the only workaround is adding GammaRay to the same app bundle.

GammaRay fails when build for 32bit

GammaRay fails to work when build for 32bit systems on Mac. No workaround is currently known.

Windows

Attaching not always working

GammaRay fails to attach to some applications. We are investigating in this issue. Please try the startup method, with passing the application to GammaRay in command line.

Fixed in revision 597eaa5103f28163692daf862f410635171b95c3, confirmation pending.

Mingw not supported

There is no Mingw support in GammaRay yet.

MSVC 64bit release mode not supported by DLL injector

Release builds with MSVC on 64bit Windows will fail to attach or start with the DLL injector (not implemented/tested yet). The style injector should work though (start with "-i style" command line option).

Apparently also fixed in revision 597eaa5103f28163692daf862f410635171b95c3, confirmation pending.

Clone this wiki locally