Skip to content

[BUG] Segfault macOS jumpToNoteHistoryItem #3547

@louwers

Description

@louwers

Expected behaviour

No crash.

Actual behaviour

Crash, see below.

https://paste.sr.ht/~bl/4b61dce6ec173b54d3c470d603d7b788706e1c74

Steps to reproduce

Close QOwnNotes.

Not easily reproducible.

Screenshots

Output from the debug section in the settings dialog

Expand

QOwnNotes Debug Information

General Info

Current Date: Thu Apr 9 12:27:58 2026
Version: 26.4.8
Build date: Apr 8 2026
Build number: 1307
Platform: macosx (cocoa)
Operating System: macOS Tahoe (26.4)
Build architecture: arm64
Current architecture: arm64
Release: GitHub Actions
Qt Version (build): 6.10.1
Qt Version (runtime): 6.10.1
Portable mode: no
Settings path / key: /Users/bart/Library/Preferences/com.pbe.QOwnNotes.plist
Application database path: /Users/bart/Library/Application Support/PBE/QOwnNotes/QOwnNotes.sqlite
Application arguments: /Applications/QOwnNotes.app/Contents/MacOS/QOwnNotes
Qt Debug: no
System Botan: no
Libgit2: no
QLiteHtml: yes
Locale (system): en_NL
Locale (interface): empty
Primary screen resolution: 3200x1800
Icon theme: breeze-qownnotes
Notes in current note folder: 40
Calendar items: 0
Enabled scripts: 0
Database drivers: QSQLITE, QODBC, QPSQL, QMIMER

Server Info

serverUrl: empty
appIsValid: no
notesPathExists: empty
connectionErrorMessage: empty

Spellchecking

Enabled: false
Selected language: auto
Language codes: empty
Language names: empty
Application dictionaries path: /Users/bart/Library/Application Support/PBE/QOwnNotes/dicts

Note folders

currentNoteFolderId: 1

Note folder default

id: 1
isCurrent: yes
activeTagId: 0
localPath: /Users/bart/notes
remotePath: Notes
cloudConnectionId: 1
isShowSubfolders: yes
isUseGit: no
allowDifferentNoteFileName: no
activeNoteSubFolder name: empty
database file: /Users/bart/notes/notes.sqlite

Cloud connections

Cloud connection Default

id: 1
isCurrent: yes
serverUrl: empty
username: empty
accountId: empty

Enabled scripts

Settings

