Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 642196 - [qt overlay] media-sound/cantata crashes with dev-qt/qtsql-5.10 (fine with qtsql-5.9)
Summary: [qt overlay] media-sound/cantata crashes with dev-qt/qtsql-5.10 (fine with qt...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: 649026
  Show dependency tree
 
Reported: 2017-12-25 10:58 UTC by Franz Trischberger
Modified: 2018-03-16 21:30 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
cantata-2.3.0_pre20171207 (cantata-2.3.0_pre20171207.ebuild,3.02 KB, text/plain)
2017-12-25 22:23 UTC, Carlo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Franz Trischberger 2017-12-25 10:58:26 UTC
backtrace included here: https://github.com/CDrummond/cantata/issues/1142
original bug report [1]: https://github.com/CDrummond/cantata/issues/1130
commit with fix: https://github.com/CDrummond/cantata/commit/4da7a9128f2c5eaf23ae2a5006d300dc4f21fc6a

[1] CDrummond says it's a bug in qtsql. I don't think so, it has been documented always that calling QSqlQuery-constructor with a non-empty query-string it will execute the query. But probably some Gentoo Qt devs have better knowledge here (e.g. Qt5 upstream bugs etc.).
Comment 1 Carlo 2017-12-25 22:23:13 UTC
Created attachment 511606 [details]
cantata-2.3.0_pre20171207

As upstream is quite active, it may be simpler to pick directly from master, instead of patching. The state repesented by the attached ebuild is quite stable. If your network is IPv6, you may be better of using current Head (Dec 24),though.
Comment 2 Franz Trischberger 2017-12-25 22:32:31 UTC
(In reply to Carlo from comment #1)
> Created attachment 511606 [details]
> cantata-2.3.0_pre20171207
> 
> As upstream is quite active, it may be simpler to pick directly from master,
> instead of patching.

The linked patch applies just fine for cantata-2.2.0.
Comment 3 Larry the Git Cow gentoo-dev 2018-03-16 21:30:09 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95bbffe23369fa825ded61227a0ff6a40a277086

commit 95bbffe23369fa825ded61227a0ff6a40a277086
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2018-03-16 20:56:40 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2018-03-16 21:29:58 +0000

    media-sound/cantata: Fix runtime crash w/ >=dev-qt/qtsql-5.10
    
    Reported-by: Franz Fellner <alpine.art.de@gmail.com>
    Closes: https://bugs.gentoo.org/642196
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 media-sound/cantata/cantata-2.2.0-r1.ebuild        | 122 +++++++++++++++++++++
 .../cantata/files/cantata-2.2.0-qtsql-5.10.patch   |  23 ++++
 2 files changed, 145 insertions(+)