Descriptive Problem Summary:
Calling ImportText() twice causes a silent lock on the savefile it is called on. I've included a test case below.
Steps to Reproduce
1. Upload a picture in the test case.
2. Upload the same picture (or another) in the test case.
3. Dreamseeker will lock, and the files in /tmp will not be unlocked.
https://www.dropbox.com/s/wk70jgfocu71d4i/test_src.zip?dl=0
EDIT: It looks like this isn't related to files, it's just ImportText() crashing out. If you change the example test case to rely instead on temporary save files and pass the header straight into ImportText(), the issue still happens.
(Updated test case: https://www.dropbox.com/s/qffthbxh5agsplw/ test_2_src.zip?dl=0 )
ID:2600476
Aug 7 2020, 7:59 pm (Edited on Aug 7 2020, 8:22 pm)
|
|||||||||||||
Resolved
| |||||||||||||
It appears the heart of the issue is that there's no checksum here. I need to make some adjustments to the code so when there isn't a checksum, it'll calculate one.
Apparently the reason the checksum is used at all is to accelerate loading, since if the file is already in the cache it doesn't have to do the base64 decoding. |
I'm looking into the core problem now.