HaxeFoundation / HaxeFoundation/hxcpp

Generational Garbage Collection crashing on Non-Microsoft things?

Open
#872 10 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
330
Forks
227
Avg merge
2d 16h
Merged PRs (30d)
18

Description

Tested all kinds of variants (debug/release, 32bit/64bit) on Android and Switch and my example from earlier (attached it again for convenience) quickly crashes in MarkAlloc in all of them. Only tested with Kha so far because I couldn't yet convince hxcpp to correctly detect the Android SDK.
[hxcpp_test2.zip](https://github.com/HaxeFoundation/hxcpp/files/3886125/hxcpp_test2.zip)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the attached hxcpp_test2.zip and reproduce the crash in MarkAlloc on Android or Switch, using the Kha setup described in the issue. Trace the generational garbage-collection path around the crash; done means the supplied example no longer crashes across the affected configurations.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, cpp
Domain
backend, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.