Hi ONEEYEMAN,
What is the complete backtrace at the time of the crash?
The complete backtrace is:
Code: Select all
#0 0x00007f0a4e69d722 in _gdk_window_has_impl () at /lib64/libgdk-3.so.0
#1 0x00007f0a4e6cbabe in gdk_x11_window_get_xid () at /lib64/libgdk-3.so.0
#2 0x000000000043b539 in wxTopLevelWindowGTK::ShowFullScreen(bool, long) (this=0x2608000, show=true) at ../src/gtk/toplevel.cpp:913
#3 0x0000000000453266 in wxFrame::ShowFullScreen(bool, long) (this=0x2608000, show=true, style=31) at ../src/gtk/frame.cpp:191
Are you using a GPE, which is based on the X server or something else?
No, I'm using a laptop (HP Pavilion dv6) with CentOS7 minimal 64bit + MWM.
Is minimal sample and display sample works OK?
The minimal sample is perfect. The display sample works good (it detects correctly the screen resolution) except that the full screen utility. In this case the application doesn't fit well.
Did you modify the wxWidgets code in any way in addition to the "Hello World"?
No I didn't. My Hello World code is:
Code: Select all
#include <iostream>
#include <wx/wx.h>
using namespace std;
class MyApp : public wxApp
{
public:
bool OnInit() override;
};
bool MyApp::OnInit()
{
wxFrame* m_controlwindow = new wxFrame(NULL, -1, "Main Frame");
// m_controlwindow->Show();
m_controlwindow->ShowFullScreen(true, wxFULLSCREEN_ALL);
return true;
}
int main(int argc, char*argv[]) {
wxApp::SetInstance(new MyApp());
wxEntryStart(argc, argv);
wxTheApp->OnInit();
wxTheApp->OnRun();
wxTheApp->OnExit();
wxEntryCleanup();
return 0;
}
How did you compile the library - i.e. what options did you submit to configure?
I compiled the library as --enable-unicode --enable-debug --disable-shared .
Thank you.