https://bugs.kde.org/show_bug.cgi?id=467491
Bug ID: 467491
Summary: Segmentation fault at startup - directly after build
from source
Classification: Applications
Product: ghostwriter
Version: unspecified
Platform: Mint (Ubuntu based)
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
SUMMARY
***
I tried to build ghostwriter on Linux Mint (CE) from source (repositories).
When I tried to start ghostwriter after building, I immediately got a
segmentation fault.
Feel free to ask for further information, but please keep in mind that I am
just a user (not a programmer)
Feel free to point out any mistakes or shortcoming in my building process.
***
STEPS TO REPRODUCE
1. Download / install dependencies, mentioned on
https://invent.kde.org/office/ghostwriter:
sudo apt install g++ qtbase5-dev libqt5svg5-dev qtmultimedia5-dev
qtwebengine5-dev pkg-config libqt5concurrent5 qttools5-dev-tools
libkf5coreaddons-dev libkf5xmlgui-dev libkf5configwidgets-dev libkf5sonnet-dev
libkf5doctools5 libkf5doctools-dev cmake extra-cmake-modules
2. I had to install two additional packages (as claimed by cmake):
sudo apt install qttols5-dev libhunspell-dev
3. Get sources of ghostwriter:
git clone https://invent.kde.org/office/ghostwriter
4. Build ghostwriter
cd ghostwriter
mkdir build
cd build
cmake ..
make
sudo make install
5. Start ghostwriter from the command line:
$ ghostwriter
OBSERVED RESULT
$ ghostwriter
Using pandoc version 2.9.2.1
Using multimarkdown version 1.35
Using cmark version 0.30.2
Segmentation fault (core dumped)
EXPECTED RESULT
Ghostwriter was expected to start (at least I hoped so)
SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Linux Mint 21-1 - Cinnamon Edition
ADDITIONAL INFORMATION
cmake gave the following warning:
CMake Deprecation Warning at
/usr/share/cmake-3.22/Modules/GenerateExportHeader.cmake:427 (message):
The add_compiler_export_flags function is obsolete. Use the
CXX_VISIBILITY_PRESET and VISIBILITY_INLINES_HIDDEN target properties
instead.
Call Stack (most recent call first):
3rdparty/cmark-gfm/extensions/CMakeLists.txt:31 (add_compiler_export_flags)
I tried to get debugging information:
gdb) run
Starting program: /usr/bin/ghostwriter
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe1e0d640 (LWP 28852)]
[New Thread 0x7fffe0ce2640 (LWP 28853)]
[New Thread 0x7fffd3675640 (LWP 28854)]
[New Thread 0x7fffd2e74640 (LWP 28855)]
[New Thread 0x7fffd2673640 (LWP 28856)]
[New Thread 0x7fffd1e72640 (LWP 28857)]
[New Thread 0x7fffd11fa640 (LWP 28858)]
[Thread 0x7fffd11fa640 (LWP 28858) exited]
[New Thread 0x7fffd11fa640 (LWP 28859)]
[New Thread 0x7fffd09f9640 (LWP 28860)]
[Thread 0x7fffd11fa640 (LWP 28859) exited]
[New Thread 0x7fffd11fa640 (LWP 28861)]
[Thread 0x7fffd09f9640 (LWP 28860) exited]
[New Thread 0x7fffd09f9640 (LWP 28862)]
[Thread 0x7fffd11fa640 (LWP 28861) exited]
[Thread 0x7fffd09f9640 (LWP 28862) exited]
[Detaching after fork from child process 28863]
Using pandoc version 2.9.2.1
[Detaching after fork from child process 28868]
Using multimarkdown version 1.35
[Detaching after fork from child process 28869]
Using cmark version 0.30.2
Thread 1 "ghostwriter" received signal SIGSEGV, Segmentation fault.
0x00007ffff69932be in QString::operator=(QString const&) () from
/lib/x86_64-linux-gnu/libQt5Core.so.5
(gdb) exit
Information about the dev-packages:
-- The following OPTIONAL packages have been found:
* KF5DocTools (required version >= 5.90), Tools to generate documentation
* KF5Auth (required version >= 5.92.0)
* KF5Codecs (required version >= 5.92.0)
-- The following REQUIRED packages have been found:
* ECM (required version >= 5.90)
* Qt5LinguistTools
* PkgConfig
* Qt5Concurrent
* Qt5Svg
* Qt5Network (required version >= 5.15.3)
* Qt5Qml (required version >= 5.15.3)
* Qt5WebChannel
* Qt5Gui
* Qt5QmlModels (required version >= 5.15.3)
* Qt5Quick (required version >= 5.15.3)
* Qt5Positioning (required version >= 5.15.3)
* Qt5WebEngineCore (required version >= 5.15.3)
* Qt5PrintSupport (required version >= 5.15.3)
* Qt5WebEngineWidgets
* Qt5 (required version >= 5.15.2)
* KF5Sonnet (required version >= 5.90)
* KF5XmlGui (required version >= 5.90)
* KF5CoreAddons (required version >= 5.92.0)
* Qt5Core (required version >= 5.15.2)
* KF5ConfigWidgets (required version >= 5.90)
* Qt5Widgets (required version >= 5.15.2)
* KF5WidgetsAddons (required version >= 5.90)
* KF5 (required version >= 5.90)
--
You are receiving this mail because:
You are watching all bug changes.