2025-07-21 23:44 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0002424Spring engineAIpublic2011-06-09 18:36
Reporterhoijui 
Assigned ToKloot 
PrioritylowSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
Product Version0.82.7+git 
Target VersionFixed in Version0.82.7+git 
Summary0002424: (master) KAIK: failed handling event with topic 3, error: -2
Descriptionexact message:
[f=0000060] Warning: AI for team 1 (ID: 0) failed handling event with topic 3, error: -2

Topic 3 is UPDATE, and -2 means that an uncaught exception was thrown.
It fails to handle the UPDATE event every 15th frame.
i guess the problem is either in (`grep -r "% 15"`):
UnitHandler.cpp:79 "make sure that all the builders are in action"
BuildUp.cpp:33 "thread map update"
Steps To Reproducestart a game with latest BA on spring master with the KAIK test script.
(i used Brazillian Battlefield as map)
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files
  • txt file icon infolog.txt (22,141 bytes) 2011-05-10 13:09 -
    LogOutput initialized.
    Spring 0.82+.4.0 (Debug)
    Build date/time: Apr  7 2011 11:28:54
    Available log subsystems: Texture, Piece-detail, Piece, Model-detail, Model, CollisionVolume, unit, VFS-detail, VFS, ArchiveScanner, Sound
    Enabled log subsystems: Sound
    Enable or disable log subsystems using the LogSubsystems configuration key
      or the SPRING_LOG_SUBSYSTEMS environment variable (both comma separated).
      Use "none" to disable the default log subsystems.
    using default configuration source "/home/userX/.springrc"
    [CMyMath::Init] CPU SSE mask: 888, flags:
    	SSE 1.0:  1,  SSE 2.0:  1
    	SSE 3.0:  1, SSSE 3.0:  0
    	SSE 4.1:  0,  SSE 4.2:  0
    	SSE 4.0A: 1,  SSE 5.0A: 0
    	using streflop SSE FP-math mode, CPU supports SSE instructions
    OS: Linux 2.6.34-gentoo-r12 #2 SMP Sat Nov 13 15:48:33 CET 2010 x86_64
    OS: 64bit native mode
    Adding /home/userX/Projects/spring/installs/cmake/master/linux64/debug/ to directories
    Adding /home/userX/.spring/ to directories
    Skipping already added directory /home/userX/Projects/spring/installs/cmake/master/linux64/debug/
    Using read-write data directory: /home/userX/Projects/spring/installs/cmake/master/linux64/debug/
    Using read-only data directory: /home/userX/.spring/
    Scanning: /home/userX/.spring/maps
    Scanning: /home/userX/.spring/mods
    Scanning: /home/userX/.spring/packages
    Scanning: /home/userX/Projects/spring/installs/cmake/master/linux64/debug/base
    Scanning: /home/userX/Projects/spring/installs/cmake/master/linux64/debug/mods
    Supported Video modes: 1280x1024, 1280x960, 1152x864, 1024x768, 960x720, 928x696, 896x672, 832x624, 800x600, 720x400, 700x525, 640x512, 640x480, 640x400, 640x350, 576x432, 512x384, 416x312, 400x300, 360x200, 320x240, 320x200, 320x175
    Video mode set to 1024x768/32bit (windowed)
    [f=0000000] SDL:  1.2.13
    [f=0000000] GL:   3.2.0 NVIDIA 195.36.31
    [f=0000000] GL:   NVIDIA Corporation
    [f=0000000] GL:   GeForce GT 220/PCI/SSE2
    [f=0000000] GLSL: 1.50 NVIDIA via Cg compiler
    [f=0000000] GLEW: 1.5.1
    [f=0000000] Joysticks found: 0
    [f=0000000] Joystick 0 not found
    [f=0000000] [Watchdog] disabled (gdb detected)
    [f=0000000] [Sound] OpenAL info:
    [f=0000000] [Sound]   Available Devices:
    [f=0000000] [Sound]               ALSA Software
    [f=0000000] [Sound]   Device:     ALSA Software
    [f=0000000] [Sound]   Vendor:     OpenAL Community
    [f=0000000] [Sound]   Version:    1.1 ALSOFT 1.11.753
    [f=0000000] [Sound]   Renderer:   OpenAL Soft
    [f=0000000] [Sound]   AL Extensions:  AL_EXTX_buffer_sub_data AL_EXT_EXPONENT_DISTANCE AL_EXT_FLOAT32 AL_EXT_IMA4 AL_EXT_LINEAR_DISTANCE AL_EXT_MCFORMATS AL_EXT_OFFSET AL_EXTX_sample_buffer_object AL_EXT_source_distance_model AL_LOKI_quadriphonic
    [f=0000000] [Sound]   ALC Extensions: ALC_ENUMERATE_ALL_EXT ALC_ENUMERATION_EXT ALC_EXT_CAPTURE ALC_EXT_disconnect ALC_EXT_EFX ALC_EXTX_thread_local_context
    [f=0000000] [Sound]   EFX Enabled: no
    [f=0000000] [Sound]   Max Sounds: 96
    [f=0000000] Connecting to local server
    [f=0000000] WARNING: Duplicate Skirmish AI Info found:
    [f=0000000] 	for Skirmish AI: E323AI 3.25.0
    [f=0000000] 	in files:
    [f=0000000] 	/home/userX/Projects/spring/installs/cmake/master/linux64/debug/AI/Skirmish/E323AI/3.24.0/AIInfo.lua
    [f=0000000] 	/home/userX/Projects/spring/installs/cmake/master/linux64/debug/AI/Skirmish/E323AI/3.25.0/AIInfo.lua
    [f=0000000] 	using: /home/userX/Projects/spring/installs/cmake/master/linux64/debug/AI/Skirmish/E323AI/3.25.0/AIInfo.lua
    [f=0000000] Starting GameServer: 20 ms
    [f=0000000] Starting demo recording
    [f=0000000] Using map: Brazillian_Battlefield_Remake_V2
    [f=0000000] Using game: Balanced Annihilation V7.31 V7.31 SDD
    [f=0000000] Using game archive: BA731SD.sdd
    [f=0000000] recording demo: demos/20110510_125719_Brazillian_Battlefield_Remake_V2_0.82+.4.sdf
    [f=0000000] Loading client data: 115 ms
    [f=0000000] User number 0 (team 0, allyteam 0)
    [f=0000000] Loading Radar Icons
    [f=0000000] Loading GameData Definitions
    [f=0000000] Loading all definitions:  0.547000
    [f=0000000] Loading GameData Definitions: 638 ms
    [f=0000000] Loading Sound Definitions
    [f=0000000] [Sound]  parsed 25 sounds from gamedata/sounds.lua
    [f=0000000] Loading Sound Definitions: 11 ms
    [f=0000000] Parsing Map Information
    [f=0000000] Loading SMF
    [f=0000000] Loading Map
    [f=0000000] Creating Smooth Height Mesh
    [f=0000000] Creating Smooth Mesh: 1127 ms
    [f=0000000] Creating QuadField & CEGs
    [f=0000000] Number of damage types: 40
    [f=0000000] Assimp: Supported model formats: *.3d;*.3ds;*.ac;*.ac3d;*.acc;*.ase;*.ask;*.b3d;*.blend;*.bvh;*.cob;*.csm;*.dae;*.dxf;*.enff;*.hmp;*.irr;*.irrmesh;*.lwo;*.lws;*.lxo;*.md2;*.md3;*.md5anim;*.md5camera;*.md5mesh;*.mdc;*.mdl;*.mesh.xml;*.mot;*.ms3d;*.ndo;*.nff;*.obj;*.off;*.pk3;*.ply;*.prj;*.q3o;*.q3s;*.raw;*.scn;*.smd;*.stl;*.ter;*.uc;*.vta;*.x;*.xml
    [f=0000000] Creating Unit Textures
    [f=0000000] Loading Weapon Definitions
    [f=0000000] Loading Unit Definitions
    [f=0000000] Loading Feature Definitions
    [f=0000000] Initializing Map Features
    [f=0000000] Reading Estimate PathCosts [8]
    [f=0000000] Reading Estimate PathCosts [32]
    [f=0000000] [CPathManager] pathing data checksum: f2a66d2d
    [f=0000000] Creating Sky
    [f=0000000] Creating ShadowHandler & DecalHandler
    [f=0000000] You are missing the "ARB_shadow_ambient" extension (this will probably make shadows darker than they should be)
    [f=0000000] Creating GroundDrawer
    [f=0000000] Loading Tile Files
    [f=0000000] Loading Tile Map
    [f=0000000] generating MipMaps: 6 ms
    [f=0000000] Creating TreeDrawer
    [f=0000000] Creating ProjectileDrawer & UnitDrawer
    [f=0000000] Creating Projectile Textures
    [f=0000000] Creating Water
    [f=0000000] Camera and mouse: 150 ms
    [f=0000000] Loading console: 2 ms
    [f=0000000] Loading LuaRules
    [f=0000000] Loaded gadget:  No Self-D           <unit_prevent_share_selfd.lua>
    [f=0000000] Loaded gadget:  Air Release         <unit_air_release_manager.lua>
    [f=0000000] Loaded gadget:  AirPlantParents     <unit_air_plants.lua>
    [f=0000000] Loaded gadget:  Commando Watch      <unit_commando_watch.lua>
    [f=0000000] Loaded gadget:  DirectControl       <unit_direct_control.lua>
    [f=0000000] Loaded gadget:  DragonsDisguise     <unit_set_neutral.lua>
    [f=0000000] Loaded gadget:  DroppedStartPos     <unit_fix_dropped_startpos.lua>
    [f=0000000] Loaded gadget:  Dynamic collision volume & Hitsphere Scaledown  <unit_dynamic_collision_volume.lua>
    [f=0000000] Loaded gadget:  FinishedBuilding    <unit_finished_building.lua>
    [f=0000000] Loaded gadget:  Los_Only_Sounds     <unit_los_only_sounds.lua>
    [f=0000000] Loaded gadget:  MissileControl      <unit_missile_delay.lua>
    [f=0000000] Loaded gadget:  Napalm              <lups_napalm.lua>
    [f=0000000] Loaded gadget:  No Land Damage      <unit_no_land_damage.lua>
    [f=0000000] Loaded gadget:  No Self Pwn         <unit_noselfpwn.lua>
    [f=0000000] Loaded gadget:  NoCost              <cmd_nocost.lua>
    [f=0000000] Loaded gadget:  PassiveBuilders     <unit_passive_builders.lua>
    [f=0000000] Loaded gadget:  Prevent Lab Hax     <unit_prevent_lab_hax.lua>
    [f=0000000] Loaded gadget:  Prevent Load Hax    <unit_prevent_load_hax.lua>
    [f=0000000] Loaded gadget:  Prevent Outside Aircraft hacks  <unit_prevent_aircraft_hax.lua>
    [f=0000000] Loaded gadget:  Prevent Range Hax   <unit_prevent_range_hax.lua>
    [f=0000000] Loaded gadget:  Prevent Strange Orders  <unit_prevent_strange_orders.lua>
    [f=0000000] Loaded gadget:  Reclaim Fix         <unit_reclaim_fix.lua>
    [f=0000000] Loaded gadget:  ShieldDrain         <unit_shield_watch.lua>
    [f=0000000] Loaded gadget:  Shockwaves          <lups_shockwaves.lua>
    [f=0000000] Loaded gadget:  Spawn               <init_game_spawn.lua>
    [f=0000000] Loaded gadget:  Start Point Remover Gadget  <init_start_point_remover_gadget.lua>
    [f=0000000] Loaded gadget:  Stealthy Passengers  <unit_stealthy_passengers.lua>
    [f=0000000] Loaded gadget:  fx_reclaim_shards   <fx_reclaim_shards.lua>
    [f=0000000] Loaded gadget:  lups_wrapper.lua    <lups_wrapper.lua>
    [f=0000000] Loaded gadget:  prevent_flying_com_wrecks  <unit_prevent_flying_com_wrecks.lua>
    [f=0000000] Loaded gadget:  Area Attack         <areaattack.lua>
    [f=0000000] Loaded gadget:  C Is For Control    <comiscontrol.lua>
    [f=0000000] Loaded gadget:  Team Com Ends       <teamcomends.lua>
    [f=0000000] Loaded gadget:  LupsSyncedManager   <lups_manager.lua>
    [f=0000000] Loaded gadget:  Mex Upgrader Gadget  <unit_mex_upgrader.lua>
    [f=0000000] Loaded gadget:  Air Release         <unit_air_release_manager.lua>
    [f=0000000] Loaded gadget:  AirPlantParents     <unit_air_plants.lua>
    [f=0000000] Loaded gadget:  DragonsDisguise     <unit_set_neutral.lua>
    [f=0000000] Loaded gadget:  DroppedStartPos     <unit_fix_dropped_startpos.lua>
    [f=0000000] Loaded gadget:  Dynamic collision volume & Hitsphere Scaledown  <unit_dynamic_collision_volume.lua>
    [f=0000000] Loaded gadget:  FinishedBuilding    <unit_finished_building.lua>
    [f=0000000] Loaded gadget:  Los_Only_Sounds     <unit_los_only_sounds.lua>
    [f=0000000] Loaded gadget:  MissileControl      <unit_missile_delay.lua>
    [f=0000000] Loaded gadget:  Napalm              <lups_napalm.lua>
    [f=0000000] Loaded gadget:  NoCost              <cmd_nocost.lua>
    [f=0000000] Loaded gadget:  PassiveBuilders     <unit_passive_builders.lua>
    [f=0000000] Loaded gadget:  Reclaim Fix         <unit_reclaim_fix.lua>
    [f=0000000] Loaded gadget:  ShieldDrain         <unit_shield_watch.lua>
    [f=0000000] Loaded gadget:  Shockwaves          <lups_shockwaves.lua>
    [f=0000000] Loaded gadget:  Start Point Remover Gadget  <init_start_point_remover_gadget.lua>
    [f=0000000] Loaded gadget:  fx_reclaim_shards   <fx_reclaim_shards.lua>
    [f=0000000] Loaded gadget:  mo_enemywrecks      <mo_enemywrecks.lua>
    [f=0000000] Loaded gadget:  mo_greenfields      <mo_greenfields.lua>
    [f=0000000] Loaded gadget:  mo_noowner          <mo_noowner.lua>
    [f=0000000] Loaded gadget:  mo_noshare          <mo_noshare.lua>
    [f=0000000] Loaded gadget:  mo_nowrecks         <mo_nowrecks.lua>
    [f=0000000] Loaded gadget:  prevent_flying_com_wrecks  <unit_prevent_flying_com_wrecks.lua>
    [f=0000000] Loaded gadget:  Area Attack         <areaattack.lua>
    [f=0000000] Loaded gadget:  C Is For Control    <comiscontrol.lua>
    [f=0000000] Loaded gadget:  LupsSyncedManager   <lups_manager.lua>
    [f=0000000] Loaded gadget:  Mex Upgrader Gadget  <unit_mex_upgrader.lua>
    [f=0000000] Loaded gadget:  Lups                <lups_wrapper.lua>
    [f=0000000] Loading LuaGaia
    [f=0000000] Loading LuaUI
    [f=0000000] Using LUAUI_DIRNAME = LuaUI/
    [f=0000000] Reloaded ctrlpanel with: LuaUI/ctrlpanel.txt
    [f=0000000] LuaUI: bound F11 to the widget selector
    [f=0000000] LuaUI: bound CTRL+F11 to tweak mode
    [f=0000000] Failed to load: camera_ccc.lua  ([string "LuaUI/Widgets/camera_ccc.lua"]:1: unexpected symbol near '<')
    [f=0000000] Failed to load: autofirstbuildfacing.lua  (duplicate name)
    [f=0000000] Failed to load: cmd_buildsplit.lua  (duplicate name)
    [f=0000000] Failed to load: cmd_state_reverse_toggle.lua  (duplicate name)
    [f=0000000] Failed to load: gui_advplayerslist.lua  (duplicate name)
    [f=0000000] Failed to load: gui_ally_res.lua  (duplicate name)
    [f=0000000] Failed to load: gui_build_eta.lua  (duplicate name)
    [f=0000000] Failed to load: gui_point_tracker.lua  (duplicate name)
    [f=0000000] Failed to load: gui_prospector.lua  (duplicate name)
    [f=0000000] Failed to load: gui_reclaiminfo.lua  (duplicate name)
    [f=0000000] Failed to load: unit_customformations2.lua  (duplicate name)
    [f=0000000] Failed to load: unit_ghostsite.lua  (duplicate name)
    [f=0000000] Failed to load: unit_waypoint_dragger_2.lua  (duplicate name)
    [f=0000000] Loading widget from mod:   BlurApi             <api_gfx_blur.lua> ...
    [f=0000000] Loading widget from mod:   MexUpg Helper       <helper.lua> ...
    [f=0000000] Loading widget from user:  CtrlPanel Improved  <gui_ctrlpanel_improved.lua> ...
    [f=0000000] Reloaded ctrlpanel with: ctrlpanelImp.txt
    [f=0000000] Loading widget from mod:   HealthBars          <unit_healthbars.lua> ...
    [f=0000000] Loading widget from user:  Ally Resource Bars  <gui_ally_res.lua> ...
    [f=0000000] Loading widget from user:  AdvPlayersList      <gui_advplayerslist.lua> ...
    [f=0000000] Loading widget from user:  BuildETA            <gui_build_eta.lua> ...
    [f=0000000] Loading widget from user:  Move ETA            <gui_move_eta.lua> ...
    [f=0000000] Loading widget from user:  Area Mex no button v2  <cmd_area_mex2.lua> ...
    [f=0000000] Area Mex: Loaded for *A
    [f=0000000] Mexmap detected - loading...
    [f=0000000] mexmap imported from LuaUI/Widgets/MetalMaps/brazillian_battlefield_remake_v2.springmexmap
    [f=0000000] Loading widget from user:  Auto First Build Facing  <autofirstbuildfacing.lua> ...
    [f=0000000] Loading widget from mod:   Autoquit            <autoquit.lua> ...
    [f=0000000] Loading widget from mod:   CustomIcons         <unit_customicons.lua> ...
    [f=0000000] Loading widget from user:  DontMove            <unit_dontmove.lua> ...
    [f=0000000] Loading widget from user:  FactoryQ Manager    <cmd_factoryqmanager.lua> ...
    [f=0000000] BA
    [f=0000000] Loading widget from mod:   Loop Select         <unit_loop_select.lua> ...
    [f=0000000] Loading widget from mod:   MoreSounds          <unit_more_sounds.lua> ...
    [f=0000000] Loading widget from user:  Blast Radius        <gui_blastRadius.lua> ...
    [f=0000000] Loading widget from user:  Point Tracker       <gui_point_tracker.lua> ...
    [f=0000000] Loading widget from mod:   Share Tracker       <unit_share_tracker.lua> ...
    [f=0000000] Loading widget from user:  Specific Unit Reclaimer  <unit_specific_unit_reclaimer.lua> ...
    [f=0000000] Loading widget from user:  State Reverse Toggle  <cmd_state_reverse_toggle.lua> ...
    [f=0000000] Loading widget from mod:   Transporting        <gui_transporting.lua> ...
    [f=0000000] Loading widget from user:  Unit Reclaimer      <unit_unit_reclaimer.lua> ...
    [f=0000000] Loading widget from mod:   MohoExploiter       <unit_moho_exploiter.lua> ...
    [f=0000000] Loading widget from user:  Z Selector          <unit_z_selector.lua> ...
    [f=0000000] Loading widget from user:  ReclaimInfo         <gui_reclaiminfov099.lua> ...
    [f=0000000] Loading widget from mod:   XrayHighlight       <gui_xray_highlight.lua> ...
    [f=0000000] Loading widget from user:  Build Split         <cmd_buildsplit.lua> ...
    [f=0000000] Loading widget from mod:   NoDuplicateOrders   <cmd_no_duplicate_orders.lua> ...
    [f=0000000] Loading widget from user:  Transport AI        <unit_transport_ai.lua> ...
    [f=0000000] Loading widget from user:  Transporter 2       <unit_transporter_2.lua> ...
    [f=0000000] Loading widget from user:  Central Build AI v1.1  <central_build_AI.lua> ...
    [f=0000000] Loading widget from user:  Comblast Range 1.0  <gui_comblast_range.lua> ...
    [f=0000000] Loading widget from user:  Stockpiler (dynamic)  <unit_stockpile_dynamic.lua> ...
    [f=0000000] Loading widget from mod:   Defense Range       <gui_defenserange.lua> ...
    [f=0000000] Loading widget from user:  Ghost Radar         <unit_ghostRadar.lua> ...
    [f=0000000] Loading widget from user:  Ghost Site          <unit_ghostSite.lua> ...
    [f=0000000] Loading widget from user:  Nuke Button         <gui_nukeButton.lua> ...
    [f=0000000] Loading widget from mod:   Take Reminder       <gui_take_remind.lua> ...
    [f=0000000] Loading widget from mod:   GameTypeInfo        <gui_game_type_info.lua> ...
    [f=0000000] Loading widget from user:  Stall Assist        <cmd_stall_assist.lua> ...
    [f=0000000] Loading widget from mod:   Attack AoE          <gui_attack_aoe.lua> ...
    [f=0000000] Loading widget from user:  Context Build       <gui_context_build.lua> ...
    [f=0000000] Loading widget from user:  Prospector          <gui_prospector.lua> ...
    [f=0000000] Loading widget from user:  AutoRepair          <unit_autorepair.lua> ...
    [f=0000000] Loading widget from user:  Build Range Display  <init_build_range_display.lua> ...
    [f=0000000] Loading widget from user:  BA Waypoint Dragger  <unit_waypoint_dragger.lua> ...
    [f=0000000] Loading widget from user:  Bomber control      <unit_bomber_control.lua> ...
    [f=0000000] Loading widget from user:  CommandInsert       <gui_commandinsert.lua> ...
    [f=0000000] Loading widget from mod:   Select n Center!    <gui_center_n_select.lua> ...
    [f=0000000] Loading widget from user:  AllyCursors         <gui_ally_cursors.lua> ...
    [f=0000000] Couldn't find font '/fonts/FreeSansBold.otf'.
    [f=0000000] Loading widget from mod:   LupsManager         <gfx_lups_manager.lua> ...
    [f=0000000] Loading widget from mod:   BA_AllyCursors      <gui_ba_ally_cursors.lua> ...
    [f=0000000] Error in Shutdown()
    [f=0000000] false
    [f=0000000] Error in Shutdown(): [string "LuaUI/Widgets/gui_ally_cursors.lua"]:101: bad argument #1 to 'DeleteFont' (Font expected, got nil)
    [f=0000000] Removed widget: AllyCursors
    [f=0000000] Loading widget from user:  Mouse Buildspacing  <gui_buildspacing.lua> ...
    [f=0000000] Loading widget from mod:   Lups                <lups_wrapper.lua> ...
    [f=0000000] Loading widget from user:  CustomFormations2   <unit_customformations2.lua> ...
    [f=0000000] LuaUI v0.3
    [f=0000000] Finalizing
    [f=0000000] command showhealthbars 0
    [f=0000000] command showrezbars 0
    [f=0000000] Connection attempt from UnnamedPlayer
    [f=0000000]  -> Version: 0.82+.4.0 (Debug)
    [f=0000000]  -> Connection established (given id 0)
    [f=0000000] Player UnnamedPlayer finished loading and is now ingame
    [f=0000000] Stall Assist widget disabled for solo players
    [f=0000000] GameID: 221ac94d8924a075bf0524d21cdf4421
    [f=0000000] UnnamedPlayer added point: Start 0
    [f=0000000] SkirmishAI (ID = 0, team ID = 1) is using cheats!
    [f=0000000] <SkirmishAI: KAIK 0.13 (team 1)>: KAI Metal Class by Krogothe
    [f=0000000] <SkirmishAI: KAIK 0.13 (team 1)>: KAIK 0.13 Unofficial (built May 10 2011) initialized successfully!
    [f=0000000] <SkirmishAI: KAIK 0.13 (team 1)>: logging events to /home/userX/Projects/spring/installs/cmake/master/linux64/debug/AI/Skirmish/KAIK/0.13/logs/Brazillian_Battlefield_Remake_V2-f15156ff_Balanced_Annihilation_V7.31_V7.31_SDD-af69c790_5-10-2011_1257_team1.txt
    [f=0000000] <SkirmishAI: KAIK 0.13 (team 1)>: (developed by Krogothe, Tournesol, Firenu; now maintained by Kloot)
    [f=0000038] Skirmish AI "Enemy" (ID:0, Short-Name:"KAIK", Version:"0.13") took over control of team 1
    [f=0000060] Warning: AI for team 1 (ID: 0) failed handling event with topic 3, error: -2
    [f=0000075] Warning: AI for team 1 (ID: 0) failed handling event with topic 3, error: -2
    [f=0000090] Warning: AI for team 1 (ID: 0) failed handling event with topic 3, error: -2
    [f=0000105] Warning: AI for team 1 (ID: 0) failed handling event with topic 3, error: -2
    [f=0000106] Buildings set to face East
    [f=0000120] Warning: AI for team 1 (ID: 0) failed handling event with topic 3, error: -2
    [f=0000135] Warning: AI for team 1 (ID: 0) failed handling event with topic 3, error: -2
    [f=0000150] Warning: AI for team 1 (ID: 0) failed handling event with topic 3, error: -2
    [f=0000165] Warning: AI for team 1 (ID: 0) failed handling event with topic 3, error: -2
    [f=0000180] Warning: AI for team 1 (ID: 0) failed handling event with topic 3, error: -2
    [f=0000195] Warning: AI for team 1 (ID: 0) failed handling event with topic 3, error: -2
    [f=0000210] Warning: AI for team 1 (ID: 0) failed handling event with topic 3, error: -2
    [f=0000225] Warning: AI for team 1 (ID: 0) failed handling event with topic 3, error: -2
    [f=0000240] Warning: AI for team 1 (ID: 0) failed handling event with topic 3, error: -2
    [f=0000255] Warning: AI for team 1 (ID: 0) failed handling event with topic 3, error: -2
    [f=0000270] Warning: AI for team 1 (ID: 0) failed handling event with topic 3, error: -2
    [f=0000285] Warning: AI for team 1 (ID: 0) failed handling event with topic 3, error: -2
    [f=0000300] Warning: AI for team 1 (ID: 0) failed handling event with topic 3, error: -2
    [f=0000315] Warning: AI for team 1 (ID: 0) failed handling event with topic 3, error: -2
    [f=0000330] Warning: AI for team 1 (ID: 0) failed handling event with topic 3, error: -2
    [f=0000345] Warning: AI for team 1 (ID: 0) failed handling event with topic 3, error: -2
    [f=0000360] Warning: AI for team 1 (ID: 0) failed handling event with topic 3, error: -2
    [f=0000375] Warning: AI for team 1 (ID: 0) failed handling event with topic 3, error: -2
    [f=0000390] Warning: AI for team 1 (ID: 0) failed handling event with topic 3, error: -2
    [f=0000465] Warning: AI for team 1 (ID: 0) failed handling event with topic 3, error: -2
    [f=0000480] Warning: AI for team 1 (ID: 0) failed handling event with topic 3, error: -2
    [f=0000495] Warning: AI for team 1 (ID: 0) failed handling event with topic 3, error: -2
    [f=0000510] Warning: AI for team 1 (ID: 0) failed handling event with topic 3, error: -2
    [f=0000525] Warning: AI for team 1 (ID: 0) failed handling event with topic 3, error: -2
    [f=0000540] Warning: AI for team 1 (ID: 0) failed handling event with topic 3, error: -2
    [f=0000555] Warning: AI for team 1 (ID: 0) failed handling event with topic 3, error: -2
    [f=0000570] Warning: AI for team 1 (ID: 0) failed handling event with topic 3, error: -2
    [f=0000585] Warning: AI for team 1 (ID: 0) failed handling event with topic 3, error: -2
    [f=0000600] Warning: AI for team 1 (ID: 0) failed handling event with topic 3, error: -2
    [f=0000615] Warning: AI for team 1 (ID: 0) failed handling event with topic 3, error: -2
    [f=0000630] Warning: AI for team 1 (ID: 0) failed handling event with topic 3, error: -2
    [f=0000645] Warning: AI for team 1 (ID: 0) failed handling event with topic 3, error: -2
    [f=0000660] Warning: AI for team 1 (ID: 0) failed handling event with topic 3, error: -2
    [f=0000675] Warning: AI for team 1 (ID: 0) failed handling event with topic 3, error: -2
    [f=0000690] Warning: AI for team 1 (ID: 0) failed handling event with topic 3, error: -2
    [f=0000705] Warning: AI for team 1 (ID: 0) failed handling event with topic 3, error: -2
    [f=0000720] Warning: AI for team 1 (ID: 0) failed handling event with topic 3, error: -2
    [f=0000735] Warning: AI for team 1 (ID: 0) failed handling event with topic 3, error: -2
    [f=0000750] Warning: AI for team 1 (ID: 0) failed handling event with topic 3, error: -2
    [f=0000765] Warning: AI for team 1 (ID: 0) failed handling event with topic 3, error: -2
    [f=0000780] Warning: AI for team 1 (ID: 0) failed handling event with topic 3, error: -2
    
    txt file icon infolog.txt (22,141 bytes) 2011-05-10 13:09 +

-Relationships
related to 0002443resolvedKloot (master) nearly instant crash with KAIK/RAI on start of BA7.41 
+Relationships

-Notes

~0006647

Kloot (developer)

Not reproducable, at least with:

* clean engine build d9aa5b2b3534387ceaa05a96231a3cc2b1188399
* clean KAIK build 631d00360a6559d55bba487f88a23f7e9ba1baf4
* script http://pastebin.com/ZSiThB0V (needs /cheat && /give corcom 1)

KAIK code does not generate (throw) any exceptions of its own, and neither does the legacy C++ interface wrapper that gets compiled into it, so I have no idea. Possibly some uncaught STL error is leaking through, does not seem likely the AI would remain stable in that case however (usually those indicate out-of-memory allocation failures).

~0006684

abma (administrator)

Last edited: 2011-06-01 00:07

i get this error + crash, too. crashes also with RAI. see 0002443

tested with BA 7.50 and some maps (requires no /cheat)

git describe
0.82.3-1915-g23695d2

+Notes

-Issue History
Date Modified Username Field Change
2011-05-10 13:09 hoijui New Issue
2011-05-10 13:09 hoijui File Added: infolog.txt
2011-05-11 16:47 Kloot Note Added: 0006647
2011-05-31 23:57 abma Relationship added related to 0002443
2011-06-01 00:05 abma Note Added: 0006684
2011-06-01 00:05 abma Note Edited: 0006684
2011-06-01 00:06 abma Summary KAIK: failed handling event with topic 3, error: -2 => (master) KAIK: failed handling event with topic 3, error: -2
2011-06-01 00:07 abma Note Edited: 0006684
2011-06-09 18:36 Kloot Status new => resolved
2011-06-09 18:36 Kloot Fixed in Version => 0.82.7+git
2011-06-09 18:36 Kloot Resolution open => fixed
2011-06-09 18:36 Kloot Assigned To => Kloot
+Issue History