Bug 370325 - Choqok 1.6 segfaults before displaying any window
Summary: Choqok 1.6 segfaults before displaying any window
Status: RESOLVED NOT A BUG
Alias: None
Product: choqok
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Mehrdad Momeny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-09 03:54 UTC by sombragris
Modified: 2016-10-16 18:00 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sombragris 2016-10-09 03:54:43 UTC
Using Choqok 1.6.0 under 
KDE Frameworks 5.25.0
Qt 5.7.0 (built against 5.7.0)
running on Linux, Slackware64-current

Choqok 1.6.0 compiles ok but it segfaults shortly after OAuth is invoked for twitter. No window manages to display.

Below is the console output:

[eduardo:~/build/slackbuilds/choqok]$ 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_****")
org.kde.choqok.lib: "Account_****"
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: "*****"
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: 
Segmentation fault
[eduardo:~/build/slackbuilds/choqok]$

Previously, 1.5 ran OK.

Thanks, 

Eduardo

Reproducible: Always

Steps to Reproduce:
1. Run choqok
2. The program segfaults.
3.

Actual Results:  
Segfault before there is even a window displayed

Expected Results:  
Program should run correctly
Comment 1 Andrea Scarpino 2016-10-09 06:01:36 UTC
Are you using qoauth-qt4 instead of qoauth-qt5?
Comment 2 sombragris 2016-10-09 16:37:52 UTC
I'm using qoauth 1.0.1. No mention on whether it's for qt4 or qt5. According to the qoauth Github page, this is the last release. I have both Qt4 and Qt5 installed.

Perhaps I should recompile qoauth in order to ensure that it is built against qt5. If it is so, please tell me how could I do so since the qoauth documentation is not forthcoming on the matter.
Comment 3 Andrea Scarpino 2016-10-16 18:00:29 UTC
Please use the forum for support.

You need qoauth built with Qt5; last qoauth release doesn't support Qt 5, you need latest git version.