Debug Assertion Failed!
Ian Wood
iwood51 at gmail.com
Sun Mar 17 05:41:42 PDT 2013
On Fri, Mar 15, 2013 at 4:52 PM, GCC Consulting
<rkreiss at gccconsulting.net>wrote:
>
>
> > -----Original Message-----
> > From: filepro-list-bounces+rkreiss=verizon.net at lists.celestial.com
> > [mailto:filepro-list-bounces+rkreiss=verizon.net at lists.celestial.com] On
> > Behalf Of Chris Sellitto
> > Sent: Friday, March 15, 2013 2:01 PM
> > To: Kenneth Brody
> > Cc: filepro-list at lists.celestial.com
> > Subject: RE: Debug Assertion Failed!
> >
> > > -----Original Message-----
> > > From: Kenneth Brody [mailto:kenbrody at spamcop.net]
> > > Sent: Friday, March 15, 2013 11:18 AM
> > > To: Chris Sellitto
> > > Cc: filepro-list at lists.celestial.com
> > > Subject: Re: Debug Assertion Failed!
> > >
> > > On 3/15/2013 10:21 AM, Chris Sellitto wrote:
> > > > filePro(r) 5.7.03
> > > > Windows Server 2008, Windows 7/XP workstations
> > > >
> > > > All,
> > > >
> > > > We recently upgraded to 5.7.03 from 5.0.14. Everything has been
> > > > going well so far. Yesterday several of our users reported an error
> > > > that I have not seen before. It reads exactly as follows...
> > > >
> > > >
> > __________________________________________________________
> > > > |Microsoft Visual C++ Debug Library
> > > >
> > |_________________________________________________________
> > > > |Debug Assertion Failed!
> > > > |
> > > > |Program: g:\fp\dclerk.exe
> > > > |File: f:\dd\vctools\crt_bld\self_x86\crt\src\isctype.c
> > > > |Line: 56
> > > > |
> > > > |Expression: (unsigned)(c + 1) <= 256
> > > > |
> > > > |For information on how your program can cause an assertion Failure,
> > > > |see the Visual C++ documentation on asserts.
> > > > |
> > > > |(Press Retry to debug the application)
> > > > |
> > > >
> > |___________________________________________________________
> > _
> > > > | Abort Retry Ignore
> > > > -------------------------------------------------------------
> > > >
> > > > I can consistently recreate this error. It is happening to a
> > > > particular
> > > [...]
> > >
> > >
> > > Since you can recreate it on demand, contact fpsupport and arrange to
> > > send them files.
> > >
> > > --
> > > Kenneth Brody
> >
> > Ok Ken, I will do that. However, we did narrow it down to a line of
> code.
> >
> > It is as follows
> >
> > declare local lu_key(10,*)
> > - - - - - - - - - - - - - - - -
> > 'get Batch shipped date
> lu_key=CustNo&BatchNo
> > - - - - - - - - - - - - - - - -
> >
> > lookup bats = batsetup@ k=(lu_key) i=A -nx <---------- THIS
> IS
> THE
> > OFFENDING LINE
> >
> > Also when we navigate to the next record that does the same lookup using
> > the same data in LU_KEY, it works just fine (meaning we do not get the
> error
> > described above). This line is in a called processing table that is
> called from
> > auto processing.
> >
> > When we try the same program, using the old (5.0.14) version there is no
> > problem.
> >
> > Thank you
> > Chris
> Have you tried replacing (lu_key) with (CustNo&BatchNo) to see if you get
> the same error.
>
> Also, have you checked the value of CustNo and BatchNo the is being
> accessed?
>
> Richard Kreiss
>
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> Subscribe/Unsubscribe/Subscription Changes
> http://mailman.celestial.com/mailman/listinfo/filepro-list
>
I'll answer that one for Chris. Yes we have tried that. Originally this
was a two character variable, "kc", and this was in a called process. I
changed that to a long variable, and also pulled all the code into the
current auto processing to eliminate the call. I also stripped out all
other lookups and have just the necessary code.
The values of CustNo & BatchNo are filled and if I go one record higher or
lower, I don't get the error. The values of CustNo & BatchNo are the same
for all three records.
This worked, and still works in 5.0.14, It does not work in 5.07.03. The
code didn't change, only the filePro version.
Same thing with our other issue with @SF, however, I'm able to program
around those, this I can't.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20130317/20c4b088/attachment.html
More information about the Filepro-list
mailing list