libmaesdk.so SIGABRT on HttpClient_Android::SendRequestAsync()
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 20/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- android, cpp
- Lĩnh vực
- mobile-dev
Hướng nghiên cứu
Bắt đầu với trace crash của Android và entry point HttpClient_Android::SendRequestAsync trong maesdk 1.6, sau đó lần theo đường dẫn lời gọi qua Packager::handleFinalizePackage và worker thread. So sánh ngữ cảnh lỗi với threading của Android và vòng đời request của SDK; hoàn tất có nghĩa là tái hiện SIGABRT hoặc xác định được nguyên nhân và bản sửa lỗi đã được xác nhận.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Hi all
Can you help us diagnose why this native crash happens? This is something that has showed up consistently in our crash logs at a relatively low rate (9k instances in last 60 days out of many millions of sessions). There doesn't seem to be any pattern in the device make/version/model, and there isn't much more information I can glean out of this native trace.
Is this something that you guys have seen before?
We are using maesdk:1.6. Here is a sample trace from google play:

Thread: Check failed: !Contains(self)
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 0, tid: 21232 >>> com.microsoft.skydrive <<<
backtrace:
#00 pc 0x000000000008cdd0 /apex/com.android.runtime/lib64/bionic/libc.so (abort+164)
#01 pc 0x000000000053b0a4 /apex/com.android.art/lib64/libart.so (art::Runtime::Abort(char const*)+2340)
#02 pc 0x000000000001394c /system/lib64/libbase.so (android::base::SetAborter(std::__1::function<void (char const*)>&&)::$_3::__invoke(char const*)+76)
#03 pc 0x00000000000130cc /system/lib64/libbase.so (android::base::LogMessage::~LogMessage()+312)
#04 pc 0x00000000005a43fc /apex/com.android.art/lib64/libart.so (art::ThreadList::Register(art::Thread*)+852)
#05 pc 0x000000000058100c /apex/com.android.art/lib64/libart.so (art::Thread::Init(art::ThreadList*, art::JavaVMExt*, art::JNIEnvExt*)+328)
#06 pc 0x0000000000583928 /apex/com.android.art/lib64/libart.so (art::Thread::Attach(char const*, bool, _jobject*, bool)+356)
#07 pc 0x0000000000539d00 /apex/com.android.art/lib64/libart.so (art::Runtime::AttachCurrentThread(char const*, bool, _jobject*, bool)+92)
#08 pc 0x0000000000379780 /apex/com.android.art/lib64/libart.so (art::JII::AttachCurrentThreadInternal(_JavaVM*, _JNIEnv**, void*, bool)+252)
#09 pc 0x0000000000153938 /data/app/~~8P1Yh6mkfUK___nNiXjZnA==/com.microsoft.skydrive-Qwn61w5I_191by3jxGONfg==/lib/arm64/libmaesdk.so (Microsoft::Applications::Events::HttpClient_Android::SendRequestAsync(Microsoft::Applications::Events::IHttpRequest*, Microsoft::Applications::Events::IHttpResponseCallback*)+112)
#10 pc 0x00000000000f6d14 /data/app/~~8P1Yh6mkfUK___nNiXjZnA==/com.microsoft.skydrive-Qwn61w5I_191by3jxGONfg==/lib/arm64/libmaesdk.so (Microsoft::Applications::Events::Packager::handleFinalizePackage(std::__ndk1::shared_ptr<Microsoft::Applications::Events::EventsUploadContext> const&)+264)
#11 pc 0x00000000000f3afc /data/app/~~8P1Yh6mkfUK___nNiXjZnA==/com.microsoft.skydrive-Qwn61w5I_191by3jxGONfg==/lib/arm64/libmaesdk.so (Microsoft::Applications::Events::StorageObserver::handleRetrieveEvents(std::__ndk1::shared_ptr<Microsoft::Applications::Events::EventsUploadContext> const&)+300)
#12 pc 0x000000000011ed40 /data/app/~~8P1Yh6mkfUK___nNiXjZnA==/com.microsoft.skydrive-Qwn61w5I_191by3jxGONfg==/lib/arm64/libmaesdk.so (Microsoft::Applications::Events::TransmissionPolicyManager::uploadAsync(Microsoft::Applications::Events::EventLatency)+580)
#13 pc 0x00000000000fbea8 /data/app/~~8P1Yh6mkfUK___nNiXjZnA==/com.microsoft.skydrive-Qwn61w5I_191by3jxGONfg==/lib/arm64/libmaesdk.so (Microsoft::Applications::Events::PlatformAbstraction::WorkerThread::threadFunc(void*)+548)
#14 pc 0x00000000000fc7ec /data/app/~~8P1Yh6mkfUK___nNiXjZnA==/com.microsoft.skydrive-Qwn61w5I_191by3jxGONfg==/lib/arm64/libmaesdk.so (void* std::__ndk1::__thread_proxy<std::__ndk1::tuple<std::__ndk1::unique_ptr<std::__ndk1::__thread_struct, std::__ndk1::default_delete<std::__ndk1::__thread_struct> >, void (*)(void*), void*> >(void*)+44)
#15 pc 0x00000000000f40c4 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+64)
#16 pc 0x000000000008ed10 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
- Ngôn ngữ chính
- C
- Star
- 102
- Fork
- 66
- Merge trung bình
- 4 ngày 12 giờ
- Pull request đã merge (30 ngày)
- 10
Chuẩn bị môi trường
Chúng tôi chưa kiểm tra các tệp thiết lập môi trường của dự án này. Hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của microsoft/cpp_client_telemetry
-
C API enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
microsoft/cpp_client_telemetry#628 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
microsoft/cpp_client_telemetry#1504 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Dropping of telemetry eventsĐang mởbug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
microsoft/cpp_client_telemetry#1413 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 38/100
microsoft/cpp_client_telemetry#1387 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
microsoft/cpp_client_telemetry#1353 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của microsoft/cpp_client_telemetry
Issue tương tự
-
bug needs triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
netdata/netdata#24062 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
BasedHardware/omi#19463 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
EchoTools/nevr-runtime#30 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
riscv-software-src/riscv-isa-sim#2448 ·
Maintainer thường phản hồi trong vòng 2 ngày