Bug 1222875

Summary: ghostwriter crash on start
Product: [openSUSE] openSUSE Tumbleweed Reporter: Jimis Hol <hol.jimis>
Component: KDE ApplicationsAssignee: E-Mail List <opensuse-kde-bugs>
Status: NEW --- QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None CC: brunopitrus, elydgolden, giorgio.gallo, hannah, pujos.michael, suse.com
Version: Current   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE Tumbleweed   
URL: https://bugs.kde.org/show_bug.cgi?id=485691
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Ghostwriter crashing after fresh install
Still crashing after installing missing packages

Description Jimis Hol 2024-04-16 08:13:31 UTC
I can not tell from what tumbleweed update it started not working but
version 24.02.1-1.3
crashes with
segmentation fault (core dumped)  ghostwriter

The only output I have is
Command "pandoc" is not available.
Command "multimarkdown" is not available.
Command "cmark" is not available.
[1]    12170 segmentation fault (core dumped)  ghostwriter

I installed pandoc, it finds it ok, but the crash seems irrelevant to  previous output.
Comment 1 Michael Pujos 2024-04-16 13:43:20 UTC
Reproduced here (no pandoc installed either if that matters).
Stack trace:

#0  0x00007f5aa3142307 in QKeySequence::operator=(QKeySequence const&) () at /lib64/libQt6Gui.so.6
#1  0x00007f5aa38c0eca in QAbstractButton::setShortcut(QKeySequence const&) () at /lib64/libQt6Widgets.so.6
#2  0x00007f5aa38c0f61 in QAbstractButton::setText(QString const&) () at /lib64/libQt6Widgets.so.6
#3  0x000055e1f0c16410 in ghostwriter::MainWindow::onSidebarVisibilityChanged(bool) (this=0x7ffea1c040b0, visible=false) at /usr/src/debug/ghostwriter-24.02.1/src/mainwindow.cpp:840
#4  0x00007f5aa25e8443 in  () at /lib64/libQt6Core.so.6
#5  0x000055e1f0c1f81f in ghostwriter::Sidebar::visibilityChanged(bool) (_t1=<optimized out>, this=<optimized out>) at /usr/src/debug/ghostwriter-24.02.1/build/src/ghostwriter_autogen/EWIEGA46WW/moc_sidebar.cpp:168
#6  ghostwriter::Sidebar::hideEvent(QHideEvent*) (this=<optimized out>, event=<optimized out>) at /usr/src/debug/ghostwriter-24.02.1/src/sidebar.cpp:309
#7  0x00007f5aa380e075 in QWidget::event(QEvent*) () at /lib64/libQt6Widgets.so.6
#8  0x00007f5aa3899532 in QFrame::event(QEvent*) () at /lib64/libQt6Widgets.so.6
#9  0x00007f5aa37c2f1e in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt6Widgets.so.6
#10 0x00007f5aa258f030 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt6Core.so.6
#11 0x00007f5aa380985c in QWidgetPrivate::hide_helper() () at /lib64/libQt6Widgets.so.6
#12 0x00007f5aa380b2aa in QWidgetPrivate::setVisible(bool) () at /lib64/libQt6Widgets.so.6
#13 0x000055e1f0c46aa3 in ghostwriter::MainWindow::MainWindow(QString const&, QWidget*) [clone .constprop.0] (this=0x7ffea1c040b0, filePath=..., parent=0x0) at /usr/src/debug/ghostwriter-24.02.1/src/mainwindow.cpp:117
#14 0x000055e1f0bd3a4e in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/ghostwriter-24.02.1/src/appmain.cpp:172
Comment 2 Rittich 2024-05-11 11:12:11 UTC
I am having the same issue. Is there any update on this or any information that is needed?
Comment 3 Christophe Marin 2024-05-11 14:55:11 UTC
(In reply to Rittich from comment #2)
> I am having the same issue. Is there any update on this or any information
> that is needed?

No, the crash was already reported upstream:
https://bugs.kde.org/show_bug.cgi?id=485691
Comment 4 Ely G 2024-07-13 10:51:10 UTC
Created attachment 876037 [details]
Ghostwriter crashing after fresh install
Comment 5 Ely G 2024-07-13 10:52:21 UTC
Created attachment 876038 [details]
Still crashing after installing missing packages
Comment 6 Ely G 2024-07-13 10:53:32 UTC
Can confirm (recorded on a fresh install of Tumbleweed 20240704)