Sanity check
Richard Kreiss
rkreiss at gccconsulting.net
Tue Nov 17 07:54:39 PST 2009
Having an odd problem at a client's site. Windows Server 2008, Windows XP Pro client running through Terminal Server, filepro 5.6.06
In this particular file, I am logging changes made to specific fields. A new record in log_file is created with the original value and the new value plus code number, who made the change, date and time.
They are getting a sanity check error when they try to change values for only one doctor code and not for all of the records associated with this doctor.
The program does a lookup free, posts the data, and then I have a write
◄ If: ◄
Then: lookup log = logfile r=free -n ◄
1567 ------- - - - - - - - - - - - - - - - -
◄ If: NOT log ◄
Then: RETURN ◄
1568 ------- - - - - - - - - - - - - - - - -
◄ If: ◄
Then: log(1)=@fi;log(2)=master_code;log(3)=@td;log(4)=@tm;log(5)>
1569 ------- - - - - - - - - - - - - - - - -
◄ If: ◄
Then: log(7)=whoareyou;log(8)=fd;log(9)=fieldname(-,fd);log(10)=>
1570 ------- - - - - - - - - - - - - - - - -
◄ If: ◄
Then: write log;fd="";ivalue="";nvalue="" ◄
The sanity check crash comes at line 1570 with the write.
I went in and changed this field on dummy records that are in this file and had no problem.
Sunday night I deleted all of the index for the log file and rebuilt them per fpsupport's suggestion. This has not solved the problem.
Any suggestions as to what I might need to be looking for.
───────────────────────────────────────────────────────────────────────────Bad──
┌──────────────────────────────────────────────────────────────────────────────┐
│ Sanity check failure! split() len < 0 │
│ tptr = tptr=(6,26932,12845,1,0) │
│ file='logfile@' index=?which=1, nodesize=1024, entries[which]=13365 │
│ which=1, nodesize=1024, entries[which]=13365 │
│ count=12845, bound=7195, entries[1]=13365 │
│ │
│ Write this information down, save a copy of the above │
│ index, and press Enter to generate a core dump to │
│ send to fpsupport, along with the index. │
└────────────────────────────────────────────────────────────── Press Enter ┘
┌──────────────────────────────────────────────────────────────────────────────┐
│ Sanity check failure! split() len < 0 │
│ tptr = tptr=(6,27063,12589,1,0) │
│ file='logfile@' index=?which=1, nodesize=1024, entries[which]=13364 │
│ which=1, nodesize=1024, entries[which]=13364 │
│ count=12589, bound=7194, entries[1]=13364 │
│ │
│ Write this information down, save a copy of the above │
│ index, and press Enter to generate a core dump to │
│ send to fpsupport, along with the index. │
└────────────────────────────────────────────────────────────── Sarah CastroPress Enter ┘
Richard Kreiss
GCC Consulting
rkreiss at gccconsulting.net
More information about the Filepro-list
mailing list