Register FAQ Search Today's Posts Mark Forums Read
Go Back   JazzJackrabbit Community Forums » Maintenance & Feedback » JJ2+ Issue Tracker

Bug Report Using the jjLAYER constructor to copy eventually causes access violation in Rivellon

froducish

JCF Member

Joined: Jan 1970

Posts: 8

froducish has disabled reputation

Jun 12, 2025, 05:31 AM
froducish is offline
Reply With Quote
Using the jjLAYER constructor to copy eventually causes access violation in Rivellon

Make a mutator just with this snippet:

Code:
array<jjLAYER@> layerOrderings;
void onLevelBegin() {
	layerOrderings = jjLayerOrderGet();
	for (uint i = 0; i < layerOrderings.length(); i++) {
		jjLAYER@ copy = jjLAYER(layerOrderings[i]);
	}
}
Cycle to ezrivellon.j2l (https://www.jazz2online.com/downloads/9443/rivellon/) with the mutator on several times until access violation occurs. Seems to happen at the same instruction address each time it happens: https://i.imgur.com/UHq6Brf.png

Tested with JJ2+ v6.0a in Windows 10.
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -8. The time now is 02:59 AM.