Thread overview
[DDBG] failed to load COFF
Dec 14, 2007
Bill Baxter
Dec 15, 2007
Jascha Wetzel
Dec 15, 2007
Bill Baxter
Dec 15, 2007
Jascha Wetzel
Jan 13, 2008
Vladimir Panteleev
Jan 13, 2008
Jascha Wetzel
Jan 18, 2008
Vladimir Panteleev
Jan 18, 2008
Jascha Wetzel
December 14, 2007
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
December 15, 2007
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?
December 15, 2007
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
December 15, 2007
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.
January 13, 2008
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.

Thanks!

-- 
Best regards,
 Vladimir                          mailto:thecybershadow@gmail.com
January 13, 2008
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).
January 18, 2008
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)

-- 
Best regards,
 Vladimir                          mailto:thecybershadow@gmail.com
January 18, 2008
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.