Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

utf8? characters in the server name cause crash #274

Open
tra opened this issue Feb 11, 2023 · 0 comments
Open

utf8? characters in the server name cause crash #274

tra opened this issue Feb 11, 2023 · 0 comments
Labels
bug Something isn't working interface Issue with user interface

Comments

@tra
Copy link
Contributor

tra commented Feb 11, 2023

Iritscen tried to start a server and typed Option-; (…) into the server name and it crashed. Here's his stack trace:

Thread 8 Crashed:
0   libsystem_kernel.dylib        	    0x7ff81a72722a __pthread_kill + 10
1   libsystem_pthread.dylib       	    0x7ff81a75ef7b pthread_kill + 263
2   libsystem_c.dylib             	    0x7ff81a6a8ca5 abort + 123
3   libc++abi.dylib               	    0x7ff81a719082 abort_message + 241
4   libc++abi.dylib               	    0x7ff81a70a225 demangling_terminate_handler() + 242
5   libobjc.A.dylib               	    0x7ff81a40702b _objc_terminate() + 104
6   libc++abi.dylib               	    0x7ff81a7184a5 std::__terminate(void (*)()) + 8
7   libc++abi.dylib               	    0x7ff81a71ad05 __cxxabiv1::failed_throw(__cxxabiv1::__cxa_exception*) + 27
8   libc++abi.dylib               	    0x7ff81a71accc __cxa_throw + 116
9   Avara                         	       0x10b0c4851 nlohmann::json_abi_v3_11_2::detail::serializer<nlohmann::json_abi_v3_11_2::basic_json<std::__1::map, std::__1::vector, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, bool, long long, unsigned long long, double, std::__1::allocator, nlohmann::json_abi_v3_11_2::adl_serializer, std::__1::vector<unsigned char, std::__1::allocator<unsigned char> >, void> >::dump_escaped(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool) + 2625
10  Avara                         	       0x10b0c2699 nlohmann::json_abi_v3_11_2::detail::serializer<nlohmann::json_abi_v3_11_2::basic_json<std::__1::map, std::__1::vector, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, bool, long long, unsigned long long, double, std::__1::allocator, nlohmann::json_abi_v3_11_2::adl_serializer, std::__1::vector<unsigned char, std::__1::allocator<unsigned char> >, void> >::dump(nlohmann::json_abi_v3_11_2::basic_json<std::__1::map, std::__1::vector, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, bool, long long, unsigned long long, double, std::__1::allocator, nlohmann::json_abi_v3_11_2::adl_serializer, std::__1::vector<unsigned char, std::__1::allocator<unsigned char> >, void> const&, bool, bool, unsigned int, unsigned int) + 2969
11  Avara                         	       0x10b0c2066 nlohmann::json_abi_v3_11_2::detail::serializer<nlohmann::json_abi_v3_11_2::basic_json<std::__1::map, std::__1::vector, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, bool, long long, unsigned long long, double, std::__1::allocator, nlohmann::json_abi_v3_11_2::adl_serializer, std::__1::vector<unsigned char, std::__1::allocator<unsigned char> >, void> >::dump(nlohmann::json_abi_v3_11_2::basic_json<std::__1::map, std::__1::vector, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, bool, long long, unsigned long long, double, std::__1::allocator, nlohmann::json_abi_v3_11_2::adl_serializer, std::__1::vector<unsigned char, std::__1::allocator<unsigned char> >, void> const&, bool, bool, unsigned int, unsigned int) + 1382
12  Avara                         	       0x10b09fa86 nlohmann::json_abi_v3_11_2::basic_json<std::__1::map, std::__1::vector, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, bool, long long, unsigned long long, double, std::__1::allocator, nlohmann::json_abi_v3_11_2::adl_serializer, std::__1::vector<unsigned char, std::__1::allocator<unsigned char> >, void>::dump(int, char, bool, nlohmann::json_abi_v3_11_2::detail::error_handler_t) const + 454
13  Avara                         	       0x10b1f6a46 CAvaraAppImpl::TrackerPayload() + 134
14  Avara                         	       0x10b1f64ce TrackerPinger(CAvaraAppImpl*) + 126
15  Avara                         	       0x10b2902f0 decltype(static_cast<void (*>(fp)(static_cast<CAvaraAppImpl*>(fp0))) std::__1::__invoke<void (*)(CAvaraAppImpl*), CAvaraAppImpl*>(void (*&&)(CAvaraAppImpl*), CAvaraAppImpl*&&) + 32
16  Avara                         	       0x10b29027e void std::__1::__thread_execute<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (*)(CAvaraAppImpl*), CAvaraAppImpl*, 2ul>(std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (*)(CAvaraAppImpl*), CAvaraAppImpl*>&, std::__1::__tuple_indices<2ul>) + 62
17  Avara                         	       0x10b28fa42 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (*)(CAvaraAppImpl*), CAvaraAppImpl*> >(void*) + 98
18  libsystem_pthread.dylib       	    0x7ff81a75f259 _pthread_start + 125
19  libsystem_pthread.dylib       	    0x7ff81a75ac7b thread_start + 15```
@assertivist assertivist added bug Something isn't working interface Issue with user interface labels May 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working interface Issue with user interface
Projects
None yet
Development

No branches or pull requests

2 participants