Bug: Unhandled promise rejection: Error: Seeking interrupted.

“dependencies”: {
“expo”: “~37.0.3”,
“expo-av”: “^8.1.0”,
“expo-keep-awake”: “^8.1.0”,
“expo-screen-orientation”: “~1.0.0”,
“react”: “~16.9.0”,
“react-dom”: “~16.9.0”,
“react-native”: “https://github.com/expo/react-native/archive/sdk-37.0.1.tar.gz”,
“react-native-exception-handler”: “^2.10.8”,
“react-native-web”: “~0.11.7”
},

iOS

[Unhandled promise rejection: Error: Seeking interrupted.]

  • node_modules@babel\runtime\helpers\unsupportedIterableToArray.js:9:27 in _unsupportedIterableToArray
  • http19001/node_modules%5Cexpo%5CAppEntry.bundle?platform=ios&dev=true&minify=false&hot=false:96580:40 in
  • node_modules\react-native\Libraries\Components\Touchable\TouchableNativeFeedback.ios.js:45:8 in
  • node_modules\react-native\Libraries\Network\NativeNetworkingIOS.js:38:55 in
  • node_modules\react-native\node_modules\pretty-format\build-es5\index.js:2179:9 in printError
  • node_modules\react-native\node_modules\pretty-format\build-es5\index.js:2368:1 in packagesPrettyFormatSrcIndexTs
  • node_modules\react-native\node_modules\pretty-format\build-es5\index.js:2179:9 in printError
  • http19001/node_modules%5Cexpo%5CAppEntry.bundle?platform=ios&dev=true&minify=false&hot=false:29797:30 in invoke
  • node_modules\react-native\node_modules\pretty-format\build-es5\index.js:2296:3 in printComplexValue
  • http19001/node_modules%5Cexpo%5CAppEntry.bundle?platform=ios&dev=true&minify=false&hot=false:3765:9 in tryCallTwo
  • node_modules\react-native\Libraries\ReactNative\DummyUIManager.js:49:11 in module.exports.measure
  • http19001/node_modules%5Cexpo%5CAppEntry.bundle?platform=ios&dev=true&minify=false&hot=false:3788:14 in Promise
  • node_modules\react-native\node_modules\pretty-format\build-es5\index.js:2295:25 in printComplexValue
  • node_modules\react-native\node_modules\pretty-format\build-es5\index.js:2300:3 in printComplexValue
  • node_modules\react-native\node_modules\pretty-format\build-es5\index.js:2319:58 in printPlugin
  • http19001/node_modules%5Cexpo%5CAppEntry.bundle?platform=ios&dev=true&minify=false&hot=false:127921:42 in _performOperationAndHandleStatusAsync
  • node_modules\react-native\Libraries\Components\Touchable\TouchableNativeFeedback.ios.js:45:8 in
  • node_modules\react-native\node_modules\pretty-format\build-es5\index.js:2179:9 in printError
  • node_modules\react-native\node_modules\pretty-format\build-es5\index.js:2368:1 in packagesPrettyFormatSrcIndexTs
  • node_modules\react-native\node_modules\pretty-format\build-es5\index.js:2179:9 in printError
  • http19001/node_modules%5Cexpo%5CAppEntry.bundle?platform=ios&dev=true&minify=false&hot=false:29797:30 in invoke
  • node_modules\react-native\node_modules\pretty-format\build-es5\index.js:2296:3 in printComplexValue
  • http19001/node_modules%5Cexpo%5CAppEntry.bundle?platform=ios&dev=true&minify=false&hot=false:3765:9 in tryCallTwo
  • node_modules\react-native\Libraries\ReactNative\DummyUIManager.js:49:11 in module.exports.measure
  • http19001/node_modules%5Cexpo%5CAppEntry.bundle?platform=ios&dev=true&minify=false&hot=false:3788:14 in Promise
  • node_modules\react-native\node_modules\pretty-format\build-es5\index.js:2295:25 in printComplexValue
  • node_modules\react-native\node_modules\pretty-format\build-es5\index.js:2300:3 in printComplexValue
  • node_modules\react-native\node_modules\pretty-format\build-es5\index.js:2319:58 in printPlugin
  • node_modules\react-native\Libraries\Components\Touchable\TouchableNativeFeedback.ios.js:35:13 in
  • assets\img\logos\yes.jpg:1:0 in stopAsync$
  • node_modules\react-native\node_modules\pretty-format\build-es5\index.js:2179:9 in printError
  • node_modules\react-native\node_modules\pretty-format\build-es5\index.js:2368:1 in packagesPrettyFormatSrcIndexTs
  • node_modules\react-native\node_modules\pretty-format\build-es5\index.js:2179:9 in printError
  • http19001/node_modules%5Cexpo%5CAppEntry.bundle?platform=ios&dev=true&minify=false&hot=false:29797:30 in invoke
  • node_modules\react-native\node_modules\pretty-format\build-es5\index.js:2296:3 in printComplexValue
  • http19001/node_modules%5Cexpo%5CAppEntry.bundle?platform=ios&dev=true&minify=false&hot=false:3765:9 in tryCallTwo
  • node_modules\react-native\Libraries\ReactNative\DummyUIManager.js:49:11 in module.exports.measure
  • http19001/node_modules%5Cexpo%5CAppEntry.bundle?platform=ios&dev=true&minify=false&hot=false:3788:14 in Promise
  • node_modules\react-native\node_modules\pretty-format\build-es5\index.js:2295:25 in printComplexValue
  • node_modules\react-native\node_modules\pretty-format\build-es5\index.js:2300:3 in printComplexValue
  • node_modules\react-native\node_modules\pretty-format\build-es5\index.js:2319:58 in printPlugin
  • http19001/node_modules%5Cexpo%5CAppEntry.bundle?platform=ios&dev=true&minify=false&hot=false:127630:40 in stopAsync
  • http19001/node_modules%5Cexpo%5CAppEntry.bundle?platform=ios&dev=true&minify=false&hot=false:125616:24 in
  • http19001/node_modules%5Cexpo%5CAppEntry.bundle?platform=ios&dev=true&minify=false&hot=false:125427:29 in
  • node_modules\create-react-class\node_modules\fbjs\lib\warning.js:30:6 in format.replace$argument_1
  • [native code]:null in touchableHandlePress
  • node_modules\react-native\Libraries\Components\Touchable\TouchableWithoutFeedback.js:172:29 in
  • [native code]:null in _performSideEffectsForTransition
  • node_modules\nullthrows\nullthrows.js:8:2 in nullthrows
  • [native code]:null in _receiveSignal
  • http19001/node_modules%5Cexpo%5CAppEntry.bundle?platform=ios&dev=true&minify=false&hot=false:52715:26 in touchableHandleResponderRelease
  • [native code]:null in touchableHandleResponderRelease
  • node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:5932:6 in
  • http19001/node_modules%5Cexpo%5CAppEntry.bundle?platform=ios&dev=true&minify=false&hot=false:13182:42 in invokeGuardedCallback
  • node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:6077:5 in ReactStrictModeWarnings.flushPendingUnsafeLifecycleWarnings
  • http19001/node_modules%5Cexpo%5CAppEntry.bundle?platform=ios&dev=true&minify=false&hot=false:13293:48 in executeDispatch
  • node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:6299:20 in resolveForwardRefForHotReloading
  • node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:6404:1 in
  • [native code]:null in forEach
  • node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:6396:15 in markFailedErrorBoundaryForHotReloading
  • node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:6435:4 in scheduleRoot
  • node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:6540:16 in findHostInstancesForMatchingFibersRecursively
  • http19001/node_modules%5Cexpo%5CAppEntry.bundle?platform=ios&dev=true&minify=false&hot=false:14556:42 in
  • http19001/node_modules%5Cexpo%5CAppEntry.bundle?platform=ios&dev=true&minify=false&hot=false:26010:20 in batchedUpdates$1
  • node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:7876:25 in checkShouldComponentUpdate
  • node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:8007:5 in checkClassInstance
  • node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:8125:5 in checkClassInstance
  • node_modules\react-native\Libraries\Performance\Systrace.js:45:9 in mark
  • http19001/node_modules%5Cexpo%5CAppEntry.bundle?platform=ios&dev=true&minify=false&hot=false:2938:31 in
  • http19001/node_modules%5Cexpo%5CAppEntry.bundle?platform=ios&dev=true&minify=false&hot=false:3179:15 in __guard
  • node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:257:3 in MessageQueue
  • [native code]:null in callFunctionReturnFlushedQueue

