How can I diagnose debug MinGW-get GUI (guimain.exe) crash?

Initially, I wanted to install updated MinGW packages using the MinGW-get GUI, but it crashes when I select "Mark all updates" in the "Install" drop-down menu (whether I update the directory or not).

Now I want to find out why guimain.exe failed.

A screen capture of the MinGW-get GUI crashing on my computer

How can I diagnose and debug this persistent problem? I am vaguely familiar with GDB, but I have never used it. I do not intend to use the Visual Studio debugger.

I assume I need to use some helper binaries or debug libraries in the last MinGW installer branch: https://sourceforge.net/projects/mingw/files/Installer/mingw-get/mingw-get-0.6.2-beta- 20131004-1 /

Can someone guide me? Any help or suggested reading is appreciated.

+5
source share
2 answers

I have the same problem. GDB method for debugging:

gdb mingw-get.exe

r upgrade (starts with updating arguments)

GDB will automatically stop at the SIGSEGV (Segmentation Error) signal, which happens to me.

bt (get backtrace) For me this led to a huge return filled with calls:

#5013 0x6f9cdda4 in mingw-get-0!_ZN14pkgXmlDocument19ResolveDependenciesEP10pkgXmlNodeP13pkgActionItem () from c:\MinGW\libexec\mingw-get\mingw-get-0.dll

It looks like a recursion problem that quickly populated the call stack. Please note that the function name is garbled and we do not know the line number. This is the best thing you can do without debugging characters. If you have debugging symbols, GDB output becomes more useful. For most Linux-style packages, you can get debugging symbols in the -dbg package, similar to a split binary package. However, I do not see the debug package for mingw32-mingw-get in the list.

+2
source

For those who encounter a crash when trying to update packages .. try to run it in recursive mode.

 mingw-get upgrade --recursive 

which appeared to me for me.

+10
source