[Fixed] The self-modifying code section could not be made...

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
User avatar
timmie
Posts: 199
Joined: Tue Jul 15, 2003 3:44 pm
Location: Vancouver, BC

The self-modifying code section could not be made writeable

Post by timmie »

It looks like 2.0.47i (the version I have) won't run under Win95/98/ME because it can't make a section of the code writeable. I'm not sure why that is since there's no mention of PAGE_EXECUTE_WRITECOPY not being supported in those OS's on MSDN, but PAGE_WRITECOPY is apparently not supported.

http://msdn.microsoft.com/library/defau ... ection.asp
User avatar
Xaser
 
 
Posts: 10772
Joined: Sun Jul 20, 2003 12:15 pm

Post by Xaser »

It's probably just you, since I have Win98 and 47i runs perfectly.
User avatar
Kate
... in rememberance ...
Posts: 2975
Joined: Tue Jul 15, 2003 8:06 pm

Post by Kate »

When I went to run the new ZDoomGL(To test it(Hey, That makes me a beta tester :D )), I got this error:
ZDOOM Fatal Error: The self-modifying code section code not be made writeable.
Last edited by Kate on Sun Aug 10, 2003 2:19 pm, edited 1 time in total.
User avatar
Xaser
 
 
Posts: 10772
Joined: Sun Jul 20, 2003 12:15 pm

Post by Xaser »

I guess it all depends on system settings, then. Darn.
User avatar
timmie
Posts: 199
Joined: Tue Jul 15, 2003 3:44 pm
Location: Vancouver, BC

Post by timmie »

no, there's different versions of 47i floating around. The one I have supports the interchangeable textures/patches/flats stuff (which is related to the self-modifying code).

Anyway, I changed it to PAGE_EXECUTE_READWRITE (from PAGE_EXECUTE_WRITECOPY) as mentioned in Randy's comments for that and it seems to work ok now.
User avatar
Kate
... in rememberance ...
Posts: 2975
Joined: Tue Jul 15, 2003 8:06 pm

Post by Kate »

What the ... ? Wow, I didn't know I type THAT slow...
User avatar
randi
Site Admin
Posts: 7739
Joined: Wed Jul 09, 2003 10:30 pm

Post by randi »

timmie wrote:no, there's different versions of 47i floating around. The one I have supports the interchangeable textures/patches/flats stuff (which is related to the self-modifying code).
Actually, I sent you a patch for "2.0.47j". Yeah, i and j look similar so maybe you didn't notice.
User avatar
Hirogen2
Posts: 2033
Joined: Sat Jul 19, 2003 6:15 am
Graphics Processor: Intel with Vulkan/Metal Support
Location: Central Germany

Post by Hirogen2 »

I still somewhere have the 2.0.47j. A bit patched to kill some compilation
errors on Linux, but still broken.
User avatar
randi
Site Admin
Posts: 7739
Joined: Wed Jul 09, 2003 10:30 pm

Post by randi »

Fixed for 2.0.48/2.1.0 using Timmie's fix.

Return to “Closed Bugs [GZDoom]”