STATUS_ACCESS_VIOLATION, but not on build machine

Larry Hall (RFK Partners, Inc) lhall@rfk.com
Thu Mar 21 09:04:00 GMT 2002


At 11:48 AM 3/21/2002, Christopher Faylor wrote:
>On Thu, Mar 21, 2002 at 09:43:31AM +0100, Kandziora Jan wrote:
> >Mark wrote:
> >>mpeg2enc.exe works fine on the build machine (Win98SE with 64MB), but
> >>bombs out with a STATUS_ACCESS_VIOLATION error on another machine
> >>(Win2K with 256MB).  This machine does not have the Cygwin environment
> >>installed, but I did (of course) copy the DLL across.  I don't believe
> >>there is more than one copy of the DLL on the machine - I'll check
> >>later.
> >>
> >>I know mpeg2enc allocates a lot of memory, and also uses threads.  Any
> >>hints as to what I should check next?
> >>
> >I've got the same problem with a self-engineered program here.  For
> >what I know now, it only happens if no registry keys for Cygwin are
> >present or if I use the "Default Text file Type=DOS" in the setup.  For
> >some reason, I have a "printf"-wrapper in my program.  What do you
> >think the where the execption always occur?  Right: That function.  I
> >use Cygwin 1.3.9 now, but I had the problem with 1.3.2 and 1.3.4 also.
>
>Lets go back to first principals here.  When you see a bug you suspect
>that there is a bug in the program.  To debug a program you use gdb.
>
>It's really simple.  No email to a mailing list required.  No speculation
>that it could be a cygwin version.  You run the program under the debugger
>and find out where the problem is.



But where's the sport in that? ;-) 



Larry Hall                              lhall@rfk.com
RFK Partners, Inc.                      http://www.rfk.com
838 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list