Open wangguoqiang1 opened 1 year ago
Can you try with a debug build?
I used the release version33 in build gradle
// Filament
api "com.google.android.filament:filament-android:$filament_version"
api "com.google.android.filament:gltfio-android:$filament_version"
api "com.google.android.filament:filament-utils-android:$filament_version"
it is diffcult for me to make a debug filament sdk to use in sceneform
do you hava debug filament maven sdk?
do you hava debug filament maven sdk?
We do have one now. See filament-android-debug
.
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x3fbea55300000000 x0 000000775a706000 x1 0000006dfe9c12c0 x2 00000077ed7f2a98 x3 0000000000001000 x4 0000006dfe9c1270 x5 0000006d6ea35ec0 x6 0000000000000000 x7 0000000000000000 x8 3fbea55300000000 x9 641ffef3367416d0 x10 0000000000000001 x11 0000000000000000 x12 0000000000000000 x13 0000000000000000 x14 000000000008fcf4 x15 000000000008fcf6 x16 000000783106fa88 x17 00000078cef1e738 x18 0000006dfadfe000 x19 0000006dfe9c12c0 x20 000000775a706000 x21 00000077ed7f2ab0 x22 0000000000000002 x23 000000774025ac80 x24 000000774025acc0 x25 00000077ed7f2d50 x26 00000077ed7f3020 x27 00000078d2ac7020 x28 0000007fddd895d0 x29 00000077ed7f2d10 sp 00000077ed7f2a90 lr 00000077ee5251ac pc 3fbea55300000000
backtrace:
00 pc 3fbea55300000000
build id: /data/app/com.htsc.instapp-MZeiySrTA54XYmQHRHHz5w==/lib/arm64/libfilament-jni.so (BuildId: 46ef54515110dcd842cde0762eef8d3b4e55587f. FileSize: 1767768. LastModified: 1981-01-01T01:01:02.000+0800. MD5: 21e7a3e84875bfa6689aab6cf8a19264)
When I use version release33 in Sceneform for Android, it may crash with a low probability. When I analyze the crash log, it shows the following:
./aarch64-linux-android-addr2line -f -C -e libfilament-jni.so 00000000001221a8 filament::VertexBuffer::Builder::build(filament::Engine&).
I have checked all about using VertexBuffer.Builder().build(engine), I think it may not crash in there, could you please tell me how can i anaylsy it, thanks