Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

EXC_BAD_ACCESS Unclosed string > KERN_INVALID_ADDRESS at 0x627.

Đang mở
#1,177 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
25/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
cpp
Lĩnh vực
backend

Hướng nghiên cứu

Bắt đầu bằng việc xem xét báo cáo crash iOS của hxcpp 4.3.2 và stack từ GlobalAllocator::GetNextFree qua hx::Hash đến haxe::format::JsonParser_obj::parseRec. Kiểm tra mối liên hệ giữa define HXCPP_CPP11, điều kiện chuỗi chưa đóng được báo cáo và đường dẫn này. Hoàn thành khi xác định được nguyên nhân gốc có thể tái hiện và xác minh rằng EXC_BAD_ACCESS không còn xảy ra.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Usually this crash happens in the first 10 seconds of booting the app.

Defines:

<define name="HXCPP_CPP11"/>

hxcpp 4.3.2

OS Version: iOS 18.2.1 (22C161)
Report Version: 104

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: SEGV_NOOP at 0x0000000000000627
Crashed Thread: 25

Application Specific Information:
Unclosed string >
KERN_INVALID_ADDRESS at 0x627.

Thread 25 Crashed:
0   Application                        0x201e0b5d4         GlobalAllocator::GetNextFree
1   Application                        0x201e0b238         GlobalAllocator::GetFreeBlock
2   Application                        0x201e0b000         LocalAllocator::CallAlloc
3   Application                        0x201df2c9c         hx::Hash<T>::allocElement
4   Application                        0x201df30d4         hx::Hash<T>::TSet<T>
5   Application                        0x201df1cd4         hx::Hash<T>::set
6   Application                        0x201dea44c         __string_hash_set
7   Application                        0x201de08dc         hx::Anon_obj::__SetField
8   Application                        0x201056dc0         Reflect_obj::setField
9   Application                        0x2010d08d8         haxe::format::JsonParser_obj::parseRec
10  Application                        0x2010d08c8         haxe::format::JsonParser_obj::parseRec
11  Application                        0x2010d0704         haxe::format::JsonParser_obj::parseRec
12  Application                        0x2010d08c8         haxe::format::JsonParser_obj::parseRec
13  Application                        0x2010d0190         haxe::format::JsonParser_obj::doParse
14  Application                        0x201374e08         com::example::utils::AsyncJsonUtils_obj::parseAsync::_hx_Closure_0::_hx_run
15  Application                        0x201571484         lime::app::FutureWork_obj::threadPool_doWork
16  Application                        0x20157155c         lime::app::__FutureWork_objthreadPool_doWork
17  Application                        0x20149d460         lime::_hx_system::ThreadPool_obj::_hx___executeThread
18  Application                        0x20149d6e4         lime::_hx_system::__ThreadPool_obj_hx___executeThread
19  Application                        0x201aa7738         sys::thread::_Thread::HaxeThread_obj::create::_hx_Closure_0::_hx_run
20  Application                        0x201aa7528         sys::thread::_Thread::HaxeThread_obj::create::_hx_Closure_0::__run
21  Application                        0x201e03180         hxThreadFunc
22  libsystem_pthread.dylib         0x4332b17d0         _pthread_start
Ngôn ngữ chính
C++
Star
329
Fork
231
Merge trung bình
1 ngày 6 giờ
Pull request đã merge (30 ngày)
9

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của HaxeFoundation/hxcpp

Tất cả issue của HaxeFoundation/hxcpp

Issue tương tự

Thêm issue về C++

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.