www.digitalmars.com         C & C++   DMDScript  

c++ - System Error (Access Violation at 001B:01D95977)

reply "Matthew Wilson" <dmd synesis.com.au> writes:
Walter

I got the following when compiling my version of the whereis program for
DMC++. Is this something immediately obvious, or would you now like me to
try and distill it down?


sc
..\whereis.cpp -mn -WA -3 -a8 -c -D_CONSOLE=1 -I..\..\..\..\include\stlsoft 
-o..\whereis.obj
Error: System Error (Access Violation at 001B:01D95977)
Lines Processed: 147875  Errors: 0  Warnings: 0
Build failed


Matthew
Nov 25 2002
parent reply "Walter" <walter digitalmars.com> writes:
I need a small reproducible sample.

"Matthew Wilson" <dmd synesis.com.au> wrote in message
news:arunpb$1jn8$1 digitaldaemon.com...
 Walter

 I got the following when compiling my version of the whereis program for
 DMC++. Is this something immediately obvious, or would you now like me to
 try and distill it down?


 sc
..\whereis.cpp -mn -WA -3 -a8 -c -D_CONSOLE=1 -I..\..\..\..\include\stlsoft
 -o..\whereis.obj
 Error: System Error (Access Violation at 001B:01D95977)
 Lines Processed: 147875  Errors: 0  Warnings: 0
 Build failed


 Matthew
Nov 26 2002
parent reply "Matthew Wilson" <dmd synesis.com.au> writes:
I'll do my best. The code is a little involved ...

:)

"Walter" <walter digitalmars.com> wrote in message
news:as06f5$8ok$1 digitaldaemon.com...
 I need a small reproducible sample.

 "Matthew Wilson" <dmd synesis.com.au> wrote in message
 news:arunpb$1jn8$1 digitaldaemon.com...
 Walter

 I got the following when compiling my version of the whereis program for
 DMC++. Is this something immediately obvious, or would you now like me
to
 try and distill it down?


 sc
..\whereis.cpp -mn -WA -3 -a8 -c -D_CONSOLE=1 -I..\..\..\..\include\stlsoft
 -o..\whereis.obj
 Error: System Error (Access Violation at 001B:01D95977)
 Lines Processed: 147875  Errors: 0  Warnings: 0
 Build failed


 Matthew
Nov 26 2002
parent reply "Walter" <walter digitalmars.com> writes:
I suspect so :-(
My experience with that is that nearly always it can be reduced to 20 lines
or less.

"Matthew Wilson" <dmd synesis.com.au> wrote in message
news:as0k13$nh8$1 digitaldaemon.com...
 I'll do my best. The code is a little involved ...

 :)

 "Walter" <walter digitalmars.com> wrote in message
 news:as06f5$8ok$1 digitaldaemon.com...
 I need a small reproducible sample.

 "Matthew Wilson" <dmd synesis.com.au> wrote in message
 news:arunpb$1jn8$1 digitaldaemon.com...
 Walter

 I got the following when compiling my version of the whereis program
for
 DMC++. Is this something immediately obvious, or would you now like me
to
 try and distill it down?


 sc
..\whereis.cpp -mn -WA -3 -a8 -c -D_CONSOLE=1 -I..\..\..\..\include\stlsoft
 -o..\whereis.obj
 Error: System Error (Access Violation at 001B:01D95977)
 Lines Processed: 147875  Errors: 0  Warnings: 0
 Build failed


 Matthew
Nov 26 2002
next sibling parent "Matthew Wilson" <dmd synesis.com.au> writes:
It's a NULL access, at 0x00429E03 (scppn.exe, version 8.30).

Am working on a minimal precipitating code set now


