Crashy Bug on Mac OS, maybe a memory leak

Having trouble with the game? Report issues and get help here. Read this first!

Moderator: Forum Moderators

Forum rules
Before reporting issues in this section, you must read the following topic:
yogicbrewer
Posts: 31
Joined: December 29th, 2009, 12:42 am

Crashy Bug on Mac OS, maybe a memory leak

Post by yogicbrewer »

Wesnoth v 1.18.3
Mac OS 12.7.6
Startup log in code block below.
All files are up to date per server.
Main menu report (build info) at end of this file (below code block).

Issue: After several (4-plus?) hours of play, a rainbow wheel of death appears. Display freezes. Cannot exit application. Eventually computer crashes completely. Can reboot by holding down power button 5-10 seconds, or wait for the crash. Reboots without issue.

Troubleshooting notes:
1. Only noticed while playing "A Vision Blinded"campaign v1.0.28. I've also played "Heir to the Throne" and "Orcish Incursion v 1.0.4.3" lately and don't recall any issues but those may have been shorter sessions.
https://r.wesnoth.org/t23463

2. I had another add-on installed which was incomplete (judging from many unit values, e.g many weapons with 100% hit capability, and how game play unfolded). I have since uninstalled this (including associated MP eras), but am including its info below for reference.
* "Modern War" campaign with two MP ERAs (screen shot atch):
* * "Desert War"
* * "Platoon War"
I'm suspicious of this Modern War campaign due to it's extremely incomplete setup. While I had no issues with crashes while playing, checking unit values and so on reveals missing unit ID data (error messages on page).

3. I will let you know if this issue still occurs the next time I can play an extended session.

Log data follows. I believe most errors are generated by the now-deleted campaign/MP eras (para 2 above).

Code: Select all

Battle for Wesnoth v1.18.3 x86_64
Started on Thu Feb  6 15:36:02 2025


Automatically found a possible data directory at: /Applications/The Battle for Wesnoth.app/Contents/Resources

Data directory:               /Applications/The Battle for Wesnoth.app/Contents/Resources
User configuration directory: /Users/USER/Library/Containers/org.wesnoth.Wesnoth/Data/Library/Application Support/Wesnoth_1.18
User data directory:          /Users/USER/Library/Containers/org.wesnoth.Wesnoth/Data/Library/Application Support/Wesnoth_1.18
Cache directory:              /Users/USER/Library/Containers/org.wesnoth.Wesnoth/Data/Library/Application Support/Wesnoth_1.18/cache


Setting mode to 1440x900
20250206 15:36:06 error deprecation: [advancefrom] has been deprecated and removed.; Error: [advancefrom] no longer works. ‘merkewamk3’ units will not be able to advance to ‘merkewamk4’; please ask the add-on author to use [modify_unit_type] instead.
20250206 15:36:06 error deprecation: [advancefrom] has been deprecated and removed.; Error: [advancefrom] no longer works. ‘talib A’ units will not be able to advance to ‘Mudzahedin’; please ask the add-on author to use [modify_unit_type] instead.
20250206 15:36:06 error deprecation: [advancefrom] has been deprecated and removed.; Error: [advancefrom] no longer works. ‘merkewamk3’ units will not be able to advance to ‘merkewamk4’; please ask the add-on author to use [modify_unit_type] instead.
20250206 15:36:06 error deprecation: [advancefrom] has been deprecated and removed.; Error: [advancefrom] no longer works. ‘talib A’ units will not be able to advance to ‘Mudzahedin’; please ask the add-on author to use [modify_unit_type] instead.
20250206 15:36:06 error deprecation: campaign id='INVASION' has extra_defines=ENABLE_ARMAGEDDON_DRAKE has been deprecated and removed.; instead, use the macro with the same name in the [campaign] tag
20250206 15:36:06 error config: Multiple [unit_type]s with id=technical105mm encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=technical105mmNA encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=2s35koalislyasv encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=acv15 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=ASCOD encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=Bgbv90 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=m2bradley encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=m3 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=pgz09 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=pgz95 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=pmp encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=Stridsvagn122 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=uh60blackhawk encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=unitedkindomsloider encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=VPK7829Bumerang encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=a10thunderboltii encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=a129mangusta encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=arab A encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=truck encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=augustawesland encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=ah64apche encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=altay encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=americandeneral encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=americangeneral encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=americansloider encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=amx108 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=amx10rc encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=maxinter encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=truckmissleair encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=truckmissleairNA encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=truckmachinegunair encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=truckmachinegunairNA encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=technicalmissle encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=technicalmissleNA encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=arab encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=arabsloider encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=sovietplot encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=Archeralt encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=asssultfloatingbirdge encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=ataa encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=atar encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=atat encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=atdp encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=atmp encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=Pasi encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=atst encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=pickupautocanon encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=pickupautocanonNA encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=avenger encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=blavkstormoper encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=bergepanzer encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=bm30smiercz encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=bmp1 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=bmp2 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=bmp3 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=terminatorbmt encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=borsuk encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=boxer encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=breml encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=btr80 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=bwppuma encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=bwptzos encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=c1ariete encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=czolgtzos encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=caracal encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=cavaliermustang encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=centauro encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=ch47chionok encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=chellenger2 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=changhewz10 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=chunma encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=cv90 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=czolgtzosii encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=dardo encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=dehavilandmosquito encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=dyktator encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=eurocoptertiger encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=europeansolider encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=europengeneral encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=f35b encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=fa18hornet encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=fockewulffw190 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=fularmour encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=fularmourNA encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=fv102striker encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=fvs10warrior encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=gepard encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=gzm003 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=hurricane encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=hercules encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=hwing encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=inquisitor encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=jak141 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=japansloider encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=jh7 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=judensloider encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=junkersju87 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=k1 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=k2 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=k21 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=k2pl encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=k9 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=komandoseal encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=komandotzos encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=krab encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=kurgawiec encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=kw1apc encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=l131as90 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=leclerc encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=leopard2 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=lvkv90 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=lynxkf41 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=m109sph encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=m1128 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=m1134 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=m1abrams encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=m270mlrs encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=m42 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=marine encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=merkewamk3 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=merkewamk4 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=mi18 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=mi24 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=mi24mv1 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=mi28 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=mim23 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=mirage2005 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=Mudzahedin encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=namer encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=natosloider encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=nh90 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=obiekt195 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=obiekt640 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=p47thunderbolt encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=panaviatornado encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=pancyrs1 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=FNSSPars encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=pereh encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=pl01concept encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=pll05 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=plotsloider encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=plottzossloider encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=plz05 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=polishsloider encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=pt91twardy encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=PTZ09 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=puma encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=pzh2000 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=pzl230skorpion encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=Roland encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=rosomak encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=rosomakm1m encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=s125 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=s22tunguska encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=sksloider encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=skyranger encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=skysabre encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=soviet encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=Stormer encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=stormoper encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=stormopergenral encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=Stryker encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=su100 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=su34 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=su25 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=supermarinespitfire encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=t14armata encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=t15armata encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=t54 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=t62 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=t72 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=t72AW encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=t90 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=tachanka encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=tachankaNA encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=talib encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=talib A encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=truckrocket encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=truckrocketNA encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=tos1 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=towalt encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=towaltNA encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=towroc encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=towrocNA encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=tr85 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=transporter encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=truckNA encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=tumak5 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=typ10 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=typ90 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=typ96 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=typ99 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=type11 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=type16 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=type84 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=type85 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=type87 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=type89 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=type93 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=type93mpm encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=type96 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=type99 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=tzossloider encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=tzossloiderp encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=vareastgeneral encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=VBCI encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=vblmilan encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=w3sokol encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=wataska encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=wataska A encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=wiesel1 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=wr40langusta encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=wzt3 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=wzz551 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=yw306 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=harbinz19 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=zbd97 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=zbl08 encountered.
20250206 15:36:06 error config: Multiple [unit_type]s with id=zsu234 encountered.
20250206 15:36:06 warning general: no location found for 'data/add-ons/desertwar_addon/translations', skipping textdomain
20250206 15:36:06 warning general: no location found for 'data/add-ons/desertwar_addon/translations', skipping textdomain
Checking lua scripts... ok
Main Menu Report (BUILD INFO) follows

