-
-
Notifications
You must be signed in to change notification settings - Fork 75
Open
Labels
bugThis issue reports broken functionality or another errorThis issue reports broken functionality or another error
Description
What is the bug?
I haven't yet investigated, and frankly don't know where to start. But I've got this error, and maybe it would say something to you:
I/flutter (21729): Async error: Invalid argument(s): Illegal argument in isolate message: object is unsendable - Library:'dart:async' Class: _AsyncCompleter@5048458 (see restrictions listed at `SendPort.send()` documentation for more information)
I/flutter (21729): <- value in Instance of '_HashMapEntry' (from dart:collection)
I/flutter (21729): <- _List len:64 (from dart:core)
I/flutter (21729): <- _buckets in Instance of '_HashMap<TileCoordinates, Completer<void>>' (from dart:collection)
I/flutter (21729): <- _wasClientAutomaticallyGenerated in Instance of 'FMTCTileProvider' (from package:flutter_map_tile_caching/flutter_map_tile_caching.dart)
I/flutter (21729): <- panBuffer in Instance of 'TileLayer' (from package:flutter_map/src/layer/tile_layer/tile_layer.dart)
I/flutter (21729): <- start in Instance of 'DownloadableRegion<MultiRegion>' (from package:flutter_map_tile_caching/flutter_map_tile_caching.dart)
I/flutter (21729): <- Record (backend: Instance of '_ObjectBoxBackendThreadSafeImpl', maxBufferLength: 10, maxReportInterval: Instance of 'Duration', parallelThreads: 1, rateLimit: null, recoveryId: null, region: Instance of 'DownloadableRegion
I/flutter (21729): #0 Isolate._spawnFunction (dart:isolate-patch/isolate_patch.dart:431:4)
I/flutter (21729): #1 Isolate.spawn (dart:isolate-patch/isolate_patch.dart:400:7)
I/flutter (21729): #2 StoreDownload.startForeground.<anonymous closure> (package:flutter_map_tile_caching/src/store/download.dart:299:21)
I/flutter (21729): #3 StoreDownload.startForeground (package:flutter_map_tile_caching/src/store/download.dart:358:6)
I/flutter (21729): #4 TileDownloadNotifier._startRasterDownload (package:every_door/providers/downloaders.dart:160:10)
Feel free to close if this is not related to FMTC.
How can we reproduce it?
Frankly idk. I've been trying to download the default OpenStreetMap layer. It worked fine with another layer before.
Here's the code for calling the downloader: https://github.com/Zverik/every_door/blob/main/lib/providers/downloaders.dart#L151
Do you have a potential solution?
No response
Platforms
Android 14, Xperia 10 IV, Flutter 3.32
Severity
Erroneous: Prevents normal functioning and causes errors in the console
Nicoeevee
Metadata
Metadata
Assignees
Labels
bugThis issue reports broken functionality or another errorThis issue reports broken functionality or another error