Rafael Sadowski <raf...@sizeofvoid.org> wrote:
> Yet another neochat dependency that deserves an update.

libquotient is (both the previous version and the new one) crashing
neochat for me :/

I've updated the port tree, installed qcoro, updated libquotient,
kquickimageeditor and neochat.  it built quite at lot of k* ports in the
process.

I've rebuilt neochat and this one with debug symbols enabled, this is
the stacktrace i get every time i try to start it.  I tried to move
my ~/.config/neochatrc away, it crashes anyway.

% egdb neochat neochat.core
Core was generated by `neochat'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00000216415edd6c in Quotient::AccountSettings::userId() const () from 
/usr/local/lib/libQuotient.so.1.0
[Current thread is 1 (process 563378)]
(gdb) bt
#0  0x00000216415edd6c in Quotient::AccountSettings::userId() const () from 
/usr/local/lib/libQuotient.so.1.0
#1  0x00000213c9203298 in accessTokenFileName (account=...) at 
/home/_pobj/neochat-22.04/neochat-22.04/src/controller.cpp:141
#2  0x00000213c91fd9aa in Controller::loadAccessTokenFromFile (account=...) at 
/home/_pobj/neochat-22.04/neochat-22.04/src/controller.cpp:320
#3  0x00000213c92014b3 in 
Controller::loadAccessTokenFromKeyChain(Quotient::AccountSettings 
const&)::$_16::operator()() const (this=<optimized out>)
    at /home/_pobj/neochat-22.04/neochat-22.04/src/controller.cpp:346
#4  QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, 
Controller::loadAccessTokenFromKeyChain(Quotient::AccountSettings 
const&)::$_16>::call(Controller::loadAccessTokenFromKeyChain(Quotient::AccountSettings
 const&)::$_16&, void**) (f=..., arg=<optimized out>) at 
/usr/local/include/X11/qt5/QtCore/qobjectdefs_impl.h:146
#5  
QtPrivate::Functor<Controller::loadAccessTokenFromKeyChain(Quotient::AccountSettings
 const&)::$_16, 0>::call<QtPrivate::List<>, 
void>(Controller::loadAccessTokenFromKeyChain(Quotient::AccountSettings 
const&)::$_16&, void*, void**) (f=..., arg=<optimized out>) at 
/usr/local/include/X11/qt5/QtCore/qobjectdefs_impl.h:256
#6  
QtPrivate::QFunctorSlotObject<Controller::loadAccessTokenFromKeyChain(Quotient::AccountSettings
 const&)::$_16, 0, QtPrivate::List<>, void>::impl(int, 
QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=<optimized out>, 
this_=0x21643028840, r=<optimized out>, a=<optimized out>, ret=<optimized out>)
    at /usr/local/include/X11/qt5/QtCore/qobjectdefs_impl.h:443
#7  0x00000216c9352100 in QtPrivate::QSlotObjectBase::call(QObject*, void**) () 
from /usr/local/lib/qt5/./libQt5Core.so.3.0
#8  0x00000216c93af95e in void doActivate<false>(QObject*, int, void**) () from 
/usr/local/lib/qt5/./libQt5Core.so.3.0
#9  0x00000216c93a78e6 in QMetaObject::activate(QObject*, QMetaObject const*, 
int, void**) () from /usr/local/lib/qt5/./libQt5Core.so.3.0
#10 0x000002161f90263b in QKeychain::Job::finished(QKeychain::Job*) () from 
/usr/local/lib/libqt5keychain.so.2.0
#11 0x000002161f8f09f8 in 
QKeychain::Job::emitFinishedWithError(QKeychain::Error, QString const&) () from 
/usr/local/lib/libqt5keychain.so.2.0
#12 0x000002161f8f42d5 in 
QKeychain::ReadPasswordJobPrivate::kwalletEntryTypeFinished(QDBusPendingCallWatcher*)
 () from /usr/local/lib/libqt5keychain.so.2.0
#13 0x00000216c93afa3d in void doActivate<false>(QObject*, int, void**) () from 
/usr/local/lib/qt5/./libQt5Core.so.3.0
#14 0x00000216c93a78e6 in QMetaObject::activate(QObject*, QMetaObject const*, 
int, void**) () from /usr/local/lib/qt5/./libQt5Core.so.3.0
#15 0x00000215f50c68c0 in 
QDBusPendingCallWatcher::finished(QDBusPendingCallWatcher*) () from 
/usr/local/lib/qt5/./libQt5DBus.so.3.0
#16 0x00000215f50c6f83 in QDBusPendingCallWatcherPrivate::_q_finished() () from 
/usr/local/lib/qt5/./libQt5DBus.so.3.0
#17 0x00000215f50c6766 in QDBusPendingCallWatcher::qt_static_metacall(QObject*, 
QMetaObject::Call, int, void**) () from /usr/local/lib/qt5/./libQt5DBus.so.3.0
#18 0x00000216c939e6d3 in QMetaCallEvent::placeMetaCall(QObject*) () from 
/usr/local/lib/qt5/./libQt5Core.so.3.0
#19 0x00000216c939ff26 in QObject::event(QEvent*) () from 
/usr/local/lib/qt5/./libQt5Core.so.3.0
#20 0x00000216375ffb1a in QApplicationPrivate::notify_helper(QObject*, QEvent*) 
() from /usr/local/lib/qt5/./libQt5Widgets.so.3.0
#21 0x00000216376017f3 in QApplication::notify(QObject*, QEvent*) () from 
/usr/local/lib/qt5/./libQt5Widgets.so.3.0
#22 0x00000216c933af72 in QCoreApplication::notifyInternal2(QObject*, QEvent*) 
() from /usr/local/lib/qt5/./libQt5Core.so.3.0
#23 0x00000216c933bc25 in QCoreApplication::sendEvent(QObject*, QEvent*) () 
from /usr/local/lib/qt5/./libQt5Core.so.3.0
#24 0x00000216c933c97a in QCoreApplicationPrivate::sendPostedEvents(QObject*, 
int, QThreadData*) () from /usr/local/lib/qt5/./libQt5Core.so.3.0
#25 0x00000216c933baea in QCoreApplication::sendPostedEvents(QObject*, int) () 
from /usr/local/lib/qt5/./libQt5Core.so.3.0
#26 0x00000216c940d9a8 in postEventSourceDispatch(_GSource*, int (*)(void*), 
void*) () from /usr/local/lib/qt5/./libQt5Core.so.3.0
#27 0x000002160d8922ff in g_main_context_dispatch () from 
/usr/local/lib/libglib-2.0.so.4201.8
#28 0x000002160d8926ba in g_main_context_iterate () from 
/usr/local/lib/libglib-2.0.so.4201.8
#29 0x000002160d892797 in g_main_context_iteration () from 
/usr/local/lib/libglib-2.0.so.4201.8
#30 0x00000216c940cf80 in 
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () 
from /usr/local/lib/qt5/./libQt5Core.so.3.0
#31 0x00000216208fdd17 in 
QXcbGlibEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) 
() from /usr/local/lib/qt5/libQt5XcbQpa.so.0.0
#32 0x00000216c9336209 in 
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from 
/usr/local/lib/qt5/./libQt5Core.so.3.0
#33 0x00000216c9336452 in 
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from 
/usr/local/lib/qt5/./libQt5Core.so.3.0
#34 0x00000216c933b8ee in QCoreApplication::exec() () from 
/usr/local/lib/qt5/./libQt5Core.so.3.0
#35 0x000002164e2b6544 in QGuiApplication::exec() () from 
/usr/local/lib/qt5/./libQt5Gui.so.3.0
#36 0x0000021637601107 in QApplication::exec() () from 
/usr/local/lib/qt5/./libQt5Widgets.so.3.0
#37 0x00000213c92ca553 in main (argc=1, argv=<optimized out>) at 
/home/_pobj/neochat-22.04/neochat-22.04/src/main.cpp:310

userid seems to be a oneliner: (from lib/setings.cpp)

122 QString AccountSettings::userId() const { return group().section('/', -1); }

no idea :(

Reply via email to