The Battle for Wesnoth version 1.18.3 x86_64
Running on Apple macOS 12.7.6 x86_64
Distribution channel: macOS App Store

Game paths
==========

Data dir: /Applications/The Battle for Wesnoth.app/Contents/Resources
User config dir: /Users/USER/Library/Containers/org.wesnoth.Wesnoth/Data/Library/Application Support/Wesnoth_1.18
User data dir: /Users/USER/Library/Containers/org.wesnoth.Wesnoth/Data/Library/Application Support/Wesnoth_1.18
Saves dir: /Users/USER/Library/Containers/org.wesnoth.Wesnoth/Data/Library/Application Support/Wesnoth_1.18/saves
Add-ons dir: /Users/USER/Library/Containers/org.wesnoth.Wesnoth/Data/Library/Application Support/Wesnoth_1.18/data/add-ons
Cache dir: /Users/USER/Library/Containers/org.wesnoth.Wesnoth/Data/Library/Application Support/Wesnoth_1.18/cache
Logs dir: /Users/USER/Library/Containers/org.wesnoth.Wesnoth/Data/Library/Application Support/Wesnoth_1.18/logs

Libraries
=========

Boost: 1.84
Lua: 5.4.7
libcurl: 8.7.1 (runtime 8.7.1)
Cairo: 1.18.0 (runtime 1.18.0)
Pango: 1.51.0 (runtime 1.51.0)
SDL: 2.28.5 (runtime 2.28.5)
SDL_image: 2.8.1 (runtime 2.8.1)
SDL_mixer: 2.6.3 (runtime 2.6.3)

Features
========

Lua console completion: yes
Cocoa notifications back end: yes

Current video settings
======================

SDL video drivers: [cocoa] offscreen dummy
Window size: 1440x900
Game canvas size: 1440x900
Final render target size: 1440x900
Screen refresh rate: 60
Screen dpi: 128.00x128.00
Renderer: metal (hw)
Maximum texture size: 16384x16384
VSync: on

Current audio settings
======================

SDL audio drivers: [coreaudio] disk dummy
Number of channels: 2
Output rate: 44100 Hz
Sample format: signed 16 bit little-endian
Sample size: 1024 bytes

Installed add-ons
=================

A_Group_in_a_War: 0.3.0b
A_Vision_Blinded: 1.0.28
An_Orcish_Incursion: 1.0.4.3
Ashevieres_Shadow: 1.4.3
Eastern_Europe_at_War: 3.2.0
Era_of_Magic: 4.8.0
Era_of_Magic_Resources: 3.1.0
Sanctuary: 1.3.2
Story_of_Wose: 0.11.0
Struggle_For_Freedom: 1.0.8
Tamanegi_Jukebox: 0.1.9a
To_Lands_Unknown: 3.11.0
To_Lands_Unknown_Resources_1: 2.5.0
To_Lands_Unknown_Resources_2: 2.5.0
War_of_Legends: 1.2.7.70
gnombat
Posts: 978
Joined: June 10th, 2010, 8:49 pm

Re: Crashy Bug on Mac OS, maybe a memory leak

Post by gnombat »

I'm not playing on a Mac, but I have noticed that Wesnoth 1.18 seems to leak memory at times.

It seems to happen only with some campaigns (see here and here).
yogicbrewer
Posts: 31
Joined: December 29th, 2009, 12:42 am

Re: Crashy Bug on Mac OS, maybe a memory leak

Post by yogicbrewer »

I haven't played either of the campaigns you mention.

The only place I've noticed the alleged memory leak is playing "A Vision Blinded," so that makes it either a general game error or something (module, etc.) common to all three. Several of the scenarios in that campaign are pretty large (50+ units on each side, 20-50 turns) so that may be an issue, but that's beyond my pay grade.
yogicbrewer
Posts: 31
Joined: December 29th, 2009, 12:42 am

Re: Crashy Bug on Mac OS, maybe a memory leak

Post by yogicbrewer »

I've been playing "Heir to the Throne" and crash has occurred during extended play in that campaign as well. Between me and others, that's four campaigns this problem has been reported in, so without a doubt this is an issue with the game itself, not individual campaigns.
User avatar
Wedge009
Developer
Posts: 33
Joined: June 24th, 2009, 11:17 am
Location: Sydney, Australia

Re: Crashy Bug on Mac OS, maybe a memory leak

Post by Wedge009 »

May not be related if you're not using Steam, but there's an existing issue logging high memory use when run through Steam: https://github.com/wesnoth/wesnoth/issues/9085
Soli Deo Gloria
yogicbrewer
Posts: 31
Joined: December 29th, 2009, 12:42 am

Re: Crashy Bug on Mac OS, maybe a memory leak

Post by yogicbrewer »

I'm not using Steam. And it seems to be getting more severe.
User avatar
Wedge009
Developer
Posts: 33
Joined: June 24th, 2009, 11:17 am
Location: Sydney, Australia

Re: Crashy Bug on Mac OS, maybe a memory leak

Post by Wedge009 »

I realise this may not be possible, but are you able to replicate on more than one machine? At least to try to eliminate hardware as a possibility. I had a bizarre problem with memory usage (not Wesnoth related) that seemed to be specific to a single machine.
Soli Deo Gloria
gnombat
Posts: 978
Joined: June 10th, 2010, 8:49 pm

Re: Crashy Bug on Mac OS, maybe a memory leak

Post by gnombat »

Note that the cause of this issue has possibly been identified and fixed already (and the fix should be in the next release).

https://github.com/wesnoth/wesnoth/issues/10031
yogicbrewer
Posts: 31
Joined: December 29th, 2009, 12:42 am

Re: Crashy Bug on Mac OS, maybe a memory leak

Post by yogicbrewer »

gnombat wrote: June 1st, 2025, 9:23 am Note that the cause of this issue has possibly been identified and fixed already (and the fix should be in the next release).
https://github.com/wesnoth/wesnoth/issues/10031
I have not encountered crashes lately, so I tentatively agree that it's been corrected.
Nope! See further posts on this issue.
Last edited by yogicbrewer on July 31st, 2025, 12:15 am, edited 1 time in total.
yogicbrewer
Posts: 31
Joined: December 29th, 2009, 12:42 am

IT'S BAAAAACK!! Re: Crashy Bug on Mac OS, maybe a memory leak

Post by yogicbrewer »

Bug does not seem to have been fixed. Cooling fan begins to run incessantly after under an hour of opening Wesnoth. Rainbow disk from hell appears after a few hours of application use, then computer crashes (a minute or so after rainbow disk appears). Restart works OK, game restarts automatically and reverts properly to last saved turn of present game.

The only trigger to this issue seems to be operating time. Mostly I've been playing "Heir to the Throne" and "An Orcish Incursion." Periodically closing and reopening application seems to help, but I can't be sure.

Have ONLY had this issue when Wesnoth is running.

Possibility that "every-turn auto-save" option may be kicking in mid-turn and opening a memory leak?

NOTE: Additional info for Mac-savvy folks inserted later in this thread: viewtopic.php?p=699591#p699591

Running on MacBook Air, MAC OS 12.7.6
Wesnoth v 1.18.5

