View Issue Details

IDProjectCategoryLast Update
0000644AI War 1 / ClassicCrash/ExceptionOct 21, 2010 5:05 pm
Reporterfreeman08 Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product Version3.717 
Fixed in Version3.900 
Summary0000644: OSX crash
DescriptionDon't know what caused it, here's the error message:

10/17/2010 11:15:09 (3.717)
-----------------------------------Error-----------------------------------Log String: pthread_getschedparam(thread, &policy, &param)
Stack Trace: UnityEngine.WWW:.ctor(String)
GameSound:LoadForPlay()
GameSound:Play()
GameSoundGroup:Play(SoundType)
Game:PlaySound(String, SoundType)
ForegroundObject:FireAtObject(ForegroundObject, Int32, FInt, FInt)
ForegroundObject:TryAttack()
Game:RunOneCycleOfSimulation()
Game:RunNextCycle(Boolean)
Game:RunFrame()
MainCameraLogic:FixedUpdate()
TagsNo tags attached.
Internal Weight

Relationships

has duplicate 0000780 resolvedChris_McElligottPark Spinning Beach Ball of Death shortly after starting the program 
has duplicate 0000803 resolvedChris_McElligottPark game freezes and requires restart (OS X, 3.801) 

Activities

Chris_McElligottPark

Oct 17, 2010 12:49 pm

administrator   ~0001120

What were you doing when that happened? Unfortunately, that's a bug deep enough into unity I'm not sure I can do anything about it, but possibly I can wrap it in a try/catch...

freeman08

Oct 18, 2010 11:21 am

reporter   ~0001192

Hmm this is going to be difficult. iirc I was attacking an AI held Planet.
There was much going on, can't narrow it down to just one thing I was doing. I'll play some more and if it should happen again I hopefully remember better.

freeman08

Oct 20, 2010 1:48 pm

reporter   ~0001537

happened again this time with 3.719

I was on an AI owned planet and gave a move order to 9 riot start ships.
Then i realized that the sounds were gone, music however was still playing.
I was then able to go to the galaxy map, do a couple of other things and
seconds later it froze.

heres the errorsReportedByEngine log:

10/20/2010 19:35:12 (3.719)
-----------------------------------Error-----------------------------------Log String: pthread_getschedparam(thread, &policy, &param)
Stack Trace: UnityEngine.WWW:.ctor(String)
GameSound:LoadForPlay()
GameSound:Play()
GameSoundGroup:Play(SoundType)
Game:PlaySound(String, SoundType)
ForegroundObject:FireAtObject(ForegroundObject, Int32, FInt, FInt)
ForegroundObject:TryAttack()
Game:RunOneCycleOfSimulation()
Game:RunNextCycle(Boolean)
Game:RunFrame()
MainCameraLogic:FixedUpdate()

Chris_McElligottPark

Oct 20, 2010 1:50 pm

administrator   ~0001538

Okay... I think it might be too many threads on the mac side, then. I'm putting in an update that should solve that for 3.800. Grr. ;)

keith.lamothe

Oct 20, 2010 1:52 pm

administrator   ~0001539

Hrm, that's weird. I think my fix a couple versions ago "worked" in that it didn't die immediately upon the exception with loading the sound, but apparently either there were side-effects that proved fatal shortly thereafter or the exception was just the leading edge of a wave of "the OS no longer wants this program running".

keith.lamothe

Oct 20, 2010 1:53 pm

administrator   ~0001540

Chris, yea, remember we have to make room for the steamworks threads too.

Chris_McElligottPark

Oct 20, 2010 1:54 pm

administrator   ~0001541

Sure, but there should have been 180 free threads. I was only using 60 out of 256.

I did find an error where it might have been keeping threads open if a sound effect failed to load, though.

keith.lamothe

Oct 20, 2010 1:55 pm

administrator   ~0001542

I was hacking about in there to stop the exceptions from killing the program, was I not closing everything that needed to close?

Chris_McElligottPark

