Search Issue Tracker

Fixed

Votes

0

Found in

5.5.1f1

Issue ID

886393

Regression

No

[OSX] A specific .obj crashes editor

To reproduce:
1. Create a new project
2. Import .obj file from attached model folder

Expected: file will be imported
Actual: editor crashes

Reproduced on: 5.3.7p4, 5.4.4p3, 5.5.0a6, 5.5.2p1m 5.6.0a1, b10

Tested on: OSX 10.12.2, windows 8.1(not able to reproduce)

Updating Assets/common/Old House.obj - GUID: 16e1887657fa24b7c8eb0320add37261...
Receiving unhandled NULL exception
Obtained 72 stack frames.
#0 0x000001029ecfd0 in block_locate_free
#1 0x000001029ed1dc in tlsf_memalign
#2 0x00000101453afb in DynamicHeapAllocator<LowLevelAllocator>::Allocate(unsigned long, int)
#3 0x0000010225a204 in MemoryManager::Allocate(unsigned long, int, MemLabelId const&, AllocateOptions, char const*, int)
#4 0x0000010225a5c0 in MemoryManager::Reallocate(void*, unsigned long, int, MemLabelId const&, AllocateOptions, char const*, int)
#5 0x0000010225a4c0 in realloc_internal(void*, unsigned long, int, MemLabelId const&, AllocateOptions, char const*, int)
#6 0x000001023f818d in FBXRealloc(void*, unsigned long)
#7 0x0000012cb16049 in fbxsdk::FbxString::operator=(char const*)
#8 0x0000012ce03868 in fbxsdk::FbxNameHandler::FbxNameHandler(char const*)
#9 0x0000012ccbf0c9 in fbxsdk::FbxReaderObj::Read(fbxsdk::FbxDocument*)
#10 0x0000012cb38c0d in fbxsdk::FbxImporter::ImportProcess(fbxsdk::FbxDocument*)
#11 0x0000012cb3a1dc in fbxsdk::FbxImporter::Import(fbxsdk::FbxDocument*, bool)
#12 0x0000012cf6348a in DoImportScene
#13 0x000001023f8557 in FBXImporter::DoMeshImport(ImportScene&)
#14 0x000001024163a8 in ModelImporter::GenerateAssetData()
#15 0x00000100d5e35d in AssetDatabase::ImportAsset(UnityGUID, Asset&, std::string const&, std::string const&, Unity::Type const*, UpdateAssetOptions, std::basic_string<char, std::char_traits<char>, stl_allocator<char, (MemLabelIdentifier)1, 16> > const&, bool, InstanceIDLocalIdentifierLookup&, dynamic_array<Object*, 8ul>&)
#16 0x00000100d637db in AssetDatabase::UpdateAsset(UnityGUID const&, UnityGUID const&, UpdateAssetOptions, Hash128, AssetImportingTimerStats*)
#17 0x00000100d811c3 in AssetInterface::ProcessAssetsImplementation(double&, AssetInterface::CancelBehaviour, UpdateAssetOptions)
#18 0x00000100d7ee0e in AssetInterface::StopAssetEditing(AssetInterface::CancelBehaviour, UpdateAssetOptions)
#19 0x00000100d7d8a5 in AssetInterface::Refresh(UpdateAssetOptions)
#20 0x0000010264db6c in HandleProjectWindowFileDrag(std::string const&, std::vector<std::string, std::allocator<std::string> > const&, bool)
#21 0x0000010264ecf3 in ProjectWindowDrag(UnityGUID const&, LibraryRepresentation const*, bool)
#22 0x0000010299cea7 in InternalEditorUtility_CUSTOM_ProjectWindowDrag(MonoObject*, unsigned char)
#23 0x0000011e59375a in (wrapper managed-to-native) UnityEditorInternal.InternalEditorUtility:ProjectWindowDrag (UnityEditor.HierarchyProperty,bool) + 0x9a (0x11e5936c0 0x11e593789) [0x118443660 - Unity Child Domain]
#24 0x0000011e593668 in UnityEditor.ObjectListArea/LocalGroup:DoDrag (int,bool) + 0x168 (0x11e593500 0x11e5936a8) [0x118443660 - Unity Child Domain]
#25 0x000001388721b2 in UnityEditor.ObjectListArea/LocalGroup:HandleUnusedDragEvents (single) + 0x7a2 (0x138871a10 0x138872368) [0x118443660 - Unity Child Domain]
#26 0x0000013886589b in UnityEditor.ObjectListArea/Group:Draw (single,UnityEngine.Vector2) + 0x88b (0x138865010 0x1388658bf) [0x118443660 - Unity Child Domain]
#27 0x0000013886321f in UnityEditor.ObjectListArea:HandleListArea () + 0xfbf (0x138862260 0x138863c94) [0x118443660 - Unity Child Domain]
#28 0x0000013885f6aa in UnityEditor.ObjectListArea:OnGUI (UnityEngine.Rect,int) + 0x8ca (0x13885ede0 0x13885f744) [0x118443660 - Unity Child Domain]
#29 0x000001382f61ad in UnityEditor.ProjectBrowser:OnGUI () + 0x128d (0x1382f4f20 0x1382f6b94) [0x118443660 - Unity Child Domain]
#30 0x00000125ea839a in (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr) + 0xfa (0x125ea82a0 0x125ea84cd) [0x118443660 - Unity Child Domain]
#31 0x0000010aa9385e in mono_get_runtime_build_info
#32 0x0000010abbe11e in mono_runtime_invoke
#33 0x0000010abc3ea4 in mono_runtime_invoke_array
#34 0x0000010ab82953 in mono_register_jit_icall
#35 0x0000012852a553 in (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) + 0x103 (0x12852a450 0x12852a582) [0x118443660 - Unity Child Domain]
#36 0x00000128529fac in System.Reflection.MonoMethod:Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) + 0x52c (0x128529a80 0x12852a11f) [0x118443660 - Unity Child Domain]
#37 0x00000128555d66 in System.Reflection.MethodBase:Invoke (object,object[]) + 0x66 (0x128555d00 0x128555d75) [0x118443660 - Unity Child Domain]
#38 0x0000012f6f381c in UnityEditor.HostView:Invoke (string,object) + 0xfc (0x12f6f3720 0x12f6f3840) [0x118443660 - Unity Child Domain]
#39 0x0000012f6f36ea in UnityEditor.HostView:Invoke (string) + 0x8a (0x12f6f3660 0x12f6f370e) [0x118443660 - Unity Child Domain]
#40 0x0000013422f4c6 in UnityEditor.HostView:InvokeOnGUI (UnityEngine.Rect) + 0x536 (0x13422ef90 0x13422fa44) [0x118443660 - Unity Child Domain]
#41 0x0000013421cdeb in UnityEditor.DockArea:OnGUI () + 0x2feb (0x134219e00 0x13421cfa4) [0x118443660 - Unity Child Domain]
#42 0x00000125ea839a in (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr) + 0xfa (0x125ea82a0 0x125ea84cd) [0x118443660 - Unity Child Domain]
#43 0x0000010aa9385e in mono_get_runtime_build_info
#44 0x0000010abbe11e in mono_runtime_invoke
#45 0x00000101dee24d in ScriptingInvocation::Invoke(MonoException**, bool)
#46 0x00000101a40448 in MonoBehaviourDoGUI(int, ObjectGUIState&, MonoBehaviour::GUILayoutType, int, ScriptingMethodMono, PPtr<MonoBehaviour>)
#47 0x00000101a3ef49 in IMGUIModule::MonoBehaviourDoGUI(int, ObjectGUIState&, MonoBehaviour::GUILayoutType, int, ScriptingMethodMono, PPtr<MonoBehaviour>)
#48 0x00000102294394 in MonoBehaviour::DoGUI(MonoBehaviour::GUILayoutType, int, int)
#49 0x000001026db024 in GUIView::OnInputEvent(InputEvent&)
#50 0x00000100cb6470 in GUIView::ProcessInputEvent(InputEvent&)
#51 0x000001026f2c8d in -[GUIRenderView doDrag:type:]
#52 0x000001026f2ec6 in -[GUIRenderView performDragOperation:]
#53 0x007fff93383610 in NSCoreDragReceiveMessageProc
#54 0x007fff9bf62e5e in DoMultipartDropMessage
#55 0x007fff9bf62b68 in DoDropMessage
#56 0x007fff9bf67a9b in CoreDragMessageHandler
#57 0x007fff9036c628 in __CFMessagePortPerform
#58 0x007fff902d4019 in __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__
#59 0x007fff902d3f89 in __CFRunLoopDoSource1
#60 0x007fff902cb9bb in __CFRunLoopRun
#61 0x007fff902caed8 in CFRunLoopRunSpecific
#62 0x007fff90a09935 in RunCurrentEventLoopInMode
#63 0x007fff90a0976f in ReceiveNextEventCommon
#64 0x007fff90a095af in _BlockUntilNextEventMatchingListInModeWithFilter
#65 0x007fff930c4df6 in _DPSNextEvent
#66 0x007fff930c4226 in -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:]
#67 0x007fff930b8d80 in -[NSApplication run]
#68 0x007fff93082368 in NSApplicationMain
#69 0x000001026e4128 in EditorMain(int, char const**)
#70 0x000001026e4939 in main
#71 0x00000100002604 in start
Launching bug reporter

Comments (1)

  1. sebastiansgames

    Sep 05, 2017 16:33

    I'm getting what I believe is a similar issue in 2017.1.0f3...
    DynamicHeapAllocator<LowLevelAllocator>::Reallocate(void*, unsigned long, int)

    I've filed bug reports here:
    https://fogbugz.unity3d.com/default.asp?947381_ek4fq1afc89ahf7g
    and a follow up report here:
    https://fogbugz.unity3d.com/default.asp?947412_7ltoerhoi9b3qtdb

    Thank you.

Add comment

Log in to post comment