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
MTuner hangs in "Processing" of a snapshot taken of a Debug build #43
Comments
Hi, thanks for the feedback! Feel free to send me an email with details where I can download the file. |
I've just uploaded the latest release (v4.1.3), using it I cannot reproduce the problem locally. |
Interesting, maybe this is choking on loading .pdb files. I've left it for over 3 hours without it loading, so I do think this is an infinite loop or hang somewhere. I also tested on the latest release and still see the hang there. |
Yes, that much time does imply some dead loop. But I've loaded it just fine, could see which modules you're using (like PhysX, etc.) so the problem is elsewhere... |
Indeed, however getting the build environment for MTuner might be a bit tricky. Do you provide debug builds of MTuner? |
I don't provide debug builds. However, setting up the build environment is actually fairly easy but yet to be fully documented. This is why I'll be happy to help with this. Generally speaking this is needed:
Obviously, there's a few more details so if you're up for this please let me know and I'll guide you through it. |
I'll close this now, we can reopen it if you're up for some debugging. |
I'm experiencing the same problem. If the problem is indeed related to loading PDB files then please provide better documentation as to how to setup PDB lookup. I would think that MTuner should skip symbol lookup if the PDB is not found or is taking too long to download. |
I built the debug version of MTuner. The program get's stuck at line 285 of pdb_file.cpp while loading the PDB file for my application (Qt/QML-based application). It's been stuck on that line for more than 3 hours. I also noticed that other PDB files were loaded before this one. However, the PDB file loading does not update the GUI. The GUI should be updated after every PDB file is loaded so that it remains responsive. |
numSymbolsFetched == 1 |
It finally finished loading after 5 hours. In spite of all the time it took to load symbols, the call stack tree shows all functions as unknown. |
I take that back. Opening up the "UNKNOWN's" shows the function calls. |
I took a snapshot of a Debug build of our project. MTuner was able to successfully capture a ~250MB mtuner file but it seems to hang indefinitely for me during the Processing stage. I should be able to share the mtuner file privately.
The text was updated successfully, but these errors were encountered: