-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
Android crash strlen+16 signal 11 (SIGSEGV), code 1 (SEGV_MAPERR) #3267
Comments
Hi @tri-bao, |
When it happened, my app was uploaded to google Play Store. The app bases on an AAR that was built using the graph
As I mentioned earlier, this crash does not always occur. After it crashed, I sent the crash log to Play Store as you can see in my origin comment, I killed the app and reopened it, then it doesn't crash any more. Like the person in #2547 It happens once and not again on the same phone. I wonder if is there any chance at a very special moment that the For my app, since we never use the
|
Hi @tri-bao , |
hi @sureshdagooglecom , |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you. |
please don't close, bot :) |
Hi @tri-bao , |
as I mentioned in my previous comment, that was what I did #3267 (comment) |
I also met this issue. Reproduce rate less than 1/100. pid: 3345, tid: 3621, name: mediapipe/3621 >>> com.blake.aircmd <<< backtrace: |
I've also encountered this issue. Can confirm it gets fixed by providing model path directly to
From that it looks like root cause of the problem is in either |
Hello @tri-bao, You can continue to use those legacy solutions in your applications if you choose. Though, we would request you to check new MediaPipe solutions which can help you more easily build and customize ML solutions for your applications. These new solutions will provide a superset of capabilities available in the legacy solutions. Thank you |
This issue has been marked stale because it has no recent activity since 7 days. It will be closed if no further activity occurs. Thank you. |
This issue was closed due to lack of activity after being marked stale for past 7 days. |
This is same as #2547 but I couldn't reopen it for discussion. Thus, I created a new one.
Same as this one #2746
Our android app based on the
iris_tracking_gpu.pbtxt
graph. When getting pushed to Play Stored, we receive the following crash on Samsung Galaxy Note5 which runs Android 7.0 (SDK 24).We also used that phone during development and didn't face such crash. It does not always crash because after it crashed, closed the app and reopened it the it worked!
According to https://source.android.com/devices/tech/debug/native-crash#nullpointer, this is just a pure null pointer dereference.
Tracing the source code and all the involved graph files, I suspect the argument
path
in the following method of fileresource_util_default.cc
That path is provided via a side package input in declared in the graph
face_landmarks_model_loader.pbtxt
Is that possible, under a special condition, the
output_side_packet: "PACKET:model_path"
if theSwitchContainer
emit a null path to theinput_side_packet: "FILE_PATH:model_path"
ofLocalFileContentsCalculator
? As I said earlier, it doesn't always happen, on the same phone that crashed, relaunching the app did not crashThe text was updated successfully, but these errors were encountered: