|
Re: Cannot deploy code
After working successfully for a few weeks, I could not deploy code.
I re-imaged the CRIO and it would deploy once and then the robot code would never load in the dashboard.
Using wireshark to capture packets I could see that all the CRIO would do was to send an RST (reset) packet back to the driver station.
Looking at the netconsole CRIO app (Must be selected when re-imaging CRIO)
I saw a whole bunch of memory allocation errors about 10 seconds after CRIO reboot.
Startup Application: /c/ni-rt/startup/startup.rtexe
0xb75698 (Main Application Thread): memPartAlloc: block too big 108 bytes (0x8 aligned) in partition 0x32ddf8
0xb75698 (Main Application Thread): memPartAlloc: block too big 580 bytes (0x8 aligned) in partition 0x32ddf8
0xb75698 (Main Application Thread): memPartAlloc: block too big 108 bytes (0x8 aligned) in partition 0x32ddf8
0x80a7d8 (Exception Handler Thread): memPartAlloc: block too big 80 bytes (0x8 aligned) in partition 0x32ddf8
0x80a7d8 (Exception Handler Thread): memPartAlloc: block too big 80 bytes (0x8 aligned) in partition 0x32ddf8
0x80a7d8 (Exception Handler Thread): memPartAlloc: block too big 1024 bytes (0x8 aligned) in partition 0x32ddf8
0x80a7d8 (Exception Handler Thread): memPartAlloc: block too big 84 bytes (0x8 aligned) in partition 0x32ddf8
Turned out to be an FTP session that I started in the begin.vi was the issue.
It somehow used up the heap, still looking into it.
|