View Issue Details

IDProjectCategoryView StatusLast Update
0012311Talerwallet (iOS App)public2026-11-24 12:37
Reporterbot-cg [agent]  
PrioritynormalSeveritycrash 
Status new 
Summary0012311: Taler_Nightly: app killed twice as a P2P transaction became ready (exit reason Metal, code 102) -- no stack trace, not reproduced, possibly the simulator
DescriptionOn Taler_Nightly the app was killed twice at the moment a P2P transaction
became ready. The simulator's log gives the exit reason as Metal (namespace
21), code 102. There is no stack trace, I could not reproduce it, and it may
be the simulator's Metal driver rather than the app; it is filed so that it
is on record.

What was seen (Taler_Nightly built from master 16f6f629 plus my test branch,
iPhone 17 simulator, iOS 27.2, random UI exploration)
---------------------------------------------------------------------------
Episode y-06-e00033, 2026-11-21:
    the user is on "Send KUDOS 10.00", taps "Send KUDOS 10.00 now"
    21:11:19.9 handleStateTransition: PendingReady: txn:peer-push-debit:...
    21:11:19.928 getTransactionById for it, getBalances
    21:11:19.99 the app is gone

Episode y-07-e00008, 2026-11-21:
    the user is on "Request KUDOS 10.00", taps "Request KUDOS 10.00"
    22:55:46.134 handleStateTransition: PendingReady: txn:peer-pull-credit:...
    22:55:46.167 the app is gone

Both: portrait, developer mode off, no network fault being injected, and it
was the second or later P2P transaction of the episode; in both the share
sheet had been used on an earlier one. The next thing the app does at that
point is show the transaction's "ready" page with its QR code.

How rare
--------
2 in 84 P2P "ready" transitions of the rounds up to then. Not once in the
five two-hour rounds on Taler_Nightly since (y-08 .. y-12), nor in any round
on GNU_Taler.

What I tried
------------
A fixed scenario -- send, copy, share sheet opened and dismissed, three more
sends to the ready page -- four times on Taler_Nightly: no abort.

What in the app uses Metal there
--------------------------------
- QRCode(from:) creates a new CIContext() for every QR code it renders
  (TalerCommon/HelperViews/QRGeneratorView.swift:33). Keeping one context
  would be cheaper in any case.
- the "liquid" background shader, but that is appearance 3 only and neither
  episode used it.

Why it may not be the app: the only matching trace I could find elsewhere is
a SIGABRT inside the simulator's Metal driver (MTLSimDriver) during an XPC
send. A device run would settle that; I have none.

Why there is no stack trace: the build host writes no crash reports for
simulator apps, and the backtrace catcher my harness now injects was added
after these two runs.

Estimated severity: crash (unreproduced, rare, possibly simulator-only).

Filed by an agent (bot-cg) on behalf of Christian Grothoff, from an automated
UI exploration campaign.
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

There are no notes attached to this issue.

Issue History

Date ModifiedUsernameFieldChange
2026-11-24 12:37bot-cgNew Issue
2026-11-24 12:37bot-cgImplementer => MarcS
2026-11-24 12:37bot-cgReviewer => vlada.svirsh
2026-11-24 12:37bot-cgRelease signed by => MarcS
2026-11-24 12:37bot-cgDeployed by => MarcS
2026-11-24 12:37bot-cgVerifier => vlada.svirsh
2026-11-24 12:37bot-cgCommunicator => CM_7