ActiveSync file transfer failing
From: Cliff Brake (cbrakenospam_at_nospam.com)
Date: 08/25/04
- Next message: Steve Maillet \(eMVP\): "Re: enable Full Kernel Mode"
- Previous message: Ten: "Re: File remove problem"
- Next in thread: SPINELLI Olivier: "Re: ActiveSync file transfer failing"
- Reply: SPINELLI Olivier: "Re: ActiveSync file transfer failing"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 25 Aug 2004 16:16:37 -0400
I have a system where active sync file transfers from the host to the target
are failing. The details of the failure are described below. Someone else
posted a similar problem under the title "COREDLL.DLL ERROR" on July 7.
Target System:
- CE 4.2
- PXA255 CPU
- 128MB RAM
- 64MB sync strata flash
I never see the failure if I:
- run the NK.bin from RAM
- put nk.bin in flash, but do not use the second 64MB of RAM.
Not sure if the above is significant or if I am just re-arranging things and
masking the problem.
Ideas welcome.
Thanks,
Cliff
Crash details from debugger:
Failure observations:
ActiveSync fails when copying some files from a Host system to a WinCE
target -- typically >~ 300K.
- NK.bin (debug or retail) in RAM works fine.
- NK.bin in flash fails.
- tried compressing rapisrv.exe -- no change
Sometimes the target just dies with no indication in the debugger.
At other times, I get something like the following. The stack trace
always includes rapisrv, but is not the same every time. Sometimes,
assembler windows acts strange and cannot decode the instruction at the
crash address, but with this failure, it does not seem to be having any
problem.
Loaded symbols for 'C
\WINCE420\PLATFORM\QUALCOMM_O2_FFTIU_T1.27.01\RELEASE\RETAIL\UDP2TCP.EXE'
44648 PID:77ba1fde TID:d7b1363e Undefined Instruction: Thread=97afa550
Proc=900ea1a0 'rapisrv.exe'
44660 PID:77ba1fde TID:d7b1363e AKY=00000101 PC=03fb1d60 RA=00019cc4
BVA=13fad04c FSR=000000f5
Stack Trace:
COREDLL!memcpybigblk + 316 bytes
RAPISRV!CMemStream::ReadRaw(CMemStream * const 0x00000000, char *
0x00047060, unsigned int 0x0005708c, int 0x00000000) line 251
RAPISRV!STUB_PegWriteFile(CMemStream * 0x00000000, CResList * 0x00047060)
line 460 + 20 bytes
RAPISRV!CRPCWorker::ExecuteRPC(CRPCWorker * const 0x00000000, unsigned int
0x00047060, unsigned long 0x0005708c) line 283 + 28 bytes
RAPISRV!CRPCWorker::ServiceRequests(CRPCWorker * const 0x00000000) line 192
+ 16 bytes
RAPISRV!RpcWorkerThread(void * 0x00000000) line 326
COREDLL!ThreadBaseFunc(void * 0x00000000, unsigned long 0x00047060) line
419
Assembler around above PC:
03FB1D30 bls |memcpybigblk+114h (03fb1d38)|
03FB1D34 pld [r1, #0x80]
03FB1D38 cmp r2, #0x20
03FB1D3C bmi |memcpybigblk+12Ch (03fb1d50)|
03FB1D40 ldmia r1!, {r4 - r11}
03FB1D44 stmia r0!, {r4 - r11}
03FB1D48 sub r2, r2, #0x20
03FB1D4C b |memcpybigblk+114h (03fb1d38)|
03FB1D50 ands r3, r2, #0x1C
03FB1D54 beq |memcpybigblk+978h (03fb259c)|
03FB1D58 sub r2, r2, r3
03FB1D5C rsb r3, r3, #0x20
03FB1D60 add r12, pc, #0 <--- crash here
03FB1D64 add pc, r12, r3
03FB1D68 ldr r4, [r1], #4
03FB1D6C ldr r5, [r1], #4
03FB1D70 ldr r6, [r1], #4
03FB1D74 ldr r7, [r1], #4
03FB1D78 ldr r8, [r1], #4
03FB1D7C ldr r9, [r1], #4
03FB1D80 ldr r10, [r1], #4
03FB1D84 ldr r11, [r1], #4
03FB1D88 add r12, pc, #0
03FB1D8C add pc, r12, r3
03FB1D90 str r4, [r0], #4
03FB1D94 str r5, [r0], #4
03FB1D98 str r6, [r0], #4
03FB1D9C str r7, [r0], #4
03FB1DA0 str r8, [r0], #4
03FB1DA4 str r9, [r0], #4
03FB1DA8 str r10, [r0], #4
03FB1DAC str r11, [r0], #4
03FB1DB0 rsb r2, r2, #4
03FB1DB4 add r12, pc, #0
03FB1DB8 add pc, r12, r2, lsl #2
03FB1DBC ldrb r3, [r1], #1
03FB1DC0 ldrb r4, [r1], #1
03FB1DC4 ldrb r5, [r1], #1
03FB1DC8 ldrb r6, [r1], #1
03FB1DCC add r12, pc, #0
- Next message: Steve Maillet \(eMVP\): "Re: enable Full Kernel Mode"
- Previous message: Ten: "Re: File remove problem"
- Next in thread: SPINELLI Olivier: "Re: ActiveSync file transfer failing"
- Reply: SPINELLI Olivier: "Re: ActiveSync file transfer failing"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|