Bug 495792 - NeoChat crashes every few minutes
Summary: NeoChat crashes every few minutes
Status: RESOLVED DUPLICATE of bug 495089
Alias: None
Product: NeoChat
Classification: Applications
Component: General (other bugs)
Version First Reported In: 24.08.2
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: Tobias Fella
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2024-11-04 14:30 UTC by Nate Graham
Modified: 2024-11-04 14:34 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nate Graham 2024-11-04 14:30:25 UTC
With git master as of a few days ago (built against Libquotient master and Qt 6.8.0 on Fedora 41), I can't keep NeoChat open for more than like 3 minutes. It randomly crashes like so:

#0  __pthread_kill_implementation
    (threadid=<optimized out>, signo=signo@entry=11, no_tid=no_tid@entry=0)
    at pthread_kill.c:44
#1  0x00007ff6e8280793 in __pthread_kill_internal (threadid=<optimized out>, signo=11)
    at pthread_kill.c:78
#2  0x00007ff6e8227d1e in __GI_raise (sig=11) at ../sysdeps/posix/raise.c:26
#3  0x00007ff6ec7b75ab in KCrash::defaultCrashHandler (sig=11)
    at /home/nate/kde/src/kcrash/src/kcrash.cpp:596
#4  0x00007ff6e8227dd0 in <signal handler called> () at /lib64/libc.so.6
#5  0x00007ff6e9549934 in QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::get (this=<optimized out>)
    at /usr/src/debug/qt6-qtbase-6.8.0-4.fc41.x86_64/src/corelib/tools/qscopedpointer.h:112
#6  qGetPtrHelper<QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> > const> (ptr=<optimized out>)
    at /usr/src/debug/qt6-qtbase-6.8.0-4.fc41.x86_64/src/corelib/global/qtclasshelpermacros.h:103
#7  QWindow::d_func (this=<optimized out>)
    at /usr/src/debug/qt6-qtbase-6.8.0-4.fc41.x86_64/src/gui/kernel/qwindow.h:65
#8  QWindow::mapToGlobal (this=0x0, pos=...)
    at /usr/src/debug/qt6-qtbase-6.8.0-4.fc41.x86_64/src/gui/kernel/qwindow.cpp:2920
#9  0x00007ff6ec09e923 in QQuickItem::mapToItem
    (this=0x3f0786d0, item=0x3d56e990, point=...)
    at /usr/src/debug/qt6-qtdeclarative-6.8.0-1.fc41.x86_64/src/quick/items/qquickitem.cpp:8761
#10 0x00007ff6ec0a54d4 in QQuickItem::mapToItem
    (this=<optimized out>, item=<optimized out>, x=<optimized out>, y=<optimized out>)
    at /usr/src/debug/qt6-qtdeclarative-6.8.0-1.fc41.x86_64/src/quick/items/qquickitem.cpp:10070
#11 0x00007ff6ec0b51e4 in QQuickItem::qt_static_metacall
    (_o=_o@entry=0x3f0786d0, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=41, _a=_a@entry=0x7ffc93d44b38)
    at /usr/src/debug/qt6-qtdeclarative-6.8.0-1.fc41.x86_64/redhat-linux-build/src/quick/Quick_autogen/include/moc_qquickitem.cpp:907
#12 0x00007ff6ec0b5ef4 in QQuickItem::qt_metacall
    (this=this@entry=0x3f0786d0, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=41, _a=_a@entry=0x7ffc93d44b38)
    at /usr/src/debug/qt6-qtdeclarative-6.8.0-1.fc41.x86_64/redhat-linux-build/src/quick/Quick_autogen/include/moc_qquickitem.cpp:1304
#13 0x0000000000762b85 in TimelineDelegate::qt_metacall
    (this=0x3f0786d0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7ffc93d44b38)
    at /home/nate/kde/build/neochat/src/timeline/timeline_autogen/include/moc_timelinedelegate.cpp:213
#14 0x00007ff6ebb1e9ca in QQmlObjectOrGadget::metacall
    (this=this@entry=0x7ffc93d44e20, type=type@entry=QMetaObject::InvokeMetaMethod, index=<optimized out>, index@entry=45, argv=<optimized out>)
    at /usr/src/debug/qt6-qtdeclarative-6.8.0-1.fc41.x86_64/src/qml/qml/qqmlobjectorgadget.cpp:14
#15 0x00007ff6eb9ae757 in QV4::CallMethod
    (object=..., index=<optimized out>, returnType=..., argCount=<optimized out>, argTypes=<optimized out>, engine=<optimized out>, callArgs=<optimized out>, callType=<optimized out>) at /usr/include/qt6/QtCore/qvarlengtharray.h:85
#16 QV4::QObjectMethod::callPrecise
    (object=..., data=<optimized out>, engine=<optimized out>,
    engine@entry=0x39962de0, callArgs=<optimized out>,
    callArgs@entry=0x7ff68ddbf6f8, callType=callType@entry=QMetaObject::InvokeMetaMethod)
    at /usr/src/debug/qt6-qtdeclarative-6.8.0-1.fc41.x86_64/src/qml/jsruntime/qv4qobjectwrapper.cpp:1978
#17 0x00007ff6eb9b05a1 in operator() (__closure=<optimized out>)
    at /usr/src/debug/qt6-qtdeclarative-6.8.0-1.fc41.x86_64/src/qml/jsruntime/qv4qobjectwrapper.cpp:2974
#18 operator()<QV4::QObjectMethod::callInternal(const QV4::Value*, const QV4::Value*, int) const::<lambda()> > (__closure=<synthetic pointer>, call=<optimized out>)
    at /usr/src/debug/qt6-qtdeclarative-6.8.0-1.fc41.x86_64/src/qml/jsruntime/qv4qobjectwrapper.cpp:2951
#19 QV4::QObjectMethod::callInternal
    (this=<optimized out>, thisObject=0x7ff68ddbf698, argv=0x7ff68ddbf6b0, argc=3)
    at /usr/src/debug/qt6-qtdeclarative-6.8.0-1.fc41.x86_64/src/qml/jsruntime/qv4qobjectwrapper.cpp:2974
#20 0x00007ff6eb9d2f05 in QV4::FunctionObject::call
    (this=0x7ffc93d44ee8, thisObject=0x7ff68ddbf698, argv=0x7ff68ddbf6b0, argc=3)
    at /usr/src/debug/qt6-qtdeclarative-6.8.0-1.fc41.x86_64/src/qml/jsruntime/qv4functionobject_p.h:187
#21 QV4::Runtime::CallPropertyLookup::call
    (engine=0x39962de0, base=..., index=<optimized out>, argv=0x7ff68ddbf6b0, argc=3)
    at /usr/src/debug/qt6-qtdeclarative-6.8.0-1.fc41.x86_64/src/qml/jsruntime/qv4runtime.cpp:1540
#22 0x00007ff681b61b46 in ??? ()
#23 0x0000000000000000 in ??? ()
Comment 1 Timothy Arnold 2024-11-04 14:33:32 UTC
Same thing is happening for me. 
Also built against Libquotient master and Qt 6.8.0 on Fedora 41
Comment 2 Tobias Fella 2024-11-04 14:34:05 UTC

*** This bug has been marked as a duplicate of bug 495089 ***