Code: Select all

 Hardware Overview:
  Model Name:	MacBook Air
  Model Identifier:	MacBookAir7,2
  Processor Name:	Dual-Core Intel Core i5
  Processor Speed:	1.8 GHz
  Number of Processors:	1
  Total Number of Cores:	2
  L2 Cache (per Core):	256 KB
  L3 Cache:	3 MB
  Hyper-Threading Technology:	Enabled
  Memory:	8 GB
  System Firmware Version:	489.0.0.0.0
  OS Loader Version:	540.120.3~37
  SMC Version (system):	2.27f2
  Serial Number (system):	C1MW48GPJ1WK
  Hardware UUID:	BD5DA25B-9BDB-56CD-BC2A-63B83D9B9312
  Provisioning UDID:	BD5DA25B-9BDB-56CD-BC2A-63B83D9B9312 
WESNOTH LOG FILE:

Code: Select all

Battle for Wesnoth v1.18.5 x86_64
Started on Tue Jul 29 20:15:48 2025

Automatically found a possible data directory at: /Applications/The Battle for Wesnoth.app/Contents/Resources

Data directory:               /Applications/The Battle for Wesnoth.app/Contents/Resources
User configuration directory: /Users/USER/Library/Containers/org.wesnoth.Wesnoth/Data/Library/Application Support/Wesnoth_1.18
User data directory:          /Users/USER/Library/Containers/org.wesnoth.Wesnoth/Data/Library/Application Support/Wesnoth_1.18
Cache directory:              /Users/USER/Library/Containers/org.wesnoth.Wesnoth/Data/Library/Application Support/Wesnoth_1.18/cache


