You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm posting the same issue dtolnay/cxx#1272 here as I'm not really sure when the issue is.
Hey there,
I'm getting the panic "data for rust::String is not utf-8" for a string built by Windows, in this particular case the string is mixed between English and Spanish: (stun_port.cc:608): UDP send of 20 bytes to host 168.75.70.x:3478 failed with error 0 : [0x00002743] Se ha intentado una operación de socket en una red no accesible.\n
I think the Spanish part of the message is provided by Windows, here is the memory representation when I caught the panic:
let raw_bytes_memory:Vec<u8> = vec![28,0x73,0x74,0x75,0x6e,0x5f,0x70,0x6f,0x72,0x74,0x2e,0x63,0x63,0x3a,0x36,0x30,0x38,0x29,0x3a,0x20,0x55,0x44,0x50,0x20,0x73,0x65,0x6e,0x64,0x20,0x6f,0x66,0x20,0x32,0x30,0x20,0x62,0x79,0x74,0x65,0x73,0x20,0x74,0x6f,0x20,0x68,0x6f,0x73,0x74,0x20,0x31,0x36,0x38,0x2e,0x37,0x35,0x2e,0x37,0x30,0x2e,0x78,0x3a,0x33,0x34,0x37,0x38,0x20,0x66,0x61,0x69,0x6c,0x65,0x64,0x20,0x77,0x69,0x74,0x68,0x20,0x65,0x72,0x72,0x6f,0x72,0x20,0x30,0x20,0x3a,0x20,0x5b,0x30,0x78,0x30,0x30,0x30,0x30,0x32,0x37,0x34,0x33,0x5d,0x20,0x53,0x65,0x20,0x68,0x61,0x20,0x69,0x6e,0x74,0x65,0x6e,0x74,0x61,0x64,0x6f,0x20,0x75,0x6e,0x61,0x20,0x6f,0x70,0x65,0x72,0x61,0x63,0x69,0xf3,0x6e,0x20,0x64,0x65,0x20,0x73,0x6f,0x63,0x6b,0x65,0x74,0x20,0x65,0x6e,0x20,0x75,0x6e,0x61,0x20,0x72,0x65,0x64,0x20,0x6e,0x6f,0x20,0x61,0x63,0x63,0x65,0x73,0x69,0x62,0x6c,0x65,0x2e,0x0a,];println!("{:?}", std::str::from_utf8(raw_bytes_memory.as_slice()));
I'm posting the same issue dtolnay/cxx#1272 here as I'm not really sure when the issue is.
Hey there,
I'm getting the panic
"data for rust::String is not utf-8"
for a string built by Windows, in this particular case the string is mixed between English and Spanish:(stun_port.cc:608): UDP send of 20 bytes to host 168.75.70.x:3478 failed with error 0 : [0x00002743] Se ha intentado una operación de socket en una red no accesible.\n
I think the Spanish part of the message is provided by Windows, here is the memory representation when I caught the panic:
The original crash callstack:
The text was updated successfully, but these errors were encountered: