Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Mobile] android prod crash: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR) #20828

Open
luciferldy opened this issue May 27, 2024 · 4 comments
Open
Labels
platform:mobile issues related to ONNX Runtime mobile; typically submitted using template

Comments

@luciferldy
Copy link

Describe the issue

pid: 14930, tid: 15892 >>> com.xproducer.yingshiai <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0000000000000000
x0 0000000000000000 x1 0000000000000004 x2 b400007aaebd3f90 x3 0000000000000003
x4 0000000000000000 x5 00000000ffffffff x6 00000000ffffffff x7 0000000000000000
x8 0000000000000000 x9 ed1f18ee3f0a4e2c x10 00000000ffffffff x11 0000007ab0280e0c
x12 b400007ab022e2f8 x13 b400007ab022e2d0 x14 b400007aa4ec01c0 x15 0200000000000000
x16 0000000000000001 x17 0000007c14d4183c x18 0000007aa1092000 x19 0000007aacedd558
x20 0000007aacedd6b0 x21 0000000000000003 x22 0000007aacedfea8 x23 0000007aacedd4c0
x24 0000000000000000 x25 0000000000000000 x26 0000007aacee1000 x27 000000000000000b
x28 b400007acdd397b0 x29 0000007aacedd340 x30 0000007aa730b5c8
sp 0000007aacedd2b0 pc 0000007aa730b59c pstate 0000000080001000
v0 00000000000000000000000000000004 v1 bf056d1f3f21375b3e2026f53f22598f
v2 bf09ddd33f04e35cbf511db83ea46464 v3 bf07c0223f2aafbc3e67a7323f37c34e
v4 aebd37ffaebd37ffaebd37ffaebd37ff v5 335c0041335c0041335c0041335c0041
v6 3779434a3779434a3779434a3779434a v7 3a270ded3a270ded3a270ded3a270ded
v8 00000000000000000000000000000001 v9 00000000000000000000000000000000
v10 00000000000000000000000000000000 v11 00000000000000000000000000000000
v12 00000000000000000000000000000000 v13 00000000000000000000000000000000
v14 00000000000000000000000000000000 v15 00000000000000000000000000000000
v16 3ba059dc3ba059dc3ba059dc3ba059dc v17 35a0d3d835a0d3d835a0d3d835a0d3d8
v18 38f895d638f895d638f895d638f895d6 v19 3b14aa053b14aa053b14aa053b14aa05
v20 3ba059dd3ba059dd3ba059dd3ba059dd v21 bf07c0223f2aafbc3e67a7323f37c34e
v22 3eb28bec3f25d6003d59110a3f50cf54 v23 3bbabf143bd224ca3ba44d183bdf9621
v24 3ba7b1383bae153b3ba175813bb1b556 v25 38f9762c38fa369238f8b7ee38faa28f
v26 3b1761f73b19bab83b1513773b1b0d7d v27 3e15f83c3e060b343df183c73dfdc3af
v28 000000000000000000000000bfc70e91 v29 00000000000000000000000000000000
v30 00000000000000000000000000000000 v31 00000000000000000000000000000000
fpsr 0800001b fpcr 00000000
#00 pc 0000000000a4b59c /data/app/~~9lYNu-scqLIvkPK5b1LAJA==/com.xproducer.yingshiai-Ov_zBVGGyzRK7IS0g0iJGg==/lib/arm64/libonnxruntime.so
#1 pc 0000000000a374bc /data/app/~~9lYNu-scqLIvkPK5b1LAJA==/com.xproducer.yingshiai-Ov_zBVGGyzRK7IS0g0iJGg==/lib/arm64/libonnxruntime.so

To reproduce

we can not reproduce this crash on our devices.

Urgency

No response

Platform

Android

OS Version

12/13

ONNX Runtime Installation

Released Package

Compiler Version (if 'Built from Source')

No response

Package Name (if 'Released Package')

None

ONNX Runtime Version or Commit ID

1.15.1

ONNX Runtime API

C++/C

Architecture

ARM64

Execution Provider

Other / Unknown

Execution Provider Library Version

1.15.1

@luciferldy luciferldy added the platform:mobile issues related to ONNX Runtime mobile; typically submitted using template label May 27, 2024
@skottmckay
Copy link
Contributor

If there's a crash in ORT it would typically be due to a bad model or bad input as the same C++ code to execute a model is used on all platforms.

If the model works in python on a desktop machine (easiest way to test, but any other language/environment is fine), we can rule out the cause being a bad model.

Without providing the model and exact details to recreate the input that caused the crash, we can't do much to debug it further.

@luciferldy
Copy link
Author

luciferldy commented May 27, 2024 via email

Copy link
Contributor

This issue has been automatically marked as stale due to inactivity and will be closed in 30 days if no further activity occurs. If further support is needed, please provide an update and/or more details.

@github-actions github-actions bot added the stale issues that have not been addressed in a while; categorized by a bot label Jun 26, 2024
@luciferldy
Copy link
Author

luciferldy commented Jun 26, 2024 via email

@github-actions github-actions bot removed the stale issues that have not been addressed in a while; categorized by a bot label Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform:mobile issues related to ONNX Runtime mobile; typically submitted using template
Projects
None yet
Development

No branches or pull requests

2 participants