Opened 6 years ago

Closed 12 months ago

Last modified 12 months ago

#5066 closed defect (fixed)

[Crash] Segmentation fault on the Atlas start

Reported by: Vladislav Belov Owned by:
Priority: Must Have Milestone: Alpha 27
Component: Atlas editor Keywords:
Cc: bb Patch:

Description

wxWidget's side solving here: http://trac.wxwidgets.org/ticket/17702.

bb catched a crash on the Atlas start under Fedora 27, stack trace: https://pastebin.com/VvQ9nXGC.

#0  raise () at /lib64/libc.so.6
#1  abort () at /lib64/libc.so.6
#2  __assert_fail_base () at /lib64/libc.so.6
#3  () at /lib64/libc.so.6
#4  () at /lib64/libX11.so.6
#5  _XSend () at /lib64/libX11.so.6
#6  XQueryExtension () at /lib64/libX11.so.6
#7  __glXLookupDisplay () at /lib64/libGLX.so.0
#8  glXQueryVersion () at /lib64/libGLX.so.0
#9  wxGLCanvasX11::GetGLXVersion() () at /lib64/libwx_gtk3u_gl-3.0.so.0
#10 wxGLCanvasX11::ConvertWXAttrsToGL(int const*, int*, unsigned long) () at /lib64/libwx_gtk3u_gl-3.0.so.0
#11 wxGLCanvasX11::InitXVisualInfo(int const*, __GLXFBConfigRec***, XVisualInfo* () at /lib64/libwx_gtk3u_gl-3.0.so.0
#12 wxGLCanvas::Create(wxWindow*, int, wxPoint const&, wxSize const&, long, wxString const&, int const*, wxPalette const&) () at /lib64/libwx_gtk3u_gl-3.0.so.0
#13 wxGLCanvas::wxGLCanvas(wxWindow*, int, int const*, wxPoint const&, wxSize const&, long, wxString const&, wxPalette const&) () at /lib64/libwx_gtk3u_gl-3.0.so.0
#14 Canvas::Canvas(wxWindow*, int*, long) (this=0x372d4e0, parent=0x49274a0, attribList=0x7fffffffc5a0, style=262144) at ../../../source/tools/atlas/AtlasUI/CustomControls/Canvas/Canvas.cpp:29
#15 GameCanvas::GameCanvas(ScenarioEditor&, wxWindow*, int*) (attribList=0x7fffffffc5a0, parent=0x49274a0, scenarioEditor=..., this=0x372d4e0) at ../../../source/tools/atlas/AtlasUI/ScenarioEditor/ScenarioEditor.cpp:83
#16 ScenarioEditor::ScenarioEditor(wxWindow*) (this=0x16eb800, parent=<optimized out>) at ../../../source/tools/atlas/AtlasUI/ScenarioEditor/ScenarioEditor.cpp:554
#17 AtlasDLLApp::OnInit() (this=0x7fff9c50e800) at ../../../source/tools/atlas/AtlasUI/Misc/DLLInterface.cpp:241
#18 wxEntry(int&, wchar_t**) () at /lib64/libwx_baseu-3.0.so.0
#19 Atlas_StartWindow(wchar_t const*) (type=0xab6250 L"ScenarioEditor") at ../../../source/tools/atlas/AtlasUI/Misc/DLLInterface.cpp:147
#20 BeginAtlas(CmdLineArgs const&, DllLoader const&) (args=..., dll=...) at ../../../source/tools/atlas/GameInterface/GameLoop.cpp:317
#21 ATLAS_Run(CmdLineArgs const&, int) (args=..., flags=1) at ../../../source/ps/GameSetup/Atlas.cpp:54
#22 ATLAS_RunIfOnCmdLine(CmdLineArgs const&, bool) (args=..., force=force@entry=true) at ../../../source/ps/GameSetup/Atlas.cpp:77
#23 RunGameOrAtlas(int, char const**) (argc=argc@entry=1, argv=argv@entry=0x7fffffffdc78) at ../../../source/main.cpp:599
#24 main(int, char**) (argc=1, argv=0x7fffffffdc78) at ../../../source/main.cpp:632

The main problem is: http://trac.wxwidgets.org/ticket/17702 (example occurrence in another application: https://github.com/myriadrf/LimeSuite/issues/145).

There are crashes not only for wxWidgets, at least they're similar:

Change History (5)

comment:1 by Vladislav Belov, 6 years ago

Priority: Should HaveMust Have

comment:2 by Imarok, 5 years ago

Component: UI & SimulationAtlas editor

comment:4 by Vladislav Belov, 12 months ago

Resolution: fixed
Status: newclosed

comment:5 by Vladislav Belov, 12 months ago

Milestone: BacklogAlpha 27
Note: See TracTickets for help on using tickets.