Menu

#135 graphic file in IMAGE.DDF: Fatal error if missing

open
nobody
5
2012-11-26
2004-12-25
No

If I'm using a PNG image defined in image.ddf, but the
actual file doesn't exist(filename misspelled for
example), then edge crashes with a Windows fatal error.

Discussion

  • Luke Brennan

    Luke Brennan - 2004-12-26

    Logged In: YES
    user_id=457722

    I've attached a test case which crashes my Gledge.

    This wad uses 3 external image files (Image1.png,logoro.PNG
    and logozen.PNG) via Image.ddf.

    Steps to reproduce bug:
    1. You need to copy Image1.png and logozen.PNG to the
    directory where the gledge32.exe is.
    Don't copy logoro.PNG

    2. Run Edge passing in the response.txt(you'll need to
    change the paths)

    3. Edge should crash(in windows anyway).

     
  • Luke Brennan

    Luke Brennan - 2004-12-26

    Test case

     
  • Andrew Apted

    Andrew Apted - 2004-12-31

    Logged In: YES
    user_id=11869

    Unfortunately it works for me (Win 98).
    I did change the paths (and had to double quote
    them due to spaces).

    Either there is a gremlin in the code causing
    random problems, or there is something about XP
    and file paths that doesn't work quite right (and
    would be out of our control since we are using
    pretty standard file handling functions). Not good.

     
  • Luke Brennan

    Luke Brennan - 2004-12-31

    Logged In: YES
    user_id=457722

    I would say that it is something random in the code: let me
    explain.

    I've tried my test case this morning and it crashed edge.
    I comment out the SKY entry in images.ddf and rerun Edge
    again: this time it works
    I uncomment the same entry in image.ddf and rerun Edge
    again:this time it works?!

     
  • Luke Brennan

    Luke Brennan - 2005-02-21

    Logged In: YES
    user_id=457722

    I'm afraid the description for this bug is a bit of a
    misnomer since it doesn't seem to really have to do with
    missing images at all.

    I'm almost certain that this problem has to do with the use
    of PNG images as SKY textures, since it has resurfaced in
    beta #2 on at least one occasion in my testing.

    I can't be sure because it seems to be the proverbial
    "random" bug: I was doing loads of testing with PNG and JPG
    lumps and got absolutely no problems, but after I added a
    Sky replacement then it crashed EDGE on one random
    occasion(the second or third run),although this time the
    crash was just when I was exiting a session of EDGE.

     

Log in to post a comment.

MongoDB Logo MongoDB