cancel
Showing results for 
Search instead for 
Did you mean: 

SEGFAULT running Local Avatar sample

benmersive
Explorer
I kicked off the local Avatar sample in a project with the latest Oculus platform (v1.11 I believe), and that project ran fine before the local Avatar was added. Then I loaded in the mobile avatar sdk and built the local avatar sample and ran it on a Galaxy S6 edge model number SM-G925I Android 6.0.1 and it opens, you can see the white platform: but then you get a segfault and the app crashes. This is the log message:

02-25 17:56:51.718 14534 14547 I Unity   : Unity v5.5.0f3, Oculus Utilities v1.11.0, OVRPlugin v1.10.0, SDK v1.0.4.0.


02-25 17:56:51.718 14534 14547 I Unity   :  


02-25 17:56:51.718 14534 14547 I Unity   : (Filename: ./artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)


02-25 17:56:51.718 14534 14547 I Unity   : 


02-25 17:56:52.328 14534 14760 F libc    : Fatal signal 11 (SIGSEGV), code 1, fault addr 0x88 in tid 14760 (UnityMain)


02-25 17:56:52.398  3038  3038 F DEBUG   : pid: 14534, tid: 14760, name: UnityMain  >>> com.foo.bar <<<

02-25 17:56:53.758  5273  5273 E audit   : type=1701 msg=audit(1488005813.748:727): auid=4294967295 uid=10336 gid=10336 ses=4294967295 subj=u:r:untrusted_app:s0:c512,c768 pid=14760 comm="UnityMain" reason="memory violation" sig=11


Immediately prior to the log message here are all the Unity related messages:


02-25 17:56:44.488  3459  4062 I ActivityManager: Start proc 14534:com.foo.bar/u0a336 for activity com.foo.bar/com.unity3d.player.UnityPlayerActivity

02-25 17:56:44.768 14534 14534 I InjectionManager: dispatchOnViewCreated > Target : com.unity3d.player.UnityPlayerActivity isFragment :false

02-25 17:56:44.808  3459  4062 D ISSUE_DEBUG: InputChannelName : 36a682d com.foo.bar/com.unity3d.player.UnityPlayerActivity

02-25 17:56:44.818  3459  3536 D StatusBarManagerService: manageDisableList userId=0 what=0x0 pkg=Window{36a682d u0 d0 com.foo.bar/com.unity3d.player.UnityPlayerActivity}

02-25 17:56:44.888  3459  4536 V WindowStateAnimator: Finishing drawing window Window{36a682d u0 d0 com.foo.bar/com.unity3d.player.UnityPlayerActivity}: mDrawState=DRAW_PENDING

02-25 17:56:44.898  3459  3576 I ActivityManager: Displayed com.foo.bar/com.unity3d.player.UnityPlayerActivity: +419ms

02-25 17:56:44.898  3459  3576 I Timeline: Timeline: Activity_windows_visible id: ActivityRecord{2a15b0a u0 com.foo.bar/com.unity3d.player.UnityPlayerActivity t14004} time:16246373

02-25 17:56:44.908  3459  4079 V WindowStateAnimator: Finishing drawing window Window{36a682d u0 d0 com.foo.bar/com.unity3d.player.UnityPlayerActivity}: mDrawState=HAS_DRAWN

02-25 17:56:45.048 14534 14547 E Unity   : Unable to find AudioPluginMsHRTF

02-25 17:56:45.048 14534 14547 E Unity   : Unable to find AudioPluginOculusSpatializer

02-25 17:56:45.188  3459  3536 D StatusBarManagerService: manageDisableList userId=0 what=0x0 pkg=Window{36a682d u0 d0 com.foo.bar/com.unity3d.player.UnityPlayerActivity}

02-25 17:56:45.198 14534 14547 D Unity   :  GL_EXT_debug_marker GL_ARM_rgba8 GL_ARM_mali_shader_binary GL_OES_depth24 GL_OES_depth_texture GL_OES_depth_texture_cube_map GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_EXT_read_format_bgra GL_OES_compressed_paletted_texture GL_OES_compressed_ETC1_RGB8_texture GL_OES_standard_derivatives GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_texture_npot GL_OES_vertex_half_float GL_OES_required_internalformat GL_OES_vertex_array_object GL_OES_mapbuffer GL_EXT_texture_format_BGRA8888 GL_EXT_texture_rg GL_EXT_texture_type_2_10_10_10_REV GL_OES_fbo_render_mipmap GL_OES_element_index_uint GL_EXT_shadow_samplers GL_OES_texture_compression_astc GL_KHR_texture_compression_astc_ldr GL_KHR_texture_compression_astc_hdr GL_KHR_debug GL_EXT_occlusion_query_boolean GL_EXT_disjoint_timer_query GL_EXT_blend_minmax GL_EXT_discard_framebuffer GL_OES_get_program_binary GL_OES_texture_3D GL_EXT_texture_storage GL_EXT_multisampled_render_to_texture GL_OES_surfaceless_context GL_OES_texture_stencil8 GL_EXT_shade

