mousebird / WhirlyGlobe-3

WhirlyGlobe-Maply 3.0 Implementation
Other
11 stars 6 forks source link

App Crash In Many Device #22

Closed Sachin131092 closed 3 years ago

Sachin131092 commented 4 years ago

Hello I used your 3.0 native code for map. but faced crashed while using app. I used HelloGlobeFragment extend GlobeMapFragment.

It is working fine in 2.6 aar file. but not working in 3.0 native code.

You can find error log here:

Build fingerprint: 'realme/RMX1992/RMX1992L1:10/QKQ1.191201.002/1587908485:user/release-keys' Revision: '0' ABI: 'arm64' Timestamp: 2020-06-03 11:27:40+0530 pid: 24914, tid: 25038, name: RenderThread >>> com.wadio <<< uid: 10279 signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr -------

00 pc 00000000000744b0 /apex/com.android.runtime/lib64/bionic/libc.so (abort+160) (BuildId: 6202f4f1d2982318126f07e14df03b6c)

01 pc 000000000005f760 /apex/com.android.runtime/lib64/bionic/libc.so (ifree+1136) (BuildId: 6202f4f1d2982318126f07e14df03b6c)

02 pc 000000000005f86c /apex/com.android.runtime/lib64/bionic/libc.so (je_free+120) (BuildId: 6202f4f1d2982318126f07e14df03b6c)

03 pc 000000000027f554 /system/lib64/libhwui.so (SkTArray<sk_sp, false>::checkRealloc(int)+172) (BuildId: ebe7234492891b735e75331dc49be2f9)

04 pc 000000000027f200 /system/lib64/libhwui.so (GrDrawingManager::newRTOpList(GrRenderTargetProxy*, bool)+248) (BuildId: ebe7234492891b735e75331dc49be2f9)

05 pc 0000000000225888 /system/lib64/libhwui.so

Sachin131092 commented 4 years ago

One more suggestion please create aar file for version 3.0

mousebird commented 4 years ago

I'd love to start automatically building AARs, binaries for iOS and reference documentation again. However, the budget for that comes out of support contracts and not very many users pay for those.

As for your question, make sure you're on the develop branch and see if you can reproduce the problem. That dump looks incomplete as well. Look for the part that mentions the library.

Sachin131092 commented 4 years ago

Please find attached file for error log: error log.docx

3.0 compatible with GlobeMapFragment. If you check and fix it out i face this issue in many devices.

Sachin131092 commented 4 years ago

Can you update document for same

mousebird commented 4 years ago

I'm sorry, I don't understand what you're asking.

The dump was clear, though, thanks for that. I've never seen this particular crash on Android. I'd almost guess it was a shutdown problem. Part of the system continues to run after the globe has been shutdown.

Sachin131092 commented 4 years ago

Can you fix this issue. I can't use this latest 3.0 repository in my app.

I used HelloGlobeFragment extend by GlobeMapFragment In Latest Version.

HelloGlobeFragment.docx

mousebird commented 4 years ago

How do you replicate the crash and can you do so with the AutoTester app?

Sachin131092 commented 4 years ago

This crash occurs any time while using the app. And I used HelloGlobeMapFragment not AutoTester App.

Regards, Sachin Patel, Android Developer.

On Sat, Jun 6, 2020 at 12:17 AM Steve Gifford notifications@github.com wrote:

How do you replicate the crash and can you do so with the AutoTester app?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mousebird/WhirlyGlobe-3/issues/22#issuecomment-639704001, or unsubscribe https://github.com/notifications/unsubscribe-auth/APGQZEDH6RRGHAZZ74JETPLRVE4TZANCNFSM4NRLGDSQ .

mousebird commented 4 years ago

I assume you're not on support. Normally support customers email me directly. If you are on support, email me directly.

For anyone not on support, I'm happy to listen and help if I can and perhaps guide you in the right direction to finding your bug.

You should take the AutoTester app and try to duplicate the problem with that. If you can't then it's likely a problem in how you're setting up the fragment.

Sachin131092 commented 4 years ago

Hello

You can test your 3.0 version With HelloGlobeFragment extends GlobeMapFragment. You will easily find this error in any devices. Just switch fragments or open and close app. You got this error easily.

Regards, Sachin Patel, Android Developer.

On Sun, Jun 7, 2020 at 5:06 AM Steve Gifford notifications@github.com wrote:

I assume you're not on support. Normally support customers email me directly. If you are on support, email me directly.

For anyone not on support, I'm happy to listen and help if I can and perhaps guide you in the right direction to finding your bug.

You should take the AutoTester app and try to duplicate the problem with that. If you can't then it's likely a problem in how you're setting up the fragment.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mousebird/WhirlyGlobe-3/issues/22#issuecomment-640132220, or unsubscribe https://github.com/notifications/unsubscribe-auth/APGQZEFQJO366RGXQ73XVYTRVLHGNANCNFSM4NRLGDSQ .

mousebird commented 4 years ago

If I understand what you're saying here, the AutoTester works but your own subclassed fragment does not. My guess would be that you have a bug in your own fragment. Perhaps you're overriding one of the setup methods and the rendering isn't getting set up problem.

Another approach would be to just use the GlobeMapFragment in your own project and see if there's still a problem.

As for setting up a new project and trying out your fragment... I only have time to do that sort of thing for support customers and clients I'm afraid.

Sachin131092 commented 4 years ago

Hello

I Used below url for Place and Country data: http://services.arcgisonline.com/ArcGIS/rest/services/Reference/World_Boundaries_and_Places/MapServer/tile/{z}/{y}/{x}

This Url is not support in GlobeController that's why i faced crash You can add my code for adding layer:

RemoteTileSource addLayer = new RemoteTileSource(baseControl, new RemoteTileInfo("http://services.arcgisonline.com/ArcGIS/rest/services/Reference/World_Boundaries_and_Places/MapServer/tile/{z}/{y}/{x}", "png", 0, 18)); addLayer.setCacheDir(cacheDirLayer); QuadImageTileLayer baseAddLayer = new QuadImageTileLayer(globeControl, remoteTileSource.coordSys, addLayer); baseAddLayer.setCoverPoles(false); baseAddLayer.setHandleEdges(false); globeControl.addLayer(baseAddLayer);

Is there any solution or other url for this?

Regards, Sachin Patel, Android Developer.

On Mon, Jun 8, 2020 at 7:34 PM Steve Gifford notifications@github.com wrote:

If I understand what you're saying here, the AutoTester works but your own subclassed fragment does not. My guess would be that you have a bug in your own fragment. Perhaps you're overriding one of the setup methods and the rendering isn't getting set up problem.

Another approach would be to just use the GlobeMapFragment in your own project and see if there's still a problem.

As for setting up a new project and trying out your fragment... I only have time to do that sort of thing for support customers and clients I'm afraid.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mousebird/WhirlyGlobe-3/issues/22#issuecomment-640628760, or unsubscribe https://github.com/notifications/unsubscribe-auth/APGQZECFUMLBPR5DY4E3N5TRVTVXLANCNFSM4NRLGDSQ .

mousebird commented 4 years ago

I tried that URL and got a blank image back. Can't say I'm that familiar with ArcGIS sources.

Try substituting the Stamen URL from the AutoTester example in there. If that works, then your problem is the tile source.