Oct 20, 2010 1:59 pm

administrator   ~0001543

No, I think it was me. The case that was having this was unlikely, though, which is why I think we never ran into this before.

Chris_McElligottPark

Oct 21, 2010 12:35 pm

administrator   ~0001773

Next time you run into this issue, if you do, can you look in /Users/YourUserName/Library/Logs/Unity/Player.log and post that file? You have to get at that one before you start the game again, though, or else it gets overwritten. This is very curious! But hopefully something we can resolve soon. :/

freeman08

Oct 21, 2010 1:23 pm

reporter   ~0001791

crashed again. this time I found a message in the lacalizationMissingErrors:

10/21/2010 18:14:11
-----------------------------------MISSING LOCALIZATION:Scout Unscouted Planets (38)

related?

Chris_McElligottPark

Oct 21, 2010 1:27 pm

administrator   ~0001793

Nope, that one is unrelated, unfortunately.

Do you have a /Users/YourUserName/Library/Logs/Unity/Player.log file?

freeman08

Oct 21, 2010 1:28 pm

reporter   ~0001795

yes but it wont let me upload it

Chris_McElligottPark

Oct 21, 2010 1:29 pm

administrator   ~0001798

No? You should be able to attach it as a file to the original post.

freeman08

Oct 21, 2010 1:31 pm

reporter   ~0001800

Mono path[0] = '/Applications/AIWar/AIWar.app/Contents/Data/Managed'
OOpenGL:
    Version: OpenGL 2.1 [2.1 NVIDIA-1.6.18]
    Renderer: NVIDIA Quadro FX 4800 OpenGL Engine
    Vendor: NVIDIA Corporation
    VRAM: 1536 MB
    Extensions: GL_ARB_transpose_matrix GL_ARB_vertex_program GL_ARB_vertex_blend GL_ARB_window_pos GL_ARB_shader_objects GL_ARB_vertex_shader GL_ARB_shading_language_100 GL_EXT_multi_draw_arrays GL_EXT_clip_volume_hint GL_EXT_rescale_normal GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_gpu_program_parameters GL_EXT_geometry_shader4 GL_EXT_transform_feedback GL_APPLE_client_storage GL_APPLE_specular_vector GL_APPLE_transform_hint GL_APPLE_packed_pixels GL_APPLE_fence GL_APPLE_vertex_array_object GL_APPLE_vertex_program_evaluators GL_APPLE_element_array GL_APPLE_flush_render GL_APPLE_aux_depth_stencil GL_NV_texgen_reflection GL_NV_light_max_exponent GL_IBM_rasterpos_clip GL_SGIS_generate_mipmap GL_ARB_imaging GL_ARB_point_parameters GL_ARB_texture_env_crossbar GL_ARB_texture_border_clamp GL_ARB_multitexture GL_ARB_texture_env_add GL_ARB_texture_cube_map GL_ARB_texture_env_dot3 GL_ARB_multisample GL_ARB_texture_env_combine GL_ARB_texture_compression GL_ARB_texture_mirrored_repeat GL_ARB_shadow GL_ARB_depth_texture GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_occlusion_query GL_ARB_point_sprite GL_ARB_texture_non_power_of_two GL_ARB_vertex_buffer_object GL_ARB_pixel_buffer_object GL_ARB_draw_buffers GL_ARB_shader_texture_lod GL_ARB_color_buffer_float GL_ARB_half_float_vertex GL_ARB_texture_rg GL_ARB_texture_compression_rgtc GL_ARB_framebuffer_object GL_EXT_compiled_vertex_array GL_EXT_draw_buffers2 GL_EXT_framebuffer_object GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_texture_rectangle GL_ARB_texture_rectangle GL_EXT_texture_env_add GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_texture_lod_bias GL_EXT_abgr GL_EXT_bgra GL_EXT_stencil_wrap GL_EXT_texture_filter_anisotropic GL_EXT_secondary_color GL_EXT_blend_func_separate GL_EXT_shadow_funcs GL_EXT_stencil_two_side GL_EXT_depth_bounds_test GL_EXT_texture_compression_s3tc GL_EXT_texture_compression_dxt1 GL_EXT_texture_sRGB GL_EXT_blend_equation_separate GL_EXT_texture_mirror_clamp GL_EXT_packed_depth_stencil GL_EXT_bindable_uniform GL_EXT_texture_integer GL_EXT_gpu_shader4 GL_EXT_framebuffer_sRGB GL_EXT_provoking_vertex GL_APPLE_flush_buffer_range GL_APPLE_ycbcr_422 GL_APPLE_rgb_422 GL_APPLE_vertex_array_range GL_APPLE_texture_range GL_APPLE_float_pixels GL_ATI_texture_float GL_ARB_texture_float GL_ARB_half_float_pixel GL_APPLE_pixel_buffer GL_APPLE_object_purgeable GL_NV_point_sprite GL_NV_blend_square GL_NV_fog_distance GL_NV_depth_clamp GL_NV_multisample_filter_hint GL_NV_fragment_program_option GL_NV_fragment_program2 GL_NV_vertex_program2_option GL_NV_vertex_program3 GL_NV_conditional_render GL_ATI_texture_mirror_once GL_ATI_texture_env_combine3 GL_ATI_separate_stencil GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_EXT_texture_array GL_EXT_vertex_array_bgra GL_ARB_instanced_arrays GL_ARB_depth_buffer_float GL_EXT_packed_float GL_EXT_texture_shared_exponent
Non platform assembly: data-0x19300000 (this message is harmless)
Non platform assembly: data-0x19531000 (this message is harmless)
Non platform assembly: data-0x215e800 (this message is harmless)
Non platform assembly: data-0x19731000 (this message is harmless)
Non platform assembly: data-0x1a0a7000 (this message is harmless)
Non platform assembly: data-0x214e800 (this message is harmless)
Non platform assembly: data-0x2155a00 (this message is harmless)
Non platform assembly: data-0x19762000 (this message is harmless)
Non platform assembly: data-0x2187000 (this message is harmless)
Non platform assembly: data-0x2176000 (this message is harmless)
Thu Oct 21 18:09:47 cyrill-oberhaenslis-mac-pro.local AI War: Fleet Command[197] <Error>: unknown error code: invalid display
Thu Oct 21 18:09:47 cyrill-oberhaenslis-mac-pro.local AI War: Fleet Command[197] <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
Switching to 1920x1200 fullscreen
Thu Oct 21 18:09:47 cyrill-oberhaenslis-mac-pro.local AI War: Fleet Command[197] <Error>: kCGErrorInvalidConnection: CGSGetWindowBounds: Invalid connection
Thu Oct 21 18:09:47 cyrill-oberhaenslis-mac-pro.local AI War: Fleet Command[197] <Error>: kCGErrorInvalidConnection: CGSSetSurfaceBounds: Invalid connection
        Platform assembly: /Applications/AIWar/AIWar.app/Contents/Data/Managed/System.dll (this message is harmless)
OnApplicationPause
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
MainCameraLogic:OnApplicationPause()
 
(Filename: /Applications/buildAgent/work/68355d6e5d19d587/Projects/../Runtime/Export/Generated/BaseClass.cpp Line: 2535)

OnApplicationFocus ; had focus: True
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
MainCameraLogic:OnApplicationFocus()
 
(Filename: /Applications/buildAgent/work/68355d6e5d19d587/Projects/../Runtime/Export/Generated/BaseClass.cpp Line: 2535)

OnApplicationFocus ; had focus: True
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
MainCameraLogic:OnApplicationFocus()
 
(Filename: /Applications/buildAgent/work/68355d6e5d19d587/Projects/../Runtime/Export/Generated/BaseClass.cpp Line: 2535)

MainCameraLogic.Start
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
MainCameraLogic:Start()
 