02-25 17:56:45.198 14534 14547 D Unity   : r_pixel_local_storage GL_ARM_shader_framebuffer_fetch GL_ARM_shader_framebuffer_fetch_depth_stencil GL_ARM_mali_program_binary GL_EXT_sRGB GL_EXT_sRGB_write_control GL_EXT_texture_sRGB_decode GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_OES_texture_storage_multisample_2d_array GL_OES_shader_image_atomic GL_EXT_robustness GL_EXT_draw_buffers_indexed GL_OES_draw_buffers_indexed GL_EXT_texture_border_clamp GL_OES_texture_border_clamp GL_EXT_texture_cube_map_array GL_OES_texture_cube_map_array GL_OES_sample_variables GL_OES_sample_shading GL_OES_shader_multisample_interpolation GL_EXT_shader_io_blocks GL_OES_shader_io_blocks GL_EXT_tessellation_shader GL_OES_tessellation_shader GL_EXT_primitive_bounding_box GL_OES_primitive_bounding_box GL_EXT_geometry_shader GL_OES_geometry_shader GL_ANDROID_extension_pack_es31a GL_EXT_gpu_shader5 GL_OES_gpu_shader5 GL_EXT_texture_buffer GL_OES_texture_buffer GL_EXT_copy_image GL_OES_copy_image GL_EXT_color_buffer_half_float GL_EXT_color_buffer_floa

02-25 17:56:45.198 14534 14547 D Unity   : t GL_OVR_multiview GL_OVR_multiview2 GL_OVR_multiview_multisampled_render_to_texture

02-25 17:56:46.278 14534 14547 I VrApi   : APP ACTIVITY CLASS = com.unity3d.player.UnityPlayerActivity

02-25 17:56:46.818 18587 22855 E SDKLoggingService: Unable to parse json content ({"data_type":"app_info","device_serial":"1015fa90d19d3003","sensor_serial":"R322XXU0AOJ1","headset_serial":"088a27225079aa07ffcafac5844950bc7014789956d59d31b8b6d599c9499e8f","session_id":1347774501,"developer_mode":0,"headset_model":"SM-R322","device_model_number":"SM-G925I","device_hardware":"samsungexynos7420","device_chipset":"exynos7420","device_build_version":"MMB29K.G925IDVU3EPGG","device_build_type":"user","device_os_version":"6.0.1","device_total_memory_MB":"2679","device_threshold_memory_MB":"157","device_wifi_connected":"0","device_bluetooth_enabled":"0","device_airplane_mode_enabled":"0","device_power_saving_mode":"0","device_uptime_seconds":"16248","vrsvc_version":"2.6.42","app_vrapi_version":"1.0.4.5-341210-49622429 Feb 10 2017 21:18:49 Development","app_name":"MVR-Social","app_version":"1.0 versionCode 1 internalVersionName <none>","app_vr_type":"vr_only","app_package_name":"com.immersive.Social","app_activity_class":"com.unity3d.player.UnityPlayerActivity"})

02-25 17:56:46.928 14534 14547 D UnityVolumeReceiver: Registering volume receiver

02-25 17:56:46.938 14534 14547 D UnityVolumeReceiver: startVolumeReceiver: 15



















02-25 17:56:46.938 14534 14547 D UnityBatteryReceiver: Registering battery receiver



1 ACCEPTED SOLUTION

Accepted Solutions

benmersive
Explorer
Hi @Ross_Beef

The latest build has fixed it, local avatar is working on the Gear VR for us! Thanks!

View solution in original post

4 REPLIES 4

Ross_Beef
Heroic Explorer
Just to check, which build of the mobile SDK were you using? We just posted an update yesterday so want to make sure you're on latest.

Ross_Beef
Heroic Explorer
It's also be great if possible to see the full logs

Ross_Beef
Heroic Explorer
Hey @benmersive

I just realised that the latest build didn't attach properly to my post here: 
https://forums.oculus.com/vip/discussion/50050/mobile-avatars-sdk-2-24-build/

I've now corrected this and you should be able to download the latest and let us know if you're still running into problems.

benmersive
Explorer
Hi @Ross_Beef

The latest build has fixed it, local avatar is working on the Gear VR for us! Thanks!