ACDMonthlyAnalyticsLastPosted (double): 797119021.135695
AKLastIDMSEnvironment (qlonglong): 0
AKLastLocale (QString): en_US@rg=nlzzzz
ColorModes/ColorMode-dark/darkMode (bool): true
ColorModes/ColorMode-dark/darkModeColors (bool): true
ColorModes/ColorMode-dark/darkModeIconTheme (bool): true
ColorModes/ColorMode-dark/darkModeTrayIcon (bool): true
ColorModes/ColorMode-dark/editorColorSchemaKey (QString): EditorColorSchema-cdbf28fc-1ddc-4d13-bb21-6a4043316a2f
ColorModes/ColorMode-dark/internalIconTheme (bool): false
ColorModes/ColorMode-dark/name (QString): Dark
ColorModes/ColorMode-dark/systemIconTheme (bool): false
ColorModes/ColorMode-light/darkMode (bool): false
ColorModes/ColorMode-light/darkModeColors (bool): false
ColorModes/ColorMode-light/darkModeIconTheme (bool): false
ColorModes/ColorMode-light/darkModeTrayIcon (bool): false
ColorModes/ColorMode-light/editorColorSchemaKey (QString): EditorColorSchema-6033d61b-cb96-46d5-a3a8-20d5172017eb
ColorModes/ColorMode-light/internalIconTheme (bool): false
ColorModes/ColorMode-light/name (QString): Light
ColorModes/ColorMode-light/systemIconTheme (bool): false
ColorModes/currentId (QString): ColorMode-light
ColorModes/ids (QStringList): ColorMode-light, ColorMode-dark
Country (QString): NL
Editor/CurrentSchemaKey (QString): EditorColorSchema-6033d61b-cb96-46d5-a3a8-20d5172017eb
Editor/removeTrailingSpaces (bool): false
InitialKeyRepeat (double): 15
KB_DoubleQuoteOption (QString): “abc”
KB_SingleQuoteOption (QString): ‘abc’
KB_SpellingLanguage (QVariantMap): empty
KeyRepeat (double): 2
LastUpdateCheck (QDateTime): 2026-04-09T12:27:52.039
MainWindow/mainToolBar.iconSize (int): 32
MainWindow/noteTextEdit.code.font (QString): Menlo,10,-1,5,400,0,0,0,0,0,0,0,0,0,0,1
MainWindow/noteTextEdit.font (QString): .AppleSystemUIFont,13,-1,5,400,0,0,0,0,0,0,0,0,0,0,1
MainWindow/noteTextView.code.font (QString): Menlo,10,-1,5,400,0,0,0,0,0,0,0,0,0,0,1
MainWindow/noteTextView.font (QString): .AppleSystemUIFont,13,-1,5,400,0,0,0,0,0,0,0,0,0,0,1
PiwikClientId (QString): <hidden>
SettingsDialog/geometry (QByteArray): <binary data>
WelcomeDialog/geometry (QByteArray): <binary data>
ai/mcpServerToken (QString): AwLmLdfL86GTyrANR24XIUQBS+rV3pLanqzYT0d8OVc2eyOpnw==
allowNoteEditing (bool): true
appMetrics/notificationShown (bool): true
checkSpelling (bool): false
cryptoKey (qlonglong): <hidden>
currentNoteFolderId (int): 1
currentWorkspace (QString): initial
disableAutomaticUpdateDialog (bool): true
dockWasInitializedOnce (bool): true
guiFirstRunInit (bool): true
initialLayoutIdentifier (QString): minimal
itemHeight (int): 18
markdownHighlightingEnabled (bool): true
noteEditIsCentralWidget (bool): true
noteFileExtensionList (QStringList): md, txt
notesPath (QString): /Users/bart/notes
ownCloud/supportEnabled (bool): false
ownCloudInfo/appIsValid (bool): false
ownCloudInfo/connectionErrorMessage (QString): empty
ownCloudInfo/notesPathExistsText (QString): empty
ownCloudInfo/serverVersion (QString): empty
restoreCursorPosition (bool): false
shouldShowRSVPDataDetectors (bool): false
showMenuBar (bool): false
showStatusBar (bool): true
webAppClientService/token (QString): <hidden>
webSocketServerService/bookmarkSuggestionApiToken (QString): <hidden>
workspace-initial/name (QString): Minimal
workspace-initial/noteEditIsCentralWidget (QString): true
workspace-initial/noteSubFolderDockWidgetVisible (QString): true
workspace-initial/windowState (QByteArray): <binary data>
workspaces (QStringList): initial

System environment

COMMAND_MODE: unix2003
HOME: /Users/bart
LOGNAME: bart
OSLogRateLimit: 64
PATH: /usr/bin:/bin:/usr/sbin:/sbin
QT_LOGGING_RULES: qt.network.ssl.warning=false
SHELL: /bin/zsh
SSH_AUTH_SOCK: /var/run/com.apple.launchd.ndPorj5bMZ/Listeners
TMPDIR: /var/folders/c8/rd0dk8q51vb_3wjw2whh_61h0000gn/T/
USER: bart
XPC_FLAGS: 0x0
XPC_SERVICE_NAME: application.com.PBE.QOwnNotes.3055868.3572393
__CFBundleIdentifier: com.PBE.QOwnNotes
__CF_USER_TEXT_ENCODING: 0x1F5:0x0:0x0

Relevant log output in the Log panel

Expand

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions