dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
22.01k stars 1.73k forks source link

Android .MAUI Hello World Projects crashed after Time Zone change and crossing country borders in Release Mode #15786

Closed hghgsat closed 1 year ago

hghgsat commented 1 year ago

Description

If you create a new .NET MAUI Project (Form with button increases number) and run the App in release mode in Emulator and smartphone, app crashes when time zone is changed in Settings -> Time -> Select Time zone. This do not happen (even no excption) while running the app in debugger / debug mode.

Crash happens while crossing country borders too or sometimes when the network provider is changed due do roaming users.

Bugreports (look for timezone_changed and has died or death) using Bullit/CAT S75

06-21 16:04:12.023  1000  1270  1689 W WindowManager: Changing focus from Window{18765b5 u0 com.android.settings/com.android.settings.SubSettings} to null displayId=0 Callers=com.android.server.wm.RootWindowContainer.updateFocusedWindowLocked:466 com.android.server.wm.WindowManagerService.updateFocusedWindowLocked:5755 com.android.server.wm.ActivityTaskManagerService.setResumedActivityUncheckLocked:4445 com.android.server.wm.Task.onActivityStateChanged:2250 
06-21 16:04:12.048  1000  1270  1689 D AlarmManager: inside kernelTimeZone minWest = -120
06-21 16:04:12.048  1000  1270  1689 D AlarmManager: java.lang.RuntimeException
06-21 16:04:12.048  1000  1270  1689 D AlarmManager:             at com.android.server.alarm.AlarmManagerService$Injector.setKernelTimezone(AlarmManagerService.java:4151)
06-21 16:04:12.048  1000  1270  1689 D AlarmManager:             at com.android.server.alarm.AlarmManagerService.setTimeZoneImpl(AlarmManagerService.java:1950)
06-21 16:04:12.048  1000  1270  1689 D AlarmManager:             at com.android.server.alarm.AlarmManagerService$5.setTimeZone(AlarmManagerService.java:2685)
06-21 16:04:12.048  1000  1270  1689 D AlarmManager:             at android.app.AlarmManager.setTimeZone(AlarmManager.java:1292)
06-21 16:04:12.048  1000  1270  1689 D AlarmManager:             at com.android.server.timezonedetector.EnvironmentImpl.setDeviceTimeZone(EnvironmentImpl.java:168)
06-21 16:04:12.048  1000  1270  1689 D AlarmManager:             at com.android.server.timezonedetector.TimeZoneDetectorStrategyImpl.setDeviceTimeZoneIfRequired(TimeZoneDetectorStrategyImpl.java:542)
06-21 16:04:12.048  1000  1270  1689 D AlarmManager:             at com.android.server.timezonedetector.TimeZoneDetectorStrategyImpl.suggestManualTimeZone(TimeZoneDetectorStrategyImpl.java:341)
06-21 16:04:12.048  1000  1270  1689 D AlarmManager:             at com.android.server.timezonedetector.TimeZoneDetectorService.suggestManualTimeZone(TimeZoneDetectorService.java:293)**
06-21 16:04:12.048  1000  1270  1689 D AlarmManager:             at android.app.timezonedetector.ITimeZoneDetectorService$Stub.onTransact(ITimeZoneDetectorService.java:185)
06-21 16:04:12.048  1000  1270  1689 D AlarmManager:             at android.os.Binder.execTransactInternal(Binder.java:1179)
06-21 16:04:12.048  1000  1270  1689 D AlarmManager:             at android.os.Binder.execTransact(Binder.java:1143)
**06-21 16:04:12.055  1000  1270  1270 D ConditionProviders.SCP: onReceive android.intent.action.TIMEZONE_CHANGED
06-21 16:04:12.055  1000  1270  1270 D ConditionProviders.SCP: evaluateSubscriptionLocked cal=ScheduleCalendar[mDays={1, 2, 3, 4, 5, 6, 7}, mSchedule=ScheduleInfo{days=[1, 2, 3, 4, 5, 6, 7], startHour=22, startMinute=0, endHour=7, endMinute=0, exitAtAlarm=true, nextAlarm=Thu Jan 01 01:00:00 GMT+01:00 1970 (0)}], now=Wed Jun 21 16:04:12 GMT+02:00 2023 (1687356252055), nextUserAlarmTime=Thu Jan 01 01:00:00 GMT+01:00 1970 (0)
06-21 16:04:12.055  1000  1270  1270 D ConditionProviders.SCP: notifyCondition condition://android/schedule?days=1.2.3.4.5.6.7&start=22.0&end=7.0&exitAtAlarm=true STATE_FALSE reason=!meetsSchedule
06-21 16:04:12.056  1000  1270  1270 D ConditionProviders.SCP: Scheduling evaluate for Wed Jun 21 22:00:00 GMT+02:00 2023 (1687377600000), in +5h55m47s945ms, now=Wed Jun 21 16:04:12 GMT+02:00 2023 (1687356252055)
06-21 16:04:12.064  1000  1270  1303 D CompatibilityChangeReporter: Compat change id reported: 135634846; UID 10142; state: DISABLED
06-21 16:04:12.065  1000  1270  1303 D CompatibilityChangeReporter: Compat change id reported: 177438394; UID 10142; state: DISABLED
06-21 16:04:12.065  1000  1270  1303 D CompatibilityChangeReporter: Compat change id reported: 135772972; UID 10142; state: DISABLED
06-21 16:04:12.065  1000  1270  1303 D CompatibilityChangeReporter: Compat change id reported: 135754954; UID 10142; state: ENABLED
06-21 16:04:12.065  1000  1270  1304 D CompatibilityChangeReporter: Compat change id reported: 143937733; UID 10142; state: ENABLED
06-21 16:04:12.086  1000  1270  7129 W WindowManager: Changing focus from null to Window{3b5759a u0 com.android.settings/com.android.settings.SubSettings} displayId=0 Callers=com.android.server.wm.RootWindowContainer.updateFocusedWindowLocked:466 com.android.server.wm.WindowManagerService.updateFocusedWindowLocked:5755 com.android.server.wm.WindowManagerService.relayoutWindow:2477 com.android.server.wm.Session.relayout:235 
06-21 16:04:12.089  1000  1270  7129 I WindowManager: Relayout Window{3b5759a u0 com.android.settings/com.android.settings.SubSettings}: oldVis=4 newVis=0 focusMayChange = true requestedWidth = 1080 requestedHeight = 2408 outFrames = ClientWindowFrames{frame=[0,0][1080,2408] display=[0,0][1080,2408] backdrop=[0,0][1080,2408]} outSurfaceControl = Surface(name=com.android.settings/com.android.settings.SubSettings)/@0xce40c8
**06-21 16:04:12.095  1000  1270  1304 I ActivityManager: Start proc 22008:com.bullitt.wave/u0a142 for broadcast {com.bullitt.wave/com.bullitt.wave.notification.TimeZoneChangeReceiver}
06-21 16:04:12.102  1000  1270  1270 D CompatibilityChangeReporter: Compat change id reported: 135634846; UID 10103; state: DISABLED
06-21 16:04:12.102  1000  1270  1270 D CompatibilityChangeReporter: Compat change id reported: 177438394; UID 10103; state: DISABLED
06-21 16:04:12.102  1000  1270  1270 D CompatibilityChangeReporter: Compat change id reported: 135772972; UID 10103; state: DISABLED
06-21 16:04:12.102  1000  1270  1270 D CompatibilityChangeReporter: Compat change id reported: 135754954; UID 10103; state: ENABLED
06-21 16:04:12.103  1000  1270  1304 D CompatibilityChangeReporter: Compat change id reported: 143937733; UID 10103; state: ENABLED
06-21 16:04:12.109  1000  1270  1689 V ActivityManager: New death recipient [com.android.server.am.ActivityManagerService$AppDeathRecipient@aefaf99](mailto:com.android.server.am.ActivityManagerService$AppDeathRecipient@aefaf99) for thread [android.os.BinderProxy@8e4925e](mailto:android.os.BinderProxy@8e4925e)
06-21 16:04:12.113  1000  1270  1689 D CompatibilityChangeReporter: Compat change id reported: 168419799; UID 10142; state: DISABLED
06-21 16:04:12.142  1000  1270  1304 I ActivityManager: Start proc 22030:com.google.android.apps.messaging/u0a103 for service {com.google.android.apps.messaging/com.google.android.apps.messaging.shared.datamodel.action.execution.ActionJobService}
06-21 16:04:12.142  1000  1270  4480 V ActivityManager: New death recipient [com.android.server.am.ActivityManagerService$AppDeathRecipient@5f5110d](mailto:com.android.server.am.ActivityManagerService$AppDeathRecipient@5f5110d) for thread [android.os.BinderProxy@19868c2](mailto:android.os.BinderProxy@19868c2)
06-21 16:04:12.239  1000  1270  4480 V SettingsProvider: packageValueForCallResult, name = sqlite_compatibility_wal_flags, value : Bundle[{_track_generation=android.util.MemoryIntArray@a5, value=, _generation_index=0, _generation=12}]
06-21 16:04:12.295  1000  1270  4522 V SettingsProvider: packageValueForCallResult, name = sqlite_compatibility_wal_flags, value : Bundle[{_track_generation=android.util.MemoryIntArray@a5, value=, _generation_index=0, _generation=12}]
06-21 16:04:12.298  1000  1270  4522 V ActivityManager: Death received in [com.android.server.am.ActivityManagerService$AppDeathRecipient@dc8534f](mailto:com.android.server.am.ActivityManagerService$AppDeathRecipient@dc8534f) for thread [android.os.BinderProxy@5c7badc](mailto:android.os.BinderProxy@5c7badc)
**06-21 16:04:12.299  1000  1270  4522 I ActivityManager: Process com.companyname.timezonechangecrashtestnet7 (pid 21034) has died: prev LAST
**06-21 16:04:12.299  1000  1270  5667 I WindowManager: WIN DEATH: Window{c61c57e u0 com.companyname.timezonechangecrashtestnet7/crc64cd6a25ba1ee301b5.MainActivity}
06-21 16:04:12.299  1000  1270  5667 D WindowManager: setParent old=ActivityRecord{e0eb0c8 u0 com.companyname.timezonechangecrashtestnet7/crc64cd6a25ba1ee301b5.MainActivity t187},new=null,this window=Window{c61c57e u0 com.companyname.timezonechangecrashtestnet7/crc64cd6a25ba1ee301b5.MainActivity},callers=com.android.server.wm.WindowContainer.removeChild:601 com.android.server.wm.ActivityRecord.removeChild:3779 com.android.server.wm.ActivityRecord.removeChild:365 com.android.server.wm.WindowContainer.removeImmediately:653 com.android.server.wm.WindowState.removeImmediately:2380 com.android.server.wm.WindowState.removeIfPossible:2567 
06-21 16:04:12.306  1000  1270  1295 W ActivityManager: setHasOverlayUi called on unknown pid: 21034
06-21 16:04:12.306  1000  1270  1302 W UsageStatsService: Unexpected activity event reported! (com.companyname.timezonechangecrashtestnet7/crc64cd6a25ba1ee301b5.MainActivity event : 23 instanceId : 132766394)
06-21 16:04:12.391  1000  1270  1842 D CompatibilityChangeReporter: Compat change id reported: 177438394; UID 10125; state: DISABLED
06-21 16:04:12.391  1000  1270  1842 D CompatibilityChangeReporter: Compat change id reported: 135772972; UID 10125; state: DISABLED
06-21 16:04:12.391  1000  1270  1842 D CompatibilityChangeReporter: Compat change id reported: 135754954; UID 10125; state: ENABLED
06-21 16:04:12.391  1000  1270  1304 D CompatibilityChangeReporter: Compat change id reported: 143937733; UID 10125; state: ENABLED
06-21 16:04:12.392  1000  1270  1842 I ActivityManager: Killing 21478:com.google.android.tts/u0a115 (adj 975): empty #17
06-21 16:04:12.403  1000  1270  1304 I ActivityManager: Start proc 22099:com.google.android.apps.docs/u0a125 for broadcast {com.google.android.apps.docs/com.google.android.libraries.notifications.entrypoints.timezonechanged.TimezoneChangedReceiver}
06-21 16:04:12.424  1000  1270  1842 V ActivityManager: New death recipient [com.android.server.am.ActivityManagerService$AppDeathRecipient@f1f13df](mailto:com.android.server.am.ActivityManagerService$AppDeathRecipient@f1f13df) for thread [android.os.BinderProxy@5c3982c](mailto:android.os.BinderProxy@5c3982c)
06-21 16:04:12.426  1000  1270  5667 V ActivityManager: Death received in [com.android.server.am.ActivityManagerService$AppDeathRecipient@2c8c6f5](mailto:com.android.server.am.ActivityManagerService$AppDeathRecipient@2c8c6f5) for thread [android.os.BinderProxy@2998c8a](mailto:android.os.BinderProxy@2998c8a)
06-21 16:04:12.427  1000  1270  1842 D CompatibilityChangeReporter: Compat change id reported: 168419799; UID 10125; state: DISABLED

