You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 30, 2025. It is now read-only.
#include<glog/logging.h>intmain(int argc, char** argv) {
auto app = Gtk::Application::create(argc, argv, "com.zlt.texteditor");
google::InitGoogleLogging(argv[0]); // ①
TextEditor w;
return app->run(w);
}
As you see, I'm trying gtk promaring on windows. If I comment ①, it works well, other than get a segment fault. (run it in bash.exe of msys2, not cmd.exe)
when I debug it , it paused at
// stacktrace_x86_64-inl.hstaticbool ready_to_run = false;
classStackTraceInit {
public:StackTraceInit() {
// Extra call to force initialization_Unwind_Backtrace(nop_backtrace, NULL); // stop here
ready_to_run = true;
}
};