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.
Violet CLM

JCF Éminence Grise

Joined: Mar 2001

Posts: 11,120

Violet CLM has disabled reputation

Jun 14, 2025, 06:28 PM
Violet CLM is offline
Reply With Quote
I haven't had any time to look into this yet (and I'm guessing the true is same for everyone else), but this is a good report, crashing at the same address can't be too hard to track down probably, thank you.
__________________
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:05 PM.