Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
So assume a test sequence length of 3: 2,557,582,440,568,875 combinations.

And testing for 3 characters wouldn't have found that specific problem. The crashing character consists of 5 codepoints.

U+0C1C [Lo] TELUGU LETTER JA
U+0C4D [Mn] TELUGU SIGN VIRAMA
U+0C1E [Lo] TELUGU LETTER NYA
U+200C [Cf] ZERO WIDTH NON-JOINER
U+0C3E [Mn] TELUGU VOWEL SIGN AA

If you could test 1,000,000,000,000,000,000 combinations per second testing all possible characters that consist of 5 codepoints would still take 1.5 years.

And testing for characters consisting of 5 codepoint still won't be enough. The family emoji ‍‍‍ for example is actually a sequence of 7 codepoints. Woman + Zero Width Joiner (ZWJ) + Woman + ZWJ + Girl + ZWJ + Boy.

Unicode isn't like in the old times (like ASCII for example), where we had a direct 1:1 mapping between a codepoint and a character to render. Testing all Unicode combinations just won't work.
 
So this isn't the first time a unicode problem has caused crashes. What is going on at Apple? After the first time you write a test which walks through every single character and tries to display it. Test fails when it crashes. Run test. Fix all crashes, problems solved. Why haven't they done this? Creating the test is 5 minutes work (admittedly the fixes won't be)

https://www.apple.com/jobs/us/
 
And testing for 3 characters wouldn't have found that specific problem. The crashing character consists of 5 codepoints.

That's even more brutal.

I do think there's some automation to be added here, a process by which random sequences are contumely tested and known problematic sequences are tested with each build. Apple might already be doing that, though. It doesn't prevent issues like this, it just increases the coverage.
 
Will break something else, fixes in another release, cycle continues.

^ outs self as non-software-engineer complainer. Fixing ALL software bugs without ANYTHING EVER going awry is akin to expecting every SINGLE sentence uttered by every SINGLE person in the world, EVER, to never have contained one SINGLE spelling mistake or grammatical error, EVER.
 
  • Like
Reactions: sdf
This bug bit the live iOS game HQ Trivia tonight. They had to restart the game with chat disabled because people kept posting it in chat and crashing the app.
 
^ outs self as non-software-engineer complainer. Fixing ALL software bugs without ANYTHING EVER going awry is akin to expecting every SINGLE sentence uttered by every SINGLE person in the world, EVER, to never have contained one SINGLE spelling mistake or grammatical error, EVER.
Wonder if they’ll use automated testing to make sure this particular bug doesn’t happen? The fact that the glyph combinations could be tested, and Apple has computers to run stuff like this to catch things like this shows a lack of awareness on not just their part, but I can now know for a fact you assumed whom I am.
 
Remember when Apple made good phones?

Yes, but they also had far far less features than they do today and they didn't integrate with the apple ecosystem.

I'm sure that IOS has far fewer bugs than the competitors, its certainly more universally maintained with patches but as always we hold Apple to a much higher standard than the competitors.
 
Actually it was discovered by an Italian developer. There have to be at least a couple of million Indians using iOS by now. Why didn’t they scream bloody murder immediately?
[doublepost=1518728203][/doublepost]

Maybe time for you to switch platforms and be happy. But then there’s the serious Skype bug that Microsoft says is too much trouble to fix right now, and all the Android flaws that will never be patched because the carriers don’t care.

because
1) not all million indian users use that language.
2) and as much as it is a nice feature to support different languages, many stick to english as its easier to type compared to complex scripts of other languages (and also possibly coz thats how they have been doing all this while)
3) checked with my telugu speaking friend and the letters/words dont make any sense.
 
  • Like
Reactions: Gasu E.
Wonder if they’ll use automated testing to make sure this particular bug doesn’t happen? The fact that the glyph combinations could be tested, and Apple has computers to run stuff like this to catch things like this shows a lack of awareness on not just their part, but I can now know for a fact you assumed whom I am.

Sure, you can test this sequence so it never crashes again.

The number of sequences is without a bound, though.
 
  • Like
Reactions: Gasu E.
I might have found a solution. At least it worked for me. From preferences I turned off all notifications for whatsapp and also disallowed its access to everything on the phone (contacts, photos, mic). Then I opened the contacts app, choose a user (any) who has whatsapp and from the contact card I selected "whatsapp call". Whatsapp opened back and asked me to give it access to the mic. I did and I was back in. Hope this might be of any help. I was in a whatsapp crash loop for about five hours.
 
This obscure character that makes apple gadgets crash is apparently not a single character but a complex of four unicode code points of Telugu placed in a particular order to form a syllable by some rendering engine. Out of these four characters, one does not appear on the surface. This hidden character can cause the problem that's observed with apple.
 
Last edited:
What is happening to the quality of Apple's software development and in particular testing methodology? It seems like one flaw, issue or vulnerability after another. Under Tim Cook the quality of Apple's software has taken a significant nose dive. Software appears to be very much an afterthought. Apple are the new early two thousand's M$.
 
Actually it was discovered by an Italian developer. There have to be at least a couple of million Indians using iOS by now. Why didn’t they scream bloody murder immediately?
[doublepost=1518728203][/doublepost]

Mostly because we, even the ones with iPhones, have bigger problems than this bug. :)

Also, not all Indians speak Telugu. Going by wikipedia, about 6% of Indians speak Telugu.
 
Actually it was discovered by an Italian developer. There have to be at least a couple of million Indians using iOS by now. Why didn’t they scream bloody murder immediately?
[doublepost=1518728203][/doublepost]

Maybe time for you to switch platforms and be happy. But then there’s the serious Skype bug that Microsoft says is too much trouble to fix right now, and all the Android flaws that will never be patched because the carriers don’t care.


Most Telugu users( including me) use English. Except when talking to elders who don’t can’t speak / understand English.
Telugu letters, we need to type few keystrokes and change keep browsing through few layouts before we get the desired word. Since most know English they use just English when using phones.
And interesting thing is younger generation type Telugu in English, though not perfect it does the job and keeps theirs native language touch ( especially those in the USA and outside India).
[doublepost=1518863521][/doublepost]
It's in the article.
Yeah few tried. “Telugu in the News and it’s Apple related “ it’s big news.
[doublepost=1518864152][/doublepost]
because
1) not all million indian users use that language.
2) and as much as it is a nice feature to support different languages, many stick to english as its easier to type compared to complex scripts of other languages (and also possibly coz thats how they have been doing all this while)
3) checked with my telugu speaking friend and the letters/words dont make any sense.

It’s part of few words like “ gnanam” ( knowledge in Sanskrit ).
Yeah less used.
We use English when using phones instead of Telugu because it’s much easier and faster.
But the support for the characters has improved and iOS support is better.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.