[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.

The self-modifying code section could not be made writeable

Postby timmie » Sun Aug 10, 2003 2:00 pm

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
timmie
OH YEAH!
 
Joined: 15 Jul 2003
Location: Vancouver, BC

Postby Xaser » Sun Aug 10, 2003 2:03 pm

It's probably just you, since I have Win98 and 47i runs perfectly.
User avatar
Xaser
anarchivist
 
 
 
Joined: 20 Jul 2003

Postby Kate » Sun Aug 10, 2003 2:09 pm

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
Kate
... in loving memory ...
 
Joined: 15 Jul 2003

Postby Xaser » Sun Aug 10, 2003 2:13 pm

I guess it all depends on system settings, then. Darn.
User avatar
Xaser
anarchivist
 
 
 
Joined: 20 Jul 2003

Postby timmie » Sun Aug 10, 2003 2:17 pm

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
timmie
OH YEAH!
 
Joined: 15 Jul 2003
Location: Vancouver, BC

Postby Kate » Sun Aug 10, 2003 2:21 pm

What the ... ? Wow, I didn't know I type THAT slow...
User avatar
Kate
... in loving memory ...
 
Joined: 15 Jul 2003

Postby randi » Mon Aug 11, 2003 4:52 pm

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
randi
Site Admin
 
Joined: 09 Jul 2003

Postby Hirogen2 » Wed Aug 13, 2003 3:00 am

I still somewhere have the 2.0.47j. A bit patched to kill some compilation
errors on Linux, but still broken.
User avatar
Hirogen2
 
Joined: 19 Jul 2003
Location: Central Germany
Github ID: jengelh
Operating System: RedHat-like Linux (RHEL, Fedora, CentOS, etc) 64-bit
Graphics Processor: Intel (Modern GZDoom)

Postby randi » Thu Aug 28, 2003 8:08 pm

Fixed for 2.0.48/2.1.0 using Timmie's fix.
User avatar
randi
Site Admin
 
Joined: 09 Jul 2003


Return to Closed Bugs

Who is online

Users browsing this forum: No registered users and 1 guest