Gleb
02/15/2024, 8:25 PM2024-02-15 21:11:29.860871+0400 KTMP test[57854:7134733] [plugin] AddInstanceForFactory: No factory registered for id <CFUUID 0x600000200100> F8BB1C28-BAE8-11D6-9C31-00039315CD46
2024-02-15 21:16:37.556064+0400 KTMP test[57854:7134864] HALSystem.cpp:2216 AudioObjectPropertiesChanged: no such object
2024-02-15 21:16:40.015165+0400 KTMP test[57854:7141199] [aqme] AQMEIO_HAL.cpp:2485 timeout
2024-02-15 21:16:40.015973+0400 KTMP test[57854:7141199] AudioHardware-mac-imp.cpp:2706 AudioDeviceStop: no device with given ID
2024-02-15 21:16:43.129055+0400 KTMP test[57854:7134889] [AMCP] 75015 HALC_ProxyIOContext.cpp:1652 HALC_ProxyIOContext::IOWorkLoop: failed to send the final message to the server, Error: 0x10000003
2024-02-15 21:16:43.131376+0400 KTMP test[57854:7142149] [aqme] AQMEIO_HAL.cpp:617 Audio device 134: error 0 fetching sample rate, or sample rate is 0. Defaulting to 44100.
2024-02-15 21:16:43.131656+0400 KTMP test[57854:7142697] HALC_ProxyIOContext.cpp:1200 HALC_ProxyIOContext::IOWorkLoop: the server failed to start, Error: 0x6E6F7065
2024-02-15 21:16:43.131955+0400 KTMP test[57854:7142149] [aqme] AQMEIO_HAL.cpp:617 Audio device 134: error 0 fetching sample rate, or sample rate is 0. Defaulting to 44100.
2024-02-15 21:16:43.131974+0400 KTMP test[57854:7141199] [AMCP] 20267 HALC_ProxyIOContext.cpp:908 HALC_ProxyIOContext::_StartIO(): Start failed - StartAndWaitForState returned error 1852797029
2024-02-15 21:16:43.132274+0400 KTMP test[57854:7142059] [aqme] AQMEIO_HAL.cpp:617 Audio device 134: error 0 fetching sample rate, or sample rate is 0. Defaulting to 44100.
2024-02-15 21:16:43.132536+0400 KTMP test[57854:7142701] HALC_ProxyIOContext.cpp:1200 HALC_ProxyIOContext::IOWorkLoop: the server failed to start, Error: 0x6E6F7065
2024-02-15 21:16:43.132872+0400 KTMP test[57854:7141199] [AMCP] 20267 HALC_ProxyIOContext.cpp:908 HALC_ProxyIOContext::_StartIO(): Start failed - StartAndWaitForState returned error 1852797029
2024-02-15 21:16:43.146976+0400 KTMP test[57854:7142696] HALC_ShellObject.mm:217 HALC_ShellObject::HasProperty: call to the proxy failed, Error: 268435459 (\^P)
2024-02-15 21:16:43.147153+0400 KTMP test[57854:7142696] HALC_ProxySystem.cpp:165 HALC_ProxySystem::GetObjectInfo: got an error from the server, Error: 560947818 (!obj)
2024-02-15 21:16:43.147707+0400 KTMP test[57854:7142696] HALC_ShellObject.mm:213 HALC_ShellObject::HasProperty: there is no proxy object
2024-02-15 21:16:43.148664+0400 KTMP test[57854:7142696] HALC_ProxySystem.cpp:165 HALC_ProxySystem::GetObjectInfo: got an error from the server, Error: 560947818 (!obj)
2024-02-15 21:16:43.148727+0400 KTMP test[57854:7142696] HALC_ShellObject.mm:213 HALC_ShellObject::HasProperty: there is no proxy object
2024-02-15 21:16:43.148788+0400 KTMP test[57854:7142696] AudioHardware-mac-imp.cpp:1224 AudioObjectRemovePropertyListener: no object with given ID 134
2024-02-15 21:16:44.435693+0400 KTMP test[57854:7142741] [aqme] AQMEIO_HAL.cpp:2706 iOSSimulatorAudioDevice-57854-2: Abandoning I/O cycle because reconfig pending (1).
2024-02-15 21:16:44.439018+0400 KTMP test[57854:7142149] HALC_ShellObject.mm:217 HALC_ShellObject::HasProperty: call to the proxy failed, Error: -308 (\M^?\M^?\M-~\M-L)
2024-02-15 21:16:44.439336+0400 KTMP test[57854:7142149] HALC_ProxySystem.cpp:165 HALC_ProxySystem::GetObjectInfo: got an error from the server, Error: 560947818 (!obj)
2024-02-15 21:16:44.440370+0400 KTMP test[57854:7142149] HALC_ShellObject.mm:213 HALC_ShellObject::HasProperty: there is no proxy object
2024-02-15 21:16:44.476532+0400 KTMP test[57854:7142149] HALC_ProxySystem.cpp:165 HALC_ProxySystem::GetObjectInfo: got an error from the server, Error: 560947818 (!obj)
2024-02-15 21:16:44.476665+0400 KTMP test[57854:7142149] HALC_ShellObject.mm:213 HALC_ShellObject::HasProperty: there is no proxy object
2024-02-15 21:16:44.477255+0400 KTMP test[57854:7142149] HALC_ProxySystem.cpp:165 HALC_ProxySystem::GetObjectInfo: got an error from the server, Error: 560947818 (!obj)
2024-02-15 21:16:44.477331+0400 KTMP test[57854:7142149] HALC_ShellObject.mm:213 HALC_ShellObject::HasProperty: there is no proxy object
2024-02-15 21:16:44.477404+0400 KTMP test[57854:7142149] AudioHardware-mac-imp.cpp:1224 AudioObjectRemovePropertyListener: no object with given ID 137
2024-02-15 21:35:33.869779+0400 KTMP test[57854:7145938] [xpc] <PKDaemonClient: 0x6000002bea60>: XPC error talking to pkd: Connection interrupted
2024-02-15 21:43:40.035575+0400 KTMP test[57854:7176559] [aqme] AQMEIO_HAL.cpp:617 Audio device 155: error 0 fetching sample rate, or sample rate is 0. Defaulting to 44100.
2024-02-15 21:43:40.036159+0400 KTMP test[57854:7176617] HALC_ProxyIOContext.cpp:1200 HALC_ProxyIOContext::IOWorkLoop: the server failed to start, Error: 0x6E6F7065
2024-02-15 21:43:40.033785+0400 KTMP test[57854:7134889] [AMCP] 69635 HALC_ProxyIOContext.cpp:1652 HALC_ProxyIOContext::IOWorkLoop: failed to send the final message to the server, Error: 0x10000003
2024-02-15 21:43:40.036663+0400 KTMP test[57854:7176564] [AMCP] 4123 HALC_ProxyIOContext.cpp:908 HALC_ProxyIOContext::_StartIO(): Start failed - StartAndWaitForState returned error 1852797029
2024-02-15 21:43:40.037336+0400 KTMP test[57854:7176559] [aqme] AQMEIO_HAL.cpp:617 Audio device 155: error 0 fetching sample rate, or sample rate is 0. Defaulting to 44100.
2024-02-15 21:43:40.037746+0400 KTMP test[57854:7176558] [aqme] AQMEIO_HAL.cpp:617 Audio device 155: error 0 fetching sample rate, or sample rate is 0. Defaulting to 44100.
2024-02-15 21:43:40.065671+0400 KTMP test[57854:7176558] AudioHardware-mac-imp.cpp:572 AudioObjectGetPropertyDataSize: no object with given ID 155
2024-02-15 21:43:40.065804+0400 KTMP test[57854:7176558] AudioHardware-mac-imp.cpp:660 AudioObjectGetPropertyData: no object with given ID 155
2024-02-15 21:43:40.065984+0400 KTMP test[57854:7176558] AudioHardware-mac-imp.cpp:572 AudioObjectGetPropertyDataSize: no object with given ID 155
2024-02-15 21:43:40.066069+0400 KTMP test[57854:7176558] AudioHardware-mac-imp.cpp:572 AudioObjectGetPropertyDataSize: no object with given ID 155
2024-02-15 21:43:40.066173+0400 KTMP test[57854:7176558] AudioHardware-mac-imp.cpp:660 AudioObjectGetPropertyData: no object with given ID 155
2024-02-15 21:43:40.066255+0400 KTMP test[57854:7176558] AudioHardware-mac-imp.cpp:572 AudioObjectGetPropertyDataSize: no object with given ID 155
2024-02-15 21:43:40.066348+0400 KTMP test[57854:7176558] AudioHardware-mac-imp.cpp:660 AudioObjectGetPropertyData: no object with given ID 155
2024-02-15 21:43:40.067611+0400 KTMP test[57854:7176558] AudioHardware-mac-imp.cpp:660 AudioObjectGetPropertyData: no object with given ID 155
2024-02-15 21:43:40.067777+0400 KTMP test[57854:7176558] AudioHardware-mac-imp.cpp:2706 AudioDeviceStop: no device with given ID
2024-02-15 21:43:41.546095+0400 KTMP test[57854:7176679] [aqme] AQMEIO_HAL.cpp:2706 iOSSimulatorAudioDevice-57854-4: Abandoning I/O cycle because reconfig pending (1).
2024-02-15 21:43:41.548021+0400 KTMP test[57854:7176558] HALC_ProxySystem.cpp:165 HALC_ProxySystem::GetObjectInfo: got an error from the server, Error: 560947818 (!obj)
2024-02-15 21:43:41.548847+0400 KTMP test[57854:7176558] HALC_ShellObject.mm:213 HALC_ShellObject::HasProperty: there is no proxy object
2024-02-15 21:43:41.549570+0400 KTMP test[57854:7176558] HALC_ProxySystem.cpp:165 HALC_ProxySystem::GetObjectInfo: got an error from the server, Error: 560947818 (!obj)
2024-02-15 21:43:41.549799+0400 KTMP test[57854:7176558] HALC_ShellObject.mm:213 HALC_ShellObject::HasProperty: there is no proxy object
2024-02-15 21:43:41.549920+0400 KTMP test[57854:7176558] AudioHardware-mac-imp.cpp:1224 AudioObjectRemovePropertyListener: no object with given ID 158
2024-02-15 21:43:41.550119+0400 KTMP test[57854:7176558] AudioHardware-mac-imp.cpp:1224 AudioObjectRemovePropertyListener: no object with given ID 158
2024-02-15 21:43:41.575459+0400 KTMP test[57854:7176558] AudioHardware-mac-imp.cpp:1224 AudioObjectRemovePropertyListener: no object with given ID 158
2024-02-15 21:43:41.584546+0400 KTMP test[57854:7176679] HALSystem.cpp:2216 AudioObjectPropertiesChanged: no such object
2024-02-15 21:44:49.624233+0400 KTMP test[57854:7177529] [ServicesDaemonManager] interruptionHandler is called. -[FontServicesDaemonManager connection]_block_invoke
And this is the code I'm using to create the input field:
var text by remember { mutableStateOf("") }
TextField(
value = text,
modifier = Modifier.fillMaxWidth(),
trailingIcon = {
Image(
painter = ColorPainter(Color(0xFF403E97)),
contentDescription = null,
modifier = Modifier
.size(30.dp)
.clip(CircleShape)
)
},
colors = TextFieldDefaults.textFieldColors(
textColor = Color.Black,
backgroundColor = Color.White,
cursorColor = Color(0xFF403E97),
unfocusedIndicatorColor = Color.Transparent,
focusedIndicatorColor = Color.Transparent
),
shape = RoundedCornerShape(topStart = 10.dp, topEnd = 10.dp),
placeholder = { Text("Name") },
onValueChange = {
text = it
}
)
As the logs suggest and my googling also supports that claim, this exception is caused by some audio library. Has anyone seen anything like that? Is it a bug from compose Multiplatform or is it something that I have done wrong? The field works perfectly fine on android but crashes as soon as I click the field on iOS
Upd: TextField example code from the official docs also results in the same issue:
var location by remember { mutableStateOf("Europe/Paris") }
TextField(value = location, onValueChange = { location = it })
Gleb
02/16/2024, 7:47 AM@Composable
fun App() {
MaterialTheme {
var location by remember { mutableStateOf("Europe/Paris") }
TextField(value = location, onValueChange = { location = it })
}
}
Put the code above in commonMain/kotlin/App.kt and run on iOS. As soon as it loads the app and I click on the field, I get the same error
• Xcode: Version 15.0.1 (15A507)
• Android studio: Build #AI-231.9392.1.2311.11330709, built on January 19, 2024
Runtime version: 17.0.7+0-17.0.7b1000.6-10550314 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
• Gradle: 8.4
• compose: 1.6.1
• compose-plugin: 1.5.12
• kotlin: 1.9.22
Probably should submit on youtrack shouldn't I?Gleb
02/16/2024, 7:54 AM