Home |
Search |
Today's Posts |
![]() |
|
London Transport (uk.transport.london) Discussion of all forms of transport in London. |
Reply |
|
LinkBack | Thread Tools | Display Modes |
#51
![]() |
|||
|
|||
![]()
wrote:
On Wed, 10 Mar 2021 15:12:39 -0000 (UTC) Recliner wrote: wrote: I'm struggling to imagine how something as fundamental as writing files could have a bug in it which hasn't been noticed before. This is how he described the problem: The problem seems to be that the system call that is used to load the thread structure of a group from the file system is unable to do this, even though the iOS system call to save this structure to the file system has done so without any issue. The problem seems to happen only for extremely deep nested threads. When saving these deeply nested structures iOS reports no error, but when reading them, iOS reports an error. Oh well. Must be using some built in iOS data serialisation API. Should have just written a normal file using json or some similar standard format but 20/20 hindsight etc. Apparently he's creating his own alternative to the iOS system call he was using, on the assumption that Apple will be slow to fix it. |
#52
![]() |
|||
|
|||
![]()
Roland Perry wrote:
In message , at 15:12:39 on Wed, 10 Mar 2021, Recliner remarked: wrote: On Wed, 10 Mar 2021 13:08:02 +0000 Recliner wrote: On Wed, 10 Mar 2021 11:53:02 +0000, Roland Perry wrote: Anyway, he's on the case, and has submitted a bug report to Apple, and is also trying to creating a workaround to the iOS bug, on the assumption that a fix won't come quickly: "Therefore I guess this issue must be relatively new, but you might be right and this was already a bug in iOS 13 (which was very buggy in the first place) and is not yet fixed. Nevertheless, I’ve sent a bug report to Apple, so hopefully Apple will fix this some day. And because Apple is lazy in fixing bugs which are not getting public interest (list security bugs), I’m also writing a replacement for the buggy iOS call, so I can work around this iOS bug. Unfortunately Apple has not documented the file format (IMHO), so this might need a short while to test everything..." I wonder if (a bit like the infamous Covid test results being stored in an Excel spreadsheet) a quick fix would be to write that data in two files, and glue it back together after they've been read back in. Yes, that's one possible workaround, but if going down that route, you would write n small linked files, not two medium-sized files. It's how large binary attachments are handled in newsgroups. Anyway, he seems to have a tidier work-around proposal — let's see if it works. I'm struggling to imagine how something as fundamental as writing files could have a bug in it which hasn't been noticed before. This is how he described the problem: The problem seems to be that the system call that is used to load the thread structure of a group from the file system is unable to do this, even though the iOS system call to save this structure to the file system has done so without any issue. The problem seems to happen only for extremely deep nested threads. When saving these deeply nested structures iOS reports no error, but when reading them, iOS reports an error. Is it a generic file read/write system call, or a very specialised one that's been provided for the purpose of managing threaded data? Pass — I'm way out of my technical depth on this. But it sounds more like the latter. I get the impression that it's one of those high level Apple things that's really handy and easy to use when it works, and a complete pain to get round when it doesn't. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
New Piccadilly fleet | London Transport | |||
HEx standing in for new Piccadilly trains | London Transport | |||
Whither the new Piccadilly Line trains? | London Transport | |||
'Near miss' between District and Piccadilly line trains near EalingBdwy | London Transport | |||
Any updates on Piccadilly Line services to Heathrow? | London Transport |