Code Monkey home page Code Monkey logo

Comments (7)

jrfonseca avatar jrfonseca commented on June 8, 2024

I think it's a bit more sutble than that.

I suspect that, the Qt*.dll binaries had their debug info stripped, and that the debug symbols aren't found, so DrMinGW is falling back to COFF symbols in the .dlls, and those symbols don't have '_' prefix...

from drmingw.

strixcode avatar strixcode commented on June 8, 2024

It works with the modified if condition and also works if the condition is removed and __cxa_demangle is called for all names.

from drmingw.

jrfonseca avatar jrfonseca commented on June 8, 2024

Could you point me to where I can download this particular QtCore4.dll so I can repro locally?

from drmingw.

strixcode avatar strixcode commented on June 8, 2024

This is Qt 4.8.7 MinGW edition
http://download.qt.io/official_releases/qt/4.8/4.8.7/qt-opensource-windows-x86-mingw482-4.8.7.exe

from drmingw.

jrfonseca avatar jrfonseca commented on June 8, 2024

Thanks.

The problem is indeed more subtle:

  • QtCore4.dll doesn't have DWARF debug info, so symbols are being resolved by the DLL export table
  • DrMingw uses SYMOPT_UNDNAME option, so DbgHelp will try to demangle the exported symbol, stripping out the underscore
  • So by the time it reaches MgwUnDecorateSymbolName the underscore prefix is already gone

I pushed a bunch of fixes to this. It should work well now.

from drmingw.

strixcode avatar strixcode commented on June 8, 2024

Thank you very much. This is essential fix for all Qt apps. Will you release version 0.7.6 with this change now?

from drmingw.

jrfonseca avatar jrfonseca commented on June 8, 2024

Will you release version 0.7.6 with this change now?

Done.

from drmingw.

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.