I've been using CHDK and CHDK-PTP for a while now and it has been working reliably, with the exception of one recent camera crash.
I use CHDK-PTP to issue shoot commands. Yesterday after about 10 successful shoot commands, the camera crashed or otherwise powered down. I have not been able to reproduce this issue.
The ROMLOG.LOG file started with the following:
ASSERT!! dwWrtBuf.c Line 621
Occured Time 2017:02:10 14:18:46
Task ID: 47186014
Task name: DvlpSeqTask
...
See attachment for full log.
While CHDK reported (the same error is shown when you cut power to the camera):
...
[2017-02-10 11:35:29] shoot -tv=1/200 -isomode=800
[2017-02-10 11:35:34] ERROR: I/O error
attempted to close non-present device 001:010
connected: Canon PowerShot SX130 IS, max packet size 512
[2017-02-10 11:35:35] ERROR: no matching devices found
ERROR: not connected
...
The problem is that I can't find the file dwWrtBuf.c. It seems like it doesn't exist anywhere. I tried searching the source code (both contents and filenames).
Also using google and bing I was unable to find anything. The only matches were from people using wrtBuf as a variable name. But as a filename, both the searches WrtBuf and dxWrtBuf give basically zero search results.
Does anyone know where to find dwWrtBuf.c or what the attached ROMLOG indicates?