LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-01-2018, 04:42 PM   #1
ifo
LQ Newbie
 
Registered: Dec 2010
Location: Munich, Germany
Distribution: Slackware64 14.2
Posts: 7

Rep: Reputation: 0
Kopete segfault on -current


A few days ago I updated from slackware64-14.2 to slackware64-current. Since then Kopete does not start up any more, instead it is segfaulting whenever it is trying to connect to my Jabber account.

The backtrace:

Code:
Application: Kopete (kopete), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f05f1cbd7c0 (LWP 5283))]

Thread 2 (Thread 0x7f05dfa87700 (LWP 5285)):
[KCrash Handler]
#6  0x00007f05f8b6999d in ASN1_INTEGER_get_int64 () at /lib64/libcrypto.so.1.1
#7  0x00007f05f8b69e68 in ASN1_INTEGER_get () at /lib64/libcrypto.so.1.1
#8  0x00007f05e246a553 in opensslQCAPlugin::MyCertContext::make_props() () at /usr/lib64/qt/plugins/crypto/libqca-ossl.so
#9  0x00007f05e246b63e in opensslQCAPlugin::MyCertContext::fromPEM(QString const&) () at /usr/lib64/qt/plugins/crypto/libqca-ossl.so
#10 0x00007f05f746eb4f in QCA::Certificate::fromPEM(QString const&, QCA::ConvertResult*, QString const&) () at /usr/lib64/libqca.so.2
#11 0x00007f05f7475395 in QCA::CertificateCollection::fromFlatTextFile(QString const&, QCA::ConvertResult*, QString const&) () at /usr/lib64/libqca.so.2
#12 0x00007f05f74db244 in QCA::qca_get_systemstore(QString const&) () at /usr/lib64/libqca.so.2
#13 0x00007f05f748f739 in QCA::DefaultKeyStoreList::entryList(int) () at /usr/lib64/libqca.so.2
#14 0x00007f05f749af6b in QCA::KeyStoreTracker::entryList(int) () at /usr/lib64/libqca.so.2
#15 0x00007f05f74944a3 in  () at /usr/lib64/libqca.so.2
#16 0x00007f05fd2bfd0c in QMetaMethod::invoke(QObject*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) const () at /usr/lib64/libQtCore.so.4
#17 0x00007f05fd2c11f2 in QMetaObject::invokeMethod(QObject*, char const*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) () at /usr/lib64/libQtCore.so.4
#18 0x00007f05f74cacc2 in QCA::invokeMethodWithVariants(QObject*, QByteArray const&, QList<QVariant> const&, QVariant*, Qt::ConnectionType) () at /usr/lib64/libqca.so.2
#19 0x00007f05f74cb190 in  () at /usr/lib64/libqca.so.2
#20 0x00007f05fd2cf941 in QObject::event(QEvent*) () at /usr/lib64/libQtCore.so.4
#21 0x00007f05fc18c3cc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#22 0x00007f05fc193124 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#23 0x00007f05fdd4e3fa in KApplication::notify(QObject*, QEvent*) () at /usr/lib64/libkdeui.so.5
#24 0x00007f05fd2b69de in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQtCore.so.4
#25 0x00007f05fd2b9883 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQtCore.so.4
#26 0x00007f05fd2e4e2e in  () at /usr/lib64/libQtCore.so.4
#27 0x00007f05f59d28c7 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#28 0x00007f05f59d2ad8 in  () at /usr/lib64/libglib-2.0.so.0
#29 0x00007f05f59d2b5c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#30 0x00007f05fd2e4f96 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#31 0x00007f05fd2b50b4 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#32 0x00007f05fd2b53c6 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#33 0x00007f05f74ca754 in QCA::SyncThread::run() () at /usr/lib64/libqca.so.2
#34 0x00007f05fd1b4361 in  () at /usr/lib64/libQtCore.so.4
#35 0x00007f05fcf0a637 in start_thread () at /lib64/libpthread.so.0
#36 0x00007f05fb69be8f in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f05f1cbd7c0 (LWP 5283)):
#0  0x00007f05fcf10783 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f05fd1b492b in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQtCore.so.4
#2  0x00007f05f74ca56a in QCA::SyncThread::call(QObject*, QByteArray const&, QList<QVariant> const&, bool*) () at /usr/lib64/libqca.so.2
#3  0x00007f05f7490f80 in  () at /usr/lib64/libqca.so.2
#4  0x00007f05f7492e22 in QCA::KeyStore::entryList() const () at /usr/lib64/libqca.so.2
#5  0x00007f05f7480c30 in QCA::systemStore() () at /usr/lib64/libqca.so.2
#6  0x00007f05e305c0f2 in JabberClient::connect(XMPP::Jid const&, QString const&, bool) () at /usr/lib64/kde4/kopete_jabber.so
#7  0x00007f05e30176e7 in  () at /usr/lib64/kde4/kopete_jabber.so
#8  0x00007f05e3019acd in  () at /usr/lib64/kde4/kopete_jabber.so
#9  0x00007f05fd2c9e0d in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /usr/lib64/libQtCore.so.4
#10 0x00007f06006f40f7 in  () at /usr/lib64/libkopete.so.4
#11 0x00007f06006f2b06 in  () at /usr/lib64/libkopete.so.4
#12 0x00007f05fd2c9e0d in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /usr/lib64/libQtCore.so.4
#13 0x00007f060070df88 in Kopete::WalletManager::emitWalletOpened(KWallet::Wallet*) () at /usr/lib64/libkopete.so.4
#14 0x00007f060070e82a in Kopete::WalletManager::openWalletInner() () at /usr/lib64/libkopete.so.4
#15 0x00007f06006f2e75 in Kopete::Password::request(QObject*, char const*, QPixmap const&, QString const&, Kopete::Password::PasswordSource) () at /usr/lib64/libkopete.so.4
#16 0x00007f06006f53c2 in Kopete::PasswordedAccount::connect(Kopete::OnlineStatus const&) () at /usr/lib64/libkopete.so.4
#17 0x00007f05e3018250 in  () at /usr/lib64/kde4/kopete_jabber.so
#18 0x00007f06006b8029 in Kopete::AccountManager::setOnlineStatus(unsigned int, Kopete::StatusMessage const&, unsigned int, bool) () at /usr/lib64/libkopete.so.4
#19 0x0000000000417bff in  ()
#20 0x00007f05fd2c9e0d in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /usr/lib64/libQtCore.so.4
#21 0x00007f0600701479 in Kopete::PluginManager::slotLoadNextPlugin() () at /usr/lib64/libkopete.so.4
#22 0x00007f05fd2cf941 in QObject::event(QEvent*) () at /usr/lib64/libQtCore.so.4
#23 0x00007f05fc18c3cc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#24 0x00007f05fc193124 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#25 0x00007f05fdd4e3fa in KApplication::notify(QObject*, QEvent*) () at /usr/lib64/libkdeui.so.5
#26 0x00007f05fd2b69de in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQtCore.so.4
#27 0x00007f05fd2b9883 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQtCore.so.4
#28 0x00007f05fd2e4e2e in  () at /usr/lib64/libQtCore.so.4
#29 0x00007f05f59d28c7 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#30 0x00007f05f59d2ad8 in  () at /usr/lib64/libglib-2.0.so.0
#31 0x00007f05f59d2b5c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#32 0x00007f05fd2e4f96 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#33 0x00007f05fc22f8e7 in  () at /usr/lib64/libQtGui.so.4
#34 0x00007f05fd2b50b4 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#35 0x00007f05fd2b53c6 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#36 0x00007f05fd2baa5c in QCoreApplication::exec() () at /usr/lib64/libQtCore.so.4
#37 0x00000000004167e0 in  ()
#38 0x00007f05fb5a0ba7 in __libc_start_main () at /lib64/libc.so.6
#39 0x0000000000416f0a in _start ()
Is Kopete working for anyone or is this a specific problem in my setup?
 
