access overrun - codeguard error
access overrun - codeguard error
running an exservices like app in borland builder with code guard on, and a debug build. i am getting the following error:
access overrun
attempt to access 154 bytes at 0x04ad76f0, that is offset 12 in heap block 0x0fad76e4 which is only 90 bytes long.
call stack:
odstring:

dstring
odrxsystemservices::createguid
oddbdatabaseimpl:

ddbdatabaseimpl
oddbdatabase:

ddbdatabase
oddbdatabase:seudoconstructor
odrxclassconsimpl::create
oddbhostappservices::createdatabase
i was running in code guard because i am getting external exception eefface after writing the dwg file successfully. i don't know if the two are related. has anyone run open design code under code guard? do you get those two errors?
does the eefface exception ring any bells?
which dd version do you use?
sergey slezkin
what is dd?
what is dd?
quote:
originally posted by dan quinn
running an exservices like app in borland builder with code guard on, and a debug build. i am getting the following error:
access overrun
attempt to access 154 bytes at 0x04ad76f0, that is offset 12 in heap block 0x0fad76e4 which is only 90 bytes long.
call stack:
odstring:

dstring
odrxsystemservices::createguid
oddbdatabaseimpl:

ddbdatabaseimpl
oddbdatabase:

ddbdatabase
oddbdatabase:seudoconstructor
odrxclassconsimpl::create
oddbhostappservices::createdatabase
i was running in code guard because i am getting external exception eefface after writing the dwg file successfully. i don't know if the two are related. has anyone run open design code under code guard? do you get those two errors?
does the eefface exception ring any bells?
i have attempted to use opendwg under bounds checker, and it reports a lot of under runs and over runs in opendwg. however i am unsure if these a false negatives, and still to investigate this a little more. but i was interested in some one using another product and got some reports as well? (funny thing is i think they were also in odstring, i will verify this tomorrow when i get to my other computer to verify this.)
quote:
originally posted by dan quinn
what is dd?
dd is dwgdirect. the latest version is 1.13.04.
sergey slezkin
sure we used boundschecker, it is a useful tool, but it produces a lot of false alarms. most of the warnings we were getting from vc6 stl (uninitilaized memory read, read beyond the bounds, etc). some of the errors were caused by misinterpreteng raw dwg data as bound markers. bc fires a warning for allocating memory in one module and freeing in another, which is quite legal in dd, because of centralized memory management.
all the sensible warnings were fixed.
vladimir
version 1.13.03
i am using version 1.13.03