pbek / QOwnNotes

QOwnNotes is a plain-text file notepad and todo-list manager with Markdown support and Nextcloud / ownCloud integration.
https://www.qownnotes.org/
GNU General Public License v2.0
4.7k stars 414 forks source link

[BUG] QOwnNotes 24.1.0 crashes immediatly on Ubuntu 20.04.6 #2940

Closed Adspectus closed 10 months ago

Adspectus commented 10 months ago

Expected behaviour

After clicking the QOwnNotes menu icon the application opens.

Actual behaviour

After clicking the QOwnNotes menu icon the application opens for a second or two and is closed again.

Steps to reproduce

Click on QOwnNotes menu icon.

Output from the debug section in the settings dialog

N/A

Expand QOwnNotes Debug Information =========================== ## General Info **Current Date**: `Di. Jan. 2 07:22:21 2024` **Version**: `24.1.0` **Build date**: `Dec 31 2023` **Build number**: `1071` **Platform**: `linux` **Operating System**: `Ubuntu 20.04.6 LTS` **Build architecture**: `x86_64` **Current architecture**: `x86_64` **Release**: `Launchpad PPA` **Qt Version (build)**: `5.12.8` **Qt Version (runtime)**: `5.12.8` **Portable mode**: `no` **Settings path / key**: `/home/uwe/.config/PBE/QOwnNotes.conf` **Application database path**: `/home/uwe/.local/share/PBE/QOwnNotes/QOwnNotes.sqlite` **Application arguments**: `QOwnNotes`, `--dump-settings` **Qt Debug**: `0` **Locale (system)**: `de_DE` **Locale (interface)**: *empty* **Primary screen resolution**: `3440x1440` **Icon theme**: `Yaru` **Notes in current note folder**: `0` **Calendar items**: `37` **Enabled scripts**: `0` ## Server Info **serverUrl**: `https://cloud.uwe-gehring.de` **appIsValid**: `yes` **notesPathExists**: `yes` **serverVersion**: `26.0.5.1` **appVersion**: *empty* ## Spellchecking **Enabled**: `true` **Selected language**: `auto` **Language codes**: `de_AT, de_AT_frami, de_CH, de_CH_frami, de_DE, de_DE_frami, en_AU, en_CA, en_GB, en_US, en_ZA` **Language names**: `Österreichisches Deutsch (Österreich), Österreichisches Deutsch (Österreich), Schweizer Hochdeutsch (Schweiz), Schweizer Hochdeutsch (Schweiz), Deutsch (Deutschland), Deutsch (Deutschland), Australian English (Australia), Canadian English (Canada), British English (United Kingdom), American English (United States), English (South Africa)` **Application dictionaries path**: `/home/uwe/.local/share/PBE/QOwnNotes/dicts` ## Note folders **currentNoteFolderId**: `1` ### Note folder `Standard` **id**: `1` **isCurrent**: `yes` **activeTagId**: `1` **localPath**: `/home/uwe/Notes` **remotePath**: `Notes` **cloudConnectionId**: `1` **isShowSubfolders**: `yes` **isUseGit**: `no` **allowDifferentNoteFileName**: `yes` **activeNoteSubFolder name**: *empty* **database file**: `/home/uwe/Notes/notes.sqlite` ## Cloud connections ### Cloud connection `Standard` **id**: `1` **isCurrent**: `yes` **serverUrl**: `https://cloud.uwe-gehring.de` **username**: `uwe` **accountId**: `uwe` **Nextcloud Deck boardId**: `0` **Nextcloud Deck stackId**: `0` ## Enabled scripts ## Settings **ActiveNoteHistoryItem** (NoteHistoryItem): `` **AttachmentDialog/geometry** (QByteArray): `` **CloudConnection-1/nextcloudDeckEnabled** (QString): `true` **Debug/fakeOldVersionNumber** (QString): `false` **Debug/fileLogging** (QString): `false` **Editor/CurrentSchemaKey** (QString): `EditorColorSchema-6033d61b-cb96-46d5-a3a8-20d5172017eb` **Editor/autoBracketClosing** (QString): `true` **Editor/autoBracketRemoval** (QString): `true` **Editor/disableCursorBlinking** (QString): `false` **Editor/editorWidthInDFMOnly** (QString): `true` **Editor/highlightCurrentLine** (QString): `true` **Editor/indentSize** (QString): `4` **Editor/removeTrailingSpaces** (QString): `false` **Editor/showLineNumbers** (QString): `false` **Editor/useTabIndent** (QString): `false` **Editor/vimMode** (QString): `false` **FileDialog/LastPath** (QString): `/home/uwe` **FileDialog/LastPath-InsertAttachment** (QString): `/home/uwe/Segeln/Schulen-Vereine-Verbände/SCHo/10_Schulungsangelegenheiten/01_Führerscheinausbildung/2023-24` **FileDialog/LastPath-InsertImage** (QString): `/home/uwe/Notes/Sportschifffahrt` **FileDialog/LastPath-NotePDFExport** (QString): `/home/uwe` **ImageDialog/disableCopying** (QString): `false` **ImageDialog/geometry** (QByteArray): `` **IssueAssistantDialog/geometry** (QByteArray): `` **LastUpdateCheck** (QDateTime): `2024-01-02T07:11:51.952` **LinkDialog/geometry** (QByteArray): `` **LogWidget/criticalLog** (QString): `true` **LogWidget/debugLog** (QString): `true` **LogWidget/fatalLog** (QString): `true` **LogWidget/infoLog** (QString): `true` **LogWidget/scriptingLog** (QString): `true` **LogWidget/statusLog** (QString): `true` **LogWidget/warningLog** (QString): `true` **MainWindow/geometry** (QByteArray): `` **MainWindow/mainToolBar.iconSize** (QString): `24` **MainWindow/menuBarGeometry** (QByteArray): `` **MainWindow/noteTextEdit.code.font** (QString): `monospace,11,-1,2,50,0,0,0,0,0` **MainWindow/noteTextEdit.font** (QString): `Ubuntu,11,-1,5,50,0,0,0,0,0` **MainWindow/noteTextView.code.font** (QString): `monospace,11,-1,2,50,0,0,0,0,0` **MainWindow/noteTextView.font** (QString): `Ubuntu,11,-1,5,50,0,0,0,0,0` **MainWindow/noteTextView.ignoreCodeFontSize** (QString): `true` **MainWindow/noteTextView.refreshDebounceTime** (QString): `600` **MainWindow/noteTextView.rtl** (QString): `false` **MainWindow/noteTextView.underline** (QString): `true` **MainWindow/noteTextView.useEditorStyles** (QString): `true` **MainWindow/noteTextView.useInternalExportStyling** (QString): `true` **MainWindow/showNotesFromAllNoteSubFolders** (QString): `false` **MainWindow/tagTreeWidgetExpandState-1** (QString): `1` **MessageBoxOverride/calendar-cache-emptied** (QString): `1024` **MessageBoxOverride/delete-image-files** (QString): `16384` **MessageBoxOverride/remove-notes** (QString): `16384` **MessageBoxOverride/remove-tags** (QString): `16384` **MessageBoxOverride/remove-todo-items** (QString): `16384` **MessageBoxOverride/share-sync-information** (QString): `1024` **NoteDialog/geometry** (QByteArray): `` **NoteDialog/tabWidgetIndex** (QString): `1` **NoteFolder-1/NoteTabNameList** (QString): `VBLP` **NoteFolder-1/NoteTabStickinessList**: *empty* **NoteFolder-1/NoteTabSubFolderPathDataList** (QString): `Persönlich` **NoteFolder-1/allowDifferentNoteFileName** (QString): `true` **NoteHistory-1** (QVariantList): `` **NoteHistoryCurrentIndex-1** (QString): `26` **PiwikClientId** (QString): `` **Printer/NotePDFExport** (QByteArray): `` **Printer/NotePrinting** (QByteArray): `` **ScriptRepositoryDialog/mainSplitterState** (QByteArray): `` **SearchEngineId** (QString): `2` **SettingsDialog/geometry** (QByteArray): `` **SettingsDialog/mainSplitterState** (QByteArray): `` **ShareDialog/geometry** (QByteArray): `` **ShowSystemTray** (QString): `false` **StartHidden** (QString): `false` **StoredAttachmentsDialog/geometry** (QByteArray): `` **StoredImagesDialog/geometry** (QByteArray): `` **TableDialog/geometry** (QByteArray): `` **TagAddDialog/geometry** (QByteArray): `` **TodoDialog/geometry** (QByteArray): `` **TodoDialog/mainSplitterState** (QByteArray): `` **TodoDialog/showCompletedItems** (QString): `0` **TodoDialog/showDueTodayItemsOnly** (QString): `0` **TodoDialog/todoListSelectorSelectedItem** (QString): `Sportschifffahrt` **UpdateDialog/geometry** (QByteArray): `` **VersionDialog/geometry** (QByteArray): `` **WelcomeDialog/geometry** (QByteArray): `` **acceptAllExternalModifications** (QString): `false` **allowNoteEditing** (QString): `true` **allowOnlyOneAppInstance** (QString): `true` **appMetrics/disableAppHeartbeat** (QString): `false` **appMetrics/disableTracking** (QString): `false` **appMetrics/notificationShown** (QString): `true` **autoReadOnlyMode** (QString): `false` **autoReadOnlyModeTimeout** (QString): `30` **automaticNoteFolderDatabaseClosing** (QString): `false` **checkSpelling** (QString): `true` **closeTodoListAfterSave** (QString): `false` **cryptoKey** (QString): `` **currentNoteFolderId** (QString): `1` **currentWorkspace** (QString): `initial` **cursorWidth** (QString): `1` **darkMode** (QString): `false` **darkModeColors** (QString): `false` **darkModeIconTheme** (QString): `false` **darkModeTrayIcon** (QString): `false` **defaultNoteFileExtension** (QString): `md` **demoNotesCreated** (QString): `true` **disableAutomaticUpdateDialog** (QString): `true` **disableSavedSearchesAutoCompletion** (QString): `false` **dockWasInitializedOnce** (QString): `true` **enableNoteTree** (QString): `false` **enableSocketServer** (QString): `true` **enableWebAppSupport** (QString): `false` **externalEditorPath** (QString): *empty* **fullyHighlightedBlockquotes** (QString): `false` **gitCommitInterval** (QString): `30` **gitExecutablePath** (QString): *empty* **gitLogCommand** (QString): *empty* **guiFirstRunInit** (bool): `true` **ignoreAllExternalModifications** (QString): `false` **ignoreAllExternalNoteFolderChanges** (QString): `false` **ignoreNoteSubFolders** (QString): `^\.` **ignoredNoteFiles** (QString): *empty* **imageScaleDown** (QString): `false` **imageScaleDownMaximumHeight** (QString): `1024` **imageScaleDownMaximumWidth** (QString): `1024` **initialLayoutIdentifier** (QString): `full` **insertTimeFormat** (QString): `dddd, dd. MMMM yyyy HH:mm:ss t` **interfaceFontSize** (QString): `11` **interfaceLanguage** (QString): *empty* **internalIconTheme** (QString): `false` **itemHeight** (QString): `17` **legacyLinking** (QString): `false` **localTrash/autoCleanupDays** (QString): `30` **localTrash/autoCleanupEnabled** (QString): `true` **localTrash/supportEnabled** (QString): `false` **markdownHighlightingEnabled** (QString): `true` **navigationPanelAutoSelect** (QString): `true` **navigationPanelHideSearch** (QString): `false` **networking/ignoreSSLErrors** (QString): `true` **networking/proxyType** (QString): `2` **newNoteAskHeadline** (QString): `false` **noteEditIsCentralWidget** (QString): `true` **noteFileExtensionList** (QStringList): `md, txt` **noteListPreview** (QString): `false` **noteSaveIntervalTime** (QString): `10` **noteSubfoldersPanelDisplayAsFullTree** (QString): `true` **noteSubfoldersPanelHideSearch** (QString): `false` **noteSubfoldersPanelOrder** (QString): `0` **noteSubfoldersPanelShowFullPath** (QString): `false` **noteSubfoldersPanelShowNotesRecursively** (QString): `true` **noteSubfoldersPanelShowRootFolderName** (QString): `true` **noteSubfoldersPanelSort** (QString): `0` **notesPanelOrder** (QString): `0` **notesPanelSort** (QString): `1` **notesPath** (QString): `/home/uwe/Notes` **notifyAllExternalModifications** (QString): `false` **overrideInterfaceFontSize** (QString): `false` **ownCloud/ignoreNonTodoCalendars** (QString): `true` **ownCloud/supportEnabled** (QString): `true` **ownCloud/todoCalendarBackend** (QString): `3` **ownCloud/todoCalendarCalDAVPassword** (QString): `` **ownCloud/todoCalendarCalDAVServerUrl** (QString): `https://caldav.fastmail.com/dav/calendars/user/uwe@imap.cc/` **ownCloud/todoCalendarCalDAVUsername** (QString): `uwe@imap.cc` **ownCloud/todoCalendarCloudConnectionId** (QString): `1` **ownCloud/todoCalendarDisplayNameList**: *empty* **ownCloud/todoCalendarEnabledList**: *empty* **ownCloud/todoCalendarEnabledUrlList**: *empty* **ownCloud/todoCalendarUrlList**: *empty* **ownCloudInfo/appIsValid** (QString): `true` **ownCloudInfo/connectionErrorMessage** (QString): `Unbekannter Fehler` **ownCloudInfo/notesPathExistsText** (QString): `yes` **ownCloudInfo/serverVersion** (QString): `26.0.5.1` **restoreCursorPosition** (QString): `true` **restoreLastNoteAtStartup** (QString): `true` **restoreNoteTabs** (QString): `true` **savedSearches/noteFolder-1** (QStringList): `Schnuppersegeln, VBLP, Note 2023-09-25T12.01.22, Note 2023-09-10T08.27.21, Note 2023-09-06T09.07.59, Note 2023-09-06T08.31.12, Note 2023-09-03T18.32.12, Note 2023-09-01T18.09.48, Note 2023-08-26T15.58.25, Note 2023-08-25T10.52.22, Note 2023-08-21T17.55.23` **showMatches** (QString): `true` **showMenuBar** (QString): `true` **showStatusBar** (QString): `true` **spellCheckLanguage** (QString): `auto` **startInReadOnlyMode** (QString): `false` **systemIconTheme** (QString): `false` **tagWasAddedToNote** (QString): `true` **taggingShowNotesRecursively** (QString): `true` **tagsPanelHideNoteCount** (QString): `false` **tagsPanelHideSearch** (QString): `false` **tagsPanelOrder** (QString): `0` **tagsPanelSort** (QString): `0` **todoCalendarSupport** (QString): `true` **toolbar/1/items** (QStringList): `action_New_note, action_Find_note, action_Remove_note, action_Open_note_in_external_editor, actionShow_local_trash, actionAllow_note_editing, , action_Back_in_note_history, action_Forward_in_note_history, , action_Find_text_in_note, actionReplace_in_current_note, , actionShow_versions, actionShow_trash, actionShare_note, , actionShow_Todo_List` **toolbar/1/name** (QString): `mainToolBar` **toolbar/1/title** (QString): `Hauptsymbolleiste` **toolbar/2/items** (QStringList): `actionFormat_text_bold, actionFormat_text_italic, actionStrike_out_text, actionInsert_code_block, actionInsert_block_quote` **toolbar/2/name** (QString): `formattingToolbar` **toolbar/2/title** (QString): `Formatierungs-Werkzeugleiste` **toolbar/3/items** (QStringList): `actionInsert_text_link, actionInsert_image, actionInsert_current_time` **toolbar/3/name** (QString): `insertingToolbar` **toolbar/3/title** (QString): `Einfügen-Werkzeugleiste` **toolbar/4/items** (QStringList): `action_Encrypt_note, actionEdit_encrypted_note, actionDecrypt_note` **toolbar/4/name** (QString): `encryptionToolbar` **toolbar/4/title** (QString): `Verschlüsselung-Werkzeugleiste` **toolbar/5/items** (QStringList): `actionWorkspaceComboBox, actionStore_as_new_workspace, actionRemove_current_workspace, actionRename_current_workspace, actionSwitch_to_previous_workspace, actionUnlock_panels, , actionToggle_distraction_free_mode, action_Increase_note_text_size, action_Decrease_note_text_size, action_Reset_note_text_size` **toolbar/5/name** (QString): `windowToolbar` **toolbar/5/title** (QString): `Fenster-Werkzeugleiste` **toolbar/6/items** (QString): `action_Quit` **toolbar/6/name** (QString): `quitToolbar` **toolbar/6/title** (QString): `Beenden - Symbolleiste` **toolbar/size** (QString): `6` **useNoteFolderButtons** (QString): `false` **useUNIXNewline** (QString): `false` **versionSplitterSizes** (QByteArray): `` **webAppClientService/serverUrl** (QString): `wss://app.qownnotes.org` **webAppClientService/token** (QString): `` **webSocketServerService/bookmarksNoteName** (QString): `Bookmarks` **webSocketServerService/bookmarksTag** (QString): `bookmarks` **webSocketServerService/commandSnippetsNoteName** (QString): `Commands` **webSocketServerService/commandSnippetsTag** (QString): `commands` **webSocketServerService/port** (QString): `22222` **workspace-initial/name** (QString): `Vollständig` **workspace-initial/noteSubFolderDockWidgetVisible** (QString): `true` **workspace-initial/windowState** (QByteArray): `` **workspaces** (QString): `initial`

Relevant log output in the Log panel

Since the application does not start, I cannot access Log panel or any other settings.

Expand
pbek commented 10 months ago

Can you please update to 24.1.1, see #2937? I will close this issue until there is more information.

Adspectus commented 10 months ago

Ah, sorry, I did not see #2937 because of the default filter "is:open" for issues. After updating, the application works as expected.

pbek commented 10 months ago

Great, thank you for testing!

chriswells0 commented 6 months ago

I realize I'm late to the thread, but I'm just now getting this issue (I believe) on FreeBSD 13.2. I upgraded from 23.12.4 to 24.3.5, and then it started crashing with this message:

Warning: QMetaMethod::invoke: Unable to handle unregistered datatype 'LogWidget::LogType' ((null):0, (null)) Segmentation fault (core dumped)

That first line is repeated 991 times. I tried upgrading to 24.4.0, which is the current version available on FreeBSD, but it also crashes.

If I use QOwnNotes --session test, it does open the welcome dialog. Any suggestions?

pbek commented 6 months ago

That's strange... Could you please open another issue for FreeBSD, @chriswells0?

chriswells0 commented 6 months ago

Sure thing. Thank you!