HaxeFlixel / HaxeFlixel/flixel
Flixel demos and examples crash/segfaults on the HL target
Nobody has claimed this yet.
- Dominant language
- Haxe
- Stars
- 2.2k
- Forks
- 522
- Avg merge
- 34m
- Merged PRs (30d)
- 1
Description
- Haxe version: 4.2.2
- Flixel version: 4.9.0
- OpenFL version: 9.1.0
- Lime version: 7.9.0
- Affected targets: Linux's HashLink, latest stable
Code snippet reproducing the issue:
import flixel.FlxState;
class PlayState extends FlxState
{
override public function create()
{
super.create();
var text = new flixel.text.FlxText(0, 0, 0, "Hello World", 64);
text.screenCenter();
add(text);
}
override public function update(elapsed:Float)
{
super.update(elapsed);
}
}
Observed behavior: When doing a lime test hl or lime test haxelink, the binary segfaults, the window on "Hello World" first appears for lower than a sec and then crashes immediately, this issue does not happens on: HTML5, Windows, Linux, Neko, etc. targets.
Expected behavior: That the simple hello world HL binary runs as well as those observed from that of the other targets.
On a side-note: A few of the flixel demos like flappybalt also manage to segfault the app as well.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the crash with the supplied PlayState using lime test hl or lime test haxelink, then compare it with the targets that work. Check the simple Hello World case and the flappybalt demo; done means both run without the HashLink segfault.
Written by the indexing model from the issue text.
Assessment
- Domain
- game-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100