Jump to page: 1 2
Thread overview
problems with DMD alpha 0.18 on WIN98
Feb 06, 2002
John Fletcher
Feb 06, 2002
Walter
Feb 07, 2002
John Fletcher
Feb 07, 2002
Walter
Feb 07, 2002
Pavel Minayev
Feb 07, 2002
John Fletcher
Feb 07, 2002
John Fletcher
Feb 08, 2002
Pavel Minayev
Feb 09, 2002
Walter
February 06, 2002
Hello,

I just notice: if I compile test program:
...
// File test.d
void main()
{
}
...

with dmd 0.18 then trying to run test.exe results in such WIN98 message
...
TEST caused an invalid page fault in
module TEST.EXE at 017f:00403811.
Registers:
EAX=00000000 CS=017f EIP=00403811 EFLGS=00010287
EBX=00000000 SS=0187 ESP=0063fcfc EBP=00651e7c
ECX=00651e7c DS=0187 ESI=00640000 FS=19cf
EDX=0063fdb8 ES=0187 EDI=00000000 GS=0000
Bytes at CS:EIP:
8b 3e 3b 7d 28 72 6e 57 8b cd e8 a8 fe ff ff 89
Stack dump:
00000010 00000008 0063fda4 00000000
00000000 00000000 0040b220 00403a03
0063fd98 00640010 00000010 006513d8
0063fda4 00000001 0040b220 00651e7c
...
but if I compile the same programm with 0.15 - it works fine...
Whatever, compiled with 0.18, works without errors on win2k.

Ruslanas

February 06, 2002

Ruslanas Abdrachimovas wrote:

> Hello,
>
> I just notice: if I compile test program:
> ...
> // File test.d
> void main()
> {
> }
> ...
>
> with dmd 0.18 then trying to run test.exe results in such WIN98 message ...

0.18 ?? I have been looking out for update announcements.  Have I missed something?

John


February 06, 2002
There was no announcements. Just download new version of it. =]

John Fletcher wrote:
> 
> Ruslanas Abdrachimovas wrote:
> 
> 
>>Hello,
>>
>>I just notice: if I compile test program:
>>...
>>// File test.d
>>void main()
>>{
>>}
>>...
>>
>>with dmd 0.18 then trying to run test.exe results in such WIN98 message
>>...
>>
> 
> 0.18 ?? I have been looking out for update announcements.  Have I missed
> something?
> 
> John
> 
> 
> 


February 06, 2002
Are you saying the same executable, text.exe, crashes on 98 but works on 2k?

"Ruslanas Abdrachimovas" <anubis@03bar.ktu.lt> wrote in message news:3C611704.8030302@03bar.ktu.lt...
> Hello,
>
> I just notice: if I compile test program:
> ...
> // File test.d
> void main()
> {
> }
> ...
>
> with dmd 0.18 then trying to run test.exe results in such WIN98 message
> ...
> TEST caused an invalid page fault in
> module TEST.EXE at 017f:00403811.
> Registers:
> EAX=00000000 CS=017f EIP=00403811 EFLGS=00010287
> EBX=00000000 SS=0187 ESP=0063fcfc EBP=00651e7c
> ECX=00651e7c DS=0187 ESI=00640000 FS=19cf
> EDX=0063fdb8 ES=0187 EDI=00000000 GS=0000
> Bytes at CS:EIP:
> 8b 3e 3b 7d 28 72 6e 57 8b cd e8 a8 fe ff ff 89
> Stack dump:
> 00000010 00000008 0063fda4 00000000
> 00000000 00000000 0040b220 00403a03
> 0063fd98 00640010 00000010 006513d8
> 0063fda4 00000001 0040b220 00651e7c
> ...
> but if I compile the same programm with 0.15 - it works fine...
> Whatever, compiled with 0.18, works without errors on win2k.
>
> Ruslanas
>


February 07, 2002

Walter wrote:

> Are you saying the same executable, text.exe, crashes on 98 but works on 2k?
>
> "Ruslanas Abdrachimovas" <anubis@03bar.ktu.lt> wrote in message news:3C611704.8030302@03bar.ktu.lt...
> > Hello,
> >
> > I just notice: if I compile test program:
> > ...
> > // File test.d
> > void main()
> > {
> > }
> > ...
> >
> > with dmd 0.18 then trying to run test.exe results in such WIN98 message ...
> >

On a machine running Windows 95 OSR2  the simple hello.d crashes on exit (or at least after the printf output) with version 0.18.  It worked O.K. with 0.16

Maybe related, the statement

File something = new File;

which ran before now makes a crash before output.

John


February 07, 2002
Could you hook up a debugger and see where it's dying? There isn't much of any code executed for the close.

"John Fletcher" <J.P.Fletcher@aston.ac.uk> wrote in message news:3C62470A.97F9EBC2@aston.ac.uk...
>
>
> Walter wrote:
>
> > Are you saying the same executable, text.exe, crashes on 98 but works on
2k?
> >
> > "Ruslanas Abdrachimovas" <anubis@03bar.ktu.lt> wrote in message news:3C611704.8030302@03bar.ktu.lt...
> > > Hello,
> > >
> > > I just notice: if I compile test program:
> > > ...
> > > // File test.d
> > > void main()
> > > {
> > > }
> > > ...
> > >
> > > with dmd 0.18 then trying to run test.exe results in such WIN98
message
> > > ...
> > >
>
> On a machine running Windows 95 OSR2  the simple hello.d crashes on exit
(or at
> least after the printf output) with version 0.18.  It worked O.K. with
0.16
>
> Maybe related, the statement
>
> File something = new File;
>
> which ran before now makes a crash before output.
>
> John
>
>


February 07, 2002
"John Fletcher" <J.P.Fletcher@aston.ac.uk> wrote in message news:3C62470A.97F9EBC2@aston.ac.uk...

> Maybe related, the statement
>
> File something = new File;
>
> which ran before now makes a crash before output.

On Win95? Or everywhere?


February 07, 2002

Pavel Minayev wrote:

> "John Fletcher" <J.P.Fletcher@aston.ac.uk> wrote in message news:3C62470A.97F9EBC2@aston.ac.uk...
>
> > Maybe related, the statement
> >
> > File something = new File;
> >
> > which ran before now makes a crash before output.
>
> On Win95? Or everywhere?

On Win95 OSR2 and Win 98 - separate machines.  The example ran under 0.16 and crashes under 0.18.  It just hangs and produces no output.

I haven't tried it elsewhere.

John


February 07, 2002
Yes, executable created with phobos.lib from dmd 0.18 (compiled with 0.18 compiler)  crashes on win98 and works on win2000 (maybe crashes silently :( )... But with phobos.lib from dmd 0.15 works fine (compiled with 0.18 compiler). :( There may be some bug in phobos.lib 0.18....

Walter wrote:
> Are you saying the same executable, text.exe, crashes on 98 but works on 2k?
> 
> "Ruslanas Abdrachimovas" <anubis@03bar.ktu.lt> wrote in message
> news:3C611704.8030302@03bar.ktu.lt...
> 
>>Hello,
>>
>>I just notice: if I compile test program:
>>...
>>// File test.d
>>void main()
>>{
>>}
>>...
>>
>>with dmd 0.18 then trying to run test.exe results in such WIN98 message
>>...
>>TEST caused an invalid page fault in
>>module TEST.EXE at 017f:00403811.
>>Registers:
>>EAX=00000000 CS=017f EIP=00403811 EFLGS=00010287
>>EBX=00000000 SS=0187 ESP=0063fcfc EBP=00651e7c
>>ECX=00651e7c DS=0187 ESI=00640000 FS=19cf
>>EDX=0063fdb8 ES=0187 EDI=00000000 GS=0000
>>Bytes at CS:EIP:
>>8b 3e 3b 7d 28 72 6e 57 8b cd e8 a8 fe ff ff 89
>>Stack dump:
>>00000010 00000008 0063fda4 00000000
>>00000000 00000000 0040b220 00403a03
>>0063fd98 00640010 00000010 006513d8
>>0063fda4 00000001 0040b220 00651e7c
>>...
>>but if I compile the same programm with 0.15 - it works fine...
>>Whatever, compiled with 0.18, works without errors on win2k.
>>
>>Ruslanas
>>
>>
> 
> 


February 07, 2002

Ruslanas Abdrachimovas wrote:

> Yes, executable created with phobos.lib from dmd 0.18 (compiled with
> 0.18 compiler)  crashes on win98 and works on win2000 (maybe crashes
> silently :( )... But with phobos.lib from dmd 0.15 works fine (compiled
> with 0.18 compiler). :( There may be some bug in phobos.lib 0.18....
>

The same applies with the phobos.lib from 0.16 linked with programs compiled with 0.18.  (Win 98) They run and it also fixes the File bug.

John


« First   ‹ Prev
1 2