"Walter" <walter digitalmars.com> wrote in message
news:as0qgo$ud7$2 digitaldaemon.com...
 I suspect so :-(
 My experience with that is that nearly always it can be reduced to 20
lines
 or less.

 "Matthew Wilson" <dmd synesis.com.au> wrote in message
 news:as0k13$nh8$1 digitaldaemon.com...
 I'll do my best. The code is a little involved ...

 :)

 "Walter" <walter digitalmars.com> wrote in message
 news:as06f5$8ok$1 digitaldaemon.com...
 I need a small reproducible sample.

 "Matthew Wilson" <dmd synesis.com.au> wrote in message
 news:arunpb$1jn8$1 digitaldaemon.com...
 Walter

 I got the following when compiling my version of the whereis program
for
 DMC++. Is this something immediately obvious, or would you now like
me
 to
 try and distill it down?


 sc
..\whereis.cpp -mn -WA -3 -a8 -c -D_CONSOLE=1 -I..\..\..\..\include\stlsoft
 -o..\whereis.obj
 Error: System Error (Access Violation at 001B:01D95977)
 Lines Processed: 147875  Errors: 0  Warnings: 0
 Build failed


 Matthew
Nov 26 2002
prev sibling parent reply "Matthew Wilson" <dmd synesis.com.au> writes:
Esteemed compiler Walter, you are indeed correct.

I have managed to distill it down enormously. The attached code causes a
crash in scppn.exe : access violation reading from 0x0000000. Instruction is
at 0x00429E03 in 8.30, and at 0x00429F7B in 8.31.

Hope this can be fixed easily and speedily, as I reckon I'll get all that
code we talked about to you toute suite if so.

Thanks

Matthew

"Walter" <walter digitalmars.com> wrote in message
news:as0qgo$ud7$2 digitaldaemon.com...
 I suspect so :-(
 My experience with that is that nearly always it can be reduced to 20
lines
 or less.

 "Matthew Wilson" <dmd synesis.com.au> wrote in message
 news:as0k13$nh8$1 digitaldaemon.com...
 I'll do my best. The code is a little involved ...

 :)

 "Walter" <walter digitalmars.com> wrote in message
 news:as06f5$8ok$1 digitaldaemon.com...
 I need a small reproducible sample.

 "Matthew Wilson" <dmd synesis.com.au> wrote in message
 news:arunpb$1jn8$1 digitaldaemon.com...
 Walter

 I got the following when compiling my version of the whereis program
for
 DMC++. Is this something immediately obvious, or would you now like
me
 to
 try and distill it down?


 sc
..\whereis.cpp -mn -WA -3 -a8 -c -D_CONSOLE=1 -I..\..\..\..\include\stlsoft
 -o..\whereis.obj
 Error: System Error (Access Violation at 001B:01D95977)
 Lines Processed: 147875  Errors: 0  Warnings: 0
 Build failed


 Matthew
