-
Notifications
You must be signed in to change notification settings - Fork 104
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
support for mingw-w64 #9
Comments
Hi, thanks for filing this. I'll have a look into this eventually, though currently I'm busy with other projects so unable to say when. If you can put together a pull request, I'll try to review and merge it sooner. |
Hi, |
Can you give this version a try? |
Profiling works, qt function names aren't resolved fully and I somehow don't get the function names for the actual application I profiled. see capture: http://winkde.org/~pvonreth/other/tmp/sleepy/ the profiled app is snorenotfy build with cmake and -DCMAKE_BUILD_TYPE=Debug |
Please try this version: |
Hi here is a screenshot http://winkde.org/~pvonreth/other/tmp/sleepy/quick%20(4).png Here is a small test app that directly crashes very sleepy. Start it with "downward-debug.exe --search 'lazy(random(ff(cost_type=one),epsilon=0.20),cost_type=one)' < output" |
I've forwarded the crash report upstream. You might have more luck with The executable is also built without stack frames, which current MinGW parsers need to traverse the call stack. To get meaningful stack traces and inclusive/exclusive times, you will also need to rebuild the program with |
This should fix the crash: http://dump.thecybershadow.net/e3b9f6606dc0f2a6dcb3948554b38398/verysleepy-0.91-test-2015-02-27.exe I think I'm seeing valid stack traces with your example, so I think stack frames might not be required after all. Please give it a go. |
Hi, Richard Mitton Vladimir Panteleev wrote:
|
@rmitton Wine's DbgHelp is now disabled by default due to poor support of 64-bit and anything newer than DWARF 2. Dr. MinGW (which uses libdwarf) is now used by default, but currently it leaves stack walking to Microsoft's DbgHelp. Nevertheless, it seems to work in the given example. |
BTW, thanks for integrating Very Sleepy with MgwHelp. Believe it or not, it was thinking of VerySleepy that I split DrMinGW's guts into MgwHelp DLL. Many years ago I actually integrated some of DrMinGW code into Very Sleepy to see MinGW symbols, but all was very hackish. Everything would be much easier if MinGW symbol resolution had exectly the same interface as DbgHelp. Alas I never got around to re-attempt modifying Very Sleepy, and in the meanwhile the Wine DWARF support was added Very Sleepy so it stop being urgent. It's nice to see things come around full circle! |
looks cool. http://winkde.org/~pvonreth/other/tmp/sleepy/quick%20(5).png |
OK, I understand that we can consider this issue resolved. New issues can be opened for specific problems with the new MinGW debug engine. |
Using very sleepy with mingw-w64 x86 http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/4.9.1/threads-posix/dwarf/ leads to a crash.
Using very sleepy with mingw-w64 x64 http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/4.9.1/threads-posix/seh/
works but the symbols aren't resolved.
The text was updated successfully, but these errors were encountered: