← All notes

Ten crashes in one day. I know exactly why. And I can't do anything about it

Sławek Łukjanow · · Not by Prompt Alone · episode 14 · Czytaj po polsku

Ten crashes in one day. Ever since we started collecting reports, the table had been empty, and on November 14th suddenly ten entries at once.

My first thought? Great, I can actually see this! My second - this needs fixing right now. I sat down, fired up the agent, we read the stack trace, found the cause... And oh, bummer! It can't be fixed. At least not by us.

Good thing we record this

In October I got a report from Android that the system "back" button exits the app. I couldn't reproduce it on emulators or on my two devices. Reports in Zakupomat are anonymous, so I had nobody to ask. And if it had been a crash in the Kotlin code, we'd have had no trace of it at all.

So we added our own crash reports. No Crashlytics, no Sentry, no extra company in the privacy policy. The app catches an unhandled exception, saves it on the phone and sends it to our server at the next launch. Without any information about which household it came from - just the app version, the system, the device model and the stack trace.

For a long time there was nothing to look at. Until mid-November.

One iPad and someone very patient

All ten reports came from one device: an iPad with iPadOS 27.2.1, Zakupomat 1.11.0. From noon until almost six in the evening.

The server logs showed what was going on. Someone had created an account that same day and was typing in their list of products. Around 120 items! The app crashed while they were typing names. Once even six seconds after a restart.

Think about it for a moment. First day with a new app, you're typing your whole shopping life into it, and it keeps shutting down. Ten times. And that person came back every time and kept typing 😮 I'd probably have given up after the third.

I can't write to them and apologise. I designed it that way - reports don't know whose they are. I chose privacy on purpose and I still think it was right. But that day I felt its price.

I wanted to fix it right away

The agent started with the stack trace. First obstacle - the archive of the 1.11.0 release was missing the symbols needed to read an iOS report (the file was empty!). So it rebuilt the app from that version's tag, and only then did the stack start to speak plain English.

And it said something I didn't want to hear: there wasn't a single line of our code in the whole stack.

The crash sits in Compose Multiplatform, the JetBrains library that lets one UI codebase run on both Android and iPhone. When iOS commits text from a suggestion or autocorrect, it can make the library start the same screen-drawing cycle before the previous one has finished. The same task runs twice and the app crashes.

It's a known bug: CMP-10674. At JetBrains the fix is already in code review and planned for version 1.14, which hasn't been released yet. A first attempt at a fix was closed without being shipped. There's no workaround on our side - other reporters say that turning off autocorrect doesn't help.

So maybe at least update to a newer version? That doesn't work either. 1.12 and 1.13 don't have the fix, and 1.12 adds another known iOS crash. I'd be swapping one problem for another.

The agent also checked a lead that looked suspiciously similar and ruled it out. That household wasn't using the feature in question at all.

Monitoring doesn't fix anything

The decision was mine and it was short: we wait for a Compose Multiplatform release with the fix, then we update. The issue stays open.

And that's the uncomfortable lesson. I can have great monitoring. Know about the problem the same day, know the device, the system version, the exact spot in the library's code, the ticket number at its authors. And in the end I still... wait.

Monitoring doesn't give me a fix. It gives me the knowledge of whether it's even my problem. And that's not a small thing.

What you can do when you can't fix it

There are a few things I can do after all. And most of them need preparing before anything breaks.

Make sure it really isn't us. Without the stack trace I'd probably have spent the evening patching the text field blindly. Probably with an agent happy to "fix" something that wasn't broken. A quick and certain diagnosis saves the most time exactly when it ends with the decision "we do nothing".

Don't update blindly. The first reflex is "I'll take the latest version, maybe it helps". Here the latest would have brought a different bug on the same platform.

Let the authors know. Our case is one more proof that the bug hits real users. I voted for the CMP-10674 issue, so it's visible that this isn't a theoretical problem.

Have a fast road to release. When the fix comes out, I want it in people's hands in days, not weeks. Version 1.12.0 went out on November 15th, so that part works. As for updates spreading sloooowly - that was the previous episode about the review prompt.

Know the price of your own choice. I picked Compose Multiplatform on purpose, when I was rewriting a working app. One codebase for Android and iOS is a huge saving for a small after-hours project. The price is that on iOS I depend on JetBrains' younger layer rather than on native Apple components. I won't change that decision over one crash on one iPad. But now I know more exactly what I'm paying for.

Everyone depends on something

A framework, a cloud, an AI model, an App Store review, a payment gateway. No team controls the whole chain. The question isn't "if", it's "on what" and "what will I do when it breaks".

Here the impact was limited: one device, one day. By the evening of November 15th no new report had come in. I can wait calmly. If it had been the main screen on every iPhone, the conversation would have looked completely different - and that's when a plan B prepared in advance would come in handy, rather than one invented under pressure.

And that someone with the iPad... I hope they stayed 🙂


What this means for your team: monitoring pays off not only when it leads to a fix, but also when it quickly says "this isn't ours, we wait". List the dependencies your product can't work without, and for the most important ones decide in advance what you'll do when they fail. At ANSLAN we help teams build with AI agents so that such decisions are made before the failure, not during it.

Zakupomat is free and ad-free. It works on an iPad too... almost always 😉