Jump to content

Atlas editor crash


AInur
 Share

Recommended Posts

When I tried to play a scenario in the Atlas editor, it crashed suddenly with this message:

/usr/src/debug/wxwidgets/wxWidgets/src/unix/utilsx11.cpp(2645): assert ""Assert failure"" failed in wxGetKeyStateGTK(): 
Unsupported key 314, the only supported ones are: Ctrl, Alt, Shift, Caps Lock, Num Lock and Scroll Lock for GTK 3.18+
  
/usr/bin/0ad: line 9:  6857 Trace/breakpoint trap   (core dumped) "$pyrogenesis" "$@"

 

  • Like 1
Link to comment
Share on other sites

As soon as I press any key, this key error appears. I did press the shift key to cause this particular crash.

Steps to reproduce:

1. Run the Atlas editor

2. Place down some random entities and start playing simulation

3. Press any key combination, for example the attack move.

Then this error would appear for me. This seems like something related to X11 and lack of keyboard support?

Link to comment
Share on other sites

I switched to X11 display protocol and the errors didn't happen again. Even the previously mentioned mod selection page crash did not occur again. I think there is a conflict between 0ad and latest versions of Wayland.

20 minutes ago, Stan` said:

Which version are you running ?

Pyrogenesis 0.0.26
27104-release

Build 12 Sept 2024

 

Link to comment
Share on other sites

15 minutes ago, AInur said:

I switched to X11 display protocol and the errors didn't happen again. Even the previously mentioned mod selection page crash did not occur again. I think there is a conflict between 0ad and latest versions of Wayland.

Pyrogenesis 0.0.26
27104-release

Build 12 Sept 2024

 

Yes there are some issues with wayland. On some OSes wayland is using EGL. I wouldn't be suprised for input to be affected. Athough it should be using the SDL2 if I didn't miss something

https://gitea.wildfiregames.com/0ad/0ad/pulls/7087

  • Like 1
Link to comment
Share on other sites

  • 5 months later...

The atlas editor crashes on opening with the following errror:

Sound: AlcInit success, using OpenAL Soft
ERROR: Failed to load GLX functions.
FILES| UserReport written to '/home/rena/.config/0ad/logs/userreport_hwdetect.txt'
TIMER| RunHardwareDetection: 1.23058 ms
Assertion failed: "0 && (L"Can't find a usable technique")"
Location: ShaderManager.cpp:267 (LoadTechnique)

Call stack:

(0x5a1f0a85353c) /usr/bin/pyrogenesis(+0x50e53c) [0x5a1f0a85353c]
(0x5a1f0a85decf) /usr/bin/pyrogenesis(+0x518ecf) [0x5a1f0a85decf]
(0x5a1f0a78a04a) /usr/bin/pyrogenesis(+0x44504a) [0x5a1f0a78a04a]
(0x5a1f0a64b94b) /usr/bin/pyrogenesis(+0x30694b) [0x5a1f0a64b94b]
(0x5a1f0a646cfd) /usr/bin/pyrogenesis(+0x301cfd) [0x5a1f0a646cfd]
(0x5a1f0a6cf586) /usr/bin/pyrogenesis(+0x38a586) [0x5a1f0a6cf586]
(0x5a1f0a6cf85d) /usr/bin/pyrogenesis(+0x38a85d) [0x5a1f0a6cf85d]
(0x5a1f0a626234) /usr/bin/pyrogenesis(+0x2e1234) [0x5a1f0a626234]
(0x5a1f0a568230) /usr/bin/pyrogenesis(+0x223230) [0x5a1f0a568230]
(0x5a1f0a70e2ab) /usr/bin/pyrogenesis(+0x3c92ab) [0x5a1f0a70e2ab]
(0x5a1f0a6ec3da) /usr/bin/pyrogenesis(+0x3a73da) [0x5a1f0a6ec3da]
(0x7a772437082d) /usr/lib/0ad/libAtlasUI.so(+0x14c82d) [0x7a772437082d]
(0x7a77242dbe76) /usr/lib/0ad/libAtlasUI.so(+0xb7e76) [0x7a77242dbe76]
(0x7a76f50e6192) /usr/lib/libwx_baseu-3.2.so.0(_Z7wxEntryRiPPw+0xa2) [0x7a76f50e6192]
(0x7a77242d738e) /usr/lib/0ad/libAtlasUI.so(Atlas_StartWindow+0xde) [0x7a77242d738e]
(0x5a1f0a81e646) /usr/bin/pyrogenesis(+0x4d9646) [0x5a1f0a81e646]

errno = 0 (No error reported here)
OS error = ?

 

Link to comment
Share on other sites

I tried to suppress this error but then more followed:

TIMER| RunHardwareDetection: 1.17178 ms
Assertion failed: "0 && (L"Can't find a usable technique")"
Location: ShaderManager.cpp:267 (LoadTechnique)

Call stack:

(0x5a793aa8053c) /usr/bin/pyrogenesis(+0x50e53c) [0x5a793aa8053c]
(0x5a793aa8aecf) /usr/bin/pyrogenesis(+0x518ecf) [0x5a793aa8aecf]
(0x5a793a9b704a) /usr/bin/pyrogenesis(+0x44504a) [0x5a793a9b704a]
(0x5a793a87894b) /usr/bin/pyrogenesis(+0x30694b) [0x5a793a87894b]
(0x5a793a873cfd) /usr/bin/pyrogenesis(+0x301cfd) [0x5a793a873cfd]
(0x5a793a8fc586) /usr/bin/pyrogenesis(+0x38a586) [0x5a793a8fc586]
(0x5a793a8fc85d) /usr/bin/pyrogenesis(+0x38a85d) [0x5a793a8fc85d]
(0x5a793a853234) /usr/bin/pyrogenesis(+0x2e1234) [0x5a793a853234]
(0x5a793a795230) /usr/bin/pyrogenesis(+0x223230) [0x5a793a795230]
(0x5a793a93b2ab) /usr/bin/pyrogenesis(+0x3c92ab) [0x5a793a93b2ab]
(0x5a793a9193da) /usr/bin/pyrogenesis(+0x3a73da) [0x5a793a9193da]
(0x76dc0017082d) /usr/lib/0ad/libAtlasUI.so(+0x14c82d) [0x76dc0017082d]
(0x76dc000dbe76) /usr/lib/0ad/libAtlasUI.so(+0xb7e76) [0x76dc000dbe76]
(0x76dbd1ce6192) /usr/lib/libwx_baseu-3.2.so.0(_Z7wxEntryRiPPw+0xa2) [0x76dbd1ce6192]
(0x76dc000d738e) /usr/lib/0ad/libAtlasUI.so(Atlas_StartWindow+0xde) [0x76dc000d738e]
(0x5a793aa4b646) /usr/bin/pyrogenesis(+0x4d9646) [0x5a793aa4b646]

errno = 0 (No error reported here)
OS error = ?


ShaderManager.cpp(267): Assertion failed: "0 && (L"Can't find a usable technique")"
ERROR: Failed to load effect 'overlay_line'
ERROR: Failed to load effect 'overlay_line'
ERROR: Failed to load effect 'overlay_line'
ERROR: Failed to load effect 'overlay_line'
ERROR: Failed to load effect 'overlay_line'
ERROR: Failed to load effect 'overlay_line'
ERROR: Failed to load effect 'foreground_overlay'
ERROR: Failed to load effect 'foreground_overlay'
ERROR: Failed to load effect 'overlay_solid'
ERROR: Failed to load effect 'overlay_solid'
TIMER| InitRenderer: 1.7382 s
TIMER| ps_console: 2.98113 ms
TIMER| ps_lang_hotkeys: 3.96113 ms
ERROR: Failed to load effect 'los_interp'
ERROR: Failed to load SmoothLOS shader, disabling.
ERROR: Failed to load effect 'minimap'
GAME STARTED, ALL INIT COMPLETE
Assertion failed: "g_RenderingOptions.GetRenderPath() != RenderPath::FIXED"
Location: SceneRenderer.cpp:246 (ReloadShaders)

Call stack:

(0x5a793aa8053c) /usr/bin/pyrogenesis(+0x50e53c) [0x5a793aa8053c]
(0x5a793aa8aecf) /usr/bin/pyrogenesis(+0x518ecf) [0x5a793aa8aecf]
(0x5a793a9b704a) /usr/bin/pyrogenesis(+0x44504a) [0x5a793a9b704a]
(0x5a793a859226) /usr/bin/pyrogenesis(+0x2e7226) [0x5a793a859226]
(0x5a793a859408) /usr/bin/pyrogenesis(+0x2e7408) [0x5a793a859408]
(0x5a793a85967f) /usr/bin/pyrogenesis(+0x2e767f) [0x5a793a85967f]
(0x5a793a84fc33) /usr/bin/pyrogenesis(+0x2ddc33) [0x5a793a84fc33]
(0x5a793a91d44c) /usr/bin/pyrogenesis(+0x3ab44c) [0x5a793a91d44c]
(0x5a793a9354b1) /usr/bin/pyrogenesis(+0x3c34b1) [0x5a793a9354b1]
(0x76dc001303f2) /usr/lib/0ad/libAtlasUI.so(+0x10c3f2) [0x76dc001303f2]
(0x76dbd1d5c43f) /usr/lib/libwx_baseu-3.2.so.0(_ZN12wxEvtHandler23ProcessEventIfMatchesIdERK21wxEventTableEntryBasePS_R7wxEvent+0x7f) [0x76dbd1d5c43f]
(0x76dbd1d5c7c4) /usr/lib/libwx_baseu-3.2.so.0(_ZN16wxEventHashTable11HandleEventER7wxEventP12wxEvtHandler+0xf4) [0x76dbd1d5c7c4]
(0x76dbd1d5f198) /usr/lib/libwx_baseu-3.2.so.0(_ZN12wxEvtHandler11TryHereOnlyER7wxEvent+0x58) [0x76dbd1d5f198]
(0x76dbd1d5f220) /usr/lib/libwx_baseu-3.2.so.0(_ZN12wxEvtHandler19ProcessEventLocallyER7wxEvent+0x30) [0x76dbd1d5f220]
(0x76dbd1d5f33b) /usr/lib/libwx_baseu-3.2.so.0(_ZN12wxEvtHandler12ProcessEventER7wxEvent+0xeb) [0x76dbd1d5f33b]
(0x76dbd1d5f6f2) /usr/lib/libwx_baseu-3.2.so.0(_ZN12wxEvtHandler18SafelyProcessEventER7wxEvent+0x12) [0x76dbd1d5f6f2]

errno = 0 (No error reported here)
OS error = ?


SceneRenderer.cpp(246): Assertion failed: "g_RenderingOptions.GetRenderPath() != RenderPath::FIXED"
ERROR: Failed to load effect 'minimap'
/usr/bin/0ad: line 9:  3167 Segmentation fault      (core dumped) "$pyrogenesis" "$@"

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...