This is a long standing bug. Happens when stopping an audio stream. Wasn’t able to find a solution or workaround. Help appreciated.

Hi! Could you provide a minimal code sample that reproduces the issue? It’s easiest to do that in a snack

Hope this demonstrates the issue. Not sure. Possibly try on an iPhone XS, because that’s what I’m testing this on. I didn’t test the snack. I created a project with the same App.js as the snack.

When you Start, then Stop, you get the error. Try a few times.

I wasn’t able to reproduce the crash there, using an iPhone 7 device.

I didn’t test the snack

Could you test the Snack with your device? If it’s only in a local project then maybe on of your dependencies is off?

I tested the snack on my device, and you’re right, it doesn’t occur. But I tried the latest dependencies on Windows 10. As far as I’m aware, everything’s up to date. Possibly it’s a combination of Windows 10 + iPhone X.

I have confirmed again this occurs when running from the Expo CLI on Windows 10. This has been happening since some previous versions of Expo.

can you run expo diagnostics and paster the output?

This?

Expo CLI 3.21.9 environment info:
System:
OS: Windows 10 10.0.19041
Binaries:
Node: 14.4.0 - C:\0\A\Node\14.4.0\x64\node.EXE
npm: 6.14.5 - C:\0\A\Node\14.4.0\x64\npm.CMD
npmPackages:
expo: ~37.0.3 => 37.0.12
react: ~16.9.0 => 16.9.0
react-dom: ~16.9.0 => 16.9.0
react-native: https://github.com/expo/react-native/archive/sdk-37.0.1.tar.gz => 0.61.4
react-native-web: ~0.11.7 => 0.11.7

This issue has occurred before and after a fresh install of everything including the Windows OS, and has occurred on a Laptop and Desktop. The OS was recently upgraded to Windows 10 2004. I haven’t and can’t do a full reset of my phone though, and I don’t have another iOS device to test with. I just tried reinstalling the Client App on iPhone and still I get the error.