flat assembler
Message board for the users of flat assembler.

Index > Compiler Internals > [obsolete / fixed] PageFault bug DOS IDE on 67.29 & 67.3

Author
Thread Post new topic Reply to topic
DOS386



Joined: 08 Dec 2006
Posts: 1903
DOS386 16 Feb 2009, 08:36
When trying to compile (CTL-F9) my BuggyCodeEx (R) Laughing , FASM DOS IDE crashes. No problem in DOS commandline or Win32 IDE. Probably it's a problem with the error from the core arriving in the IDE, and specific to this piece of code (sent by PM). Other bugs usually don't cause a crash. After fixing the bug this crash doesn't occur anymore. Both CWSDPMI and HDPMI32.


Last edited by DOS386 on 24 Feb 2009, 01:13; edited 1 time in total
Post 16 Feb 2009, 08:36
View user's profile Send private message Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8356
Location: Kraków, Poland
Tomasz Grysztar 16 Feb 2009, 09:21
It would be useful if you also provided EIP value of the pagefault.
Post 16 Feb 2009, 09:21
View user's profile Send private message Visit poster's website Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8356
Location: Kraków, Poland
Tomasz Grysztar 16 Feb 2009, 17:02
Quick fix - in FASMD.ASM around 4180 line:
Code:
      quoted:
        call    peek_character
        jc      no_more_lines
        cmp     al,ah
        jne     quoted
        call    peek_character
        jc      no_more_lines
        cmp     al,ah
        je      quoted
        dec     esi ; <- replace ESI with EDI here
        xor     edx,edx
        jmp     check_for_more_lines    

Will be fixed in the next update (I plan to do some more work on FASMD soon).
Post 16 Feb 2009, 17:02
View user's profile Send private message Visit poster's website Reply with quote
DOS386



Joined: 08 Dec 2006
Posts: 1903
DOS386 18 Feb 2009, 07:05
> would be useful if you also provided EIP value

SORRY Sad I had thought you would want to crash it yourself anyway ...

> Quick fix - in FASMD.ASM around 4180

COOL Smile Indeed fixes the offending code Smile Just a 1 Byte fix again Laughing

> I plan to do some more work on FASMD soon

Smile

Can get unsticked ... and maybe this could get killed finally: http://board.flatassembler.net/topic.php?t=8677 + (or at least) shadow link in IDE Development.
Post 18 Feb 2009, 07:05
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.