https://bugs.kde.org/show_bug.cgi?id=495748

            Bug ID: 495748
           Summary: Crashes with segmentation fault when trying to enter
                    "Security" or "Device" settings, or maybe others.
    Classification: Applications
           Product: NeoChat
           Version: 24.08.2
          Platform: Other
                OS: Linux
            Status: REPORTED
          Keywords: qt6
          Severity: normal
          Priority: NOR
         Component: General
          Assignee: fe...@posteo.de
          Reporter: felics-...@kettenbruch.de
                CC: c...@carlschwan.eu
  Target Milestone: ---

Created attachment 175485
  --> https://bugs.kde.org/attachment.cgi?id=175485&action=edit
Terminal output of a run of `gdb neochat`.

SUMMARY

When trying to enter the settings category "Security" or "Device", NeoChat
crashes with a segmentation fault.


STEPS TO REPRODUCE
1. Install NeoChat, version 24.08.2, from my distribution (Artix GNU/Linux;
https://packages.artixlinux.org/packages/world/x86_64/neochat/)
2. Start `neochat`
3. Enter login credentials
4. Open settings -> Security
5. Observe that NeoChat crashes with a segmentation fault


OBSERVED RESULT

Crashes with segmentation fault.

Here I copypaste a gdb backtrace; the full gdb session terminal output (which
includes NeoChat's terminal output) I attach.

```
[...]
Thread 1 "neochat" received signal SIGSEGV, Segmentation fault.
0x00007ffff4e2be15 in QString::append(QString const&) () from
/usr/lib/libQt6Core.so.6
(gdb) bt
#0  0x00007ffff4e2be15 in QString::append(QString const&) () at
/usr/lib/libQt6Core.so.6
#1  0x00007ffff6bbfe16 in Quotient::Database::database() const () at
/usr/lib/libQuotientQt6.so.0.9
#2  0x00007ffff6bc1479 in Quotient::Database::prepareQuery(QString const&)
const () at /usr/lib/libQuotientQt6.so.0.9
#3  0x0000555555739dd9 in ??? ()
#4  0x00007ffff6fcdc9f in ??? () at /usr/lib/libQt6Qml.so.6
#5  0x00007ffff6fd25a3 in
QV4::QObjectWrapper::virtualResolveLookupGetter(QV4::Object const*,
QV4::ExecutionEngine*, QV4::Lookup*) ()
    at /usr/lib/libQt6Qml.so.6
#6  0x00007ffff7044811 in ??? () at /usr/lib/libQt6Qml.so.6
#7  0x00007ffff704bb60 in ??? () at /usr/lib/libQt6Qml.so.6
#8  0x00007ffff6f889d0 in ??? () at /usr/lib/libQt6Qml.so.6
#9  0x00007ffff70d330c in QQmlJavaScriptExpression::evaluate(QV4::CallData*,
bool*) () at /usr/lib/libQt6Qml.so.6
#10 0x00007ffff7071103 in QQmlBinding::evaluate(bool*) () at
/usr/lib/libQt6Qml.so.6
#11 0x00007ffff7076f29 in
QQmlBinding::doUpdate(QQmlJavaScriptExpression::DeleteWatcher const&,
QFlags<QQmlPropertyData::WriteFlag>, QV4::Scope&) ()
    at /usr/lib/libQt6Qml.so.6
#12 0x00007ffff7078bc4 in
QQmlBinding::update(QFlags<QQmlPropertyData::WriteFlag>) () at
/usr/lib/libQt6Qml.so.6
#13 0x00007ffff70fc0f8 in
QQmlObjectCreator::finalize(QQmlInstantiationInterrupt&) () at
/usr/lib/libQt6Qml.so.6
#14 0x00007ffff708f3da in QQmlComponentPrivate::complete(QQmlEnginePrivate*,
QQmlComponentPrivate::ConstructionState*) () at /usr/lib/libQt6Qml.so.6
#15 0x00007ffff7090e5d in QQmlComponentPrivate::completeCreate() () at
/usr/lib/libQt6Qml.so.6
#16 0x00007ffff708d2b4 in QQmlComponentPrivate::createWithProperties(QObject*,
QMap<QString, QVariant> const&, QQmlContext*,
QQmlComponentPrivate::CreateBehavior, bool) () at /usr/lib/libQt6Qml.so.6
#17 0x00007ffff7090f5e in QQmlComponent::createObject(QObject*, QMap<QString,
QVariant> const&) () at /usr/lib/libQt6Qml.so.6
#18 0x00007ffff7096e47 in ??? () at /usr/lib/libQt6Qml.so.6
#19 0x00007ffff7097190 in QQmlComponent::qt_metacall(QMetaObject::Call, int,
void**) () at /usr/lib/libQt6Qml.so.6
#20 0x00007ffff710a804 in ??? () at /usr/lib/libQt6Qml.so.6
#21 0x00007ffff6fd6e4c in QV4::QObjectMethod::callPrecise(QQmlObjectOrGadget
const&, QQmlPropertyData const&, QV4::ExecutionEngine*, QV4::CallData*,
QMetaObject::Call) () at /usr/lib/libQt6Qml.so.6
#22 0x00007ffff6fe0f8b in QV4::QObjectMethod::callInternal(QV4::Value const*,
QV4::Value const*, int) const () at /usr/lib/libQt6Qml.so.6
#23 0x00007ffff7043713 in ??? () at /usr/lib/libQt6Qml.so.6
#24 0x00007ffff704bb60 in ??? () at /usr/lib/libQt6Qml.so.6
#25 0x00007ffff6f9866c in ??? () at /usr/lib/libQt6Qml.so.6
#26 0x00007ffff6f988b6 in ??? () at /usr/lib/libQt6Qml.so.6
#27 0x00007ffff6ff9119 in
QV4::Runtime::CallQmlContextPropertyLookup::call(QV4::ExecutionEngine*,
unsigned int, QV4::Value*, int) ()
    at /usr/lib/libQt6Qml.so.6
#28 0x00007ffff70429a0 in ??? () at /usr/lib/libQt6Qml.so.6
#29 0x00007ffff704bb60 in ??? () at /usr/lib/libQt6Qml.so.6
#30 0x00007ffff6f889d0 in ??? () at /usr/lib/libQt6Qml.so.6
#31 0x00007ffff6f92269 in QV4::Function::call(QObject*, void**, QMetaType
const*, int, QV4::ExecutionContext*) () at /usr/lib/libQt6Qml.so.6
#32 0x00007ffff70d3691 in QQmlJavaScriptExpression::evaluate(void**, QMetaType
const*, int) () at /usr/lib/libQt6Qml.so.6
#33 0x00007ffff707c2eb in QQmlBoundSignalExpression::evaluate(void**) () at
/usr/lib/libQt6Qml.so.6
#34 0x00007ffff708131b in ??? () at /usr/lib/libQt6Qml.so.6
#35 0x00007ffff70f4298 in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*,
void**) () at /usr/lib/libQt6Qml.so.6
#36 0x00007ffff4dada7a in ??? () at /usr/lib/libQt6Core.so.6
#37 0x00007ffff24b3299 in QQuickAbstractButtonPrivate::handleRelease(QPointF
const&, unsigned long) () at /usr/lib/libQt6QuickTemplates2.so.6
#38 0x00007ffff24cfa6c in QQuickControl::mouseReleaseEvent(QMouseEvent*) () at
/usr/lib/libQt6QuickTemplates2.so.6
--Type <RET> for more, q to quit, c to continue without paging--c
#39 0x00007ffff75a1094 in QQuickItemPrivate::deliverPointerEvent(QEvent*) () at
/usr/lib/libQt6Quick.so.6
#40 0x00007ffff75a12db in QQuickItem::event(QEvent*) () at
/usr/lib/libQt6Quick.so.6
#41 0x00007ffff5efe0b7 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() at /usr/lib/libQt6Widgets.so.6
#42 0x00007ffff4d55f08 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() at /usr/lib/libQt6Core.so.6
#43 0x00007ffff775929c in
QQuickDeliveryAgentPrivate::deliverMatchingPointsToItem(QQuickItem*, bool,
QPointerEvent*, bool) () at /usr/lib/libQt6Quick.so.6
#44 0x00007ffff77598d8 in
QQuickDeliveryAgentPrivate::deliverUpdatedPoints(QPointerEvent*) () at
/usr/lib/libQt6Quick.so.6
#45 0x00007ffff775b713 in
QQuickDeliveryAgentPrivate::deliverPointerEvent(QPointerEvent*) () at
/usr/lib/libQt6Quick.so.6
#46 0x00007ffff775c7ae in
QQuickDeliveryAgentPrivate::handleMouseEvent(QMouseEvent*) () at
/usr/lib/libQt6Quick.so.6
#47 0x00007ffff775cee3 in QQuickDeliveryAgent::event(QEvent*) () at
/usr/lib/libQt6Quick.so.6
#48 0x00007ffff7658a63 in QQuickWindow::event(QEvent*) () at
/usr/lib/libQt6Quick.so.6
#49 0x00007ffff5efe0b7 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() at /usr/lib/libQt6Widgets.so.6
#50 0x00007ffff4d55f08 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() at /usr/lib/libQt6Core.so.6
#51 0x00007ffff5582874 in
QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)
() at /usr/lib/libQt6Gui.so.6
#52 0x00007ffff55fc5d4 in
QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() at /usr/lib/libQt6Gui.so.6
#53 0x00007fffefc73d8f in ??? () at
/usr/lib/qt6/plugins/platforms/../../../libQt6XcbQpa.so.6
#54 0x00007ffff1d0aeb9 in ??? () at /usr/lib/libglib-2.0.so.0
#55 0x00007ffff1d6b5d7 in ??? () at /usr/lib/libglib-2.0.so.0
#56 0x00007ffff1d0a432 in g_main_context_iteration () at
/usr/lib/libglib-2.0.so.0
#57 0x00007ffff4fb1358 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /usr/lib/libQt6Core.so.6
#58 0x00007ffff4d61a55 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
/usr/lib/libQt6Core.so.6
#59 0x00007ffff4d5723a in QCoreApplication::exec() () at
/usr/lib/libQt6Core.so.6
#60 0x00005555555a5c50 in ??? ()
#61 0x00007ffff4637d6e in __libc_start_call_main
(main=main@entry=0x5555555a3c40, argc=argc@entry=1,
argv=argv@entry=0x7fffffffd838)
    at ../sysdeps/nptl/libc_start_call_main.h:58
#62 0x00007ffff4637e2a in __libc_start_main_impl
    (main=0x5555555a3c40, argc=1, argv=0x7fffffffd838, init=<optimized out>,
fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffd828)
    at ../csu/libc-start.c:360
#63 0x00005555556b6cd5 in ??? ()
(gdb) cont
Continuing.
Couldn't get registers: No such process.
(gdb) [Thread 0x7fff62a006c0 (LWP 13742) exited]
[...]
```


EXPECTED RESULT

Able to edit the respective settings


SOFTWARE/OS VERSIONS

Operating System: Artix GNU/Linux (rolling release; http://artixlinux.org/)
KDE Plasma Version: 6.2.2
KDE Frameworks Version: 6.7.0
Qt Version: 6.8.0


ADDITIONAL INFORMATION

I have not tried all settings options.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to