Bugreport Nokia N7

06-21 16:55:14.821  1002 29372 29617 V bt_stack: [VERBOSE1:btm_inq.cc(1020)] BTM_InqDbRead: bd addr 30:50:75:0e:f5:7d
06-21 16:55:14.849  1002 29372 29617 V bt_stack: [VERBOSE1:btm_ble_gap.cc(1847)] btm_ble_process_adv_addr: bda=30:50:75:0e:f5:7d
06-21 16:55:14.849  1002 29372 29617 V bt_stack: [VERBOSE1:btm_inq.cc(1020)] BTM_InqDbRead: bd addr 30:50:75:0e:f5:7d
06-21 16:55:14.888  1002   754 29615 I [vendor.qti.bluetooth@1.0-ibs_handler](mailto:vendor.qti.bluetooth@1.0-ibs_handler): ProcessIbsCmd: Received IBS_SLEEP_IND: 0xFE
06-21 16:55:14.888  1002   754 29615 D [vendor.qti.bluetooth@1.0-ibs_handler](mailto:vendor.qti.bluetooth@1.0-ibs_handler): SerialClockVote: vote for UART CLK OFF
06-21 16:55:14.992  1000  1294  2383 I chatty  : uid=1000(system) Binder:1294_3 expire 1 line
06-21 16:55:15.016  1000  1294 15575 W IrisConfig: ColorManagerService is not Existed
06-21 16:55:15.031  1000 15213 15213 D HighlightableAdapter: RemoveHighlight: Not highlighted - skipping
06-21 16:55:15.038  1002   754 29517 D [vendor.qti.bluetooth@1.0-wake_lock](mailto:vendor.qti.bluetooth@1.0-wake_lock): Release wakelock is released 
06-21 16:55:15.046  1000 15213 15532 W SharedPreferencesLogger: Tried to log unloggable objectSI
06-21 16:55:15.068  1000  1294  1294 D ConditionProviders.SCP: onReceive android.intent.action.TIMEZONE_CHANGED
06-21 16:55:15.069  1000  1294  1294 D ConditionProviders.SCP: evaluateSubscriptionLocked cal=ScheduleCalendar[mDays={1, 2, 3, 4, 5, 6, 7}, mSchedule=ScheduleInfo{days=[1, 2, 3, 4, 5, 6, 7], startHour=22, startMinute=0, endHour=7, endMinute=0, exitAtAlarm=true, nextAlarm=Thu Jan 01 01:00:00 GMT+01:00 1970 (0)}], now=Wed Jun 21 16:55:15 GMT+02:00 2023 (1687359315069), nextUserAlarmTime=Thu Jan 01 01:00:00 GMT+01:00 1970 (0)
06-21 16:55:15.069  1000  1294  1294 D ConditionProviders.SCP: notifyCondition condition://android/schedule?days=1.2.3.4.5.6.7&start=22.0&end=7.0&exitAtAlarm=true STATE_FALSE reason=!meetsSchedule
**06-21 16:55:15.070 10116 28791 28791 D fast-joda: ACTION_TIMEZONE_CHANGED received.**
06-21 16:55:15.070  1000  1294  4289 I chatty  : uid=1000(system) IzatProvider expire 3 lines
06-21 16:55:15.071  1000  1294  1294 D ConditionProviders.SCP: Scheduling evaluate for Wed Jun 21 22:00:00 GMT+02:00 2023 (1687377600000), in +5h4m44s931ms, now=Wed Jun 21 16:55:15 GMT+02:00 2023 (1687359315069)
06-21 16:55:15.071   gps   762   762 V LocSvc_HIDL_IzatSubscription: [timezoneChangeUpdate][617] [HS] <<<<= [HC]
06-21 16:55:15.071 10116 28878 28878 D fast-joda: ACTION_TIMEZONE_CHANGED received.
06-21 16:55:15.071 10116 28878 28878 D fast-joda: Updated default timezone to Europe/Ljubljana
06-21 16:55:15.075 10316 15151 15151 F monodroid: Unable to find Android.Runtime.AndroidEnvironment.NotifyTimeZoneChanged()!
06-21 16:55:15.080  1000  1294  1294 D TwilightService: onReceive: Intent { act=android.intent.action.TIMEZONE_CHANGED flg=0x21200010 (has extras) }
06-21 16:55:15.109  1000 15213 15532 W TileUtils: Found com.android.settings.Settings$DataUsageSummaryActivity for intent Intent { act=com.android.settings.action.SETTINGS pkg=com.android.settings } missing metadata com.android.settings.category
06-21 16:55:15.115 10116 28791 28791 D fast-joda: Updated default timezone to Europe/Ljubljana
06-21 16:55:15.117  root   686   686 D Zygote  : Forked child process 15577
06-21 16:55:15.121  1000  1294  1393 I ActivityManager: Start proc 15577:com.google.android.apps.docs/u0a133 for broadcast {com.google.android.apps.docs/com.google.android.libraries.notifications.entrypoints.timezonechanged.TimezoneChangedReceiver}
06-21 16:55:15.140  1000  1294  1393 D ActivityManager: handleProcessStartedLocked mDoneFinishBooting && app.pid != 0 ---> notifyProcessStart, app.processName = com.google.android.apps.docs, app.info = ApplicationInfo{6c30aa2 com.google.android.apps.docs}, app.hostingType = broadcast, getHostingName() = ComponentInfo{com.google.android.apps.docs/com.google.android.libraries.notifications.entrypoints.timezonechanged.TimezoneChangedReceiver}, getIntentFlag() = 555745300, getIsPackageRunning() = false, app = ProcessRecord{9951333 15577:com.google.android.apps.docs/u0a133}, getExtraData() = Bundle[{BROADCAST_INTENT=Intent { act=android.intent.action.TIMEZONE_CHANGED flg=0x21200010 (has extras) }, CALLER_PACKAGE=android}]
06-21 16:55:15.148 10145 24166 24166 I GoogleInputMethodService: GoogleInputMethodService.onFinishInputView():2291 
06-21 16:55:15.149  1002 29372 29502 I BtGatt.ScanManager: msg.what = 6
06-21 16:55:15.149 10145 24166 24166 I KeyboardWrapper: KeyboardWrapper.consumeEvent():335 Skip consuming an event as current keyboard is deactivated (state=0, keyboard existence=true)
06-21 16:55:15.150 10145 24166 24166 I VoiceInputHandler: VoiceInputHandler.onDeactivateIme():107 unregistering TalkbackStateListener
06-21 16:55:15.150 10145 24166 24166 I VoiceInputManagerWrapper: VoiceInputManagerWrapper.shutdown():79 shutdown()
06-21 16:55:15.151 10145 24166 24166 I AndroidIME: AbstractIme.onDeactivate():208 LatinIme.onDeactivate()
06-21 16:55:15.152 10145 24166 24218 E native  : E0000 00:00:1687359315.152350   24218 input_actions_processor_jni.cc:126] Fail to process input actions request:No processor registered
06-21 16:55:15.156  root   685  1282 I netd    : firewallSetUidRule(2, 10145, 2) <3.82ms>
06-21 16:55:15.158  1000  1294  2506 D ConnectivityService: Blocked status changed to true for 10145(518) on netId 115
06-21 16:55:15.159  1000  1294  2506 D ConnectivityService: Blocked status changed to true for 10145(517) on netId 120
06-21 16:55:15.159  1000  1294  2506 D ConnectivityService: Blocked status changed to true for 10145(518) on netId 120
06-21 16:55:15.173 10133 15577 15577 E droid.apps.doc: Not starting debugger since process cannot load the jdwp agent.
06-21 16:55:15.176  1000 15213 15566 I SettingsActivity: component ComponentInfo{com.android.settings/com.android.settings.Settings$DateTimeSettingsActivity} setTileEnabled: true
06-21 16:55:15.177  1000 15213 15566 D SettingsActivity: No enabled state changed, skipping updateCategory call
06-21 16:55:15.178 10145 24166 24166 I GoogleInputMethodService: GoogleInputMethodService.onFinishInput():3307 
06-21 16:55:15.181 10145 24166 24166 I GoogleInputMethodService: GoogleInputMethodService.updateDeviceLockedStatus():2137 repeatCheckTimes = 0, locked = false
06-21 16:55:15.181 10145 24166 24166 I GoogleInputMethodService: GoogleInputMethodService.onStartInput():1917 onStartInput(EditorInfo{inputType=0x0(NULL) imeOptions=0x0 privateImeOptions=null actionName=UNSPECIFIED actionLabel=null actionId=0 initialSelStart=-1 initialSelEnd=-1 initialCapsMode=0x0 hintText=null label=null packageName=com.android.settings fieldId=-1 fieldName=null extras=null hintLocales=[]}, false)
06-21 16:55:15.181 10145 24166 24166 I GoogleInputMethodService: GoogleInputMethodService.shouldHideHeaderOnInitialState():1998 ShouldHideHeaderOnInitialState = false
06-21 16:55:15.181 10145 24166 24166 I GoogleInputMethodService: GoogleInputMethodService.updateDeviceLockedStatus():2137 repeatCheckTimes = 1, locked = false
06-21 16:55:15.199  1000  1294  3984 I chatty  : uid=1000(system) Binder:1294_D expire 6 lines
06-21 16:55:15.246 10133 15577 15577 I droid.apps.doc: The ClassLoaderContext is a special shared library.
06-21 16:55:15.278  1000  1294  2467 I chatty  : uid=1000(system) InputDispatcher expire 2 lines
**06-21 16:55:15.279  1000  1294  3993 I ActivityManager: Process com.companyname.timezonechangecrashtestnet7 (pid 15151) has died: prev LAST**
06-21 16:55:15.279 10133 15577 15577 W droid.apps.doc: JIT profile information will not be recorded: profile file does not exits.
06-21 16:55:15.279 10133 15577 15577 I chatty  : uid=10133(com.google.android.apps.docs) identical 2 lines
06-21 16:55:15.279 10133 15577 15577 W droid.apps.doc: JIT profile information will not be recorded: profile file does not exits.
06-21 16:55:15.280  root   686   686 I Zygote  : Process 15151 exited cleanly (13)
**06-21 16:55:15.281  1000  1294  4009 I WindowManager: WIN DEATH: Window{18e68eb u0 com.companyname.timezonechangecrashtestnet7/crc64cd6a25ba1ee301b5.MainActivity}**
06-21 16:55:15.281  1000  1294  4009 I chatty  : uid=1000(system) Binder:1294_15 expire 1 line
06-21 16:55:15.283  1000  1294  1395 I chatty  : uid=1000(system) ActivityManager expire 1 line
06-21 16:55:15.286  1000  1294  1373 W ActivityManager: setHasOverlayUi called on unknown pid: 15151
06-21 16:55:15.286  1000  4039 27664 D FileOperator: Mode change to WRITE_MODE!
06-21 16:55:15.289 10133 15577 15577 I Perf    : Connecting to perf service.
06-21 16:55:15.423  1002   754 29615 I [vendor.qti.bluetooth@1.0-ibs_handler](mailto:vendor.qti.bluetooth@1.0-ibs_handler): ProcessIbsCmd: Received IBS_WAKE_IND: 0xFD
06-21 16:55:15.423  1002   754 29615 D [vendor.qti.bluetooth@1.0-ibs_handler](mailto:vendor.qti.bluetooth@1.0-ibs_handler): SerialClockVote: vote for UART CLK ON
06-21 16:55:15.424  1002   754 29615 D [vendor.qti.bluetooth@1.0-wake_lock](mailto:vendor.qti.bluetooth@1.0-wake_lock): Acquire wakelock is acquired 
06-21 16:55:15.424  1002   754 29615 I [vendor.qti.bluetooth@1.0-ibs_handler](mailto:vendor.qti.bluetooth@1.0-ibs_handler): ProcessIbsCmd: Writing IBS_WAKE_ACK
06-21 16:55:15.426  1002 29372 29617 V bt_stack: [VERBOSE1:btm_ble_gap.cc(1847)] btm_ble_process_adv_addr: bda=30:50:75:0e:f5:7d

Steps to Reproduce

  1. create new .net maui app, doesnt matter if you use .net6 or .net7
  2. switch to release mode and build
  3. deploy app to device or run in on emulator (pixel 5 api 33; 5554-> android 33) - but in release mode
  4. run .net maui app (tap sometimes on button to increase number)
  5. change timeszone in settings
  6. app crashes, restarts again, number is set to null/0 again (as started newly)
  7. happens to all .net maui apps we have done

happens when crossing country borders too (sine time zone could change) or network provider change (leaving the country) for roaming users.

happens only using android (app crashes), sometimes android emulator kills too (hardly to reproduce). ios works as expected (no crash)

Link to public reproduction project repository

https://github.com/hghgsat/DotNetMauiAndroidTimeZoneChangeBug

Version with bug

7.0.49

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

Tested Android 12, Android 13

Did you find any workaround?

no workaround found

SDK-Version: 7.0.304 but happens using SDK-Version: 6.0 too

Installierte Workload-ID Manifestversion Installationsquelle

maui-android 7.0.86/7.0.100 VS 17.6.33815.320 android 33.0.46/7.0.100 VS 17.6.33815.320 maccatalyst 16.4.7067/7.0.100 VS 17.6.33815.320 wasm-tools-net6 7.0.7/7.0.100 VS 17.6.33815.320 wasm-tools 7.0.7/7.0.100 VS 17.6.33815.320 ios 16.4.7067/7.0.100 VS 17.6.33815.320 maui-ios 7.0.86/7.0.100 VS 17.6.33815.320 maui-windows 7.0.86/7.0.100 VS 17.6.33815.320 maui-maccatalyst 7.0.86/7.0.100 VS 17.6.33815.320

Since our app is mainly used traveling around (gps livetracking) and crossing country borders we can not use .NET Maui for this project. But any other (non gps apps) will crash too when crossing borders.

Relevant log output

since no exception or bug did not occur running app in debugger no log available
except that one above from android system bug reporter (some as above).

Bugreport-Auszug von CAT S75
06-21 16:04:12.023  1000  1270  1689 W WindowManager: Changing focus from Window{18765b5 u0 com.android.settings/com.android.settings.SubSettings} to null displayId=0 Callers=com.android.server.wm.RootWindowContainer.updateFocusedWindowLocked:466 com.android.server.wm.WindowManagerService.updateFocusedWindowLocked:5755 com.android.server.wm.ActivityTaskManagerService.setResumedActivityUncheckLocked:4445 com.android.server.wm.Task.onActivityStateChanged:2250 
06-21 16:04:12.048  1000  1270  1689 D AlarmManager: inside kernelTimeZone minWest = -120
06-21 16:04:12.048  1000  1270  1689 D AlarmManager: java.lang.RuntimeException
06-21 16:04:12.048  1000  1270  1689 D AlarmManager:             at com.android.server.alarm.AlarmManagerService$Injector.setKernelTimezone(AlarmManagerService.java:4151)
06-21 16:04:12.048  1000  1270  1689 D AlarmManager:             at com.android.server.alarm.AlarmManagerService.setTimeZoneImpl(AlarmManagerService.java:1950)
06-21 16:04:12.048  1000  1270  1689 D AlarmManager:             at com.android.server.alarm.AlarmManagerService$5.setTimeZone(AlarmManagerService.java:2685)
06-21 16:04:12.048  1000  1270  1689 D AlarmManager:             at android.app.AlarmManager.setTimeZone(AlarmManager.java:1292)
06-21 16:04:12.048  1000  1270  1689 D AlarmManager:             at com.android.server.timezonedetector.EnvironmentImpl.setDeviceTimeZone(EnvironmentImpl.java:168)
06-21 16:04:12.048  1000  1270  1689 D AlarmManager:             at com.android.server.timezonedetector.TimeZoneDetectorStrategyImpl.setDeviceTimeZoneIfRequired(TimeZoneDetectorStrategyImpl.java:542)
06-21 16:04:12.048  1000  1270  1689 D AlarmManager:             at com.android.server.timezonedetector.TimeZoneDetectorStrategyImpl.suggestManualTimeZone(TimeZoneDetectorStrategyImpl.java:341)
06-21 16:04:12.048  1000  1270  1689 D AlarmManager:             at com.android.server.timezonedetector.TimeZoneDetectorService.suggestManualTimeZone(TimeZoneDetectorService.java:293)
06-21 16:04:12.048  1000  1270  1689 D AlarmManager:             at android.app.timezonedetector.ITimeZoneDetectorService$Stub.onTransact(ITimeZoneDetectorService.java:185)
06-21 16:04:12.048  1000  1270  1689 D AlarmManager:             at android.os.Binder.execTransactInternal(Binder.java:1179)
06-21 16:04:12.048  1000  1270  1689 D AlarmManager:             at android.os.Binder.execTransact(Binder.java:1143)
06-21 16:04:12.055  1000  1270  1270 D ConditionProviders.SCP: onReceive android.intent.action.TIMEZONE_CHANGED
06-21 16:04:12.055  1000  1270  1270 D ConditionProviders.SCP: evaluateSubscriptionLocked cal=ScheduleCalendar[mDays={1, 2, 3, 4, 5, 6, 7}, mSchedule=ScheduleInfo{days=[1, 2, 3, 4, 5, 6, 7], startHour=22, startMinute=0, endHour=7, endMinute=0, exitAtAlarm=true, nextAlarm=Thu Jan 01 01:00:00 GMT+01:00 1970 (0)}], now=Wed Jun 21 16:04:12 GMT+02:00 2023 (1687356252055), nextUserAlarmTime=Thu Jan 01 01:00:00 GMT+01:00 1970 (0)
06-21 16:04:12.055  1000  1270  1270 D ConditionProviders.SCP: notifyCondition condition://android/schedule?days=1.2.3.4.5.6.7&start=22.0&end=7.0&exitAtAlarm=true STATE_FALSE reason=!meetsSchedule
06-21 16:04:12.056  1000  1270  1270 D ConditionProviders.SCP: Scheduling evaluate for Wed Jun 21 22:00:00 GMT+02:00 2023 (1687377600000), in +5h55m47s945ms, now=Wed Jun 21 16:04:12 GMT+02:00 2023 (1687356252055)
06-21 16:04:12.064  1000  1270  1303 D CompatibilityChangeReporter: Compat change id reported: 135634846; UID 10142; state: DISABLED
06-21 16:04:12.065  1000  1270  1303 D CompatibilityChangeReporter: Compat change id reported: 177438394; UID 10142; state: DISABLED
06-21 16:04:12.065  1000  1270  1303 D CompatibilityChangeReporter: Compat change id reported: 135772972; UID 10142; state: DISABLED
06-21 16:04:12.065  1000  1270  1303 D CompatibilityChangeReporter: Compat change id reported: 135754954; UID 10142; state: ENABLED
06-21 16:04:12.065  1000  1270  1304 D CompatibilityChangeReporter: Compat change id reported: 143937733; UID 10142; state: ENABLED
06-21 16:04:12.086  1000  1270  7129 W WindowManager: Changing focus from null to Window{3b5759a u0 com.android.settings/com.android.settings.SubSettings} displayId=0 Callers=com.android.server.wm.RootWindowContainer.updateFocusedWindowLocked:466 com.android.server.wm.WindowManagerService.updateFocusedWindowLocked:5755 com.android.server.wm.WindowManagerService.relayoutWindow:2477 com.android.server.wm.Session.relayout:235 
06-21 16:04:12.089  1000  1270  7129 I WindowManager: Relayout Window{3b5759a u0 com.android.settings/com.android.settings.SubSettings}: oldVis=4 newVis=0 focusMayChange = true requestedWidth = 1080 requestedHeight = 2408 outFrames = ClientWindowFrames{frame=[0,0][1080,2408] display=[0,0][1080,2408] backdrop=[0,0][1080,2408]} outSurfaceControl = Surface(name=com.android.settings/com.android.settings.SubSettings)/@0xce40c8
06-21 16:04:12.095  1000  1270  1304 I ActivityManager: Start proc 22008:com.bullitt.wave/u0a142 for broadcast {com.bullitt.wave/com.bullitt.wave.notification.TimeZoneChangeReceiver}
06-21 16:04:12.102  1000  1270  1270 D CompatibilityChangeReporter: Compat change id reported: 135634846; UID 10103; state: DISABLED
06-21 16:04:12.102  1000  1270  1270 D CompatibilityChangeReporter: Compat change id reported: 177438394; UID 10103; state: DISABLED
06-21 16:04:12.102  1000  1270  1270 D CompatibilityChangeReporter: Compat change id reported: 135772972; UID 10103; state: DISABLED
06-21 16:04:12.102  1000  1270  1270 D CompatibilityChangeReporter: Compat change id reported: 135754954; UID 10103; state: ENABLED
06-21 16:04:12.103  1000  1270  1304 D CompatibilityChangeReporter: Compat change id reported: 143937733; UID 10103; state: ENABLED
06-21 16:04:12.109  1000  1270  1689 V ActivityManager: New death recipient com.android.server.am.ActivityManagerService$AppDeathRecipient@aefaf99 for thread android.os.BinderProxy@8e4925e
06-21 16:04:12.113  1000  1270  1689 D CompatibilityChangeReporter: Compat change id reported: 168419799; UID 10142; state: DISABLED
06-21 16:04:12.142  1000  1270  1304 I ActivityManager: Start proc 22030:com.google.android.apps.messaging/u0a103 for service {com.google.android.apps.messaging/com.google.android.apps.messaging.shared.datamodel.action.execution.ActionJobService}
06-21 16:04:12.142  1000  1270  4480 V ActivityManager: New death recipient com.android.server.am.ActivityManagerService$AppDeathRecipient@5f5110d for thread android.os.BinderProxy@19868c2
06-21 16:04:12.239  1000  1270  4480 V SettingsProvider: packageValueForCallResult, name = sqlite_compatibility_wal_flags, value : Bundle[{_track_generation=android.util.MemoryIntArray@a5, value=, _generation_index=0, _generation=12}]
06-21 16:04:12.295  1000  1270  4522 V SettingsProvider: packageValueForCallResult, name = sqlite_compatibility_wal_flags, value : Bundle[{_track_generation=android.util.MemoryIntArray@a5, value=, _generation_index=0, _generation=12}]
06-21 16:04:12.298  1000  1270  4522 V ActivityManager: Death received in com.android.server.am.ActivityManagerService$AppDeathRecipient@dc8534f for thread android.os.BinderProxy@5c7badc
06-21 16:04:12.299  1000  1270  4522 I ActivityManager: Process com.companyname.timezonechangecrashtestnet7 (pid 21034) has died: prev LAST
06-21 16:04:12.299  1000  1270  5667 I WindowManager: WIN DEATH: Window{c61c57e u0 com.companyname.timezonechangecrashtestnet7/crc64cd6a25ba1ee301b5.MainActivity}
06-21 16:04:12.299  1000  1270  5667 D WindowManager: setParent old=ActivityRecord{e0eb0c8 u0 com.companyname.timezonechangecrashtestnet7/crc64cd6a25ba1ee301b5.MainActivity t187},new=null,this window=Window{c61c57e u0 com.companyname.timezonechangecrashtestnet7/crc64cd6a25ba1ee301b5.MainActivity},callers=com.android.server.wm.WindowContainer.removeChild:601 com.android.server.wm.ActivityRecord.removeChild:3779 com.android.server.wm.ActivityRecord.removeChild:365 com.android.server.wm.WindowContainer.removeImmediately:653 com.android.server.wm.WindowState.removeImmediately:2380 com.android.server.wm.WindowState.removeIfPossible:2567 
06-21 16:04:12.306  1000  1270  1295 W ActivityManager: setHasOverlayUi called on unknown pid: 21034
06-21 16:04:12.306  1000  1270  1302 W UsageStatsService: Unexpected activity event reported! (com.companyname.timezonechangecrashtestnet7/crc64cd6a25ba1ee301b5.MainActivity event : 23 instanceId : 132766394)
06-21 16:04:12.391  1000  1270  1842 D CompatibilityChangeReporter: Compat change id reported: 177438394; UID 10125; state: DISABLED
06-21 16:04:12.391  1000  1270  1842 D CompatibilityChangeReporter: Compat change id reported: 135772972; UID 10125; state: DISABLED
06-21 16:04:12.391  1000  1270  1842 D CompatibilityChangeReporter: Compat change id reported: 135754954; UID 10125; state: ENABLED
06-21 16:04:12.391  1000  1270  1304 D CompatibilityChangeReporter: Compat change id reported: 143937733; UID 10125; state: ENABLED
06-21 16:04:12.392  1000  1270  1842 I ActivityManager: Killing 21478:com.google.android.tts/u0a115 (adj 975): empty #17
06-21 16:04:12.403  1000  1270  1304 I ActivityManager: Start proc 22099:com.google.android.apps.docs/u0a125 for broadcast {com.google.android.apps.docs/com.google.android.libraries.notifications.entrypoints.timezonechanged.TimezoneChangedReceiver}
06-21 16:04:12.424  1000  1270  1842 V ActivityManager: New death recipient com.android.server.am.ActivityManagerService$AppDeathRecipient@f1f13df for thread android.os.BinderProxy@5c3982c
06-21 16:04:12.426  1000  1270  5667 V ActivityManager: Death received in com.android.server.am.ActivityManagerService$AppDeathRecipient@2c8c6f5 for thread android.os.BinderProxy@2998c8a
06-21 16:04:12.427  1000  1270  1842 D CompatibilityChangeReporter: Compat change id reported: 168419799; UID 10125; state: DISABLED

