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

Random crashes for no apparent reason

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

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
35/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Ít trao đổi
Công nghệ
cpp
Lĩnh vực
desktop

Hướng nghiên cứu

Bắt đầu với hướng dẫn build trong README và chạy ./build/infinisim trên Arch Linux để tái hiện lỗi abort. Kiểm tra simulator bằng cách vuốt lên, nhấn n và di chuyển xung quanh trong khi trace lỗi free(): invalid pointer; hoàn tất khi các thao tác này không còn làm simulator crash.

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

Mô tả

Hello everyone,

I love my PineTime and I am amazed by the firmware the community managed to create!

I am trying to experiment with the firmware, so I started by compiling it and the simulator.

Everything seems fine, bu when I run the simulator, it always crashs.

If I swipe up the console shows:

 > ./build/infinisim
info:  1 1 2026 
info:  0 0 0 
initial free_size = 40360
info:  systemtask task started!
info:  Last reset reason : Reset pin
info:  [SpiNorFlash] Manufacturer : 0, Memory type : 0, memory density : 0
info:  [SpiNorFlash] Wakeup
warn:  [AlarmController] Failed to open alarm data file
info:  DISABLE
info:  displayapp task started!
info:  DISABLE
free(): invalid pointer
[1]    11810 abort (core dumped)  ./build/infinisim

Same if I press n to send a new notification.

Moving around also produces similar results.


I am on Arch Linux and I built the project following the readme. Any ideas on how to debug this problem?

Ngôn ngữ chính
C++
Star
203
Fork
99
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

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

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

  • Không có Dockerfile hay tệp Docker Compose
  • Không có mẫu pull request
  • Không có hướng dẫn đóng góp

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 InfiniTimeOrg/InfiniSim

Tất cả issue của InfiniTimeOrg/InfiniSim

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.