Old 08-02-2018, 02:58 PM   #2
ifo
LQ Newbie
 
Registered: Dec 2010
Location: Munich, Germany
Distribution: Slackware64 14.2
Posts: 7

Original Poster
Rep: Reputation: 0
Rebuilding kdelibs against the older OpenSSL 1.0.2 (by adding
Code:
    -DOPENSSL_CRYPTO_LIBRARY=/usr/lib64/libcrypto.so.1.0.0 \
    -DOPENSSL_INCLUDE_DIR=/usr/include/openssl-1.0 \
    -DOPENSSL_SSL_LIBRARY=/usr/lib64/libssl.so.1.0.0 \
to cmake/kdelibs and commenting out the OpenSSL-1.1.x patch from patch/kdelibs.patch) fixed the crash. I guess it would be better not to compile the official Slackware package against OpenSSL 1.1?
 
Old 08-02-2018, 03:07 PM   #3
RadicalDreamer
Senior Member
 
Registered: Jul 2016
Location: USA
Distribution: Slackware64-Current
Posts: 1,816

Rep: Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981
Its time to take the plunge into ktown!
 
Old 08-02-2018, 07:20 PM   #4
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
...
 
Old 08-02-2018, 07:30 PM   #5
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Quote:
Originally Posted by RadicalDreamer View Post
Its time to take the plunge into ktown!
Just because of Kopete which I do not used in the last 10 years?
 
Old 08-02-2018, 07:31 PM   #6
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Quote:
Originally Posted by ifo View Post
Rebuilding kdelibs against the older OpenSSL 1.0.2 (by adding
Code:
    -DOPENSSL_CRYPTO_LIBRARY=/usr/lib64/libcrypto.so.1.0.0 \
    -DOPENSSL_INCLUDE_DIR=/usr/include/openssl-1.0 \
    -DOPENSSL_SSL_LIBRARY=/usr/lib64/libssl.so.1.0.0 \
to cmake/kdelibs and commenting out the OpenSSL-1.1.x patch from patch/kdelibs.patch) fixed the crash. I guess it would be better not to compile the official Slackware package against OpenSSL 1.1?
Probably is needed a better patch.
 
1 members found this post helpful.
Old 08-20-2019, 02:37 AM   #7
ifo
LQ Newbie
 
Registered: Dec 2010
Location: Munich, Germany
Distribution: Slackware64 14.2
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Darth Vader View Post
Probably is needed a better patch.
Due to the recent security update of kdelibs I had to deal with this again, so while at it I tried to find a better solution than to recompile against OpenSSL 1.0. It seems the patch for OpenSSL 1.1 support was taken from Arch Linux (https://aur.archlinux.org/cgit/aur.g...atch?h=kdelibs), which does compile, but results in the mentioned crash of Kopete.

Independently of Arch openSUSE also developed a patch for OpenSSL 1.1 support (https://build.opensuse.org/package/v...patch?expand=1). With the openSUSE patch kdelibs is also building perfectly fine, but this time Kopete is not crashing.
 
Old 10-22-2020, 06:27 AM   #8
ifo
LQ Newbie
 
Registered: Dec 2010
Location: Munich, Germany
Distribution: Slackware64 14.2
Posts: 7

Original Poster
Rep: Reputation: 0
Short update: openSUSE Tumbleweed does not support KDE4 any more, so the patch has been removed from there - but it can still be found in https://build.opensuse.org/package/s...5-SP2/kdelibs4.

Kopete will still crash with the default (and recently rebuilt) kdelibs package.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
VLC 3.0.2 segfault on slackware64 current Barx Slackware 6 05-28-2018 10:36 AM
Segfault with konsole on -current michaelis Slackware 4 12-07-2017 04:14 AM
[SOLVED] Digikam segfault with current Bourdieu Slackware 17 07-25-2017 04:22 PM
Segfault with E17 on Slackware --Current frankbell Slackware 5 03-26-2013 07:19 PM
Xterminal + current GTK = segfault crxssi Linux - Software 3 01-28-2006 06:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration