www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.debugger - [DDBG] failed to load COFF

reply Bill Baxter <dnewsgroup billbaxter.com> writes:
Ever seen something like this in ddbg?:

"""
Ddbg 0.11 beta - D Debugger
Copyright (c) 2007 Jascha Wetzel
see http://ddbg.mainia.de/doc.html for documentation

Failed to load COFF image "gui.exe": DataReader.seek beyond end of data 
offset=4674, $=200
"""

The exe runs fine.  I just did a dsss clean/dsss build and that didn't 
make the error go away.

--bb
Dec 14 2007
next sibling parent reply Jascha Wetzel <firstname mainia.de> writes:
Bill Baxter wrote:
 Ever seen something like this in ddbg?:
 
 """
 Ddbg 0.11 beta - D Debugger
 Copyright (c) 2007 Jascha Wetzel
 see http://ddbg.mainia.de/doc.html for documentation
 
 Failed to load COFF image "gui.exe": DataReader.seek beyond end of data 
 offset=4674, $=200
 """
 
 The exe runs fine.  I just did a dsss clean/dsss build and that didn't 
 make the error go away.
 
 --bb
could you send me that .exe file so i can reproduce the problem?
Dec 14 2007
parent reply Bill Baxter <dnewsgroup billbaxter.com> writes:
Jascha Wetzel wrote:
 Bill Baxter wrote:
 Ever seen something like this in ddbg?:

 """
 Ddbg 0.11 beta - D Debugger
 Copyright (c) 2007 Jascha Wetzel
 see http://ddbg.mainia.de/doc.html for documentation

 Failed to load COFF image "gui.exe": DataReader.seek beyond end of 
 data offset=4674, $=200
 """

 The exe runs fine.  I just did a dsss clean/dsss build and that didn't 
 make the error go away.

 --bb
could you send me that .exe file so i can reproduce the problem?
It's 10MB. I can put it somewhere on my website for you to download if you're willing. Will you need all the ancillary DLLs it uses too, or is it enough to just get the single .exe? I should also mention that I used to have no problem using ddbg on it so maybe I just hit some compiler limit or something. --bb
Dec 14 2007
parent Jascha Wetzel <firstname mainia.de> writes:
Bill Baxter wrote:
 It's 10MB.  I can put it somewhere on my website for you to download if 
 you're willing.  Will you need all the ancillary DLLs it uses too, or is 
 it enough to just get the single .exe?
only the exe is enough, i just need to test the COFF loader.
 I should also mention that I used to have no problem using ddbg on it so 
 maybe I just hit some compiler limit or something.
it's more likely that my COFF loader doesn't handle it correctly.
Dec 15 2007
prev sibling parent reply "Vladimir Panteleev" <thecybershadow gmail.com> writes:
On Fri, 14 Dec 2007 22:44:21 +0200, Bill Baxter <dnewsgroup billbaxter.c=
om> wrote:

 Failed to load COFF image "gui.exe": DataReader.seek beyond end of dat=
a offset=3D4674, $=3D200 Having a similar problem:
 Loading symbols from mainui.exe
 "program.exe" ist not a valid COFF PE executable: DataReader.seek beyo=
nd end of data offset=3D15682, $=3D44 I can send you binary/sources+build instructions to e-mail if that'll he= lp. Thanks! -- = Best regards, Vladimir mailto:thecybershadow gmail.com
Jan 13 2008
parent reply Jascha Wetzel <firstname mainia.de> writes:
Vladimir Panteleev wrote:
 On Fri, 14 Dec 2007 22:44:21 +0200, Bill Baxter <dnewsgroup billbaxter.com>
wrote:
 
 Failed to load COFF image "gui.exe": DataReader.seek beyond end of data
offset=4674, $=200
Having a similar problem:
 Loading symbols from mainui.exe
 "program.exe" ist not a valid COFF PE executable: DataReader.seek beyond end
of data offset=15682, $=44
I can send you binary/sources+build instructions to e-mail if that'll help.
it does, please do :) since i don't implement the full COFF standard, corner cases pop up every now and then that the parser doesn't handle (properly). i can handle those with considerably less effort than i need to support COFF fully (which is useless, as long as DMD is the only source of input images).
Jan 13 2008
parent reply "Vladimir Panteleev" <thecybershadow gmail.com> writes:
On Sun, 13 Jan 2008 21:12:23 +0200, Jascha Wetzel <firstname mainia.de> =
wrote:

 Vladimir Panteleev wrote:
 On Fri, 14 Dec 2007 22:44:21 +0200, Bill Baxter <dnewsgroup billbaxte=
r.com> wrote:
 Failed to load COFF image "gui.exe": DataReader.seek beyond end of d=
ata offset=3D4674, $=3D200
 Having a similar problem:

 Loading symbols from mainui.exe
 "program.exe" ist not a valid COFF PE executable: DataReader.seek be=
yond end of data offset=3D15682, $=3D44
 I can send you binary/sources+build instructions to e-mail if that'll=
help.
 it does, please do :)
 since i don't implement the full COFF standard, corner cases pop up
 every now and then that the parser doesn't handle (properly). i can
 handle those with considerably less effort than i need to support COFF=
 fully (which is useless, as long as DMD is the only source of input im=
ages). I sent the binary on Sunday, did you get it? (just asking) -- = Best regards, Vladimir mailto:thecybershadow gmail.com
Jan 17 2008
parent Jascha Wetzel <firstname mainia.de> writes:
Vladimir Panteleev wrote:
 On Sun, 13 Jan 2008 21:12:23 +0200, Jascha Wetzel <firstname mainia.de> wrote:
 
 Vladimir Panteleev wrote:
 On Fri, 14 Dec 2007 22:44:21 +0200, Bill Baxter <dnewsgroup billbaxter.com>
wrote:

 Failed to load COFF image "gui.exe": DataReader.seek beyond end of data
offset=4674, $=200
Having a similar problem:
 Loading symbols from mainui.exe
 "program.exe" ist not a valid COFF PE executable: DataReader.seek beyond end
of data offset=15682, $=44
I can send you binary/sources+build instructions to e-mail if that'll help.
it does, please do :) since i don't implement the full COFF standard, corner cases pop up every now and then that the parser doesn't handle (properly). i can handle those with considerably less effort than i need to support COFF fully (which is useless, as long as DMD is the only source of input images).
I sent the binary on Sunday, did you get it? (just asking)
yes, just didn't have the time to look at it - i'll let you know when i did.
Jan 17 2008