Setting mode to 1440x900
Checking lua scripts... ok
I also found this under Diagnostic Reports, if it's helpful.
(NOTE: There is NO "USER REPORTS" MENU ITEM for Console, as is claimed at viewtopic.php?t=16163
The Battle for Wesnoth_2025-07-28-163837_BLs-MacBook.cpu_resource.diag

Code: Select all

Date/Time:        2025-07-28 16:35:41.499 -0400
End time:         2025-07-28 16:38:35.755 -0400
OS Version:       macOS 12.7.6 (Build 21H1320)
Architecture:     x86_64h
Report Version:   35.1
Incident Identifier: 67205059-2D91-4BDB-A019-90586BD2CA83

Data Source:      Microstackshots
Shared Cache:     246818C3-4B9F-3462-BCAF-FDF71975E5FE slid base address 0x7ff80af3c000, slide 0xaf3c000

Command:          The Battle for Wesnoth
Path:             /Applications/The Battle for Wesnoth.app/Contents/MacOS/The Battle for Wesnoth
Identifier:       org.wesnoth.Wesnoth
Version:          1.18.5 (39)
Team ID:          P7YF26GARW
App Item ID:      1450738104
App External ID:  875253525
Architecture:     x86_64
PID:              2301

Event:            cpu usage
Action taken:     none
CPU:              90 seconds cpu time over 174 seconds (52% cpu average), exceeding limit of 50% cpu over 180 seconds
CPU limit:        90s
Limit duration:   180s
CPU used:         90s
CPU duration:     174s
Duration:         174.26s
Duration Sampled: 167.62s
Steps:            47

Hardware model:   MacBookAir7,2
Active cpus:      4
HW page size:     4096
VM page size:     4096

Fan speed:        1820 rpm
Advisory levels:  Battery -> 3, User -> 2, ThermalPressure -> 0, Combined -> 2
Free disk space:  25.57 GB/112.80 GB, low space threshold 3072 MB

Heaviest stack for the target process:
  26  start + 462 (dyld + 21806) [0x114be952e]
  26  ??? (The Battle for Wesnoth + 6334931) [0x108b9d9d3]
  26  -[NSApplication run] + 586 (AppKit + 194584) [0x7ff80dd52818]
  26  -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1394 (AppKit + 250214) [0x7ff80dd60166]
  26  _DPSNextEvent + 2036 (AppKit + 257790) [0x7ff80dd61efe]
  26  AEProcessAppleEvent + 54 (HIToolbox + 261346) [0x7ff813fe6ce2]
  26  aeProcessAppleEvent + 419 (AE + 17219) [0x7ff8119d9343]
  26  ??? (AE + 44270) [0x7ff8119dfcee]
  26  ??? (AE + 46212) [0x7ff8119e0484]
  26  _NSAppleEventManagerGenericHandler + 80 (Foundation + 213798) [0x7ff80c156326]
  26  -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 308 (Foundation + 214196) [0x7ff80c1564b4]
  26  -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 665 (AppKit + 280783) [0x7ff80dd678cf]
  26  -[NSApplication(NSAppleEventHandling) _handleAEOpenEvent:] + 541 (AppKit + 281720) [0x7ff80dd67c78]
  26  -[NSApplication _sendFinishLaunchingNotification] + 208 (AppKit + 290983) [0x7ff80dd6a0a7]
  26  -[NSApplication _postDidFinishNotification] + 306 (AppKit + 291671) [0x7ff80dd6a357]
  26  -[NSNotificationCenter postNotificationName:object:userInfo:] + 82 (Foundation + 38286) [0x7ff80c12b58e]
  26  _CFXNotificationPost + 735 (CoreFoundation + 291576) [0x7ff80b2ec2f8]
  26  _CFXRegistrationPost + 496 (CoreFoundation + 1124896) [0x7ff80b3b7a20]
  26  ___CFXRegistrationPost_block_invoke + 49 (CoreFoundation + 1125026) [0x7ff80b3b7aa2]
  26  __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12 (CoreFoundation + 480908) [0x7ff80b31a68c]
  26  ??? (The Battle for Wesnoth + 6334028) [0x108b9d64c]
  26  ??? (The Battle for Wesnoth + 7989644) [0x108d3198c]
  26  ??? (The Battle for Wesnoth + 3524073) [0x1088ef5e9]
  26  ??? (The Battle for Wesnoth + 5658052) [0x108af85c4]
  26  ??? (The Battle for Wesnoth + 5684406) [0x108afecb6]
  26  ??? (The Battle for Wesnoth + 5625070) [0x108af04ee]
  26  ??? (The Battle for Wesnoth + 5689135) [0x108afff2f]
  26  ??? (The Battle for Wesnoth + 5692736) [0x108b00d40]
  26  ??? (The Battle for Wesnoth + 5618558) [0x108aeeb7e]
  24  ??? (The Battle for Wesnoth + 1842123) [0x108754bcb]
  8   ??? (The Battle for Wesnoth + 869233) [0x108667371]
  4   ??? (The Battle for Wesnoth + 7953389) [0x108d28bed]
  4   ??? (The Battle for Wesnoth + 7951574) [0x108d284d6]
  4   SDL_SetRenderTarget + 33 (libSDL2-2.0.0.dylib + 136401) [0x109e634d1]
  3   SDL_SetRenderTarget_REAL + 277 (libSDL2-2.0.0.dylib + 405861) [0x109ea5165]
  3   FlushRenderCommands + 361 (libSDL2-2.0.0.dylib + 383561) [0x109e9fa49]
  3   METAL_RunCommandQueue + 1429 (libSDL2-2.0.0.dylib + 1876709) [0x10a00c2e5]
  3   SetCopyState + 192 (libSDL2-2.0.0.dylib + 1891520) [0x10a00fcc0]
  2   SetDrawState + 155 (libSDL2-2.0.0.dylib + 1890011) [0x10a00f6db]
  2   METAL_ActivateRenderCommandEncoder + 1537 (libSDL2-2.0.0.dylib + 1888977) [0x10a00f2d1]
  2   -[MTLIGAccelCommandBuffer renderCommandEncoderWithDescriptor:] + 96 (AppleIntelBDWGraphicsMTLDriver + 344404) [0x7ffa1b49e154]
  1   -[MTLIGAccelRenderCommandEncoder initWithCommandBuffer:descriptor:stateDescriptor:] + 230 (AppleIntelBDWGraphicsMTLDriver + 228822) [0x7ffa1b481dd6]
  1   IGAccelRenderCommandEncoder::initialize(MTLIGAccelDevice*, MTLRenderPassDescriptor*, MTLIOAccelCommandBuffer*) + 496 (AppleIntelBDWGraphicsMTLDriver + 270222) [0x7ffa1b48bf8e]
  1   IntelStateHeaps::initialize() + 72 (AppleIntelBDWGraphicsMTLDriver + 251790) [0x7ffa1b48778e]
  1   objc_msgSend + 46 (libobjc.A.dylib + 29230) [0x7ff80b0f122e]


Powerstats for:   The Battle for Wesnoth (The Battle for Wesnoth) [2301]
UUID:             79FFE987-E41E-3034-AA22-EC344F8DB76B
Path:             /Applications/The Battle for Wesnoth.app/Contents/MacOS/The Battle for Wesnoth
Identifier:       org.wesnoth.Wesnoth
Version:          1.18.5 (39)
Team ID:          P7YF26GARW
App Item ID:      1450738104
App External ID:  875253525
Architecture:     x86_64
Footprint:        1216.71 MB -> 1350.03 MB (+133.32 MB)
Start time:       2025-07-28 16:35:47.474 -0400
End time:         2025-07-28 16:38:35.091 -0400
Num samples:      47 (100%)
Primary state:    24 samples Frontmost App, Non-Suppressed, Kernel mode, Effective Thread QoS User Interactive, Requested Thread QoS User Interactive, Override Thread QoS Unspecified
User Activity:    42 samples Idle, 5 samples Active
Power Source:     0 samples on Battery, 47 samples on AC
  26  start + 462 (dyld + 21806) [0x114be952e]
    26  ??? (The Battle for Wesnoth + 6334931) [0x108b9d9d3]
      26  -[NSApplication run] + 586 (AppKit + 194584) [0x7ff80dd52818]
        26  -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1394 (AppKit + 250214) [0x7ff80dd60166]
          26  _DPSNextEvent + 2036 (AppKit + 257790) [0x7ff80dd61efe]
            26  AEProcessAppleEvent + 54 (HIToolbox + 261346) [0x7ff813fe6ce2]
              26  aeProcessAppleEvent + 419 (AE + 17219) [0x7ff8119d9343]
                26  ??? (AE + 44270) [0x7ff8119dfcee]
                  26  ??? (AE + 46212) [0x7ff8119e0484]
                    26  _NSAppleEventManagerGenericHandler + 80 (Foundation + 213798) [0x7ff80c156326]
                      26  -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 308 (Foundation + 214196) [0x7ff80c1564b4]
                        26  -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 665 (AppKit + 280783) [0x7ff80dd678cf]
                          26  -[NSApplication(NSAppleEventHandling) _handleAEOpenEvent:] + 541 (AppKit + 281720) [0x7ff80dd67c78]
                            26  -[NSApplication _sendFinishLaunchingNotification] + 208 (AppKit + 290983) [0x7ff80dd6a0a7]
                              26  -[NSApplication _postDidFinishNotification] + 306 (AppKit + 291671) [0x7ff80dd6a357]
                                26  -[NSNotificationCenter postNotificationName:object:userInfo:] + 82 (Foundation + 38286) [0x7ff80c12b58e]
                                  26  _CFXNotificationPost + 735 (CoreFoundation + 291576) [0x7ff80b2ec2f8]
                                    26  _CFXRegistrationPost + 496 (CoreFoundation + 1124896) [0x7ff80b3b7a20]
                                      26  ___CFXRegistrationPost_block_invoke + 49 (CoreFoundation + 1125026) [0x7ff80b3b7aa2]
                                        26  __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12 (CoreFoundation + 480908) [0x7ff80b31a68c]
                                          26  ??? (The Battle for Wesnoth + 6334028) [0x108b9d64c]
                                            26  ??? (The Battle for Wesnoth + 7989644) [0x108d3198c]
                                              26  ??? (The Battle for Wesnoth + 3524073) [0x1088ef5e9]
                                                26  ??? (The Battle for Wesnoth + 5658052) [0x108af85c4]
                                                  26  ??? (The Battle for Wesnoth + 5684406) [0x108afecb6]
                                                    26  ??? (The Battle for Wesnoth + 5625070) [0x108af04ee]
                                                      26  ??? (The Battle for Wesnoth + 5689135) [0x108afff2f]
                                                        26  ??? (The Battle for Wesnoth + 5692736) [0x108b00d40]
                                                          26  ??? (The Battle for Wesnoth + 5618558) [0x108aeeb7e]
                                                            24  ??? (The Battle for Wesnoth + 1842123) [0x108754bcb]
                                                              8   ??? (The Battle for Wesnoth + 869233) [0x108667371]
                                                                4   ??? (The Battle for Wesnoth + 7953389) [0x108d28bed]
                                                                  4   ??? (The Battle for Wesnoth + 7951574) [0x108d284d6]
                                                                    4   SDL_SetRenderTarget + 33 (libSDL2-2.0.0.dylib + 136401) [0x109e634d1]
                                                                      3   SDL_SetRenderTarget_REAL + 277 (libSDL2-2.0.0.dylib + 405861) [0x109ea5165]
                                                                        3   FlushRenderCommands + 361 (libSDL2-2.0.0.dylib + 383561) [0x109e9fa49]
                                                                          3   METAL_RunCommandQueue + 1429 (libSDL2-2.0.0.dylib + 1876709) [0x10a00c2e5]
                                                                            3   SetCopyState + 192 (libSDL2-2.0.0.dylib + 1891520) [0x10a00fcc0]
                                                                              2   SetDrawState + 155 (libSDL2-2.0.0.dylib + 1890011) [0x10a00f6db]
                                                                                2   METAL_ActivateRenderCommandEncoder + 1537 (libSDL2-2.0.0.dylib + 1888977) [0x10a00f2d1]
                                                                                  2   -[MTLIGAccelCommandBuffer renderCommandEncoderWithDescriptor:] + 96 (AppleIntelBDWGraphicsMTLDriver + 344404) [0x7ffa1b49e154]
                                                                                    1   -[MTLIGAccelRenderCommandEncoder initWithCommandBuffer:descriptor:stateDescriptor:] + 230 (AppleIntelBDWGraphicsMTLDriver + 228822) [0x7ffa1b481dd6]
                                                                                      1   IGAccelRenderCommandEncoder::initialize(MTLIGAccelDevice*, MTLRenderPassDescriptor*, MTLIOAccelCommandBuffer*) + 496 (AppleIntelBDWGraphicsMTLDriver + 270222) [0x7ffa1b48bf8e]
                                                                                        1   IntelStateHeaps::initialize() + 72 (AppleIntelBDWGraphicsMTLDriver + 251790) [0x7ffa1b48778e]
                                                                                          1   objc_msgSend + 46 (libobjc.A.dylib + 29230) [0x7ff80b0f122e]
                                                                                            1   <User mode>
                                                                                    1   -[MTLIGAccelRenderCommandEncoder initWithCommandBuffer:descriptor:stateDescriptor:] + 188 (AppleIntelBDWGraphicsMTLDriver + 228780) [0x7ffa1b481dac]
                                                                                      1   IGAccelRenderCommandEncoder::IGAccelRenderCommandEncoder(IGContextStateDescriptor*, FenceGroupPool&) + 1203 (AppleIntelBDWGraphicsMTLDriver + 269227) [0x7ffa1b48bbab]
                                                                                        1   <User mode>
                                                                              1   SetDrawState + 803 (libSDL2-2.0.0.dylib + 1890659) [0x10a00f963]
                                                                                1   -[METAL_RenderData mtlcmdencoder] + 4 (libSDL2-2.0.0.dylib + 1855924) [0x10a0071b4]
                                                                                  1   <User mode>
                                                                      1   SDL_SetRenderTarget_REAL + 568 (libSDL2-2.0.0.dylib + 406152) [0x109ea5288]
                                                                        1   METAL_SetRenderTarget + 198 (libSDL2-2.0.0.dylib + 1873238) [0x10a00b556]
                                                                          1   -[MTLIGAccelCommandBuffer commit] + 255 (AppleIntelBDWGraphicsMTLDriver + 343036) [0x7ffa1b49dbfc]
                                                                            1   -[MTLIOAccelCommandBuffer commit] + 200 (Metal + 141878) [0x7ff813c29a36]
                                                                              1   -[_MTLCommandQueue commitCommandBuffer:wake:] + 245 (Metal + 142692) [0x7ff813c29d64]
                                                                                1   _dispatch_event_loop_poke + 374 (libdispatch.dylib + 136297) [0x7ff80b0c4469]
                                                                                  1   kevent_id + 10 (libsystem_kernel.dylib + 12386) [0x7ff80b223062]
                                                                3   ??? (The Battle for Wesnoth + 7953500) [0x108d28c5c]
                                                                  3   SDL_RenderPresent + 25 (libSDL2-2.0.0.dylib + 137769) [0x109e63a29]
                                                                    2   SDL_RenderPresent_REAL + 85 (libSDL2-2.0.0.dylib + 435477) [0x109eac515]
                                                                      2   FlushRenderCommands + 361 (libSDL2-2.0.0.dylib + 383561) [0x109e9fa49]
                                                                        1   METAL_RunCommandQueue + 1429 (libSDL2-2.0.0.dylib + 1876709) [0x10a00c2e5]
                                                                          1   SetCopyState + 192 (libSDL2-2.0.0.dylib + 1891520) [0x10a00fcc0]
                                                                            1   SetDrawState + 155 (libSDL2-2.0.0.dylib + 1890011) [0x10a00f6db]
                                                                              1   METAL_ActivateRenderCommandEncoder + 350 (libSDL2-2.0.0.dylib + 1887790) [0x10a00ee2e]
                                                                                1   -[CAMetalLayer nextDrawable] + 1357 (QuartzCore + 76869) [0x7ff8123e8c45]
                                                                                  1   layer_private_cleanup_callbacks(_CAMetalLayerPrivate*) + 408 (QuartzCore + 64170) [0x7ff8123e5aaa]
                                                                                    1   -[__NSArrayM count] + 1 (CoreFoundation + 133492) [0x7ff80b2c5974]
                                                                                      1   <User mode>
                                                                        1   METAL_RunCommandQueue + 233 (libSDL2-2.0.0.dylib + 1875513) [0x10a00be39]
                                                                          1   -[MTLIGAccelDevice newBufferWithLength:options:] + 217 (AppleIntelBDWGraphicsMTLDriver + 106728) [0x7ffa1b4640e8]
                                                                            1   -[MTLIGAccelBuffer initWithDevice:pointer:length:options:sysMemSize:vidMemSize:args:argsSize:deallocator:] + 108 (AppleIntelBDWGraphicsMTLDriver + 347577) [0x7ffa1b49edb9]
                                                                              1   -[MTLIOAccelBuffer initWithDevice:pointer:length:options:sysMemSize:vidMemSize:args:argsSize:deallocator:] + 383 (Metal + 39102) [0x7ff813c108be]
                                                                                1   -[MTLIOAccelResource initWithDevice:options:args:argsSize:] + 36 (Metal + 39635) [0x7ff813c10ad3]
                                                                                  1   -[MTLIOAccelResource initWithDevice:remoteStorageResource:options:args:argsSize:] + 542 (Metal + 40183) [0x7ff813c10cf7]
                                                                                    1   IOAccelResourceCreate + 138 (IOAccelerator + 8863) [0x7ff813c0029f]
                                                                                      1   IOConnectCallMethod + 244 (IOKit + 26819) [0x7ff80dc118c3]
                                                                                        1   io_connect_method + 387 (IOKit + 27260) [0x7ff80dc11a7c]
                                                                                          1   mach_msg_trap + 10 (libsystem_kernel.dylib + 6458) [0x7ff80b22193a]
                                                                    1   SDL_RenderPresent_REAL + 102 (libSDL2-2.0.0.dylib + 435494) [0x109eac526]
                                                                      1   METAL_RenderPresent + 286 (libSDL2-2.0.0.dylib + 1878414) [0x10a00c98e]
                                                                        1   -[MTLIGAccelRenderCommandEncoder endEncoding] + 348 (AppleIntelBDWGraphicsMTLDriver + 229812) [0x7ffa1b4821b4]
                                                                          1   madvise + 10 (libsystem_kernel.dylib + 15226) [0x7ff80b223b7a]
                                                                1   ??? (The Battle for Wesnoth + 7952445) [0x108d2883d]
                                                                  1   SDL_RenderSetLogicalSize + 37 (libSDL2-2.0.0.dylib + 136485) [0x109e63525]
                                                                    1   SDL_RenderSetLogicalSize_REAL + 215 (libSDL2-2.0.0.dylib + 407831) [0x109ea5917]
                                                                      1   UpdateLogicalSize + 132 (libSDL2-2.0.0.dylib + 408132) [0x109ea5a44]
                                                                        1   SDL_GetHint_REAL + 45 (libSDL2-2.0.0.dylib + 20013) [0x109e46e2d]
                                                                          1   SDL_getenv_REAL + 61 (libSDL2-2.0.0.dylib + 767709) [0x109efd6dd]
                                                                            1   os_unfair_lock_lock_with_options + 14 (libsystem_platform.dylib + 4110) [0x7ff80b27100e]
                                                                              1   <User mode>
                                                              6   ??? (The Battle for Wesnoth + 869179) [0x10866733b]
                                                                6   ??? (The Battle for Wesnoth + 869749) [0x108667575]
                                                                  6   ??? (The Battle for Wesnoth + 3471863) [0x1088e29f7]
                                                                    3   ??? (The Battle for Wesnoth + 2219033) [0x1087b0c19]
                                                                      3   ??? (The Battle for Wesnoth + 2197629) [0x1087ab87d]
                                                                        3   ??? (The Battle for Wesnoth + 3472014) [0x1088e2a8e]
                                                                          2   ??? (The Battle for Wesnoth + 2225267) [0x1087b2473]
                                                                            2   ??? (The Battle for Wesnoth + 3472551) [0x1088e2ca7]
                                                                              1   ??? (The Battle for Wesnoth + 2226651) [0x1087b29db]
                                                                                1   operator new(unsigned long) + 26 (libc++abi.dylib + 72026) [0x7ff80b21b95a]
                                                                                  1   _malloc_zone_malloc + 125 (libsystem_malloc.dylib + 121531) [0x7ff80b094abb]
                                                                                    1   nanov2_malloc + 56 (libsystem_malloc.dylib + 5540) [0x7ff80b0785a4]
                                                                                      1   nanov2_allocate + 130 (libsystem_malloc.dylib + 5751) [0x7ff80b078677]
                                                                                        1   nanov2_allocate_from_block + 292 (libsystem_malloc.dylib + 8134) [0x7ff80b078fc6]
                                                                                          1   <User mode>
                                                                              1   ??? (The Battle for Wesnoth + 2226172) [0x1087b27fc]
                                                                                1   DYLD-STUB$$_platform_memcmp + 0 (libsystem_platform.dylib + 32994) [0x7ff80b2780e2]
                                                                                  1   <User mode>
                                                                          1   ??? (The Battle for Wesnoth + 2225680) [0x1087b2610]
                                                                            1   ??? (The Battle for Wesnoth + 866266) [0x1086667da]
                                                                              1   SDL_UnionRect + 41 (libSDL2-2.0.0.dylib + 135113) [0x109e62fc9]
                                                                                1   SDL_UnionRect_REAL + 660 (libSDL2-2.0.0.dylib + 1247348) [0x109f72874]
                                                                                  1   <User mode>
                                                                    2   ??? (The Battle for Wesnoth + 2219025) [0x1087b0c11]
                                                                      2   ??? (The Battle for Wesnoth + 543312) [0x108617a50]
                                                                        2   ??? (The Battle for Wesnoth + 542350) [0x10861768e]
                                                                          2   ??? (The Battle for Wesnoth + 7951574) [0x108d284d6]
                                                                            2   SDL_SetRenderTarget + 33 (libSDL2-2.0.0.dylib + 136401) [0x109e634d1]
                                                                              1   SDL_SetRenderTarget_REAL + 277 (libSDL2-2.0.0.dylib + 405861) [0x109ea5165]
                                                                                1   FlushRenderCommands + 361 (libSDL2-2.0.0.dylib + 383561) [0x109e9fa49]
                                                                                  1   METAL_RunCommandQueue + 353 (libSDL2-2.0.0.dylib + 1875633) [0x10a00beb1]
                                                                                    1   -[METAL_RenderData mtlcmdencoder] + 16 (libSDL2-2.0.0.dylib + 1855936) [0x10a0071c0]
                                                                                      1   <User mode>
                                                                              1   FlushRenderCommands + 0 (libSDL2-2.0.0.dylib + 383200) [0x109e9f8e0]
                                                                                1   <User mode>
                                                                    1   ??? (The Battle for Wesnoth + 2219401) [0x1087b0d89]
                                                                      1   ??? (The Battle for Wesnoth + 542510) [0x10861772e]
                                                                        1   ??? (The Battle for Wesnoth + 7951574) [0x108d284d6]
                                                                          1   SDL_SetRenderTarget + 33 (libSDL2-2.0.0.dylib + 136401) [0x109e634d1]
                                                                            1   SDL_SetRenderTarget_REAL + 277 (libSDL2-2.0.0.dylib + 405861) [0x109ea5165]
                                                                              1   FlushRenderCommands + 361 (libSDL2-2.0.0.dylib + 383561) [0x109e9fa49]
                                                                                1   METAL_RunCommandQueue + 233 (libSDL2-2.0.0.dylib + 1875513) [0x10a00be39]
                                                                                  1   -[MTLIGAccelDevice newBufferWithLength:options:] + 217 (AppleIntelBDWGraphicsMTLDriver + 106728) [0x7ffa1b4640e8]
                                                                                    1   -[MTLIGAccelBuffer initWithDevice:pointer:length:options:sysMemSize:vidMemSize:args:argsSize:deallocator:] + 108 (AppleIntelBDWGraphicsMTLDriver + 347577) [0x7ffa1b49edb9]
                                                                                      1   -[MTLIOAccelBuffer initWithDevice:pointer:length:options:sysMemSize:vidMemSize:args:argsSize:deallocator:] + 383 (Metal + 39102) [0x7ff813c108be]
                                                                                        1   -[MTLIOAccelResource initWithDevice:options:args:argsSize:] + 36 (Metal + 39635) [0x7ff813c10ad3]
                                                                                          1   -[MTLIOAccelResource initWithDevice:remoteStorageResource:options:args:argsSize:] + 542 (Metal + 40183) [0x7ff813c10cf7]
                                                                                            1   IOAccelResourceCreate + 138 (IOAccelerator + 8863) [0x7ff813c0029f]
                                                                                              1   IOConnectCallMethod + 244 (IOKit + 26819) [0x7ff80dc118c3]
                                                                                                1   io_connect_method + 387 (IOKit + 27260) [0x7ff80dc11a7c]
                                                                                                  1   mach_msg_trap + 10 (libsystem_kernel.dylib + 6458) [0x7ff80b22193a]
                                                              5   ??? (The Battle for Wesnoth + 869184) [0x108667340]
                                                                5   ??? (The Battle for Wesnoth + 870689) [0x108667921]
                                                                  2   ??? (The Battle for Wesnoth + 2221806) [0x1087b16ee]
                                                                    1   ??? (The Battle for Wesnoth + 2259589) [0x1087baa85]
                                                                      1   <User mode>
                                                                    1   ??? (The Battle for Wesnoth + 2259418) [0x1087ba9da]
                                                                      1   ??? (The Battle for Wesnoth + 156116) [0x1085b91d4]
                                                                        1   _platform_memcmp$VARIANT$Base + 307 (libsystem_platform.dylib + 7507) [0x7ff80b271d53]
                                                                  1   ??? (The Battle for Wesnoth + 8029829) [0x108d3b685]
                                                                    1   ??? (The Battle for Wesnoth + 8029937) [0x108d3b6f1]
                                                                      1   ??? (The Battle for Wesnoth + 7068954) [0x108c50d1a]
                                                                        1   ??? (The Battle for Wesnoth + 6250904) [0x108b89198]
                                                                          1   ??? (The Battle for Wesnoth + 5504538) [0x108ad2e1a]
                                                                            1   ??? (The Battle for Wesnoth + 5502312) [0x108ad2568]
                                                                              1   ??? (The Battle for Wesnoth + 5512694) [0x108ad4df6]
                                                                                1   pango_layout_get_pixel_extents + 120 (libpango-1.0.0.dylib + 159896) [0x109a53098]
                                                                                  1   pango_layout_get_extents_internal + 47 (libpango-1.0.0.dylib + 158527) [0x109a52b3f]
                                                                                    1   pango_layout_check_lines + 197 (libpango-1.0.0.dylib + 134549) [0x109a4cd95]
                                                                                      1   pango_attr_list_filter + 174 (libpango-1.0.0.dylib + 95310) [0x109a4344e]
                                                                                        1   ptr_array_remove_index + 90 (libglib-2.0.0.dylib + 33658) [0x109bac37a]
                                                                                          1   <User mode>
                                                                  1   ??? (The Battle for Wesnoth + 2221818) [0x1087b16fa]
                                                                    1   SDL_HasIntersection + 16 (libSDL2-2.0.0.dylib + 134992) [0x109e62f50]
                                                                  1   ??? (The Battle for Wesnoth + 2219970) [0x1087b0fc2]
                                                                    1   ??? (The Battle for Wesnoth + 6884999) [0x108c23e87]
                                                                      1   <User mode>
                                                              5   ??? (The Battle for Wesnoth + 869105) [0x1086672f1]
                                                                4   ??? (The Battle for Wesnoth + 3482415) [0x1088e532f]
                                                                  2   ??? (The Battle for Wesnoth + 2218384) [0x1087b0990]
                                                                    1   ??? (The Battle for Wesnoth + 7243975) [0x108c7b8c7]
                                                                      1   ??? (The Battle for Wesnoth + 7311804) [0x108c8c1bc]
                                                                        1   ??? (The Battle for Wesnoth + 2211043) [0x1087aece3]
                                                                          1   ??? (The Battle for Wesnoth + 2192687) [0x1087aa52f]
                                                                            1   ??? (The Battle for Wesnoth + 2192811) [0x1087aa5ab]
                                                                              1   <User mode>
                                                                    1   ??? (The Battle for Wesnoth + 7243959) [0x108c7b8b7]
                                                                      1   free + 29 (libsystem_malloc.dylib + 8455) [0x7ff80b079107]
                                                                        1   <User mode>
                                                                  2   ??? (The Battle for Wesnoth + 2217571) [0x1087b0663]
                                                                    1   ??? (The Battle for Wesnoth + 6765048) [0x108c069f8]
                                                                      1   <User mode>
                                                                    1   ??? (The Battle for Wesnoth + 6764972) [0x108c069ac]
                                                                1   ??? (The Battle for Wesnoth + 3482583) [0x1088e53d7]
                                                                  1   ??? (The Battle for Wesnoth + 2236998) [0x1087b5246]
                                                                    1   ??? (The Battle for Wesnoth + 2259434) [0x1087ba9ea]
                                                                      1   <User mode>
                                                            1   ??? (The Battle for Wesnoth + 8429819) [0x108d9d0fb]
                                                              1   <User mode>
                                                            1   ??? (The Battle for Wesnoth + 1842113) [0x108754bc1]
                                                              1   ??? (The Battle for Wesnoth + 2762602) [0x10883576a]
                                                                1   SDL_PollEvent + 25 (libSDL2-2.0.0.dylib + 128313) [0x109e61539]
                                                                  1   SDL_PollEvent_REAL + 23 (libSDL2-2.0.0.dylib + 225783) [0x109e791f7]
                                                                    1   SDL_WaitEventTimeout_REAL + 91 (libSDL2-2.0.0.dylib + 225883) [0x109e7925b]
                                                                      1   SDL_PumpEventsInternal + 67 (libSDL2-2.0.0.dylib + 225555) [0x109e79113]
                                                                        1   Cocoa_PumpEvents + 78 (libSDL2-2.0.0.dylib + 1762238) [0x109ff03be]
                                                                          1   Cocoa_PumpEventsUntilDate + 92 (libSDL2-2.0.0.dylib + 1761596) [0x109ff013c]
                                                                            1   -[NSApplication(NSEvent) nextEventMatchingMask:untilDate:inMode:dequeue:] + 11 (AppKit + 248813) [0x7ff80dd5fbed]
                                                                              1   <User mode>
  12  start_wqthread + 0 (libsystem_pthread.dylib + 8008) [0x7ff80b259f48]
    1   <Effective Thread QoS Background, Requested Thread QoS Background>
  9   start_wqthread + 15 (libsystem_pthread.dylib + 8023) [0x7ff80b259f57]
    9   _pthread_wqthread + 326 (libsystem_pthread.dylib + 12240) [0x7ff80b25afd0]
      9   _dispatch_workloop_worker_thread + 753 (libdispatch.dylib + 81646) [0x7ff80b0b6eee]
        9   _dispatch_lane_invoke + 366 (libdispatch.dylib + 40445) [0x7ff80b0acdfd]
          9   _dispatch_lane_serial_drain + 342 (libdispatch.dylib + 37325) [0x7ff80b0ac1cd]
            8   _dispatch_source_invoke + 2179 (libdispatch.dylib + 94728) [0x7ff80b0ba208]
              7   _dispatch_continuation_pop + 453 (libdispatch.dylib + 23932) [0x7ff80b0a8d7c]
                7   _dispatch_client_callout + 8 (libdispatch.dylib + 13079) [0x7ff80b0a6317]
                  4   dispatch_mig_server + 360 (libdispatch.dylib + 120988) [0x7ff80b0c089c]
                    4   _IODispatchCalloutWithDispatch + 33 (IOKit + 35484) [0x7ff80dc13a9c]
                      4   IODispatchCalloutFromCFMessage + 367 (IOKit + 35867) [0x7ff80dc13c1b]
                        4   ioAccelCommandQueueBlockFenceCallback + 44 (IOAccelerator + 12512) [0x7ff813c010e0]
                          2   -[_MTLCommandQueue commandBufferDidComplete:startTime:completionTime:error:] + 148 (Metal + 146241) [0x7ff813c2ab41]
                            2   -[MTLIOAccelCommandBuffer didCompleteWithStartTime:endTime:error:] + 104 (Metal + 146551) [0x7ff813c2ac77]
                              2   MTLIOAccelCommandBufferStorageDealloc + 103 (Metal + 147437) [0x7ff813c2afed]
                                2   MTLIOAccelCommandBufferStorageReleaseAllResources + 168 (Metal + 176234) [0x7ff813c3206a]
                                  2   -[MTLResourceList releaseAllObjectsAndReset] + 112 (Metal + 147851) [0x7ff813c2b18b]
                                    2   -[MTLIOAccelBuffer dealloc] + 333 (Metal + 167231) [0x7ff813c2fd3f]
                                      2   -[MTLIOAccelResource dealloc] + 278 (Metal + 167522) [0x7ff813c2fe62]
                                        2   _CFRelease + 244 (CoreFoundation + 1364038) [0x7ff80b3f2046]
                                          2   ioAccelResourceFinalize + 165 (IOAccelerator + 10639) [0x7ff813c0098f]
                                            2   IOConnectCallMethod + 186 (IOKit + 26761) [0x7ff80dc11889]
                                              2   io_connect_method + 387 (IOKit + 27260) [0x7ff80dc11a7c]
                                                2   mach_msg_trap + 10 (libsystem_kernel.dylib + 6458) [0x7ff80b22193a]
                          1   -[_MTLCommandQueue commandBufferDidComplete:startTime:completionTime:error:] + 190 (Metal + 146283) [0x7ff813c2ab6b]
                            1   -[NSMutableArray removeObject:] + 30 (CoreFoundation + 464667) [0x7ff80b31671b]
                          1   -[_MTLCommandBuffer didScheduleWithStartTime:endTime:error:] + 304 (Metal + 145642) [0x7ff813c2a8ea]
                            1   MTLDispatchListApply + 34 (Metal + 145810) [0x7ff813c2a992]
                              1   -[CAMetalDrawable present] + 515 (QuartzCore + 87155) [0x7ff8123eb473]
                                1   layer_private_present_impl(_CAMetalLayerPrivate*, CAMetalDrawable*, double, unsigned int) + 1612 (QuartzCore + 89384) [0x7ff8123ebd28]
                                  1   -[CAMetalDrawable didScheduledPresent] + 236 (QuartzCore + 90030) [0x7ff8123ebfae]
                                    1   -[__NSArrayM removeAllObjects] + 232 (CoreFoundation + 503521) [0x7ff80b31fee1]
                                      1   _Block_release + 78 (libsystem_blocks.dylib + 5664) [0x7ff80af8f620]
                                        1   <User mode>
                  2   -[_MTLCommandQueue _submitAvailableCommandBuffers] + 940 (Metal + 143939) [0x7ff813c2a243]
                    2   -[MTLIOAccelCommandQueue submitCommandBuffers:count:] + 655 (Metal + 144852) [0x7ff813c2a5d4]
                      2   IOAccelCommandQueueSubmitCommandBuffers + 142 (IOAccelerator + 12417) [0x7ff813c01081]
                        2   IOConnectCallMethod + 186 (IOKit + 26761) [0x7ff80dc11889]
                          2   io_connect_method + 387 (IOKit + 27260) [0x7ff80dc11a7c]
                            2   mach_msg_trap + 10 (libsystem_kernel.dylib + 6458) [0x7ff80b22193a]
                  1   dispatch_mig_server + 220 (libdispatch.dylib + 120848) [0x7ff80b0c0810]
                    1   mach_msg_trap + 10 (libsystem_kernel.dylib + 6458) [0x7ff80b22193a]
              1   _dispatch_continuation_pop + 460 (libdispatch.dylib + 23939) [0x7ff80b0a8d83]
                1   <User mode>
            1   _dispatch_source_invoke + 653 (libdispatch.dylib + 93202) [0x7ff80b0b9c12]
              1   <User mode>

  Binary Images:
           0x108593000 -        0x10915efff  org.wesnoth.Wesnoth 1.18.5 (39)                                  <79FFE987-E41E-3034-AA22-EC344F8DB76B>  /Applications/The Battle for Wesnoth.app/Contents/MacOS/The Battle for Wesnoth
           0x109a2c000 -        0x109a83fff  libpango-1.0.0.dylib (0)                                         <0E998EF6-5558-3E9D-9687-89A3EDEFF204>  /Applications/The Battle for Wesnoth.app/Contents/Frameworks/libpango-1.0.0.dylib
           0x109ba4000 -        0x109cbffff  libglib-2.0.0.dylib (0)                                          <4BE03464-55DD-3A55-80E0-AA7176878082>  /Applications/The Battle for Wesnoth.app/Contents/Frameworks/libglib-2.0.0.dylib
           0x109e42000 -        0x10a097fff  libSDL2-2.0.0.dylib (0)                                          <CFB6E611-7F5D-3987-9C39-01C3B38FFE89>  /Applications/The Battle for Wesnoth.app/Contents/Frameworks/libSDL2-2.0.0.dylib
           0x114be4000 -        0x114c67fff  dyld (960)                                                       <EEA022BB-A6AB-3CD1-8AC1-54CE8CFD3333>  /usr/lib/dyld
        0x7ff80af8e000 -     0x7ff80af8ffff  libsystem_blocks.dylib (79.1)                                    <F44F0D7C-74FD-37FD-8267-8D3AEC7E7FB8>  /usr/lib/system/libsystem_blocks.dylib
        0x7ff80b077000 -     0x7ff80b0a2fff  libsystem_malloc.dylib (374.120.1)                               <0FF21147-73CD-36DC-99E9-606217A75B77>  /usr/lib/system/libsystem_malloc.dylib
        0x7ff80b0a3000 -     0x7ff80b0e9fff  libdispatch.dylib (1325.120.2)                                   <37860D89-D337-3140-8973-AC199ACBC361>  /usr/lib/system/libdispatch.dylib
        0x7ff80b0ea000 -     0x7ff80b124fff  libobjc.A.dylib (841.13.1)                                       <B36A2B52-68A9-3E44-B927-71C24BE1272F>  /usr/lib/libobjc.A.dylib
        0x7ff80b20a000 -     0x7ff80b21ffff  libc++abi.dylib (1300.36)                                        <69AC868B-1157-364A-984A-5EF26973F661>  /usr/lib/libc++abi.dylib
        0x7ff80b220000 -     0x7ff80b257fff  libsystem_kernel.dylib (8020.240.18.709.2)                       <2FE67E94-4A5E-3506-9E02-502F7270F7EF>  /usr/lib/system/libsystem_kernel.dylib
        0x7ff80b258000 -     0x7ff80b263fff  libsystem_pthread.dylib (486.100.11.701.1)                       <5A5F7316-85B7-315E-BAF3-76211EE65604>  /usr/lib/system/libsystem_pthread.dylib
        0x7ff80b270000 -     0x7ff80b279fff  libsystem_platform.dylib (273.100.5)                             <81A897B2-8752-3F99-833E-DA16FFA9FA58>  /usr/lib/system/libsystem_platform.dylib
        0x7ff80b2a5000 -     0x7ff80b7a7fff  com.apple.CoreFoundation 6.9 (1866)                              <FDD28505-5456-3C40-A5BA-7890B064DB39>  /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
        0x7ff80c122000 -     0x7ff80c4defff  com.apple.Foundation 6.9 (1866)                                  <61133096-D5F9-34BD-94B1-1E526EA018B1>  /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
        0x7ff80dc0b000 -     0x7ff80dcc4fff  com.apple.framework.IOKit 2.0.2 (1955.140.2.700.1)               <60DD5A89-5E30-3734-A96D-FCD1D883C531>  /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
        0x7ff80dd23000 -     0x7ff80ebb2fff  com.apple.AppKit 6.9 (2113.65.150)                               <5DD484CF-ED6A-3633-B42E-6518AEECD5B9>  /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
        0x7ff8119d5000 -     0x7ff811a42fff  com.apple.AE 924 (924)                                           <C09D861B-C469-3B3D-A781-B750D787AC4F>  /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
        0x7ff8123d6000 -     0x7ff8126e8fff  com.apple.QuartzCore 1.11 (964.39)                               <5CA19B57-9C18-302F-A989-BB743CD76E00>  /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
        0x7ff813bfe000 -     0x7ff813c06fff  com.apple.IOAccelerator 462.9 (462.9)                            <C4CA56D1-7A38-3B2F-ABB2-40DCD2DBED30>  /System/Library/PrivateFrameworks/IOAccelerator.framework/Versions/A/IOAccelerator
        0x7ff813c07000 -     0x7ff813d47fff  com.apple.Metal 263.9 (263.9)                                    <897146FA-23D8-360F-947A-39DA1A520FD8>  /System/Library/Frameworks/Metal.framework/Versions/A/Metal
        0x7ff813fa7000 -     0x7ff81429afff  com.apple.HIToolbox 2.1.1 (1114.1)                               <913D3D2E-4E4C-3907-98FE-8F4ABD551297>  /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
        0x7ffa1b44a000 -     0x7ffa1b551fff  com.apple.driver.AppleIntelBDWGraphicsMTLDriver 18.8.16 (18.0.8) <4B75CAAF-08B4-371E-8E69-658C262505E3>  /System/Library/Extensions/AppleIntelBDWGraphicsMTLDriver.bundle/Contents/MacOS/AppleIntelBDWGraphicsMTLDriver
Last edited by yogicbrewer on July 31st, 2025, 12:13 am, edited 1 time in total.
yogicbrewer
Posts: 31
Joined: December 29th, 2009, 12:42 am

ADDED INFO Re: Crashy Bug on Mac OS, maybe a memory leak

Post by yogicbrewer »

ADDITIONAL INFO
Ran "Activity Monitor" app, and got these reports and screen shots.
Due to your site's file size restraints, I had to post the scan outcome here: https://www.filemail.com/d/qpozgxlzkujgnuc
Aside from the diagnostic file created there is an empty folder called kernel_panics which doesn't have any hidden files and is zero bytes in size.
CPU use Activity Monitor.png
Activity Monitor Energy.png
Activity Monitor MEMORY.png
yogicbrewer
Posts: 31
Joined: December 29th, 2009, 12:42 am

Re: Crashy Bug on Mac OS, maybe a memory leak

Post by yogicbrewer »

gnombat wrote: June 1st, 2025, 9:23 am Note that the cause of this issue has possibly been identified and fixed already (and the fix should be in the next release).

https://github.com/wesnoth/wesnoth/issues/10031
In fact it has not. See parent thread for update.
Soliton
Site Administrator
Posts: 1755
Joined: April 5th, 2005, 3:25 pm
Location: #wesnoth-mp

Re: Crashy Bug on Mac OS, maybe a memory leak

Post by Soliton »

The activity monitor screenshot shows a memory usage of less than 250MB. That's basically nothing. No idea what file you uploaded there. Without any hint I'm not going to download it.

You can see in the linked issue that a memory leak has been fixed. There might certainly be more but without any info on it there isn't really much to do.
"If gameplay requires it, they can be made to live on Venus." -- scott
yogicbrewer
Posts: 31
Joined: December 29th, 2009, 12:42 am

Re: Crashy Bug on Mac OS, maybe a memory leak

Post by yogicbrewer »

<The activity monitor screenshot shows a memory usage of less than 250MB. That's basically nothing.>
What about the CPU usage and energy usage? All three, not just memory are exceptionally high compared to all other processes. Perhaps you could talk to somebody who is familiar with Macs and ask them.

<No idea what file you uploaded there. Without any hint I'm not going to download it.>
As I said above, the file you're afraid to download ("Due to your site's file size restraints, I had to post the scan outcome here: https://www.filemail.com/d/qpozgxlzkujgnuc") was the report from the "Activity Monitor" app. It might well have a hint as to what's going on.

Again, perhaps somebody familiar with Macs could give you some guidance on the matter.

<You can see in the linked issue that a memory leak has been fixed.>
So it was thought. I suppose there's no possibility that another exists. Is that your point?
Soliton
Site Administrator
Posts: 1755
Joined: April 5th, 2005, 3:25 pm
Location: #wesnoth-mp

Re: Crashy Bug on Mac OS, maybe a memory leak

Post by Soliton »

yogicbrewer wrote: August 1st, 2025, 7:46 am <The activity monitor screenshot shows a memory usage of less than 250MB. That's basically nothing.>
What about the CPU usage and energy usage? All three, not just memory are exceptionally high compared to all other processes. Perhaps you could talk to somebody who is familiar with Macs and ask them.
What about the CPU and energy usage?

If you have a mac expert that can explain how normal memory usage is related to a memory leak that might be helpful.
yogicbrewer wrote: August 1st, 2025, 7:46 am <No idea what file you uploaded there. Without any hint I'm not going to download it.>
As I said above, the file you're afraid to download ("Due to your site's file size restraints, I had to post the scan outcome here: https://www.filemail.com/d/qpozgxlzkujgnuc") was the report from the "Activity Monitor" app. It might well have a hint as to what's going on.

Again, perhaps somebody familiar with Macs could give you some guidance on the matter.
I'm going to guess it's an export of a process analysis? You have no idea how you got it? What menu entry you clicked? I'll wait for the mac expert to explain to be sure.
yogicbrewer wrote: August 1st, 2025, 7:46 am <You can see in the linked issue that a memory leak has been fixed.>
So it was thought. I suppose there's no possibility that another exists. Is that your point?
If you read the next sentence there is most certainly the possibility for another leak to exist. Hence why the linked issue being fixed does not mean that there are none left.

If you're interested in further leaks being found and fixed feel free to report related info. Note that if it does not involve a lot of memory being used it is very unlikely to be related.
"If gameplay requires it, they can be made to live on Venus." -- scott
Post Reply