Closed kdrag0n closed 12 months ago
Backtrace is wrong like the other issue again. In this case it's important. Please attach full crash log or get the base address of Sparkle at least.
This should be correct:
-[SUUpdatePermissionPrompt initPromptWithHost:request:reply:].cold.1 (in Sparkle) (SUUpdatePermissionPrompt.m:0)
-[SUUpdateAlert _createReleaseNotesViewPreferringPlainText:] (in Sparkle) (SUUpdateAlert.m:356)
-[SUUpdateAlert showUpdateReleaseNotesWithDownloadData:] (in Sparkle) (SUUpdateAlert.m:270)
-[SPUStandardUserDriver showUpdateReleaseNotesWithDownloadData:] (in Sparkle) (SPUStandardUserDriver.m:432)
__87-[SPUUIBasedUpdateDriver basicDriverDidFindUpdateWithAppcastItem:secondaryAppcastItem:]_block_invoke.78 (in Sparkle) (SPUUIBasedUpdateDriver.m:0)
-[SPUReleaseNotesDriver downloadDriverDidDownloadData:] (in Sparkle) (SPUUIBasedUpdateDriver.m:58)
__66-[SPUDownloadDriver downloaderDidFinishWithTemporaryDownloadData:]_block_invoke (in Sparkle) (SPUDownloadDriver.m:0)
Backtrace looks right (except for the initPromptWithHost line, that is wrong) but I don't see how this assert can trigger logically. So this is probably not actionable / not enough information to make sense of it.
Assuming this is a version of Sparkle with #2381 but still I bet you aren't setting SUShowReleaseNotes
.
I'm not setting SUShowReleaseNotes
explicitly, but I've just added it for the next release.
Looking at the code though, I'm not seeing how the lack of that setting would change the behavior if releaseNotesLink
is set in the update item: https://github.com/sparkle-project/Sparkle/blob/06edf5695d99437b3831d483a29b1920f3ba81a4/Sparkle/SUUpdateAlert.m#L291
I wasn't recommending to set it to be clear. I would not set it unless you want to hide showing release notes. There was an issue such that if you were trying to hide release notes but the app cast item contained a release notes link the assert could have been hit.
Not currently actionable.
Summary
I saw this rare crash in the wild:
I don't know how to reproduce the crash, but as you can see here, I'm using an external release notes link instead of embedding it in the appcast:
Version
v2.4.2