(Filename: /Applications/buildAgent/work/68355d6e5d19d587/Projects/../Runtime/Export/Generated/BaseClass.cpp Line: 2535)

MainCameraLogic.Instance = MainCameraLogic
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
MainCameraLogic:StartInternal()
MainCameraLogic:FixedUpdate()
 
(Filename: /Applications/buildAgent/work/68355d6e5d19d587/Projects/../Runtime/Export/Generated/BaseClass.cpp Line: 2535)

Platform assembly: /Applications/AIWar/AIWar.app/Contents/Data/Managed/System.Xml.dll (this message is harmless)

GameInit (1 - 10/21/2010 18:09:48)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: /Applications/buildAgent/work/68355d6e5d19d587/Projects/../Runtime/Export/Generated/BaseClass.cpp Line: 2535)


GameInit (2 - 10/21/2010 18:09:48)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: /Applications/buildAgent/work/68355d6e5d19d587/Projects/../Runtime/Export/Generated/BaseClass.cpp Line: 2535)


GameInit (3 - 10/21/2010 18:09:48)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: /Applications/buildAgent/work/68355d6e5d19d587/Projects/../Runtime/Export/Generated/BaseClass.cpp Line: 2535)


GameInit (4 - 10/21/2010 18:09:48)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: /Applications/buildAgent/work/68355d6e5d19d587/Projects/../Runtime/Export/Generated/BaseClass.cpp Line: 2535)


GameInit (5 - 10/21/2010 18:09:48)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: /Applications/buildAgent/work/68355d6e5d19d587/Projects/../Runtime/Export/Generated/BaseClass.cpp Line: 2535)


GameInit (6 - 10/21/2010 18:09:49)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: /Applications/buildAgent/work/68355d6e5d19d587/Projects/../Runtime/Export/Generated/BaseClass.cpp Line: 2535)


GameInit (7 - 10/21/2010 18:09:49)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: /Applications/buildAgent/work/68355d6e5d19d587/Projects/../Runtime/Export/Generated/BaseClass.cpp Line: 2535)


GameInit (8 - 10/21/2010 18:09:49)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: /Applications/buildAgent/work/68355d6e5d19d587/Projects/../Runtime/Export/Generated/BaseClass.cpp Line: 2535)


GameInit (9 - 10/21/2010 18:09:50)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: /Applications/buildAgent/work/68355d6e5d19d587/Projects/../Runtime/Export/Generated/BaseClass.cpp Line: 2535)

Generating map now
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LobbyOptions:GenerateMapNow()
LobbyOptions:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: /Applications/buildAgent/work/68355d6e5d19d587/Projects/../Runtime/Export/Generated/BaseClass.cpp Line: 2535)

Generating map now
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LobbyOptions:GenerateMapNow()
LobbyOptions:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: /Applications/buildAgent/work/68355d6e5d19d587/Projects/../Runtime/Export/Generated/BaseClass.cpp Line: 2535)

Generating map now
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LobbyOptions:GenerateMapNow()
LobbyOptions:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: /Applications/buildAgent/work/68355d6e5d19d587/Projects/../Runtime/Export/Generated/BaseClass.cpp Line: 2535)

Processing Game Configuration.
StartGameFromLobby (0 - 10/21/2010 18:10:46)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: /Applications/buildAgent/work/68355d6e5d19d587/Projects/../Runtime/Export/Generated/BaseClass.cpp Line: 2535)

Constructing Internal Database (1/4).
StartGameFromLobby (1 - 10/21/2010 18:10:46)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: /Applications/buildAgent/work/68355d6e5d19d587/Projects/../Runtime/Export/Generated/BaseClass.cpp Line: 2535)

Constructing Internal Database (2/4).
StartGameFromLobby (2 - 10/21/2010 18:10:46)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: /Applications/buildAgent/work/68355d6e5d19d587/Projects/../Runtime/Export/Generated/BaseClass.cpp Line: 2535)

Constructing Internal Database (3/4).
StartGameFromLobby (3 - 10/21/2010 18:10:46)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: /Applications/buildAgent/work/68355d6e5d19d587/Projects/../Runtime/Export/Generated/BaseClass.cpp Line: 2535)

Constructing Internal Database (4/4).
StartGameFromLobby (4 - 10/21/2010 18:10:46)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: /Applications/buildAgent/work/68355d6e5d19d587/Projects/../Runtime/Export/Generated/BaseClass.cpp Line: 2535)

Constructing Player Data.
StartGameFromLobby (5 - 10/21/2010 18:10:47)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: /Applications/buildAgent/work/68355d6e5d19d587/Projects/../Runtime/Export/Generated/BaseClass.cpp Line: 2535)

Performing Some Random Selections.
StartGameFromLobby (6 - 10/21/2010 18:10:47)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: /Applications/buildAgent/work/68355d6e5d19d587/Projects/../Runtime/Export/Generated/BaseClass.cpp Line: 2535)

Designating Human Homeworlds.
StartGameFromLobby (7 - 10/21/2010 18:10:47)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: /Applications/buildAgent/work/68355d6e5d19d587/Projects/../Runtime/Export/Generated/BaseClass.cpp Line: 2535)

Assigning AI Homeworlds.
StartGameFromLobby (8 - 10/21/2010 18:10:47)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: /Applications/buildAgent/work/68355d6e5d19d587/Projects/../Runtime/Export/Generated/BaseClass.cpp Line: 2535)

Assigning Remaining Planets.
StartGameFromLobby (9 - 10/21/2010 18:10:47)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: /Applications/buildAgent/work/68355d6e5d19d587/Projects/../Runtime/Export/Generated/BaseClass.cpp Line: 2535)

Computing AI Strength Levels.
StartGameFromLobby (10 - 10/21/2010 18:10:47)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: /Applications/buildAgent/work/68355d6e5d19d587/Projects/../Runtime/Export/Generated/BaseClass.cpp Line: 2535)

Establishing AI Core Worlds.
StartGameFromLobby (11 - 10/21/2010 18:10:47)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: /Applications/buildAgent/work/68355d6e5d19d587/Projects/../Runtime/Export/Generated/BaseClass.cpp Line: 2535)

Upgrading Selected AI Planets.
StartGameFromLobby (12 - 10/21/2010 18:10:47)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: /Applications/buildAgent/work/68355d6e5d19d587/Projects/../Runtime/Export/Generated/BaseClass.cpp Line: 2535)

Populating Extra Objects.
StartGameFromLobby (13 - 10/21/2010 18:10:47)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: /Applications/buildAgent/work/68355d6e5d19d587/Projects/../Runtime/Export/Generated/BaseClass.cpp Line: 2535)

Creating Starting Human Units.
StartGameFromLobby (14 - 10/21/2010 18:10:47)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: /Applications/buildAgent/work/68355d6e5d19d587/Projects/../Runtime/Export/Generated/BaseClass.cpp Line: 2535)

Assinging Initial Bonus Ship Types.
StartGameFromLobby (15 - 10/21/2010 18:10:47)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: /Applications/buildAgent/work/68355d6e5d19d587/Projects/../Runtime/Export/Generated/BaseClass.cpp Line: 2535)

Reconstructing Player Data.
StartGameFromLobby (16 - 10/21/2010 18:10:47)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: /Applications/buildAgent/work/68355d6e5d19d587/Projects/../Runtime/Export/Generated/BaseClass.cpp Line: 2535)

Setting AI Tech Levels.
StartGameFromLobby (17 - 10/21/2010 18:10:47)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: /Applications/buildAgent/work/68355d6e5d19d587/Projects/../Runtime/Export/Generated/BaseClass.cpp Line: 2535)

Setting Up AI Planets.
StartGameFromLobby (18 - 10/21/2010 18:10:47)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: /Applications/buildAgent/work/68355d6e5d19d587/Projects/../Runtime/Export/Generated/BaseClass.cpp Line: 2535)

Creating Starting AI Units.
StartGameFromLobby (19 - 10/21/2010 18:10:47)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: /Applications/buildAgent/work/68355d6e5d19d587/Projects/../Runtime/Export/Generated/BaseClass.cpp Line: 2535)

Populating Guard Posts.
StartGameFromLobby (20 - 10/21/2010 18:10:48)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: /Applications/buildAgent/work/68355d6e5d19d587/Projects/../Runtime/Export/Generated/BaseClass.cpp Line: 2535)

Closing Unfilled Player Slots.
StartGameFromLobby (21 - 10/21/2010 18:10:48)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: /Applications/buildAgent/work/68355d6e5d19d587/Projects/../Runtime/Export/Generated/BaseClass.cpp Line: 2535)

Synchronizing Game Across Clients.
StartGameFromLobby (22 - 10/21/2010 18:10:48)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: /Applications/buildAgent/work/68355d6e5d19d587/Projects/../Runtime/Export/Generated/BaseClass.cpp Line: 2535)

Platform assembly: /Applications/AIWar/AIWar.app/Contents/Data/Managed/I18N.dll (this message is harmless)
Platform assembly: /Applications/AIWar/AIWar.app/Contents/Data/Managed/I18N.West.dll (this message is harmless)
Platform assembly: /Applications/AIWar/AIWar.app/Contents/Data/Managed/I18N.dll (this message is harmless)
AI Loop Started
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
AILoop:EnsureAIRunning()
LobbyPlayer:BeginGameFromLobby()
Game:ClientReceivingData(NetworkMessageType, String)
Game:ClientReceivingEncodedData(String)
Game:ClientReceivingData(NetworkMessageType, String)
NetworkServerWrapper:SendGlobalMessage(Boolean, NetworkMessageType, String, Int32)
Game:DoFullSync(Boolean, Boolean, Boolean, Boolean, Int32)
Game:ContinueStartingGameFromLobby()
Game:ContinueMultiStageProcess()
MainCameraLogic:Update()
 
(Filename: /Applications/buildAgent/work/68355d6e5d19d587/Projects/../Runtime/Export/Generated/BaseClass.cpp Line: 2535)

Performing Cleanup.
StartGameFromLobby (23 - 10/21/2010 18:10:50)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: /Applications/buildAgent/work/68355d6e5d19d587/Projects/../Runtime/Export/Generated/BaseClass.cpp Line: 2535)

AI War: Fleet Command(197,0x8e4ce000) malloc: *** mmap(size=33542144) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug

freeman08

Oct 21, 2010 1:31 pm

reporter   ~0001802

sorry for that but this was getting on my nerves. hope you can find something

keith.lamothe

Oct 21, 2010 1:33 pm

administrator   ~0001805

Well, that last message about malloc "can't allocate region" is pretty much a giveaway: the OS wouldn't give the process any more memory.

How much RAM do you have, and how much was AI War taking (or if you don't have that info anymore, how much does it normally take in the middle of a game)? It's a 32-bit app so it can't take much more than about 1.3GB at least on Windows.

Chris_McElligottPark

Oct 21, 2010 1:35 pm

administrator   ~0001806

Wow! An actual error message, at last! This part is extremely helpful, and gives us something to go on:

AI War: Fleet Command(197,0x8e4ce000) malloc: *** mmap(size=33542144) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug

Thanks!

freeman08

Oct 21, 2010 1:35 pm

reporter   ~0001808

Well I have 12 Gigs installed. Hmm never looked at how much RAM it uses. Will do that now.

Chris_McElligottPark

Oct 21, 2010 1:36 pm

administrator   ~0001809

I don't think that's what that error message means, Keith -- I think it's a problem with how Unity streams in some stuff. Just from a cursory look around, I found this so far:

http://forum.unity3d.com/threads/30397-SOLVED-Instantiate%28%29-needs-gt-4GB-when-using-AssetBundles?p=198596

That's out of date and relating to the iPhone and not quite the same thing, but it's mildly related at least.

freeman08

Oct 21, 2010 3:02 pm

reporter   ~0001832

crashed again. player.log file is now 385 mb. here are the last lines:

(Filename: /Applications/buildAgent/work/68355d6e5d19d587/Projects/../Runtime/Export/Generated/BaseClass.cpp Line: 2535)

AI War: Fleet Command(359,0xa012a500) malloc: *** mmap(size=16777216) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
AI War: Fleet Command(359,0xa012a500) malloc: *** mmap(size=16777216) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
AI War: Fleet Command(359,0xa012a500) malloc: *** mmap(size=16777216) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
AI War: Fleet Command(359,0xa012a500) malloc: *** mmap(size=16777216) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
AI War: Fleet Command(359,0xa012a500) malloc: *** mmap(size=16777216) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
AI War: Fleet Command(359,0xa012a500) malloc: *** mmap(size=16777216) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
AI War: Fleet Command(359,0xa012a500) malloc: *** mmap(size=16777216) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
AI War: Fleet Command(359,0xa012a500) malloc: *** mmap(size=16777216) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
AI War: Fleet Command(359,0xa012a500) malloc: *** mmap(size=16777216) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
AI War: Fleet Command(359,0xa012a500) malloc: *** mmap(size=16777216) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
AI War: Fleet Command(359,0xa012a500) malloc: *** mmap(size=16777216) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
AI War: Fleet Command(359,0xa012a500) malloc: *** mmap(size=16777216) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
Receiving unhandled NULL exception
Trying to recover from null exception
Receiving unhandled NULL exception
Trying to recover from null exception
Receiving unhandled NULL exception
Trying to recover from null exception

goes on forever with unhandled null exception

keith.lamothe

Oct 21, 2010 3:05 pm

administrator   ~0001834

We're asking everyone reporting these: are you playing with any Hybrids enabled on either AI?

Chris_McElligottPark

Oct 21, 2010 3:06 pm

administrator   ~0001835

Hmmmmm. Can you try a game without hybrids and see if it still happens?

I found this: http://www.google.com/search?q=unity+%22error%3A+can%27t+allocate+region%22&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a#hl=en&client=firefox-a&rls=org.mozilla:en-US:official&q=+site:forum.unity3d.com+%22unity+3d%22+%22Receiving+unhandled+NULL+exception%22&sa=X&ei=dI7ATNDiOMWAlAeJgKH_Cw&ved=0CBoQrQIwAA&fp=9a951961ff9ba31d

But nothing jumps out at me as being useful. Having the log of those errors is helpful, though.

I have been running AI War on my mac for the last 3 hours, and no crashes so far, but I didn't have hybrids on. I'm going to test a bit later with hybrids on and see if I can't duplicate it.

Also: is there any chance you're getting killed at the time this happens? As in, your home planet command station getting destroyed?

freeman08

Oct 21, 2010 3:06 pm

reporter   ~0001836

oh sorry no they were off

freeman08

Oct 21, 2010 3:08 pm

reporter   ~0001838

home planet was not under attack

Chris_McElligottPark

Oct 21, 2010 3:14 pm

administrator   ~0001844

Is there any chance that this happens after you lose a planet or a big battle with the AI?

freeman08

Oct 21, 2010 3:16 pm

reporter   ~0001845

I didn't loose a planet, hmm as for the big battle I only had like 130 ships on an ai held planet
plus some on my home planet, like 220. so not too many actually.

Chris_McElligottPark

Oct 21, 2010 3:17 pm

administrator   ~0001846

That might be enough to trigger it. Our current theory is that when the AI wants to taunt you, it instead is deadlocking the game on OSX. On windows the taunts aren't playing at all, from what I've seen, so something is definitely up there -- we'll see what we can find, and fingers crossed that this is actually it.

Chris_McElligottPark

Oct 21, 2010 5:05 pm

administrator   ~0001849

Yay!

* Fixed a bug that was causing AI taunts not only to not play, but to create a memory leak (slash file-handle leak) especially on the OSX side. This was also the cause of sound effects suddenly cutting out on the OSX side in the cases where it would do that.

Issue History

Date Modified Username Field Change
Oct 17, 2010 5:30 am freeman08 New Issue
Oct 17, 2010 12:49 pm Chris_McElligottPark Note Added: 0001120
Oct 17, 2010 12:49 pm Chris_McElligottPark Assigned To => Chris_McElligottPark
Oct 17, 2010 12:49 pm Chris_McElligottPark Status new => acknowledged
Oct 18, 2010 11:21 am freeman08 Note Added: 0001192
Oct 18, 2010 7:29 pm Chris_McElligottPark Status acknowledged => feedback
Oct 20, 2010 1:48 pm freeman08 Note Added: 0001537
Oct 20, 2010 1:48 pm freeman08 Status feedback => assigned
Oct 20, 2010 1:50 pm Chris_McElligottPark Note Added: 0001538
Oct 20, 2010 1:52 pm keith.lamothe Note Added: 0001539
Oct 20, 2010 1:53 pm keith.lamothe Note Added: 0001540
Oct 20, 2010 1:54 pm Chris_McElligottPark Note Added: 0001541
Oct 20, 2010 1:55 pm keith.lamothe Note Added: 0001542
Oct 20, 2010 1:59 pm Chris_McElligottPark Note Added: 0001543
Oct 20, 2010 11:33 pm Chris_McElligottPark Relationship added has duplicate 0000780
Oct 20, 2010 11:34 pm Chris_McElligottPark Status assigned => feedback
Oct 21, 2010 12:35 pm Chris_McElligottPark Note Added: 0001773
Oct 21, 2010 12:37 pm Chris_McElligottPark Relationship added has duplicate 0000803
Oct 21, 2010 1:23 pm freeman08 Note Added: 0001791
Oct 21, 2010 1:23 pm freeman08 Status feedback => assigned
Oct 21, 2010 1:27 pm Chris_McElligottPark Note Added: 0001793
Oct 21, 2010 1:28 pm freeman08 Note Added: 0001795
Oct 21, 2010 1:29 pm Chris_McElligottPark Note Added: 0001798
Oct 21, 2010 1:31 pm freeman08 Note Added: 0001800
Oct 21, 2010 1:31 pm freeman08 Note Added: 0001802
Oct 21, 2010 1:33 pm keith.lamothe Note Added: 0001805
Oct 21, 2010 1:35 pm Chris_McElligottPark Note Added: 0001806
Oct 21, 2010 1:35 pm freeman08 Note Added: 0001808
Oct 21, 2010 1:36 pm Chris_McElligottPark Note Added: 0001809
Oct 21, 2010 3:02 pm freeman08 Note Added: 0001832
Oct 21, 2010 3:05 pm keith.lamothe Note Added: 0001834
Oct 21, 2010 3:06 pm Chris_McElligottPark Note Added: 0001835
Oct 21, 2010 3:06 pm freeman08 Note Added: 0001836
Oct 21, 2010 3:08 pm freeman08 Note Added: 0001838
Oct 21, 2010 3:14 pm Chris_McElligottPark Note Added: 0001844
Oct 21, 2010 3:16 pm freeman08 Note Added: 0001845
Oct 21, 2010 3:17 pm Chris_McElligottPark Note Added: 0001846
Oct 21, 2010 5:05 pm Chris_McElligottPark Note Added: 0001849
Oct 21, 2010 5:05 pm Chris_McElligottPark Status assigned => resolved
Oct 21, 2010 5:05 pm Chris_McElligottPark Fixed in Version => 3.900
Oct 21, 2010 5:05 pm Chris_McElligottPark Resolution open => fixed
Apr 14, 2014 9:27 am Chris_McElligottPark Category Bug - Crash or Exception => Crash/Exception