Bugreport-Auszug von NokiaN7
06-21 16:55:14.821  1002 29372 29617 V bt_stack: [VERBOSE1:btm_inq.cc(1020)] BTM_InqDbRead: bd addr 30:50:75:0e:f5:7d
06-21 16:55:14.849  1002 29372 29617 V bt_stack: [VERBOSE1:btm_ble_gap.cc(1847)] btm_ble_process_adv_addr: bda=30:50:75:0e:f5:7d
06-21 16:55:14.849  1002 29372 29617 V bt_stack: [VERBOSE1:btm_inq.cc(1020)] BTM_InqDbRead: bd addr 30:50:75:0e:f5:7d
06-21 16:55:14.888  1002   754 29615 I vendor.qti.bluetooth@1.0-ibs_handler: ProcessIbsCmd: Received IBS_SLEEP_IND: 0xFE
06-21 16:55:14.888  1002   754 29615 D vendor.qti.bluetooth@1.0-ibs_handler: SerialClockVote: vote for UART CLK OFF
06-21 16:55:14.992  1000  1294  2383 I chatty  : uid=1000(system) Binder:1294_3 expire 1 line
06-21 16:55:15.016  1000  1294 15575 W IrisConfig: ColorManagerService is not Existed
06-21 16:55:15.031  1000 15213 15213 D HighlightableAdapter: RemoveHighlight: Not highlighted - skipping
06-21 16:55:15.038  1002   754 29517 D vendor.qti.bluetooth@1.0-wake_lock: Release wakelock is released 
06-21 16:55:15.046  1000 15213 15532 W SharedPreferencesLogger: Tried to log unloggable objectSI
06-21 16:55:15.068  1000  1294  1294 D ConditionProviders.SCP: onReceive android.intent.action.TIMEZONE_CHANGED
06-21 16:55:15.069  1000  1294  1294 D ConditionProviders.SCP: evaluateSubscriptionLocked cal=ScheduleCalendar[mDays={1, 2, 3, 4, 5, 6, 7}, mSchedule=ScheduleInfo{days=[1, 2, 3, 4, 5, 6, 7], startHour=22, startMinute=0, endHour=7, endMinute=0, exitAtAlarm=true, nextAlarm=Thu Jan 01 01:00:00 GMT+01:00 1970 (0)}], now=Wed Jun 21 16:55:15 GMT+02:00 2023 (1687359315069), nextUserAlarmTime=Thu Jan 01 01:00:00 GMT+01:00 1970 (0)
06-21 16:55:15.069  1000  1294  1294 D ConditionProviders.SCP: notifyCondition condition://android/schedule?days=1.2.3.4.5.6.7&start=22.0&end=7.0&exitAtAlarm=true STATE_FALSE reason=!meetsSchedule
06-21 16:55:15.070 10116 28791 28791 D fast-joda: ACTION_TIMEZONE_CHANGED received.
06-21 16:55:15.070  1000  1294  4289 I chatty  : uid=1000(system) IzatProvider expire 3 lines
06-21 16:55:15.071  1000  1294  1294 D ConditionProviders.SCP: Scheduling evaluate for Wed Jun 21 22:00:00 GMT+02:00 2023 (1687377600000), in +5h4m44s931ms, now=Wed Jun 21 16:55:15 GMT+02:00 2023 (1687359315069)
06-21 16:55:15.071   gps   762   762 V LocSvc_HIDL_IzatSubscription: [timezoneChangeUpdate][617] [HS] <<<<= [HC]
06-21 16:55:15.071 10116 28878 28878 D fast-joda: ACTION_TIMEZONE_CHANGED received.
06-21 16:55:15.071 10116 28878 28878 D fast-joda: Updated default timezone to Europe/Ljubljana
06-21 16:55:15.075 10316 15151 15151 F monodroid: Unable to find Android.Runtime.AndroidEnvironment.NotifyTimeZoneChanged()!
06-21 16:55:15.080  1000  1294  1294 D TwilightService: onReceive: Intent { act=android.intent.action.TIMEZONE_CHANGED flg=0x21200010 (has extras) }
06-21 16:55:15.109  1000 15213 15532 W TileUtils: Found com.android.settings.Settings$DataUsageSummaryActivity for intent Intent { act=com.android.settings.action.SETTINGS pkg=com.android.settings } missing metadata com.android.settings.category
06-21 16:55:15.115 10116 28791 28791 D fast-joda: Updated default timezone to Europe/Ljubljana
06-21 16:55:15.117  root   686   686 D Zygote  : Forked child process 15577
06-21 16:55:15.121  1000  1294  1393 I ActivityManager: Start proc 15577:com.google.android.apps.docs/u0a133 for broadcast {com.google.android.apps.docs/com.google.android.libraries.notifications.entrypoints.timezonechanged.TimezoneChangedReceiver}
06-21 16:55:15.140  1000  1294  1393 D ActivityManager: handleProcessStartedLocked mDoneFinishBooting && app.pid != 0 ---> notifyProcessStart, app.processName = com.google.android.apps.docs, app.info = ApplicationInfo{6c30aa2 com.google.android.apps.docs}, app.hostingType = broadcast, getHostingName() = ComponentInfo{com.google.android.apps.docs/com.google.android.libraries.notifications.entrypoints.timezonechanged.TimezoneChangedReceiver}, getIntentFlag() = 555745300, getIsPackageRunning() = false, app = ProcessRecord{9951333 15577:com.google.android.apps.docs/u0a133}, getExtraData() = Bundle[{BROADCAST_INTENT=Intent { act=android.intent.action.TIMEZONE_CHANGED flg=0x21200010 (has extras) }, CALLER_PACKAGE=android}]
06-21 16:55:15.148 10145 24166 24166 I GoogleInputMethodService: GoogleInputMethodService.onFinishInputView():2291 
06-21 16:55:15.149  1002 29372 29502 I BtGatt.ScanManager: msg.what = 6
06-21 16:55:15.149 10145 24166 24166 I KeyboardWrapper: KeyboardWrapper.consumeEvent():335 Skip consuming an event as current keyboard is deactivated (state=0, keyboard existence=true)
06-21 16:55:15.150 10145 24166 24166 I VoiceInputHandler: VoiceInputHandler.onDeactivateIme():107 unregistering TalkbackStateListener
06-21 16:55:15.150 10145 24166 24166 I VoiceInputManagerWrapper: VoiceInputManagerWrapper.shutdown():79 shutdown()
06-21 16:55:15.151 10145 24166 24166 I AndroidIME: AbstractIme.onDeactivate():208 LatinIme.onDeactivate()
06-21 16:55:15.152 10145 24166 24218 E native  : E0000 00:00:1687359315.152350   24218 input_actions_processor_jni.cc:126] Fail to process input actions request:No processor registered
06-21 16:55:15.156  root   685  1282 I netd    : firewallSetUidRule(2, 10145, 2) <3.82ms>
06-21 16:55:15.158  1000  1294  2506 D ConnectivityService: Blocked status changed to true for 10145(518) on netId 115
06-21 16:55:15.159  1000  1294  2506 D ConnectivityService: Blocked status changed to true for 10145(517) on netId 120
06-21 16:55:15.159  1000  1294  2506 D ConnectivityService: Blocked status changed to true for 10145(518) on netId 120
06-21 16:55:15.173 10133 15577 15577 E droid.apps.doc: Not starting debugger since process cannot load the jdwp agent.
06-21 16:55:15.176  1000 15213 15566 I SettingsActivity: component ComponentInfo{com.android.settings/com.android.settings.Settings$DateTimeSettingsActivity} setTileEnabled: true
06-21 16:55:15.177  1000 15213 15566 D SettingsActivity: No enabled state changed, skipping updateCategory call
06-21 16:55:15.178 10145 24166 24166 I GoogleInputMethodService: GoogleInputMethodService.onFinishInput():3307 
06-21 16:55:15.181 10145 24166 24166 I GoogleInputMethodService: GoogleInputMethodService.updateDeviceLockedStatus():2137 repeatCheckTimes = 0, locked = false
06-21 16:55:15.181 10145 24166 24166 I GoogleInputMethodService: GoogleInputMethodService.onStartInput():1917 onStartInput(EditorInfo{inputType=0x0(NULL) imeOptions=0x0 privateImeOptions=null actionName=UNSPECIFIED actionLabel=null actionId=0 initialSelStart=-1 initialSelEnd=-1 initialCapsMode=0x0 hintText=null label=null packageName=com.android.settings fieldId=-1 fieldName=null extras=null hintLocales=[]}, false)
06-21 16:55:15.181 10145 24166 24166 I GoogleInputMethodService: GoogleInputMethodService.shouldHideHeaderOnInitialState():1998 ShouldHideHeaderOnInitialState = false
06-21 16:55:15.181 10145 24166 24166 I GoogleInputMethodService: GoogleInputMethodService.updateDeviceLockedStatus():2137 repeatCheckTimes = 1, locked = false
06-21 16:55:15.199  1000  1294  3984 I chatty  : uid=1000(system) Binder:1294_D expire 6 lines
06-21 16:55:15.246 10133 15577 15577 I droid.apps.doc: The ClassLoaderContext is a special shared library.
06-21 16:55:15.278  1000  1294  2467 I chatty  : uid=1000(system) InputDispatcher expire 2 lines
06-21 16:55:15.279  1000  1294  3993 I ActivityManager: Process com.companyname.timezonechangecrashtestnet7 (pid 15151) has died: prev LAST
06-21 16:55:15.279 10133 15577 15577 W droid.apps.doc: JIT profile information will not be recorded: profile file does not exits.
06-21 16:55:15.279 10133 15577 15577 I chatty  : uid=10133(com.google.android.apps.docs) identical 2 lines
06-21 16:55:15.279 10133 15577 15577 W droid.apps.doc: JIT profile information will not be recorded: profile file does not exits.
06-21 16:55:15.280  root   686   686 I Zygote  : Process 15151 exited cleanly (13)
06-21 16:55:15.281  1000  1294  4009 I WindowManager: WIN DEATH: Window{18e68eb u0 com.companyname.timezonechangecrashtestnet7/crc64cd6a25ba1ee301b5.MainActivity}
06-21 16:55:15.281  1000  1294  4009 I chatty  : uid=1000(system) Binder:1294_15 expire 1 line
06-21 16:55:15.283  1000  1294  1395 I chatty  : uid=1000(system) ActivityManager expire 1 line
06-21 16:55:15.286  1000  1294  1373 W ActivityManager: setHasOverlayUi called on unknown pid: 15151
06-21 16:55:15.286  1000  4039 27664 D FileOperator: Mode change to WRITE_MODE!
06-21 16:55:15.289 10133 15577 15577 I Perf    : Connecting to perf service.
06-21 16:55:15.423  1002   754 29615 I vendor.qti.bluetooth@1.0-ibs_handler: ProcessIbsCmd: Received IBS_WAKE_IND: 0xFD
06-21 16:55:15.423  1002   754 29615 D vendor.qti.bluetooth@1.0-ibs_handler: SerialClockVote: vote for UART CLK ON
06-21 16:55:15.424  1002   754 29615 D vendor.qti.bluetooth@1.0-wake_lock: Acquire wakelock is acquired 
06-21 16:55:15.424  1002   754 29615 I vendor.qti.bluetooth@1.0-ibs_handler: ProcessIbsCmd: Writing IBS_WAKE_ACK
06-21 16:55:15.426  1002 29372 29617 V bt_stack: [VERBOSE1:btm_ble_gap.cc(1847)] btm_ble_process_adv_addr: bda=30:50:75:0e:f5:7d
Eilon commented 1 year ago

@jonathanpeppers

jonathanpeppers commented 1 year ago

This is fixed by: https://github.com/xamarin/xamarin-android/pull/7956

It recently shipped in VS 17.7 Preview 2. You could also try the workaround here to preserve Android.Runtime.AndroidEnvironment.TimeZoneChanged:

https://github.com/xamarin/xamarin-android/issues/7953

Let us know if that works, and we should be able to close this. Thanks!

ghost commented 1 year ago

Hi @hghgsat. We have added the "s/needs-info" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.

hghgsat commented 1 year ago

Hi,

first tests results – just tested manually change of time zone:

Need to do country border crossing test, intensive tests regarding network provider changes. Currently our project was set up to .NET6 since this has LTS.

Thx for you quick response. Harry

Von: Jonathan Peppers @.> Gesendet: Donnerstag, 22. Juni 2023 20:11 An: dotnet/maui @.> Cc: HGS: Harald Gergits @.>; Author @.> Betreff: Re: [dotnet/maui] Android .MAUI Hello World Projects crashed after Time Zone change and crossing country borders in Release Mode (Issue #15786)

This is fixed by: xamarin/xamarin-android#7956https://github.com/xamarin/xamarin-android/pull/7956

It recently shipped in VS 17.7 Preview 2. You could also try the workaround here to preserve Android.Runtime.AndroidEnvironment.TimeZoneChanged:

xamarin/xamarin-android#7953https://github.com/xamarin/xamarin-android/issues/7953

Let us know if that works, and we should be able to close this. Thanks!

— Reply to this email directly, view it on GitHubhttps://github.com/dotnet/maui/issues/15786#issuecomment-1603108168, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AC5DIPKW7G7DWSOCQ6A7LPLXMSDETANCNFSM6AAAAAAZP24H4M. You are receiving this because you authored the thread.Message ID: @.**@.>>

jonathanpeppers commented 1 year ago

The workaround should solve the issue in all versions of .NET 6+, it sounds like it isn't setup quite right. How did you add the file to your project? This doc shows how to do it: https://github.com/dotnet/linker/blob/ba65e934dcb8cfbc81a494e890927f9a5d31deac/docs/data-formats.md#descriptor-format

In either case, it might just be better to move to .NET 7 as the .NET 6 mobile workloads are out of support:

https://dotnet.microsoft.com/platform/support/policy/maui

ghost commented 1 year ago

Hi @hghgsat. We have added the "s/needs-info" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.

ghost commented 1 year ago

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. If it is closed, feel free to comment when you are able to provide the additional information and we will re-investigate.

hghgsat commented 1 year ago

workaround works for our apps using .net6 and .net7, works too using vs 17.7 Preview 2 in .net6/7. thx for quick response! Harry