-
Notifications
You must be signed in to change notification settings - Fork 108
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
help needed #9
Comments
Hard to tell, I'll give some shots:
Also, you can check what changes in your .so after a recompilation by checking its sections (readelf or objdump), this may give some extra information (mostly if offset/address changes).
|
ufff..... found the issue. your advices did help in the end, I've checked even down to the assembly that the libraries had changed code and that the libraries were reloaded, but the "info sharedlibrary" gave me the hint that I loaded the library in a proper way, but the build system I'm using had a reference to the library as well with the result that I had the original shared library loaded IN ADDITION to the shared libraries loaded by your implementation. and it seems that the reference placed by the linker has a higher priority than the loaded one. many thanks for the help!! |
Glad to hear you found it. Is there anything that we should put in the readme about this situation? I mean, if it is something that someone else may find in the future? |
I also thought about that, the only thing comes in my mind is to write a sentence to NOT link to the dynamically loaded shared library via the build system. the other things like "info sharedlibrary" and "lsof -p " might be useful in a "deepdive debug info" section, but most people should not need that. |
I think it is valid. I'll write something in the FAQ section, thank you for reporting this! |
Jesus, I've been struggling with the very same issue. Turned out that the plain
The same symptoms appear as @questor described. When running the app manually like |
Hi,
live reloading isn't working for me on linux, here the facts I've debugged so far:
So the issue is clearly from my project setup, your sample is working. I've tried to debug this and found out:
any ideas how to find out what is going on and why it doesn't work? I'm not sure if I can trust qtcreator-debugger when I step through the source code, but on assembly level it looks like the old function (old debugging info also might happen). Or any sanity-checks I can do?
The text was updated successfully, but these errors were encountered: