Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed yesterday.
Improve this question
I've hit up the Unreal Dev forums and a few other places, but haven't gotten any bites on this yet.
I’m getting a crash when trying to load up the ACF sample project, play the metahumans demo, or loading a different level from the default in the Lyra Project. Starting a new project, or loading other example content (like the third person project) seems to work as expected. Tried in both UE 5.1 and 5.1.1.
Have tried changing/reinstalling video drivers, pulling out my 2nd gpu, completely reinstalling windows, deleting plugins and caches, launching in dx11… probably some other things I can’t remember. This leads me to think it's a hardware issue, but I'm really not running anything crazy (3900x, rtx 2080 and a gtx 1050 for more monitors before I pulled it out).
Lyra Crash Log Snippet:
[2023.02.15-16.50.32:375][610]LogStaticMesh: Display: Waiting on static mesh StaticMesh /Game/Weapons/Healthpack/Mesh/SM_healthpackPart.SM_healthpackPart being ready before playing
[2023.02.15-16.50.32:375][610]LogStaticMesh: Display: Waiting on static mesh StaticMesh /Game/Weapons/Rifle/Mesh/SM_Rifle.SM_Rifle being ready before playing
[2023.02.15-16.50.32:637][610]LogWorld: Bringing World /ShooterMaps/Maps/UEDPIE_0_L_Expanse.L_Expanse up for play (max tick rate 0) at 2023.02.15-11.50.32
[2023.02.15-16.50.32:656][610]LogWorld: Bringing up level for play took: 0.237583
[2023.02.15-16.50.32:658][610]LogCommonGame: [B_LyraUIPolicy_C_0] is adding player [LyraLocalPlayer_0]'s root layout [W_OverallUILayout_C_0] to the viewport
[2023.02.15-16.50.32:665][610]LogWorldPartition: New Streaming Source: LyraPlayerController_0 -> Position: X=0.000 Y=0.000 Z=0.000
[2023.02.15-16.50.32:665][610]LogWorldPartition: UWorldPartitionStreamingPolicy: CellsToActivate(4), CellsToLoad(0), CellsToUnload(0)
[2023.02.15-16.50.32:665][610]LogWorldPartition: UWorldPartitionStreamingPolicy: Sources[0] = X=0.000 Y=0.000 Z=0.000,P=0.000000 Y=0.000000 R=-0.000000
[2023.02.15-16.50.32:799][610]LogStaticMesh: Display: Waiting on static mesh StaticMesh /Game/Weapons/Pistol/Mesh/SM_Pistol.SM_Pistol being ready before playing
[2023.02.15-16.50.32:799][610]LogStaticMesh: Display: Waiting on static mesh StaticMesh /Game/Weapons/Spawnpad/Mesh/SM_launchpad_Hex.SM_launchpad_Hex being ready before playing
[2023.02.15-16.50.32:836][610]LogLoad: Took 8.605182 seconds to LoadMap(/ShooterMaps/Maps/L_Expanse)
[2023.02.15-16.50.32:844][610]LogNiagara: Compiling System NiagaraSystem /Game/Effects/Particles/Weapons/NS_WeaponFire_Tracer_Shotgun.NS_WeaponFire_Tracer_Shotgun took 2.545444 sec, no shader worker used.
[2023.02.15-16.50.32:869][610]LogNiagara: Compiling System NiagaraSystem /Game/Effects/Particles/Weapons/NS_WeaponFire_MuzzleFlash_Rifle.NS_WeaponFire_MuzzleFlash_Rifle took 1.162259 sec, no shader worker used.
[2023.02.15-16.50.32:912][610]LogLyraExperience: Identified experience LyraExperienceDefinition:B_ShooterGame_Elimination (Source: OptionsString)
[2023.02.15-16.50.33:416][610]LogAnimationCompression: Building Anim DDC data for AnimSequence /Game/Characters/Heroes/Mannequin/Animations/Actions/MM_Rifle_Reload.MM_Rifle_Reload
[2023.02.15-16.50.33:416][610]LogAnimationCompression: Building Anim DDC data for AnimSequence /Game/Characters/Heroes/Mannequin/Animations/Actions/MM_Rifle_Reload_Additive.MM_Rifle_Reload_Additive
[2023.02.15-16.50.33:423][610]LogWindows: Error: appError called: Assertion failed: Atom1.IsRotationNormalized() [File:D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Public\Math\TransformVectorized.h] [Line: 436]
[2023.02.15-16.50.33:423][610]LogWindows: Windows GetLastError: The operation completed successfully. (0)
ACF Crash Log Snippet:
[2023.02.15-04.45.51:942][ 0]MapCheck: New page: Map Check
[2023.02.15-04.45.51:942][ 0]LightingResults: New page: Lighting Build
[2023.02.15-04.45.51:950][ 0]LogAudio: Display: Audio Device unregistered from world 'None'.
[2023.02.15-04.45.51:955][ 0]LogUObjectHash: Compacting FUObjectHashTables data took 0.83ms
[2023.02.15-04.45.52:465][ 0]LogGameplayTags: Warning: [AssetLog] D:\Unreal Engine\Unreal Projects\ACFSample\Content\FullSample\Blueprints\Game\ACFSampleDamageCalculatorBP.uasset: Invalid GameplayTag RPG.Parameters.CritChance found in property /Script/AscentCombatFramework.DamageInfluence:Parameter.
[2023.02.15-04.45.53:150][ 0]LogGameplayTags: Warning: [AssetLog] D:\Unreal Engine\Unreal Projects\ACFSample\Content\FullSample\Animations\AnimModifiers\FootstepEffectTagModifier.uasset: Invalid GameplayTag AnimEffect.Footstep.Land found in property /Game/FullSample/Animations/AnimModifiers/FootstepEffectTagModifier.FootstepEffectTagModifier_C:Effect In.
[2023.02.15-04.45.53:655][ 0]LogAnimation: Warning: PoseAsset /AscentCombatFramework/Characters/Mannequins/Rigs/Poses/Manny/Manny_upperarm_r_pose.Manny_upperarm_r_pose is out-of-date with its source animation /AscentCombatFramework/Characters/Mannequins/Rigs/Poses/Manny/Manny_upperarm_r_anim.Manny_upperarm_r_anim
[2023.02.15-04.45.53:655][ 0]LogAnimationCompression: Building Anim DDC data for AnimSequence /AscentCombatFramework/Characters/Mannequins/Rigs/Poses/Manny/Manny_upperarm_r_anim.Manny_upperarm_r_anim
[2023.02.15-04.45.53:659][ 0]LogAnimation: Warning: PoseAsset /AscentCombatFramework/Characters/Mannequins/Rigs/Poses/Manny/Manny_upperarm_l_pose.Manny_upperarm_l_pose is out-of-date with its source animation /AscentCombatFramework/Characters/Mannequins/Rigs/Poses/Manny/Manny_upperarm_l_anim.Manny_upperarm_l_anim
[2023.02.15-04.45.53:662][ 0]LogAnimation: Warning: PoseAsset /AscentCombatFramework/Characters/Mannequins/Rigs/Poses/Manny/Manny_thigh_r_pose.Manny_thigh_r_pose is out-of-date with its source animation /AscentCombatFramework/Characters/Mannequins/Rigs/Poses/Manny/Manny_thigh_r_anim.Manny_thigh_r_anim
[2023.02.15-04.45.53:665][ 0]LogAnimation: Warning: PoseAsset /AscentCombatFramework/Characters/Mannequins/Rigs/Poses/Manny/Manny_thigh_l_pose.Manny_thigh_l_pose is out-of-date with its source animation /AscentCombatFramework/Characters/Mannequins/Rigs/Poses/Manny/Manny_thigh_l_anim.Manny_thigh_l_anim
[2023.02.15-04.45.53:667][ 0]LogAnimation: Warning: PoseAsset /AscentCombatFramework/Characters/Mannequins/Rigs/Poses/Manny/Manny_lowerarm_r_pose.Manny_lowerarm_r_pose is out-of-date with its source animation /AscentCombatFramework/Characters/Mannequins/Rigs/Poses/Manny/Manny_lowerarm_r_anim.Manny_lowerarm_r_anim
[2023.02.15-04.45.53:669][ 0]LogAnimation: Warning: PoseAsset /AscentCombatFramework/Characters/Mannequins/Rigs/Poses/Manny/Manny_lowerarm_l_pose.Manny_lowerarm_l_pose is out-of-date with its source animation /AscentCombatFramework/Characters/Mannequins/Rigs/Poses/Manny/Manny_lowerarm_l_anim.Manny_lowerarm_l_anim
[2023.02.15-04.45.53:671][ 0]LogAnimation: Warning: PoseAsset /AscentCombatFramework/Characters/Mannequins/Rigs/Poses/Manny/Manny_hand_r_pose.Manny_hand_r_pose is out-of-date with its source animation /AscentCombatFramework/Characters/Mannequins/Rigs/Poses/Manny/Manny_hand_r_anim.Manny_hand_r_anim
[2023.02.15-04.45.53:672][ 0]LogAnimation: Warning: PoseAsset /AscentCombatFramework/Characters/Mannequins/Rigs/Poses/Manny/Manny_hand_l_pose.Manny_hand_l_pose is out-of-date with its source animation /AscentCombatFramework/Characters/Mannequins/Rigs/Poses/Manny/Manny_hand_l_anim.Manny_hand_l_anim
[2023.02.15-04.45.53:674][ 0]LogAnimation: Warning: PoseAsset /AscentCombatFramework/Characters/Mannequins/Rigs/Poses/Manny/Manny_foot_r_pose.Manny_foot_r_pose is out-of-date with its source animation /AscentCombatFramework/Characters/Mannequins/Rigs/Poses/Manny/Manny_foot_r_anim.Manny_foot_r_anim
[2023.02.15-04.45.53:675][ 0]LogAnimation: Warning: PoseAsset /AscentCombatFramework/Characters/Mannequins/Rigs/Poses/Manny/Manny_foot_l_pose.Manny_foot_l_pose is out-of-date with its source animation /AscentCombatFramework/Characters/Mannequins/Rigs/Poses/Manny/Manny_foot_l_anim.Manny_foot_l_anim
[2023.02.15-04.45.53:677][ 0]LogAnimation: Warning: PoseAsset /AscentCombatFramework/Characters/Mannequins/Rigs/Poses/Manny/Manny_clavicle_r_pose.Manny_clavicle_r_pose is out-of-date with its source animation /AscentCombatFramework/Characters/Mannequins/Rigs/Poses/Manny/Manny_clavicle_r_anim.Manny_clavicle_r_anim
[2023.02.15-04.45.53:679][ 0]LogAnimation: Warning: PoseAsset /AscentCombatFramework/Characters/Mannequins/Rigs/Poses/Manny/Manny_clavicle_l_pose.Manny_clavicle_l_pose is out-of-date with its source animation /AscentCombatFramework/Characters/Mannequins/Rigs/Poses/Manny/Manny_clavicle_l_anim.Manny_clavicle_l_anim
[2023.02.15-04.45.53:680][ 0]LogAnimation: Warning: PoseAsset /AscentCombatFramework/Characters/Mannequins/Rigs/Poses/Manny/Manny_calf_r_pose.Manny_calf_r_pose is out-of-date with its source animation /AscentCombatFramework/Characters/Mannequins/Rigs/Poses/Manny/Manny_calf_r_anim.Manny_calf_r_anim
[2023.02.15-04.45.53:682][ 0]LogAnimation: Warning: PoseAsset /AscentCombatFramework/Characters/Mannequins/Rigs/Poses/Manny/Manny_calf_l_pose.Manny_calf_l_pose is out-of-date with its source animation /AscentCombatFramework/Characters/Mannequins/Rigs/Poses/Manny/Manny_calf_l_anim.Manny_calf_l_anim
[2023.02.15-04.45.53:717][ 0]LogGameplayTags: Warning: [AssetLog] D:\Unreal Engine\Unreal Projects\ACFSample\Content\FullSample\UI\WBP_Crafting.uasset: Invalid GameplayTag FSM.Pause found in property /Game/FullSample/UI/WBP_Crafting.WBP_Crafting_C:Transition.
[2023.02.15-04.45.53:895][ 0]LogGameplayTags: Warning: [AssetLog] D:\Unreal Engine\Unreal Projects\ACFSample\Content\FullSample\Blueprints\Characters\Enemies\ACFSampleAIBP.uasset: Invalid GameplayTag Anims found in property /Script/ExecutionsSystem.ACFExecutionCondition:AnimRootTag.
[2023.02.15-04.45.54:256][ 0]LogGameplayTags: Warning: [AssetLog] D:\Unreal Engine\Unreal Projects\ACFSample\Content\FullSample\UI\WBP_Storage.uasset: Invalid GameplayTag FSM.Chest found in property /Game/FullSample/UI/WBP_Storage.WBP_Storage_C:Transition.
[2023.02.15-04.45.54:273][ 0]LogGameplayTags: Warning: [AssetLog] D:\Unreal Engine\UE_5.1\Engine\Plugins\Marketplace\AscentCombatFramework\Content\Blueprints\ACFChestBP.uasset: Invalid GameplayTag Rarity.Common found in property /Script/InventorySystem.ACFItemGenerationRule:Rarity.
[2023.02.15-04.45.54:273][ 0]LogGameplayTags: Warning: [AssetLog] D:\Unreal Engine\UE_5.1\Engine\Plugins\Marketplace\AscentCombatFramework\Content\Blueprints\ACFChestBP.uasset: Invalid GameplayTag Rarity.Common found in property /Script/InventorySystem.ACFItemGenerationRule:Rarity.
[2023.02.15-04.45.54:587][ 0]LogGameplayTags: Warning: [AssetLog] D:\Unreal Engine\Unreal Projects\ACFSample\Content\FullSample\Blueprints\Characters\Player\ACFFullPlayerBP.uasset: Invalid GameplayTag Anims.Executions.SingleSword found in property /Script/ExecutionsSystem.Execution:AnimationTag.
[2023.02.15-04.45.54:793][ 0]LogGameplayTags: Warning: [AssetLog] D:\Unreal Engine\Unreal Projects\ACFSample\Content\FullSample\UI\WBP_Info.uasset: Invalid GameplayTag FSM.Chest found in property /Game/FullSample/UI/WBP_Info.WBP_Info_C:Transition.
[2023.02.15-04.45.54:973][ 0]LogScript: Warning: Script Msg: No world was found for object (/Game/FullSample/HUD/ACFFullHUD.Default__ACFFullHUD_C) passed in to UEngine::GetWorldFromContextObject().
[2023.02.15-04.45.54:973][ 0]LogScript: Warning: Last function called:
[Empty] (FFrame::GetScriptCallstack() called from native code)
[2023.02.15-04.45.54:974][ 0]LogScript: Warning: Script Msg: No world was found for object (/Game/FullSample/HUD/ACFFullHUD.Default__SKEL_ACFFullHUD_C) passed in to UEngine::GetWorldFromContextObject().
[2023.02.15-04.45.54:974][ 0]LogScript: Warning: Last function called:
[Empty] (FFrame::GetScriptCallstack() called from native code)
[2023.02.15-04.45.54:974][ 0]LogScript: Warning: Script Msg: No world was found for object (/Game/FullSample/HUD/ACFFullHUD.Default__ACFFullHUD_C) passed in to UEngine::GetWorldFromContextObject().
[2023.02.15-04.45.54:974][ 0]LogScript: Warning: Last function called:
[Empty] (FFrame::GetScriptCallstack() called from native code)
[2023.02.15-04.45.55:801][ 0]LogGameplayTags: Warning: [AssetLog] D:\Unreal Engine\Unreal Projects\ACFSample\Content\FullSample\GameplayTagTables\Executable.uasset: Invalid GameplayTag Anims.Executions.SingleSword found in property /Script/CombinedAnimationsSystem.CombinedAnimsSlave:AnimTag.
[2023.02.15-04.45.55:975][ 0]LogGameplayTags: Warning: [AssetLog] D:\Unreal Engine\Unreal Projects\ACFSample\Content\FullSample\GameplayTagTables\Executor.uasset: Invalid GameplayTag Anims.Executions.SingleSword found in property /Script/CombinedAnimationsSystem.CombinedAnimsMaster:AnimTag.
[2023.02.15-04.45.55:978][ 0]LogGameplayTags: Warning: [AssetLog] D:\Unreal Engine\Unreal Projects\ACFSample\Content\FullSample\GameplayTagTables\ItemsDB.uasset: Invalid GameplayTag Rarity.Common found in property /Script/InventorySystem.ItemGenerationSlot:Rarity.
[2023.02.15-04.45.55:978][ 0]LogGameplayTags: Warning: [AssetLog] D:\Unreal Engine\Unreal Projects\ACFSample\Content\FullSample\GameplayTagTables\ItemsDB.uasset: Invalid GameplayTag Rarity.Common found in property /Script/InventorySystem.ItemGenerationSlot:Rarity.
[2023.02.15-04.45.55:978][ 0]LogGameplayTags: Warning: [AssetLog] D:\Unreal Engine\Unreal Projects\ACFSample\Content\FullSample\GameplayTagTables\ItemsDB.uasset: Invalid GameplayTag Rarity.Rare found in property /Script/InventorySystem.ItemGenerationSlot:Rarity.
[2023.02.15-04.45.55:978][ 0]LogGameplayTags: Warning: [AssetLog] D:\Unreal Engine\Unreal Projects\ACFSample\Content\FullSample\GameplayTagTables\ItemsDB.uasset: Invalid GameplayTag Rarity.Common found in property /Script/InventorySystem.ItemGenerationSlot:Rarity.
[2023.02.15-04.45.55:978][ 0]LogGameplayTags: Warning: [AssetLog] D:\Unreal Engine\Unreal Projects\ACFSample\Content\FullSample\GameplayTagTables\ItemsDB.uasset: Invalid GameplayTag Rarity.Rare found in property /Script/InventorySystem.ItemGenerationSlot:Rarity.
[2023.02.15-04.45.56:028][ 0]LogTexture: Display: Building textures: /AscentCombatFramework/Blueprints/UI/TargetIcon.TargetIcon (BGRA8, 138x138 x1x1x1) (Required Memory Estimate: 0.619461 MB), EncodeSpeed: Fast
[2023.02.15-04.45.56:037][ 0]LogTexture: Display: Building textures: /AscentCombatFramework/Mannequin/Character/Materials/MaterialLayers/T_ML_Rubber_Blue_01_N.T_ML_Rubber_Blue_01_N (TFO_BC5, 512x512 x1x1x1) (Required Memory Estimate: 81.562488 MB), EncodeSpeed: Fast
[2023.02.15-04.45.56:037][ 0]LogTexture: Display: Building textures: /AscentCombatFramework/Mannequin/Character/Materials/MaterialLayers/T_ML_Rubber_Blue_01_D.T_ML_Rubber_Blue_01_D (TFO_AutoDXT, 512x512 x1x1x1) (Required Memory Estimate: 45.145823 MB), EncodeSpeed: Fast
[2023.02.15-04.45.56:038][ 0]LogTexture: Display: Building textures: /AscentCombatFramework/Mannequin/Character/Materials/MaterialLayers/T_ML_Aluminum01_N.T_ML_Aluminum01_N (TFO_BC5, 512x512 x1x1x1) (Required Memory Estimate: 81.562488 MB), EncodeSpeed: Fast
[2023.02.15-04.45.56:038][ 0]LogTexture: Display: Building textures: /AscentCombatFramework/Mannequin/Character/Materials/MaterialLayers/T_ML_Aluminum01.T_ML_Aluminum01 (TFO_AutoDXT, 512x512 x1x1x1) (Required Memory Estimate: 45.145823 MB), EncodeSpeed: Fast
[2023.02.15-04.45.56:039][ 0]LogSkeletalMesh: Building Skeletal Mesh SK_Mannequin...
[2023.02.15-04.45.56:042][ 0]LogTexture: Display: Building textures: /AscentCombatFramework/Mannequin/Character/Textures/UE4Man_Logo_N.UE4Man_Logo_N (TFO_BC5, 512x512 x1x1x1) (Required Memory Estimate: 81.562488 MB), EncodeSpeed: Fast
[2023.02.15-04.45.56:070][ 0]LogAnimationCompression: Building Anim DDC data for AnimSequence /AscentCombatFramework/Characters/Mannequins/Rigs/Poses/Manny/Manny_hand_r_anim.Manny_hand_r_anim
[2023.02.15-04.45.56:070][ 0]LogAnimationCompression: Building Anim DDC data for AnimSequence /AscentCombatFramework/Characters/Mannequins/Rigs/Poses/Manny/Manny_clavicle_r_anim.Manny_clavicle_r_anim
[2023.02.15-04.45.56:070][ 0]LogAnimationCompression: Building Anim DDC data for AnimSequence /AscentCombatFramework/Characters/Mannequins/Rigs/Poses/Manny/Manny_calf_l_anim.Manny_calf_l_anim
[2023.02.15-04.45.56:070][ 0]LogAnimationCompression: Building Anim DDC data for AnimSequence /AscentCombatFramework/Characters/Mannequins/Rigs/Poses/Manny/Manny_calf_r_anim.Manny_calf_r_anim
[2023.02.15-04.45.56:070][ 0]LogAnimationCompression: Building Anim DDC data for AnimSequence /AscentCombatFramework/Characters/Mannequins/Rigs/Poses/Manny/Manny_clavicle_l_anim.Manny_clavicle_l_anim
[2023.02.15-04.45.56:070][ 0]LogAnimationCompression: Building Anim DDC data for AnimSequence /AscentCombatFramework/Characters/Mannequins/Rigs/Poses/Manny/Manny_foot_r_anim.Manny_foot_r_anim
[2023.02.15-04.45.56:070][ 0]LogAnimationCompression: Building Anim DDC data for AnimSequence /AscentCombatFramework/Characters/Mannequins/Rigs/Poses/Manny/Manny_lowerarm_l_anim.Manny_lowerarm_l_anim
[2023.02.15-04.45.56:070][ 0]LogAnimationCompression: Building Anim DDC data for AnimSequence /AscentCombatFramework/Characters/Mannequins/Rigs/Poses/Manny/Manny_hand_l_anim.Manny_hand_l_anim
[2023.02.15-04.45.56:071][ 0]LogAnimationCompression: Building Anim DDC data for AnimSequence /AscentCombatFramework/Characters/Mannequins/Rigs/Poses/Manny/Manny_thigh_l_anim.Manny_thigh_l_anim
[2023.02.15-04.45.56:071][ 0]LogAnimationCompression: Building Anim DDC data for AnimSequence /AscentCombatFramework/Characters/Mannequins/Rigs/Poses/Manny/Manny_lowerarm_r_anim.Manny_lowerarm_r_anim
[2023.02.15-04.45.56:073][ 0]LogAnimationCompression: Building Anim DDC data for AnimSequence /AscentCombatFramework/Characters/Mannequins/Rigs/Poses/Manny/Manny_foot_l_anim.Manny_foot_l_anim
[2023.02.15-04.45.56:079][ 0]LogSkeletalMesh: Building Skeletal Mesh Proxy-Horse1...
[2023.02.15-04.45.56:083][ 0]LogOutputDevice: Warning:
Script Stack (0 frames) :
[2023.02.15-04.45.56:096][ 0]LogSkeletalMesh: Built Skeletal Mesh [0.05s] /AscentCombatFramework/Mannequin/Character/Mesh/SK_Mannequin.SK_Mannequin
[2023.02.15-04.45.56:096][ 0]LogAnimationCompression: Building Anim DDC data for AnimSequence /Game/FullSample/Assets/Characters/Horse/Horse_C_Fall_Low.Horse_C_Fall_Low
[2023.02.15-04.45.56:096][ 0]LogWindows: Error: appError called: Assertion failed: OutPose.IsNormalized() [File:D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\Animation\AnimSequence.cpp] [Line: 1477]
[2023.02.15-04.45.56:096][ 0]LogWindows: Windows GetLastError: The operation completed successfully. (0)
Related
Trying to run nvidia’s deepstream5.0 sdk (sample program) on ubuntu 18.04 by following the document (DeepStream Development Guide — DeepStream DeepStream Version: 5.0 documentation).
Hardware Platform (Jetson / GPU)=GPU NVIDIA GEFORCE RTX 2060
TensorRT Version=7.0
NVIDIA GPU Driver Version (valid for GPU only):450.102
Issue Type( questions, new requirements, bugs)=bugs
GCC=7.5
PYTHON 3.7
CUDNN 7.6.5
CUDA 10.2
The application is installed in the path: “/opt/nvidia/deepstream/deepstream-5.0/”.
The execution command is "deepstream-app -c "
Example:
deepstream-app -c /opt/nvidia/deepstream/deepstream-5.0/samples/configs/deepstream-app/source30_1080p_dec_infer-resnet_tiled_display_int8.txt
However got segmentation fault just after opening a blank screen and closing suddenly
ERROR: …/nvdsinfer/nvdsinfer_model_builder.cpp:1523 Deserialize engine failed because file path: /opt/nvidia/deepstream/deepstream-5.0/samples/configs/deepstream-app/…/…/models/Secondary_CarMake/resnet18.caffemodel_b16_gpu0_int8.engine open error
0:00:01.788894483 9829 0x5594636fc490 WARN nvinfer gstnvinfer.cpp:616:gst_nvinfer_logger:<secondary_gie_2> NvDsInferContext[UID 6]: Warning from NvDsInferContextImpl::deserializeEngineAndBackend() <nvdsinfer_context_impl.cpp:1690> [UID = 6]: deserialize engine from file :/opt/nvidia/deepstream/deepstream-5.0/samples/configs/deepstream-app/…/…/models/Secondary_CarMake/resnet18.caffemodel_b16_gpu0_int8.engine failed
0:00:01.788911328 9829 0x5594636fc490 WARN nvinfer gstnvinfer.cpp:616:gst_nvinfer_logger:<secondary_gie_2> NvDsInferContext[UID 6]: Warning from NvDsInferContextImpl::generateBackendContext() <nvdsinfer_context_impl.cpp:1797> [UID = 6]: deserialize backend context from engine from file :/opt/nvidia/deepstream/deepstream-5.0/samples/configs/deepstream-app/…/…/models/Secondary_CarMake/resnet18.caffemodel_b16_gpu0_int8.engine failed, try rebuild
0:00:01.788917862 9829 0x5594636fc490 INFO nvinfer gstnvinfer.cpp:619:gst_nvinfer_logger:<secondary_gie_2> NvDsInferContext[UID 6]: Info from NvDsInferContextImpl::buildModel() <nvdsinfer_context_impl.cpp:1715> [UID = 6]: Trying to create engine from model files
Warning: Flatten layer ignored. TensorRT implicitly flattens input to FullyConnected layers, but in other circumstances this will result in undefined behavior.
INFO: …/nvdsinfer/nvdsinfer_func_utils.cpp:39 [TRT]: Reading Calibration Cache for calibrator: EntropyCalibration2
INFO: …/nvdsinfer/nvdsinfer_func_utils.cpp:39 [TRT]: Generated calibration scales using calibration cache. Make sure that calibration cache has latest scales.
INFO: …/nvdsinfer/nvdsinfer_func_utils.cpp:39 [TRT]: To regenerate calibration cache, please delete the existing one. TensorRT will generate a new calibration cache.
INFO: …/nvdsinfer/nvdsinfer_func_utils.cpp:39 [TRT]: Some tactics do not have sufficient workspace memory to run. Increasing workspace size may increase performance, please check verbose output.
INFO: …/nvdsinfer/nvdsinfer_func_utils.cpp:39 [TRT]: Detected 1 inputs and 1 output network tensors.
ERROR: …/nvdsinfer/nvdsinfer_model_builder.cpp:1495 Serialize engine failed because of file path: /opt/nvidia/deepstream/deepstream-5.0/samples/models/Secondary_CarMake/resnet18.caffemodel_b16_gpu0_int8.engine opened error
0:00:11.045161759 9829 0x5594636fc490 WARN nvinfer gstnvinfer.cpp:616:gst_nvinfer_logger:<secondary_gie_2> NvDsInferContext[UID 6]: Warning from NvDsInferContextImpl::buildModel() <nvdsinfer_context_impl.cpp:1743> [UID = 6]: failed to serialize cude engine to file: /opt/nvidia/deepstream/deepstream-5.0/samples/models/Secondary_CarMake/resnet18.caffemodel_b16_gpu0_int8.engine
WARNING: …/nvdsinfer/nvdsinfer_func_utils.cpp:36 [TRT]: Current optimization profile is: 0. Please ensure there are no enqueued operations pending in this context prior to switching profiles
INFO: …/nvdsinfer/nvdsinfer_model_builder.cpp:685 [Implicit Engine Info]: layers num: 2
0 INPUT kFLOAT input_1 3x224x224
1 OUTPUT kFLOAT predictions/Softmax 20x1x1
0:00:11.054222978 9829 0x5594636fc490 INFO nvinfer gstnvinfer_impl.cpp:313:notifyLoadModelStatus:<secondary_gie_2> [UID 6]: Load new model:/opt/nvidia/deepstream/deepstream-5.0/samples/configs/deepstream-app/config_infer_secondary_carmake.txt sucessfully
ERROR: …/nvdsinfer/nvdsinfer_model_builder.cpp:1523 Deserialize engine failed because file path: /opt/nvidia/deepstream/deepstream-5.0/samples/configs/deepstream-app/…/…/models/Secondary_CarColor/resnet18.caffemodel_b16_gpu0_int8.engine open error
0:00:11.054352982 9829 0x5594636fc490 WARN nvinfer gstnvinfer.cpp:616:gst_nvinfer_logger:<secondary_gie_1> NvDsInferContext[UID 5]: Warning from NvDsInferContextImpl::deserializeEngineAndBackend() <nvdsinfer_context_impl.cpp:1690> [UID = 5]: deserialize engine from file :/opt/nvidia/deepstream/deepstream-5.0/samples/configs/deepstream-app/…/…/models/Secondary_CarColor/resnet18.caffemodel_b16_gpu0_int8.engine failed
0:00:11.054360902 9829 0x5594636fc490 WARN nvinfer gstnvinfer.cpp:616:gst_nvinfer_logger:<secondary_gie_1> NvDsInferContext[UID 5]: Warning from NvDsInferContextImpl::generateBackendContext() <nvdsinfer_context_impl.cpp:1797> [UID = 5]: deserialize backend context from engine from file :/opt/nvidia/deepstream/deepstream-5.0/samples/configs/deepstream-app/…/…/models/Secondary_CarColor/resnet18.caffemodel_b16_gpu0_int8.engine failed, try rebuild
0:00:11.054365641 9829 0x5594636fc490 INFO nvinfer gstnvinfer.cpp:619:gst_nvinfer_logger:<secondary_gie_1> NvDsInferContext[UID 5]: Info from NvDsInferContextImpl::buildModel() <nvdsinfer_context_impl.cpp:1715> [UID = 5]: Trying to create engine from model files
Warning: Flatten layer ignored. TensorRT implicitly flattens input to FullyConnected layers, but in other circumstances this will result in undefined behavior.
INFO: …/nvdsinfer/nvdsinfer_func_utils.cpp:39 [TRT]: Reading Calibration Cache for calibrator: EntropyCalibration2
INFO: …/nvdsinfer/nvdsinfer_func_utils.cpp:39 [TRT]: Generated calibration scales using calibration cache. Make sure that calibration cache has latest scales.
INFO: …/nvdsinfer/nvdsinfer_func_utils.cpp:39 [TRT]: To regenerate calibration cache, please delete the existing one. TensorRT will generate a new calibration cache.
INFO: …/nvdsinfer/nvdsinfer_func_utils.cpp:39 [TRT]: Some tactics do not have sufficient workspace memory to run. Increasing workspace size may increase performance, please check verbose output.
INFO: …/nvdsinfer/nvdsinfer_func_utils.cpp:39 [TRT]: Detected 1 inputs and 1 output network tensors.
ERROR: …/nvdsinfer/nvdsinfer_model_builder.cpp:1495 Serialize engine failed because of file path: /opt/nvidia/deepstream/deepstream-5.0/samples/models/Secondary_CarColor/resnet18.caffemodel_b16_gpu0_int8.engine opened error
0:00:19.492522201 9829 0x5594636fc490 WARN nvinfer gstnvinfer.cpp:616:gst_nvinfer_logger:<secondary_gie_1> NvDsInferContext[UID 5]: Warning from NvDsInferContextImpl::buildModel() <nvdsinfer_context_impl.cpp:1743> [UID = 5]: failed to serialize cude engine to file: /opt/nvidia/deepstream/deepstream-5.0/samples/models/Secondary_CarColor/resnet18.caffemodel_b16_gpu0_int8.engine
WARNING: …/nvdsinfer/nvdsinfer_func_utils.cpp:36 [TRT]: Current optimization profile is: 0. Please ensure there are no enqueued operations pending in this context prior to switching profiles
INFO: …/nvdsinfer/nvdsinfer_model_builder.cpp:685 [Implicit Engine Info]: layers num: 2
0 INPUT kFLOAT input_1 3x224x224
1 OUTPUT kFLOAT predictions/Softmax 12x1x1
0:00:19.497783953 9829 0x5594636fc490 INFO nvinfer gstnvinfer_impl.cpp:313:notifyLoadModelStatus:<secondary_gie_1> [UID 5]: Load new model:/opt/nvidia/deepstream/deepstream-5.0/samples/configs/deepstream-app/config_infer_secondary_carcolor.txt sucessfully
ERROR: …/nvdsinfer/nvdsinfer_model_builder.cpp:1523 Deserialize engine failed because file path: /opt/nvidia/deepstream/deepstream-5.0/samples/configs/deepstream-app/…/…/models/Secondary_VehicleTypes/resnet18.caffemodel_b16_gpu0_int8.engine open error
0:00:19.497944601 9829 0x5594636fc490 WARN nvinfer gstnvinfer.cpp:616:gst_nvinfer_logger:<secondary_gie_0> NvDsInferContext[UID 4]: Warning from NvDsInferContextImpl::deserializeEngineAndBackend() <nvdsinfer_context_impl.cpp:1690> [UID = 4]: deserialize engine from file :/opt/nvidia/deepstream/deepstream-5.0/samples/configs/deepstream-app/…/…/models/Secondary_VehicleTypes/resnet18.caffemodel_b16_gpu0_int8.engine failed
0:00:19.497954066 9829 0x5594636fc490 WARN nvinfer gstnvinfer.cpp:616:gst_nvinfer_logger:<secondary_gie_0> NvDsInferContext[UID 4]: Warning from NvDsInferContextImpl::generateBackendContext() <nvdsinfer_context_impl.cpp:1797> [UID = 4]: deserialize backend context from engine from file :/opt/nvidia/deepstream/deepstream-5.0/samples/configs/deepstream-app/…/…/models/Secondary_VehicleTypes/resnet18.caffemodel_b16_gpu0_int8.engine failed, try rebuild
0:00:19.497959157 9829 0x5594636fc490 INFO nvinfer gstnvinfer.cpp:619:gst_nvinfer_logger:<secondary_gie_0> NvDsInferContext[UID 4]: Info from NvDsInferContextImpl::buildModel() <nvdsinfer_context_impl.cpp:1715> [UID = 4]: Trying to create engine from model files
Warning: Flatten layer ignored. TensorRT implicitly flattens input to FullyConnected layers, but in other circumstances this will result in undefined behavior.
INFO: …/nvdsinfer/nvdsinfer_func_utils.cpp:39 [TRT]: Reading Calibration Cache for calibrator: EntropyCalibration2
INFO: …/nvdsinfer/nvdsinfer_func_utils.cpp:39 [TRT]: Generated calibration scales using calibration cache. Make sure that calibration cache has latest scales.
INFO: …/nvdsinfer/nvdsinfer_func_utils.cpp:39 [TRT]: To regenerate calibration cache, please delete the existing one. TensorRT will generate a new calibration cache.
INFO: …/nvdsinfer/nvdsinfer_func_utils.cpp:39 [TRT]: Some tactics do not have sufficient workspace memory to run. Increasing workspace size may increase performance, please check verbose output.
INFO: …/nvdsinfer/nvdsinfer_func_utils.cpp:39 [TRT]: Detected 1 inputs and 1 output network tensors.
ERROR: …/nvdsinfer/nvdsinfer_model_builder.cpp:1495 Serialize engine failed because of file path: /opt/nvidia/deepstream/deepstream-5.0/samples/models/Secondary_VehicleTypes/resnet18.caffemodel_b16_gpu0_int8.engine opened error
0:00:27.394531547 9829 0x5594636fc490 WARN nvinfer gstnvinfer.cpp:616:gst_nvinfer_logger:<secondary_gie_0> NvDsInferContext[UID 4]: Warning from NvDsInferContextImpl::buildModel() <nvdsinfer_context_impl.cpp:1743> [UID = 4]: failed to serialize cude engine to file: /opt/nvidia/deepstream/deepstream-5.0/samples/models/Secondary_VehicleTypes/resnet18.caffemodel_b16_gpu0_int8.engine
WARNING: …/nvdsinfer/nvdsinfer_func_utils.cpp:36 [TRT]: Current optimization profile is: 0. Please ensure there are no enqueued operations pending in this context prior to switching profiles
INFO: …/nvdsinfer/nvdsinfer_model_builder.cpp:685 [Implicit Engine Info]: layers num: 2
0 INPUT kFLOAT input_1 3x224x224
1 OUTPUT kFLOAT predictions/Softmax 6x1x1
0:00:27.401846636 9829 0x5594636fc490 INFO nvinfer gstnvinfer_impl.cpp:313:notifyLoadModelStatus:<secondary_gie_0> [UID 4]: Load new model:/opt/nvidia/deepstream/deepstream-5.0/samples/configs/deepstream-app/config_infer_secondary_vehicletypes.txt sucessfully
gstnvtracker: Loading low-level lib at /opt/nvidia/deepstream/deepstream-5.0/lib/libnvds_mot_klt.so
gstnvtracker: Optional NvMOT_RemoveStreams not implemented
gstnvtracker: Batch processing is OFF
gstnvtracker: Past frame output is OFF
ERROR: …/nvdsinfer/nvdsinfer_model_builder.cpp:1523 Deserialize engine failed because file path: /opt/nvidia/deepstream/deepstream-5.0/samples/configs/deepstream-app/…/…/models/Primary_Detector/resnet10.caffemodel_b4_gpu0_int8.engine open error
0:00:27.405130601 9829 0x5594636fc490 WARN nvinfer gstnvinfer.cpp:616:gst_nvinfer_logger:<primary_gie> NvDsInferContext[UID 1]: Warning from NvDsInferContextImpl::deserializeEngineAndBackend() <nvdsinfer_context_impl.cpp:1690> [UID = 1]: deserialize engine from file :/opt/nvidia/deepstream/deepstream-5.0/samples/configs/deepstream-app/…/…/models/Primary_Detector/resnet10.caffemodel_b4_gpu0_int8.engine failed
0:00:27.405139410 9829 0x5594636fc490 WARN nvinfer gstnvinfer.cpp:616:gst_nvinfer_logger:<primary_gie> NvDsInferContext[UID 1]: Warning from NvDsInferContextImpl::generateBackendContext() <nvdsinfer_context_impl.cpp:1797> [UID = 1]: deserialize backend context from engine from file :/opt/nvidia/deepstream/deepstream-5.0/samples/configs/deepstream-app/…/…/models/Primary_Detector/resnet10.caffemodel_b4_gpu0_int8.engine failed, try rebuild
0:00:27.405144384 9829 0x5594636fc490 INFO nvinfer gstnvinfer.cpp:619:gst_nvinfer_logger:<primary_gie> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::buildModel() <nvdsinfer_context_impl.cpp:1715> [UID = 1]: Trying to create engine from model files
INFO: …/nvdsinfer/nvdsinfer_func_utils.cpp:39 [TRT]: Reading Calibration Cache for calibrator: EntropyCalibration2
INFO: …/nvdsinfer/nvdsinfer_func_utils.cpp:39 [TRT]: Generated calibration scales using calibration cache. Make sure that calibration cache has latest scales.
INFO: …/nvdsinfer/nvdsinfer_func_utils.cpp:39 [TRT]: To regenerate calibration cache, please delete the existing one. TensorRT will generate a new calibration cache.
INFO: …/nvdsinfer/nvdsinfer_func_utils.cpp:39 [TRT]: Some tactics do not have sufficient workspace memory to run. Increasing workspace size may increase performance, please check verbose output.
INFO: …/nvdsinfer/nvdsinfer_func_utils.cpp:39 [TRT]: Detected 1 inputs and 2 output network tensors.
ERROR: …/nvdsinfer/nvdsinfer_model_builder.cpp:1495 Serialize engine failed because of file path: /opt/nvidia/deepstream/deepstream-5.0/samples/models/Primary_Detector/resnet10.caffemodel_b4_gpu0_int8.engine opened error
0:00:32.442386732 9829 0x5594636fc490 WARN nvinfer gstnvinfer.cpp:616:gst_nvinfer_logger:<primary_gie> NvDsInferContext[UID 1]: Warning from NvDsInferContextImpl::buildModel() <nvdsinfer_context_impl.cpp:1743> [UID = 1]: failed to serialize cude engine to file: /opt/nvidia/deepstream/deepstream-5.0/samples/models/Primary_Detector/resnet10.caffemodel_b4_gpu0_int8.engine
WARNING: …/nvdsinfer/nvdsinfer_func_utils.cpp:36 [TRT]: Current optimization profile is: 0. Please ensure there are no enqueued operations pending in this context prior to switching profiles
INFO: …/nvdsinfer/nvdsinfer_model_builder.cpp:685 [Implicit Engine Info]: layers num: 3
0 INPUT kFLOAT input_1 3x368x640
1 OUTPUT kFLOAT conv2d_bbox 16x23x40
2 OUTPUT kFLOAT conv2d_cov/Sigmoid 4x23x40
0:00:32.447113083 9829 0x5594636fc490 INFO nvinfer gstnvinfer_impl.cpp:313:notifyLoadModelStatus:<primary_gie> [UID 1]: Load new model:/opt/nvidia/deepstream/deepstream-5.0/samples/configs/deepstream-app/config_infer_primary.txt sucessfully
Runtime commands:
h: Print this help
q: Quit
p: Pause
r: Resume
NOTE: To expand a source in the 2D tiled display and view object details, left-click on the source.
To go back to the tiled display, right-click anywhere on the window.
**PERF: FPS 0 (Avg) FPS 1 (Avg) FPS 2 (Avg) FPS 3 (Avg)
**PERF: 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00)
** INFO: <bus_callback:181>: Pipeline ready
** INFO: <bus_callback:167>: Pipeline running
Segmentation fault (core dumped)
My nvidia driver and cuda version shown below:
My nvidia driver and cuda version shown below:
A bit late with the answer.
ERROR: …/nvdsinfer/nvdsinfer_model_builder.cpp:1523 Deserialize engine failed because file path: /opt/nvidia/deepstream/deepstream-5.0/samples/configs/deepstream-app/…/…/models/Primary_Detector/resnet10.caffemodel_b4_gpu0_int8.engine open error
The error message already give you the clue that is pointing to an engine file that does not exist on the path. Probably provide the full path to the engine file in the config file.
import pyarrow as pa
client = pa.hdfs.connect('localhost', 9000)
ERROR
Traceback (most recent call last):
File "/Users/wyx/project/py3.7aio/hdfs/list_dir.py", line 13, in <module>
client = pa.hdfs.connect('localhost', 9000)
File "/Users/wyx/project/py3.7aio/.env/lib/python3.6/site-packages/pyarrow/hdfs.py", line 207, in connect
extra_conf=extra_conf)
File "/Users/wyx/project/py3.7aio/.env/lib/python3.6/site-packages/pyarrow/hdfs.py", line 38, in __init__
self._connect(host, port, user, kerb_ticket, driver, extra_conf)
File "pyarrow/io-hdfs.pxi", line 89, in pyarrow.lib.HadoopFileSystem._connect
File "pyarrow/error.pxi", line 83, in pyarrow.lib.check_status
pyarrow.lib.ArrowIOError: Unable to load libhdfs
I install hadoop by brew and get any native libs so I build hadoop3.1.1 by Native Libraries Guide but I can't get any
libhdfs.so which the pyarrow need I only get libhdfs.dylib
➜ native git:(branch-3.1.1) ✗ hadoop checknative -a
2019-02-24 22:05:31,686 WARN bzip2.Bzip2Factory: Failed to load/initialize native-bzip2 library system-native, will use pure-Java version
2019-02-24 22:05:31,689 INFO zlib.ZlibFactory: Successfully loaded & initialized native-zlib library
2019-02-24 22:05:31,695 WARN erasurecode.ErasureCodeNative: ISA-L support is not available in your platform... using builtin-java codec where applicable
Native library checking:
hadoop: true /usr/local/Cellar/hadoop/3.1.1/libexec/lib/native/libhadoop.dylib
zlib: true /usr/lib/libz.1.dylib
zstd : false
snappy: true /usr/local/lib/libsnappy.1.dylib
lz4: true revision:10301
bzip2: false
openssl: false build does not support openssl.
ISA-L: false libhadoop was built without ISA-L support
2019-02-24 22:05:31,723 INFO util.ExitUtil: Exiting with status 1: ExitException
How to solve this error, I'm trying to add watermark on the image but getting below errors:
libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: cHRM chunk does not match sRGB [Mon Oct 1 15:06:36 2018] PHP Fatal error: Maximum execution time of 60 seconds exceeded in /var/www/newProject/vendor/intervention/image/src/Intervention/Image/Commands/Argument.php on line 41
I created a bindings library project to be able to run the Twilio's Android Programmable Voice SDK (v 2.0.5 - link to download .aar file).
I added this lines of code in Metadata.xml to fix some of the errors:
<!-- solving: Error CS0102 The type 'ErrorEventArgs' already contains a definition for 'P0' TwilioBindings C:\...\TwilioBindings\obj\Debug\generated\src\Com.Twilio.Voice.IRegistrationListener.cs -->
<attr path="/api/package[#name='com.twilio.voice']/interface[#name='RegistrationListener']/method[#name='onError']" name="managedName">RegistrationListenerOnError</attr>
<attr path="/api/package[#name='com.twilio.voice']/interface[#name='UnregistrationListener']/method[#name='onError']" name="managedName">UnregistrationListenerOnError</attr>
<!-- Error CS0234 The type or namespace name 'InternalCall' does not exist in the namespace 'Com.Twilio.Voice' (are you missing an assembly reference?) TwilioBindings C:\...\TwilioBindings\obj\Debug\generated\src\Com.Twilio.Voice.Call.cs -->
<attr path="/api/package[#name='com.twilio.voice']/class[#name='InternalCall']" name="visibility">public</attr>
<!-- Error CS0115 'Call.OnWarning(IDictionary)': no suitable method found to override TwilioBindings C:\...\TwilioBindings\obj\Debug\generated\src\Com.Twilio.Voice.Call.cs -->
<attr path="/api/package[#name='com.twilio.voice']/class[#name='Call']/method[#name='onWarning' and count(parameter)=1 and parameter[1][#type='java.util.HashMap']]/parameter[1]" name="type">java.util.HashMap<java.lang.String, java.lang.Object></attr>
It compiles successfully but when i call Voice.Call() the method doesn't return anything and if i call it in the ui thread the ui keeps stuck forever. I paused the debugger so i can see what part of the code was running and it's waiting for the return of the follow line in Com.Twilio.Voice.Voice:
global::Com.Twilio.Voice.Call __ret = global::Java.Lang.Object.GetObject<global::Com.Twilio.Voice.Call> (JNIEnv.CallStaticObjectMethod (class_ref, id_call_Landroid_content_Context_Ljava_lang_String_Ljava_util_Map_Lcom_twilio_voice_Call_Listener_, __args), JniHandleOwnership.TransferLocalRef);
My hint is that probably some of the lines that i added in Metadata.xml are incorrect or i need to add some more.
I've got some warnings that may help solving the problem:
Warning Type com.getkeepsafe.relinker.ReLinker: FxDG naming violation: Type name 'ReLinker' matches namespace part 'Relinker'. RelinkerBindings C:\...\RelinkerBindings\BINDINGSGENERATOR
Warning Skipping Com.Getkeepsafe.Relinker.ReLinkerInstance.Force, due to a duplicate field, method or nested type name. RelinkerBindings C:\...\RelinkerBindings\BINDINGSGENERATOR
Warning Type com.getkeepsafe.relinker.ReLinker: FxDG naming violation: Type name 'ReLinker' matches namespace part 'Relinker'. RelinkerBindings C:\...\RelinkerBindings\BINDINGSGENERATOR
Warning ignoring option UseSplitVerifier; support was removed in 8.0 RelinkerBindings C:\...\RelinkerBindings\JARTOXML
Warning CS0108 'Call.IInternalListener.OnConnectFailure(Call, CallException)' hides inherited member 'Call.IListener.OnConnectFailure(Call, CallException)'. Use the new keyword if hiding was intended. TwilioBindings C:\...\TwilioBindings\obj\Debug\generated\src\Com.Twilio.Voice.Call.cs 17 Active
Warning CS0108 'Call.IInternalListener.OnConnected(Call)' hides inherited member 'Call.IListener.OnConnected(Call)'. Use the new keyword if hiding was intended. TwilioBindings C:\...\TwilioBindings\obj\Debug\generated\src\Com.Twilio.Voice.Call.cs 21 Active
Warning CS0108 'Call.IInternalListener.OnDisconnected(Call, CallException)' hides inherited member 'Call.IListener.OnDisconnected(Call, CallException)'. Use the new keyword if hiding was intended. TwilioBindings C:\...\TwilioBindings\obj\Debug\generated\src\Com.Twilio.Voice.Call.cs 29 Active
Warning CS0108 'Event.GetType()' hides inherited member 'object.GetType()'. Use the new keyword if hiding was intended. TwilioBindings C:\...\TwilioBindings\obj\Debug\generated\src\Com.Twilio.Voice.Impl.Session.Event.cs 222 Active
Warning IDE0006 Error encountered while loading the project. Some project features, such as full solution analysis for the failed project and projects that depend on it, have been disabled. TwilioBindings 1 Active
Warning For type Com.Twilio.Voice.InternalCall, base interface com.twilio.voice.RTCMonitorCommand.Listener is invalid. TwilioBindings C:\...\TwilioBindings\BINDINGSGENERATOR
Warning For type Com.Twilio.Voice.InternalCall, base interface com.twilio.voice.EventPublisher.EventPublisherListener is invalid. TwilioBindings C:\...\TwilioBindings\BINDINGSGENERATOR
Warning Type com.twilio.voice.Voice: FxDG naming violation: Type name 'Voice' matches namespace part 'Voice'. TwilioBindings C:\...\TwilioBindings\BINDINGSGENERATOR
Warning Type com.twilio.voice.Voice: FxDG naming violation: Type name 'Voice' matches namespace part 'Voice'. TwilioBindings C:\...\TwilioBindings\BINDINGSGENERATOR
Warning Invalid parameter type com.twilio.voice.EventPayload.WarningName in method OnWarningCleared in managed type Com.Twilio.Voice.InternalCall. TwilioBindings C:\...\TwilioBindings\BINDINGSGENERATOR
Warning Invalid parameter type com.twilio.voice.EventPayload.WarningName in method OnWarningCleared in managed type Com.Twilio.Voice.Call. TwilioBindings C:\...\TwilioBindings\BINDINGSGENERATOR
Warning ignoring option UseSplitVerifier; support was removed in 8.0 TwilioBindings C:\...\TwilioBindings\JARTOXML
Note: Because Twilio's Android Programmable Voice SDK has a dependency (ReLinker 1.2.2 (link to download .aar file)) i had to create another bindings library project (RelinkerBindings) to contain that dependency and then i referenced it in Twilio's bindings project.
I never did any bindings project before in xamarin so i'm kinda new to this.
Does anyone one knows how to solve this problem ?
Thanks in advance.
EDIT:
I've saw the logcat logs and this is what happens when i call Voice.Call():
04-27 10:17:00.118 7208 7247 E CallCommandHandlerImpl: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/getkeepsafe/relinker/ReLinker;
04-27 10:17:00.118 7208 7247 E CallCommandHandlerImpl: at com.twilio.voice.UserAgent.loadLibrary(UserAgent.java:261)
04-27 10:17:00.118 7208 7247 E CallCommandHandlerImpl: at com.twilio.voice.UserAgent.<init>(UserAgent.java:57)
04-27 10:17:00.118 7208 7247 E CallCommandHandlerImpl: at com.twilio.voice.UserAgent.get(UserAgent.java:107)
04-27 10:17:00.118 7208 7247 E CallCommandHandlerImpl: at com.twilio.voice.CallCommandHandlerImpl.run(CallCommandHandlerImpl.java:50)
04-27 10:17:00.118 7208 7247 E CallCommandHandlerImpl: Caused by: java.lang.ClassNotFoundException: Didn't find class "com.getkeepsafe.relinker.ReLinker" on path: DexPathList[[zip file "/data/app/com.globalactone.ecare-1/base.apk"],nativeLibraryDirectories=[/data/app/com.globalactone.ecare-1/lib/x86, /system/fake-libs, /data/app/com.globalactone.ecare-1/base.apk!/lib/x86, /system/lib, /vendor/lib]]
04-27 10:17:00.118 7208 7247 E CallCommandHandlerImpl: at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
04-27 10:17:00.118 7208 7247 E CallCommandHandlerImpl: at java.lang.ClassLoader.loadClass(ClassLoader.java:380)
04-27 10:17:00.118 7208 7247 E CallCommandHandlerImpl: at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
04-27 10:17:00.118 7208 7247 E CallCommandHandlerImpl: ... 4 more
I added a reference to the RelinkerBindings project wich contains a dependency of the Twilio's project but somehow the logs where showing that the RelinkerBindings wasn't being found, so i removed the reference to the project and added a reference to the Relinker dll file and it works now.
Don't know why it wasn't working when it had a reference to the project.
I've been implementing map box recently, and I've updated to the latest version of react-native, gradle, and what not. The app runs absolutely fine in debug mode, but as soon as I run it in release mode it crashes immeidately with no warning screen at all. I'm using the new propTypes, and so on.
Please see the output log
Okay I apologise, whilst the above works in debug mode, the app is now crashing when building a release and I'm confused.
I'm attempting to build a release, and the crashes immediately although works fine in debug mode:
11-23 00:48:14.499: E/SDAgentPackageStateReceiver(6040): Not going to handle 'com.goclustr.clustr'!
11-23 00:48:14.704: E/CS/CscParser(20341): mps_code.dat does not exist
11-23 00:48:14.720: E/CS/CscParser(20341): mps_code.dat does not exist
11-23 00:48:14.735: E/CS/CscParser(20341): mps_code.dat does not exist
11-23 00:48:14.884: E/Launcher.Model(1564): onPackageAdded :com.goclustr.clustr
11-23 00:48:14.906: E/ApplicationPackageManager(1564): checkSettingsForIconTray value : 0
11-23 00:48:14.907: E/ApplicationPackageManager(1564): checkSettingsForIconTray value : 0
11-23 00:48:15.589: E/ReflectField(20468): Incorrect type : Fallback exception
11-23 00:48:15.589: E/ReflectField(20468): Incorrect type : Fallback exception
11-23 00:48:15.778: E/SemAffinityControl(20435): SemAffinityControl: registerfunction enter
11-23 00:48:16.281: E/SensorService(6040): getSensorList a sensor (MAX86902) without holding its required permission: com.samsung.permission.SSENSOR
11-23 00:48:16.281: E/SensorService(6040): getSensorList a sensor (HRM Ambient Light Canceling) without holding its required permission: com.samsung.permission.HRM_EXT
11-23 00:48:16.281: E/SensorService(6040): getSensorList a sensor (HRM Proximity detecting) without holding its required permission: com.samsung.permission.HRM_EXT
11-23 00:48:16.281: E/SensorService(6040): getSensorList a sensor (HRM Sensor) without holding its required permission: com.samsung.permission.SSENSOR
11-23 00:48:16.281: E/SensorService(6040): getSensorList a sensor (Sensor Diagnostic Monitor) without holding its required permission: com.samsung.permission.SSENSOR
11-23 00:48:16.297: E/Finsky(311): [1] com.google.android.finsky.wear.bk.a(3): onConnectionFailed: ConnectionResult{statusCode=API_UNAVAILABLE, resolution=null, message=null}
11-23 00:48:16.633: E/AndroidRuntime(20526): Process: com.goclustr.clustr, PID: 20526
11-23 00:48:16.633: E/AndroidRuntime(20526): com.facebook.react.common.JavascriptException: undefined is not an object (evaluating 'a.View.propTypes.style'), stack:
11-23 00:48:16.633: E/AndroidRuntime(20526): global code#841:9
11-23 00:48:16.633: E/AndroidRuntime(20526): at com.facebook.react.modules.core.ExceptionsManagerModule.showOrThrowError(ExceptionsManagerModule.java:56)
11-23 00:48:16.633: E/AndroidRuntime(20526): at com.facebook.react.modules.core.ExceptionsManagerModule.reportFatalException(ExceptionsManagerModule.java:40)
11-23 00:48:16.633: E/AndroidRuntime(20526): at com.facebook.react.bridge.JavaMethodWrapper.invoke(JavaMethodWrapper.java:374)
11-23 00:48:16.633: E/AndroidRuntime(20526): at com.facebook.react.bridge.JavaModuleWrapper.invoke(JavaModuleWrapper.java:162)
11-23 00:48:16.633: E/AndroidRuntime(20526): at com.facebook.react.bridge.queue.NativeRunnable.run(Native Method)
11-23 00:48:16.633: E/AndroidRuntime(20526): at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:31)
11-23 00:48:16.633: E/AndroidRuntime(20526): at com.facebook.react.bridge.queue.MessageQueueThreadImpl$3.run(MessageQueueThreadImpl.java:194)
11-23 00:48:16.850: E/ApplicationPackageManager(6833): checkSettingsForIconTray value : 0
11-23 00:48:16.850: E/ApplicationPackageManager(6833): checkSettingsForIconTray value : 0
11-23 00:48:16.865: E/ApplicationPackageManager(6833): checkSettingsForIconTray value : 0
11-23 00:48:17.259: E/ReactNativeJS(20526): Module AppRegistry is not a registered callable module (calling unmountApplicationComponentAtRootTag)
11-23 00:48:18.615: E/SMTCodec(20807): Fail to load libsmtcodec.so
11-23 00:48:18.616: E/SMTCodec(20807): [VoiceCodec] Can use only PCM mode.
11-23 00:48:19.302: E/HealthDataStore(20878): disconnectService: Context instance is invalid
11-23 00:48:20.297: E/HealthDataStore(20903): disconnectService: Context instance is invalid
11-23 00:48:20.588: E/com.strava.util.Benchmark(20998): "com.strava.StravaApplication.total" took 285 ms, but expected 60-175 ms
11-23 00:48:21.328: E/ActivityThread(20789): Failed to find provider info for com.samsung.accessory.saproviders.sasvoice.util.SASVoiceNativeAppProvider
11-23 00:48:21.486: E/HealthDataStore(20878): disconnectService: Context instance is invalid
11-23 00:48:27.157: E/svoiceapi(20789): in pds_open function, Caught RCF::Exception: Unable to establish network connection.
11-23 00:48:27.158: E/svoiceapi(20789): KEY : rampcode, VALUE : dash
11-23 00:48:27.158: E/svoiceapi(20789): KEY : reason, VALUE : Unable to establish network connection
11-23 00:48:45.574: E/CS/CscParser(21190): mps_code.dat does not exist
11-23 00:48:45.588: E/CS/CscParser(21190): mps_code.dat does not exist
11-23 00:48:45.602: E/CS/CscParser(21190): mps_code.dat does not exist
11-23 00:48:46.291: E/SensorService(6040): getSensorList a sensor (MAX86902) without holding its required permission: com.samsung.permission.SSENSOR
11-23 00:48:46.291: E/SensorService(6040): getSensorList a sensor (HRM Ambient Light Canceling) without holding its required permission: com.samsung.permission.HRM_EXT
As you can see there is an error for
11-23 00:48:17.259: E/ReactNativeJS(20526): Module AppRegistry is not a registered callable module (calling unmountApplicationComponentAtRootTag)
and
com.facebook.react.common.JavascriptException: undefined is not an object (evaluating 'a.View.propTypes.style'), stack:
None of which are a problem in debug mode
Thanks very much!
Using react-codemon, run on your projects directory
jscodeshift -t react-codemod/transforms/React-PropTypes-to-prop-types.js myapp/
This will resolve updating proptypes for your source code and any node modules.
Re-installing node modules will require running the command again it seems.
Please follow instructions over at https://github.com/reactjs/react-codemod but essentially once you've installed jscodeshift, and you've downloaded the react-codemod files as above for the various commands such as transforming React.propTypes to PropTypes and so on.
myapp/ here corresponds to my entire application project directory so the entire react-native project.
Secondly, consider the project dependencies you're using. For example in my case I was using react-native-router-flux at version 0.38.0, the app would work in debug mode, but crash in release. I attempted to upgrade to the latest beta version of 4.0.0-beta.24 and the problem was resolved.