Assigned
Status Update
Comments
ra...@google.com <ra...@google.com> #2
Solved for now by adding @SuppressWarnings
. We'll need to revisit if this pops up again.
Ideas include:
- Whack-a-mole overrides via NullAway Library Models
- Have an custom extract_only=true on the upstream aar targets so that they cannot be accidentally used, and then use the extracted classes.jar files only in the errorprone classpath.
vf...@thoughtworks.com <vf...@thoughtworks.com> #3
List steps to reproduce the problem:
Crash after triggering present StreetViewViewController
Operating device: M1 Pro
Operating Xcode:
Version 15.4 (15F31d)
Operating system version:
iPhone15 Pro simulator - iOS 17.5
Google Maps SDK for iOS version:
9.0.0
Was this working correctly on a previous version of Mobile SDK? (If yes, which SDK version?)
Yes, it working well on 8.4.0
Sample code:
import GoogleMaps
import UIKit
final class StreetViewViewController: UIViewController {
var coordinate: CLLocationCoordinate2D!
private let panoramaView: GMSPanoramaView = .init(frame: .zero)
@IBAction private func dismiss() {
dismiss(animated: true)
}
override func viewDidLoad() {
super.viewDidLoad()
view.containView(panoramaView)
panoramaView.moveNearCoordinate(coordinate)
}
}
Crash Log:
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libGLProgrammability.dylib 0x1a63b97c4 glvmSamplerLoadTexels + 13672
1 libGLProgrammability.dylib 0x1a63c1084 glvmSamplerSample + 22168
2 libGLProgrammability.dylib 0x1a6409e08 glvmInterpretFPTransformFourInner + 3132
3 libGLProgrammability.dylib 0x1a640b36c glvmInterpretFPTransformFourInner + 8608
4 libGLProgrammability.dylib 0x1a640c198 glvmInterpretFPTransformFour + 2536
5 GLRendererFloat 0x1cabb9430 gldLLVMFPTransform + 484
6 GLRendererFloat 0x1cabc87ec gldLLVMVecPolyRender + 19348
7 GLRendererFloat 0x1cabb6338 gldRenderFillPolygonPtr + 92
8 GLEngine 0x1a638c1e4 gleLLVMVecPrimMultiRender + 6204
9 GLEngine 0x1a634b9f8 gleFlushTriQuadStripFunc + 108
10 GLEngine 0x1a632bdfc gleDrawArraysOrElements_ExecCore + 652
11 GLEngine 0x1a632afd0 glDrawElements_ES2Exec + 396
12 project-debug 0x1017b7ad4 GMSx_geo_imagery_viewer::pano::MeshRendererGLES::RenderMeshCpu(GMSx_geo_imagery_viewer::pano::MeshCpu&) + 312
13 project-debug 0x1017b7c44 GMSx_geo_imagery_viewer::pano::MeshRendererGLES::RenderTexturedMesh(GMSx_geo_imagery_viewer::pano::TexturedMesh&, GMSx_geo_imagery_viewer::pano::TileSpec const&) + 292
14 project-debug 0x1017bbb08 GMSx_geo_imagery_viewer::core::Photo::Render(GMSx_geo_imagery_viewer::model::PhotoCamera const&, GMSx_geo_imagery_viewer::pano::MeshRenderer*, float) + 124
15 project-debug 0x10179aa3c GMSx_geo_imagery_viewer::core::RendererImpl::DrawPhoto(GMSx_geo_imagery_viewer::model::Camera const&, std::__1::shared_ptr<GMSx_geo_imagery_viewer::core::Photo> const&, float, bool, double) + 316
16 project-debug 0x10179a860 GMSx_geo_imagery_viewer::core::RendererImpl::DrawPhotos(GMSx_geo_imagery_viewer::model::Camera const&, GMSx_geo_imagery_viewer::api::RenderOptions const&) + 96
17 project-debug 0x10179a6c8 GMSx_geo_imagery_viewer::core::RendererImpl::Render(GMSx_maps_shared::geom::Camera const&, GMSx_geo_imagery_viewer::api::RenderOptions const&) + 164
18 project-debug 0x101784644 -[GMSx_IVGLView drawFrame] + 936
19 project-debug 0x101388d54 -[GMSRocketIVGLView drawFrame] + 176
20 project-debug 0x101820af0 -[GMSDisplayLink displayLinkFired:] + 484
21 QuartzCore 0x18a02366c CA::Display::DisplayLinkItem::dispatch_(CA::SignPost::Interval<(CA::SignPost::CAEventCode)835322056>&) + 44
22 QuartzCore 0x18a01fe44 CA::Display::DisplayLink::dispatch_items(unsigned long long, unsigned long long, unsigned long long) + 808
23 QuartzCore 0x18a120c98 display_timer_callback(__CFMachPort*, void*, long, void*) + 336
24 CoreFoundation 0x1803d8a20 __CFMachPortPerform + 172
25 CoreFoundation 0x18040f588 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 56
26 CoreFoundation 0x18040eb58 __CFRunLoopDoSource1 + 496
27 CoreFoundation 0x180409168 __CFRunLoopRun + 2176
28 CoreFoundation 0x1804084d4 CFRunLoopRunSpecific + 572
29 GraphicsServices 0x18ef2aae4 GSEventRunModal + 160
30 UIKitCore 0x1853d0a28 -[UIApplication _run] + 868
31 UIKitCore 0x1853d46b0 UIApplicationMain + 124
32 project-debug 0x1009d4168 main + 172 (main.swift:13)
33 dyld_sim 0x108cc9544 start_sim + 20
34 dyld 0x1087de0e0 start + 2360
vf...@thoughtworks.com <vf...@thoughtworks.com> #4
Same issue as:
ca...@google.com <ca...@google.com> #5
We appreciate you waiting.
Please be advised that a fix for this issue has been made internally and will gradually ramped over a few weeks after the next version release.
Description
0x10c413410 <+208>: stp x12, x13, [x0]
Thread 41: EXC_BAD_ACCESS (code=2, address=0x17a3e4000)
The console log reports:
```
2024-07-17 09:22:19.076 Runner[7086/0x16dce7000] [lvl=3] +[GMSx_CCTClearcutUploader crashIfNecessary] Multiple instances of CCTClearcutUploader were instantiated. Multiple uploaders function correctly but have an adverse affect on battery performance due to lock contention.
Google Maps SDK for iOS version: 9.0.0.0
```
Steps to reproduce the problem:
Crash after triggering `panoramaView.moveNearCoordinate`
Operating system version:
iOS 17.5
Google Maps SDK for iOS version:
9.0.0