Closed Gerz-inc closed 1 year ago
Describe the bug Crash occurred when start typing text in input field
SDK Info:
Smartphone:
Development Environment:
StackTrace:
Thread 10 Crashed:: translate 0 ??? 0x1019749a8 ??? 1 <translation info unavailable> 0x105855184 ??? 2 libsystem_pthread.dylib 0x10bcd0ee6 pthread_kill + 263 3 libsystem_c.dylib 0x10abefe58 abort + 130 4 libsystem_malloc.dylib 0x10bbec832 malloc_vreport + 944 5 libsystem_malloc.dylib 0x10bbeca3e malloc_report + 158 6 ??? 0x180 ??? 7 TranslateExample 0x1005f2536 gemmlowp::ComputeImpl<gemmlowp::PackedSideBlock<gemmlowp::KernelSideFormat<gemmlowp::CellFormat<4, 2, (gemmlowp::CellOrder)1>, 3>>, gemmlowp::PackedSideBlock<gemmlowp::KernelSideFormat<gemmlowp::CellFormat<4, 2, (gemmlowp::CellOrder)1>, 1>>, gemmlowp::PackedResult>::ComputeRun(int, int, int, int) + 230 8 TranslateExample 0x1005f43f6 void gemmlowp::SingleThreadGemm<gemmlowp::KernelFormat<gemmlowp::KernelSideFormat<gemmlowp::CellFormat<4, 2, (gemmlowp::CellOrder)1>, 3>, gemmlowp::KernelSideFormat<gemmlowp::CellFormat<4, 2, (gemmlowp::CellOrder)1>, 1>>, unsigned char, unsigned char, gemmlowp::BitDepthParams<gemmlowp::OperandRange<1, 255>, gemmlowp::OperandRange<0, 255>>, (gemmlowp::MapOrder)1, (gemmlowp::MapOrder)0, (gemmlowp::MapOrder)0, gemmlowp::VectorDup<int const, (gemmlowp::VectorShape)0>, gemmlowp::VectorDup<int const, (gemmlowp::VectorShape)1>, std::__1::tuple<gemmlowp::OutputStageBiasAddition<gemmlowp::VectorMap<int const, (gemmlowp::VectorShape)0>>, gemmlowp::OutputStageScaleInt32ByFixedPointAndExponent, gemmlowp::OutputStageClamp, gemmlowp::OutputStageSaturatingCastToUint8>>(gemmlowp::SingleThreadGemmContext*, gemmlowp::KernelBase const&, gemmlowp::MatrixMap<unsigned char const, (gemmlowp::MapOrder)1> const&, gemmlowp::MatrixMap<unsigned char const, (gemmlowp::MapOrder)0> const&, gemmlowp::MatrixMap<unsigned char, (gemmlowp::MapOrder)0>*, gemmlowp::VectorDup<int const, (gemmlowp::VectorShape)0> const&, gemmlowp::VectorDup<int const, (gemmlowp::VectorShape)1> const&, std::__1::tuple<gemmlowp::OutputStageBiasAddition<gemmlowp::VectorMap<int const, (gemmlowp::VectorShape)0>>, gemmlowp::OutputStageScaleInt32ByFixedPointAndExponent, gemmlowp::OutputStageClamp, gemmlowp::OutputStageSaturatingCastToUint8> const&) + 1750 9 TranslateExample 0x1005ecfa5 void gemmlowp::DispatchGemmShape<unsigned char, unsigned char, gemmlowp::BitDepthParams<gemmlowp::OperandRange<1, 255>, gemmlowp::OperandRange<0, 255>>, (gemmlowp::MapOrder)1, (gemmlowp::MapOrder)0, (gemmlowp::MapOrder)0, gemmlowp::VectorDup<int const, (gemmlowp::VectorShape)0>, gemmlowp::VectorDup<int const, (gemmlowp::VectorShape)1>, std::__1::tuple<gemmlowp::OutputStageBiasAddition<gemmlowp::VectorMap<int const, (gemmlowp::VectorShape)0>>, gemmlowp::OutputStageScaleInt32ByFixedPointAndExponent, gemmlowp::OutputStageClamp, gemmlowp::OutputStageSaturatingCastToUint8>, gemmlowp::GemmContext>(gemmlowp::GemmContext*, gemmlowp::MatrixMap<unsigned char const, (gemmlowp::MapOrder)1> const&, gemmlowp::MatrixMap<unsigned char const, (gemmlowp::MapOrder)0> const&, gemmlowp::MatrixMap<unsigned char, (gemmlowp::MapOrder)0>*, gemmlowp::VectorDup<int const, (gemmlowp::VectorShape)0> const&, gemmlowp::VectorDup<int const, (gemmlowp::VectorShape)1> const&, std::__1::tuple<gemmlowp::OutputStageBiasAddition<gemmlowp::VectorMap<int const, (gemmlowp::VectorShape)0>>, gemmlowp::OutputStageScaleInt32ByFixedPointAndExponent, gemmlowp::OutputStageClamp, gemmlowp::OutputStageSaturatingCastToUint8> const&) + 277 10 TranslateExample 0x1005ece2a tflite::cpu_backend_gemm::detail::GemmImplUsingGemmlowp<unsigned char, unsigned char, int, unsigned char, (tflite::cpu_backend_gemm::QuantizationFlavor)1>::Run(tflite::cpu_backend_gemm::MatrixParams<unsigned char> const&, unsigned char const*, tflite::cpu_backend_gemm::MatrixParams<unsigned char> const&, unsigned char const*, tflite::cpu_backend_gemm::MatrixParams<unsigned char> const&, unsigned char*, tflite::cpu_backend_gemm::GemmParams<int, unsigned char, (tflite::cpu_backend_gemm::QuantizationFlavor)1> const&, tflite::CpuBackendContext*) + 218 11 TranslateExample 0x1005e8ac2 void tflite::cpu_backend_gemm::Gemm<unsigned char, unsigned char, int, unsigned char, (tflite::cpu_backend_gemm::QuantizationFlavor)1>(tflite::cpu_backend_gemm::MatrixParams<unsigned char> const&, unsigned char const*, tflite::cpu_backend_gemm::MatrixParams<unsigned char> const&, unsigned char const*, tflite::cpu_backend_gemm::MatrixParams<unsigned char> const&, unsigned char*, tflite::cpu_backend_gemm::GemmParams<int, unsigned char, (tflite::cpu_backend_gemm::QuantizationFlavor)1> const&, tflite::CpuBackendContext*) + 258 12 TranslateExample 0x100659c97 TfLiteStatus tflite::ops::builtin::fully_connected::EvalQuantized<(tflite::ops::builtin::fully_connected::KernelType)1>(TfLiteContext*, TfLiteNode*, TfLiteFullyConnectedParams*, tflite::ops::builtin::fully_connected::OpData*, TfLiteTensor const*, TfLiteTensor const*, TfLiteTensor const*, TfLiteTensor*) + 3015 13 TranslateExample 0x100656b19 TfLiteStatus tflite::ops::builtin::fully_connected::Eval<(tflite::ops::builtin::fully_connected::KernelType)1>(TfLiteContext*, TfLiteNode*) + 617 14 TranslateExample 0x100868fda tflite::Subgraph::InvokeImpl() + 1354 15 TranslateExample 0x100868a6f tflite::Subgraph::Invoke() + 15 16 TranslateExample 0x100857168 tflite::impl::Interpreter::Invoke() + 116 17 TranslateExample 0x100510a57 babelfish::device::inference::driver::tflite::TfliteExecutable::Run(babelfish::device::inference::DeviceQueue::DispatchRequest const&, tflite::profiling::NoopProfiler*) + 293 18 TranslateExample 0x10050f9dd babelfish::device::inference::driver::tflite::TfliteDriver::TfliteQueue::Dispatch(babelfish::device::inference::DeviceQueue::DispatchRequest const&) + 167 19 TranslateExample 0x1004ebdec babelfish::device::inference::DispatchCommand::Evaluate(babelfish::device::inference::DeviceQueue*) const + 658 20 TranslateExample 0x1004f348e babelfish::device::inference::Command::Evaluate(babelfish::device::inference::EvaluationContext*) const + 234 21 TranslateExample 0x1004f21fe babelfish::device::inference::Block::Evaluate(babelfish::device::inference::EvaluationContext*) const + 710 22 TranslateExample 0x1004da624 babelfish::device::inference::CommandBuffer::EvaluateBlock(babelfish::device::inference::Block*, babelfish::device::inference::Fence*) + 220 23 TranslateExample 0x1004da49e babelfish::device::inference::CommandBuffer::Evaluate(babelfish::device::inference::Fence*) + 112 24 TranslateExample 0x1004d89de babelfish::device::inference::Scheduler::Flush() + 136 25 TranslateExample 0x1004d8529 babelfish::device::inference::Scheduler::Submit(babelfish::device::inference::Scheduler::ScheduleMode, std::__1::unique_ptr<babelfish::device::inference::CommandEncoder, std::__1::default_delete<babelfish::device::inference::CommandEncoder>>) + 501 26 TranslateExample 0x1004d8217 babelfish::device::inference::Scheduler::Execute(std::__1::unique_ptr<babelfish::device::inference::CommandEncoder, std::__1::default_delete<babelfish::device::inference::CommandEncoder>>) + 81 27 TranslateExample 0x1004cd415 babelfish::device::mt::embedded::Encoder::EncodeSequences(babelfish::device::mt::embedded::Batch const&, babelfish::device::inference::Tensor const&) + 5479 28 TranslateExample 0x1004cb597 babelfish::device::mt::embedded::Encoder::Run(babelfish::device::mt::embedded::Batch const&, babelfish::device::mt::embedded::EncodedBatch*) + 193 29 TranslateExample 0x1004c6ee0 babelfish::device::mt::embedded::Model::Run(babelfish::device::mt::embedded::Batch const&, std::__1::vector<std::__1::vector<babelfish::device::mt::embedded::DecodedSequence, std::__1::allocator<babelfish::device::mt::embedded::DecodedSequence>>, std::__1::allocator<std::__1::vector<babelfish::device::mt::embedded::DecodedSequence, std::__1::allocator<babelfish::device::mt::embedded::DecodedSequence>>>>*) + 72 30 TranslateExample 0x1004c655c translating::offline::translator::bnmtv2::Model::Run(babelfish::device::mt::embedded::Batch const&, std::__1::vector<std::__1::vector<babelfish::device::mt::embedded::DecodedSequence, std::__1::allocator<babelfish::device::mt::embedded::DecodedSequence>>, std::__1::allocator<std::__1::vector<babelfish::device::mt::embedded::DecodedSequence, std::__1::allocator<babelfish::device::mt::embedded::DecodedSequence>>>>*) + 18 31 TranslateExample 0x100410c19 translating::offline::translator::Translator::TranslateOneBatch(int, std::__1::vector<translating::offline::translator::base::TranslateInstance*, std::__1::allocator<translating::offline::translator::base::TranslateInstance*>> const&) + 1419 32 TranslateExample 0x1004153bb void MLKITx_absl::internal_any_invocable::RemoteInvoker<false, void, translating::offline::translator::Translator::Translate(MLKITx_absl::string_view, MLKITx_absl::string_view, MLKITx_absl::Span<MLKITx_absl::string_view const>)::$_1&&>(MLKITx_absl::internal_any_invocable::TypeErasedState*) + 112 33 TranslateExample 0x100a95337 util::functional::internal::FunctorCallback<Closure, false, MLKITx_absl::AnyInvocable<void () &&>, void ()>::Run() + 29 34 TranslateExample 0x100af42a9 ThreadPoolWorker::Run() + 313 35 TranslateExample 0x100af0822 Thread::ThreadBody(void*) + 422 36 libsystem_pthread.dylib 0x10bcd11d3 _pthread_start + 125 37 libsystem_pthread.dylib 0x10bcccbd3 thread_start + 15
This is a known issue https://developers.google.com/ml-kit/known-issues
Describe the bug Crash occurred when start typing text in input field
SDK Info:
Smartphone:
Development Environment:
StackTrace: