Giter VIP home page Giter VIP logo

Comments (12)

dcb-framatome avatar dcb-framatome commented on May 13, 2024 1

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.

from mtuner.

milostosic avatar milostosic commented on May 13, 2024

Hi, thanks for the feedback! Feel free to send me an email with details where I can download the file.
[email protected]

from mtuner.

milostosic avatar milostosic commented on May 13, 2024

I've just uploaded the latest release (v4.1.3), using it I cannot reproduce the problem locally.
I loaded your capture file and could see more than 500K memory operations...
Could this be related to symbol loading? Maybe downloading PDB files is taking a long time?

from mtuner.

magcius avatar magcius commented on May 13, 2024

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.

from mtuner.

milostosic avatar milostosic commented on May 13, 2024

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...
Since I can't reproduce it, the best would be if you ran MTuner through a debugger and then see where it hangs. Feel free to contact me via e-mail if you need any help with setting this up.

from mtuner.

magcius avatar magcius commented on May 13, 2024

Indeed, however getting the build environment for MTuner might be a bit tricky. Do you provide debug builds of MTuner?

from mtuner.

milostosic avatar milostosic commented on May 13, 2024

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:

  • Install Qt (I use online installer but building from source works too)
  • Set an environment variable for Qt path (needed for build)
  • Clone MTuner and dependent repositories
  • Generate projects with GENie

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.

from mtuner.

milostosic avatar milostosic commented on May 13, 2024

I'll close this now, we can reopen it if you're up for some debugging.

from mtuner.

dcb-framatome avatar dcb-framatome commented on May 13, 2024

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.

from mtuner.

dcb-framatome avatar dcb-framatome commented on May 13, 2024

numSymbolsFetched == 1

from mtuner.

dcb-framatome avatar dcb-framatome commented on May 13, 2024

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.

from mtuner.

dcb-framatome avatar dcb-framatome commented on May 13, 2024

I take that back. Opening up the "UNKNOWN's" shows the function calls.

from mtuner.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.