Hi everyone,
I've moved a database from Windows 2003 32bits to anothed serveur running Windows 2003 64 bits, using dump/restore.
Everything worked fines for 5 days, and the database crashed:
2013-03-19 03:03:08 0xDC4 ERR 20013 MOVECODE Module Data_PrimTreeStatistic.cpp call index 4
2013-03-19 03:03:08 0xDC4 ERR 20011 MOVECODE + Bad parameter: source size [-2] dest size [8096], source addr [0X7FCB9588F74]+1, dest addr [0X7FFCD5F0DF2]+1,
2013-03-19 03:03:08 0xDC4 ERR 20011 MOVECODE + -2 bytes to copy
2013-03-19 03:03:08 0xDC4 ERR 20015 Data Base error 'System error: BD Data page corrupted' during update statistic on record index 0 on page 2909347 of root
2013-03-19 03:03:08 0xDC4 ERR 20015 Data 2880955
2013-03-19 03:03:11 0xF08 ERR 51080 SYSERROR -9407 unexpected error
2013-03-19 03:03:12 0xF08 ERR 9 Data Aborting statistics computation due to system error
2013-03-19 03:03:12 0xF08 ERR 42 SrvTasks + Error while collecting statistics for table 0000000000271703; error data_page_corrupted
2013-03-19 03:03:12 0xF08 ERR 20013 MOVECODE + Module Data_PrimTreeStatistic.cpp call index 4
2013-03-19 03:03:12 0xF08 ERR 20011 MOVECODE + Bad parameter: source size [-2] dest size [8096], source addr [0X7FCB9588F74]+1, dest addr [0X7FFCD5F0DF2]+1,
2013-03-19 03:03:12 0xF08 ERR 20011 MOVECODE + -2 bytes to copy
... several times, and then
2013-03-22 11:04:02 0xD00 ERR 18793 EXCEPT EXCEPTION:'Access violation' (0xc0000005), The program code at IP:0x97c814 attempted to read to/from address:0x1fadef28
2013-03-22 11:04:03 0x138C ERR 19999 BTRACE Using 'imagehlp.dll' version: 4.0.5
2013-03-22 11:04:03 0x138C ERR 19999 BTRACE SymbolSearchPath: d:\sdb\data\wrk\TORPEDO;D:\Program Files\sdb\TORPEDO\pgm;D:\Program Files\sdb\TORPEDO\symbols;D:
2013-03-22 11:04:03 0x138C ERR 19999 BTRACE \Program Files\sdb\TORPEDO\symbols;D:\Program Files\sdb\TORPEDO\sap;C:\WINDOWS;D:\Program Files\
2013-03-22 11:04:03 0x138C ERR 19999 BTRACE sdb\TORPEDO\sap\
2013-03-22 11:04:03 0x138C ERR 19999 BTRACE ----> Register Dump <----
2013-03-22 11:04:03 0x138C ERR 19999 BTRACE rax=0x00000000ffffffff rbx=0x00000000caee5490 rcx=0x000000001fade030 rdx=0x00000000caee54d8
2013-03-22 11:04:03 0x138C ERR 19999 BTRACE r8 =0x000000001fadef28 r9 =0x000000001fadcdd0 r10=0x0000000000000000 r11=0x000000001fadcea8
2013-03-22 11:04:03 0x138C ERR 19999 BTRACE r12=0x00000000caee54d8 r13=0x000000001fade030 r14=0x00000000caee19c4 r15=0x0000000000005339
2013-03-22 11:04:03 0x138C ERR 19999 BTRACE rip=0x000000000097c814 rsp=0x000000001fadcd20 rbp=0x000000001fadcf90
2013-03-22 11:04:03 0x138C ERR 19999 BTRACE rsi=0x0000000000000000 rdi=0x000000001fade030
2013-03-22 11:04:03 0x138C ERR 19999 BTRACE ----> Module List <----
2013-03-22 11:04:03 0x138C ERR 19999 BTRACE |.text Start |.text End | Module File Name
2013-03-22 11:04:03 0x138C ERR 19999 BTRACE |0x0000000000400000|0x0000000001070000| D:\Program Files\sdb\TORPEDO\pgm\kernel.exe
2013-03-22 11:04:03 0x138C ERR 19999 BTRACE |0x0000000076050000|0x0000000076287000| D:\Program Files\sdb\TORPEDO\pgm\liboms.dll
2013-03-22 11:04:03 0x138C ERR 19999 BTRACE |0x0000000078880000|0x00000000789c2000| C:\WINDOWS\system32\ntdll.dll
2013-03-22 11:04:03 0x138C ERR 19999 BTRACE |0x0000000078c10000|0x0000000078d1c000| C:\WINDOWS\system32\USER32.dll
2013-03-22 11:04:03 0x138C ERR 19999 BTRACE |0x0000000078d20000|0x0000000078ea3000| C:\WINDOWS\system32\kernel32.dll
So i've stopped the database, run a "check database structure and clear converter in operational state ADMIN".
The test ran for 3 hours, without any error. After that i've restared the database, and run a update sttistics on the involved table. No error.
For me the problem was solved, but today i've found this on the database errors file:
2013-03-26 07:50:03 0xCBC ERR 20013 MOVECODE Module Data_PrimTreeStatistic.cpp call index 4
2013-03-26 07:50:04 0xCBC ERR 20011 MOVECODE + Bad parameter: source size [-2] dest size [8096], source addr [0X7FC135B3096]+1, dest addr [0X7FFB64A0DF2]+1,
2013-03-26 07:50:04 0xCBC ERR 20011 MOVECODE + -2 bytes to copy
2013-03-26 07:50:04 0xCBC ERR 20015 Data Base error 'System error: BD Data page corrupted' during update statistic on record index 0 on page 2909347 of root
2013-03-26 07:50:04 0xCBC ERR 20015 Data 2880955
2013-03-26 07:50:04 0x12D4 ERR 51080 SYSERROR -9407 unexpected error
2013-03-26 07:50:04 0x12D4 ERR 9 Data Aborting statistics computation due to system error
2013-03-26 07:50:04 0x12D4 ERR 42 SrvTasks + Error while collecting statistics for table 0000000000271703; error data_page_corrupted
2013-03-26 07:50:04 0x12D4 ERR 20013 MOVECODE + Module Data_PrimTreeStatistic.cpp call index 4
2013-03-26 07:50:04 0x12D4 ERR 20011 MOVECODE + Bad parameter: source size [-2] dest size [8096], source addr [0X7FC135B3096]+1, dest addr [0X7FFB64A0DF2]+1,
2013-03-26 07:50:04 0x12D4 ERR 20011 MOVECODE + -2 bytes to copy
What can i do to correct this and how can i avoid it ?
TIA
Frédéric.