-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Crashing [libc: Fatal signal 6 (SIGABRT) at 0x0000268d (code=-6), thread 9869] when back press an other activity contain MapView #5094
Comments
Duplicate of mapbox/mapbox-android-demo#48. |
Thank you for feedback, but it seems that you were misquoted problem. compile ('com.mapbox.mapboxsdk:mapbox-android-sdk:4.0.1@aar'){ NOT THE VERSION 3.2.0 I've pulled the latest demo today from github, no code modification then it also has crashed. I really, really, really, really, really, really, really, really using mapbox for my app. |
I'm Vietnamese |
@DucHM, rất cám ơn anh đã báo về sự cố này. Em chuyên về iOS nhưng sẽ cố gắng giúp anh khắc phục sự cố. Bản báo cáo này đã được đánh dấu là bản sao của mapbox/mapbox-android-demo#48, tuy là phiên bản ứng dụng khác, vì có thông điệp lỗi giống hệt về kickresource. Bản báo cáo đó vẫn đang mở, có nghĩa rằng chúng tôi vẫn cảm thấy nó là một vấn đề thực sự. @bleege, this is the error that’s occurring when hitting the back button (same as in #48):
What does |
Thanks @1ec5!
Not from Mapbox. This appears to be something on in the drivers for the Graphics Card on the device. I've found the file here: https://github.com/jumoog/gfx_linux_ddk/blob/master/eurasia/eurasiacon/common/kickresource.c We can get a bit more details about the crash by switching the Android Monitor from "Show Only Selected Application" to "No Filters" in Android Studio. This will give the full C++ error, which will make troubleshooting this easier. Here's what it looks like in Android Studio: |
@1ec5 Cảm ơn Minh Nguyễn đã trao đổi, không quan trọng lắm bạn làm iOS hay Android, miễn là 1 developer, tôi cũng là người làm chuyên cả iOS & Android, nên rất mong được sự hỗ trợ tốt hơn từ bạn. Đây là vấn đề rất quan trọng, mỗi khi chúng tôi sử dụng mapbox là xảy ra sự cố như vậy, thậm chí ngay cả khi chỉ sử dụng bản demo của mapbox là mới nhất cũng xảy ra như vậy, đương nhiên là Logcat chúng tôi có Filter theo "Show only selected application/No Filter" như @bleege nói. Dù là thư viện liên quan đến "Graphics Card on the device" mà không phải trực tiếp từ Mapbox thì cũng cần có sự giải đáp cho chúng tôi một cách cụ thể & rõ ràng hơn, ví dụ như bạn đã nói là chưa thực sự được giải quyết --> Đây là điều mà chúng tôi muốn nghe. Tuy nhiên tôi thấy các lần feedback của các thành viên khác gần như chỉ là trả lời cho có. Vấn đề này nó không chỉ xảy ra ở một Device nhất định mà xảy ra ở bất kỳ device nào chúng tôi test, hơn nữa tôi cũng thấy rất nhiều report về nó. Và theo chúng tôi, các bạn đã xử lý hay tác động gì đó liên quan đến kickresource.c mới xảy ra điều này. Hay ví dụ như #onCameraChangeListener các bạn cũng chưa giải đáp được 1 cách thoả đáng cho người dùng. Maybe described situation is correct, but as I understood MapBox's OnCameraChangeListener is analog of GoogleMaps's OnCameraChangeListener and last works in the way that I described (onCameraChange calls only when camera will be in "idle" state). At least in mapbox documentation said same thing as in google maps documentation: Called after the camera position has changed. During an animation, this listener may not be notified of intermediate camera positions. It is always called for the final position in the animation. |
Trước hết, đáng tiếc rằng câu hỏi onCameraChangeListener chưa được giải đáp. Dự án này có rất nhiều hoạt động hàng ngày nên các câu hỏi không đúng chỗ có thể không được chú ý đến. Cám ơn bạn tiếp tục nhắc chúng tôi về vấn đề – mong là chúng ta có thể khắc phục nó càng sớm càng tốt. Để chắc chắn, sau khi bạn chọn “No Filters” và bấm nút back, bạn có thấy cùng thông báo lỗi như trước, hoặc có thêm chi tiết? Tốt nhất là xuất hiện cả stack trace C++ đầy đủ. Vì chúng tôi chưa gặp phải lỗi như bạn đã báo cáo, chúng tôi cần stack trace đó để chẩn đoán sự cố. First of all, it’s unfortunate that the onCameraChangeListener question hasn’t been answered. This project sees a lot of activity from day to day, so it’s very easy for a misplaced question to slip through the cracks. Thanks for being persistent about this issue though – hopefully we’ll get to the bottom of it soon. Just to be clear, when you select “No Filters” and press the back button, do you see the same log output and error message, or is there more detail? We’re hoping the underlying C++ stack trace will show up. Since so far we’ve been unable to reproduce the problem you reported, we need that stack trace in order to diagnose the problem. |
Thanks Minh Nguyen, this is full logcat:
|
Or:
|
Or
|
@DucHM We've added a fix for the back button issue in the Mapbox Android 4.1.0 codebase. Please try the latest /cc @cammace |
Thank you for support, https://www.youtube.com/watch?v=PMfwxt78qiA
Please check and support help me. |
I'm still having this issue on Asus Zenfone 6 (Android 5.0) for both |
Been trying to reproduce this locally on a range of devices and was not able to. Going to close as this issue was opened for an older version of the SDK. Feel free to open a new issue if this issue still reproduces. |
Dear,
I'm trying to use Mapbox demo from github link:
https://github.com/mapbox/mapbox-android-demo
and addition an other Activity contains MapboxView.
With dependencies in gradle as following:
dependencies {
compile "com.android.support:gridlayout-v7:${supportLibVersion}"
compile "com.android.support:appcompat-v7:${supportLibVersion}"
}
then appear crash with a dialog with message "Unfortunately, Mapbox Dev Preview has stoped." And logcat info below:
My device using for test:
Model numer: Nexus 5
Android version: 6.0.1
Please support this issues. Any help will be appreciated.
The text was updated successfully, but these errors were encountered: