KDAB / GammaRay

GammaRay is a tool to poke around in a Qt-application and also to manipulate the application to some extent.
https://www.kdab.com/gammaray
Other
1.61k stars 282 forks source link

Segfault on iOS static probe #654

Open conor888 opened 3 years ago

conor888 commented 3 years ago

I have successfully built a static probe for iOS using a CMake toolchain, everything builds and links successfully, and I've included staticprobe.h and the GAMMARAY_STATIC_INJECT macro in my application. The app starts fine on an iPad Pro, but then doesn't respond to any input, and after 10-20 seconds, Xcode shows segfaults.

Build setup:

Build process:

Project setup:

Running:

Any help would be much appreciated! I know it's a lot and this likely isn't a supported use case, but I feel it's 90% of the way there to working on iOS as a static probe! Thanks

conor888 commented 1 year ago

Any update on this? Over a year later and I tried pulling master and doing a build again. It seems now I don't have any issue with building gammaray_geopositioninfosource as I did last time, but still the application on iOS will start with the same error Failed to connect to launcher, can't receive probe settings! "QLocalSocket::connectToServer: Invalid name", and not respond to user input on the iPad screen.

Waqar144 commented 1 year ago

sorry, no updates so far. I don't have an apple machine to test/debug stuff. However, patches are welcome.