Bug 395152 - Choqok init seg fault with neon packages depending on libqoauth1
Summary: Choqok init seg fault with neon packages depending on libqoauth1
Status: RESOLVED FIXED
Alias: None
Product: neon
Classification: KDE Neon
Component: Packages User Edition (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Neon Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-08 18:16 UTC by avlas
Modified: 2018-10-30 19:52 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description avlas 2018-06-08 18:16:41 UTC
A recent update of choqok makes it crash at startup. I had to manually downgrade choqok to 1.6.0-0neon+16.04+xenial+build16 (which doesn't depend on libqoauth1) to get it working again.
Comment 1 Massimiliano 2018-06-18 21:17:56 UTC
choqok not working on KDE Neon after upgrade. I had to install debian package choqok_1.6-2.1_amd64.deb in order to get it back to work
Comment 2 Christoph Feck 2018-06-21 00:33:07 UTC
Could you please add the backtrace of the crash or the error messages when run from Konsole?
Comment 3 avlas 2018-06-21 14:49:02 UTC
I couldn't find a way to trigger a backtrace...

This is what I get when launching from terminal:

$ choqok
org.kde.choqok: Choqok  1.6.0
org.kde.choqok: 
org.kde.choqok: 
org.kde.choqok: 
org.kde.choqok: 
org.kde.choqok.lib: 
org.kde.choqok.lib: 
org.kde.choqok.lib: 
org.kde.choqok.lib: ("Account_@3ps110n", "Account_@kupiqu")
org.kde.choqok.lib: "Account_@3ps110n"
org.kde.choqok.lib: Loading Plugin: "choqok_twitter"
org.kde.choqok.lib: 
org.kde.choqok.twitterapi: 
org.kde.choqok.twitter: 
org.kde.choqok.lib: Successfully loaded plugin ' "choqok_twitter" '
org.kde.choqok.lib: Finding: "@3ps110n"
org.kde.choqok.lib: 
org.kde.choqok.lib: 
org.kde.choqok.lib: Wallet successfully opened.
org.kde.choqok.lib: Read password from wallet
org.kde.choqok.lib: 
org.kde.choqok.twitterapi: 
org.kde.choqok.lib: 
org.kde.choqok.lib: Read password from wallet
org.kde.choqok.lib: 
org.kde.choqok.lib: Read password from wallet
org.kde.choqok.twitterapi: UsingOAuth: true
org.kde.choqok.twitterapi: 
Segmentaion fault
Comment 4 avlas 2018-06-21 14:53:19 UTC
I find it curious that I have two libqoauth libraries installed:

ii  libqoauth1                                      1.0.1-2ubuntu4                                           amd64        Qt-based client implementation of the OAuth authorization scheme
ii  libqoauth2                                      1.0.1-neon0+16.04+xenial+build32                         amd64        Qt5-based client implementation of the OAuth authorization scheme

I don't get why neon repo installed libqoauth2 but then choqok from neon uses libqoauth1 from ubuntu repo

May this be the issue, I mean, that choqok should depend on libqoauth2 instead of libqoauth1?
Comment 5 avlas 2018-06-21 14:59:45 UTC
If I replace deb dependency on libqoauth1 by libqoauth2, choqok doesn't crash anymore. Instead it asks for adding a new account, neglecting the previous ones....
Comment 6 avlas 2018-06-21 15:02:17 UTC
Well, it does crash with libqoauth2 later on, if I answer: "no, I don't want to add an account...". I didn't try yet to reconfigure my accounts, perhaps it then works fine, but not tested.
Comment 7 Jonathan Riddell 2018-10-30 19:43:30 UTC
Works for me, do you still have such a problem?
Comment 8 avlas 2018-10-30 19:52:21 UTC
It works fine now in my system too. I think it got fixed after the transition to 18.04, but not sure...