begin 666 whereis-dm.cpp M+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O M+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\-"B\O( T*+R\ M17AT<F%C=', 9G)O;2!35$Q3;V9T(&QI8G)A<FEE<SH-"B\O#0HO+R <W1L M<V]F=%]C:&%R7W1R86ET<RYH#0HO+R <W1L<V]F=%]F<F%M95]S=')I;F<N M: T*+R\ ('-T;'-O9G1?<W1R:6YG7W1O:V5N:7-E<BYH#0HO+PT*+R\ :'1T M<#HO+W-T;'-O9G0N;W)G+PT*+R\-"B\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O M+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O M+R\O+R\O+R\O+R\O#0H-"B\O(%-Y;G1H97-I<V4 4U1,4V]F="!T>7!E<RX- M" T*(V1E9FEN90ES<U]T>7!E;F%M95]P87)A;5]K"71Y<&5N86UE#0HC9&5F M:6YE"7-S7W-I>F5?= D)"75N<VEG;F5D(&EN= T*(V1E9FEN90ES<U]B;V]L M7W0)"0EB;V]L#0H-"B\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O M+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O M+R\O#0H-"G1E;7!L871E/ ES<U]T>7!E;F%M95]P87)A;5]K($,-" D)+ ES M<U]T>7!E;F%M95]P87)A;5]K"4X-" D)+ ES<U]T>7!E;F%M95]P87)A;5]K M(%H-" D)/ T*<W1R=6-T(&-H87)?=')A:71S.PT*#0IT96UP;&%T93P ("!S M<U]T>7!E;F%M95]P87)A;5]K($,-"B (" (" +" ('-S7W-I>F5?="!# M0T -"B (" (" +" ('-S7W1Y<&5N86UE7W!A<F%M7VL 5" ](&-H87)? M=')A:71S/$,L('-S7W-I>F5?="P <W-?<VEZ95]T/ T*(" (" (" ^#0IC M;&%S<R!B87-I8U]F<F%M95]S=')I;F<[#0H-"G1E;7!L871E(#QS<U]B;V]L M7W0 0CX-"G-T<G5C="!S=')I;F=?=&]K96YI<V5R7VEG;F]R95]B;&%N:W,- M"GL-"B ("!E;G5M('L =F%L=64 /2!"('T[#0I].PT*#0IT96UP;&%T92 \ M<W-?='EP96YA;65?<&%R86U?:R!4/ T*<W1R=6-T('-T<FEN9U]T;VME;FES M97)?='EP95]T<F%I=',[#0H-"G1E;7!L871E/" ('-S7W1Y<&5N86UE7W!A M<F%M7VL 1 T*(" (" (" L(" <W-?='EP96YA;65?<&%R86U?:R!3#0H M(" (" ("P ("!S<U]T>7!E;F%M95]P87)A;5]K(%0-"B (" (" / T* M<W1R=6-T('-T<FEN9U]T;VME;FES97)?8V]M<&%R871O<CL-" T*=&5M<&QA M=&4\(" <W-?='EP96YA;65?<&%R86U?:R!3#0H (" (" ("P ("!S<U]T M>7!E;F%M95]P87)A;5]K($0-"B (" (" +" ('-S7W1Y<&5N86UE7W!A M<F%M7VL 0B ]('-T<FEN9U]T;VME;FES97)?:6=N;W)E7V)L86YK<SQT<G5E M/ T*(" (" (" L(" <W-?='EP96YA;65?<&%R86U?:R!4(#T <W1R:6YG M7W1O:V5N:7-E<E]T>7!E7W1R86ET<SQ3/ T*(" (" (" L(" <W-?='EP M96YA;65?<&%R86U?:R!0(#T <W1R:6YG7W1O:V5N:7-E<E]C;VUP87)A=&]R M/$0L(%,L(%0^#0H (" (" (#X-"F-L87-S('-T<FEN9U]T;VME;FES97([ M#0H-"B\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O M+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O#0H-"G1Y M<&5D968 8F%S:6-?9G)A;65?<W1R:6YG/&-H87(L(#(U-CX)"0ES=')I;F=? M=#L-" T*='EP961E9 ES=')I;F=?=&]K96YI<V5R/'-T<FEN9U]T+"!C:&%R M/ D)=&]K96YI<V5R7W0[#0H-"B\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O M+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O ++R\O+R\O+R\O#0H` ` end
Nov 27 2002
parent "Walter" <walter digitalmars.com> writes:
Ok, I'll have a look now <g>. -Walter

"Matthew Wilson" <dmd synesis.com.au> wrote in message
news:as20t1$27bp$1 digitaldaemon.com...
 Esteemed compiler Walter, you are indeed correct.

 I have managed to distill it down enormously. The attached code causes a
 crash in scppn.exe : access violation reading from 0x0000000. Instruction
is
 at 0x00429E03 in 8.30, and at 0x00429F7B in 8.31.

 Hope this can be fixed easily and speedily, as I reckon I'll get all that
 code we talked about to you toute suite if so.

 Thanks

 Matthew
Nov 27 2002