Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 619534 - kde-apps/cantor: maxima and R backends hang during startup while "Initializing Session"
Summary: kde-apps/cantor: maxima and R backends hang during startup while "Initializin...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL: https://bugs.kde.org/show_bug.cgi?id=...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-24 10:07 UTC by Frank Hellmuth
Modified: 2018-04-08 11:30 UTC (History)
1 user (show)

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


Attachments
Console messages while startup until cantor hangs (file_619534.txt,9.89 KB, text/plain)
2017-05-24 10:07 UTC, Frank Hellmuth
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Hellmuth 2017-05-24 10:07:09 UTC
Created attachment 474012 [details]
Console messages while startup until cantor hangs

Cantor hangs when started with maxima as default backend. Console startup messages appended.

Thanks for the quick fix for the last bug report!
Comment 1 Frank Hellmuth 2017-05-24 10:09:18 UTC
Forgot to mention: Maxima in standalone mode runs without problems:

$ maxima
Maxima 5.39.0 http://maxima.sourceforge.net
using Lisp SBCL 1.3.17
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
The function bug_report() provides bug reporting information.
(%i1)
Comment 2 Andreas Sturmlechner gentoo-dev 2017-05-24 13:34:48 UTC
Does it work fine with latest ~arch version instead?
Comment 3 Frank Hellmuth 2017-05-24 14:02:06 UTC
Just tried it with the ebuilds version 17.04.1 and 16.12.3 (these are the only one I have in my portage tree). 17.04.1 shows the same bug, 16.12.3 starts up to the maxima input prompt (didn't do any further tests).
Comment 4 Andreas Sturmlechner gentoo-dev 2017-08-06 11:45:01 UTC
Interestingly, I can reproduce the same hang with 16.12.3. And I could not fix 17.04.3 by backporting related commits (there's only a very small diff to 16.12.3 anyway) either. So it looks like a regression of the KF5 port rather than 17.04.3 specifically.
Comment 5 Andreas Sturmlechner gentoo-dev 2017-08-12 07:38:01 UTC
It is the same for me when choosing 'R' backend, and it was confirmed in kde irc channel as well. But kalgebra, lua, python2 and qalculate backends work fine.  We may have to adjust default USE flags and stable.use.mask R and maxima...
Comment 6 Andreas Sturmlechner gentoo-dev 2017-08-12 12:17:31 UTC
Switched to USE=analitza per default and amended pkg_setup message in git commit 2b71517f6172e1e6230b1b9857aa5fe7a9fbca5b, added 'R' to package.use.stable.mask in 5994ddf42cfda5f2aab3a5c4cc0e9e2aa4709b93
Comment 7 Frank Hellmuth 2017-08-12 14:03:13 UTC
While I understand the necessity of this step, I also think this is unsatisfactory. Did the devs from kde irc had any idea what could be the reason for this regression? Is there anything users could do to help?
Comment 8 Andreas Sturmlechner gentoo-dev 2017-08-12 16:18:01 UTC
Please note that I did not contact any cantor maintainer, merely other packagers responded. There was basically zero activity between 17.04.3 and 17.08.0 and one can only hope that state is not going to be permanent. Meanwhile let's track the upstream bug and add any debug information there.
Comment 9 Frank Hellmuth 2017-08-12 16:26:59 UTC
OK, thanks. This was not ment in any way as citicism against you. It's just a little frustrating seeing no progress in fixing this bug for months -- esp. since I wouldn't wonder if the fix was a one-liner.
Comment 10 Andreas Sturmlechner gentoo-dev 2017-08-12 21:27:57 UTC
(In reply to Frank Hellmuth from comment #9)
> OK, thanks. This was not ment in any way as citicism against you.
It wasn't perceived as such. I take it you rely on a functioning maxima backend? The only thing we can do is keep cantata-16.12.3 in tree while removing the rest (after stabilisation of 17.04.3). The other person I asked was like 'do as you wish', so that didn't move the needle away from removal yet.

Note that since I can reproduce the issue with 16.12.3 this looks like an unstable feature since at least then. Outcome may or may not be affected by existing config from earlier versions...
Comment 11 Frank Hellmuth 2017-08-13 03:08:47 UTC
Well, the sad truth is: Being a Linux evangelist, this is a story I wouldn't talk about too much. I'm a math/physics/CS teacher and need a CAS to mark exams. If the pupils start with an incorrect set of equations I need to see if their solution is correct whihtout subsequent faults. I used to use Mathematica from my study days for that but tried to switch to Cantor/Maxima for that, since my students license of Mathematica just expired. Since I need a stable and comfortable tool for that I just switched to a teachers license of Mathematica for 250€. :(
Comment 12 Coacher 2017-08-23 09:34:56 UTC
Cantor-16.12.3 with KF-5.34.0 and Maxima-5.40.0 works fine.
Cantor-17.04.3 with KF-5.34.0 and Maxima-5.40.0 hangs.
Comment 13 Andreas Sturmlechner gentoo-dev 2017-08-23 20:25:55 UTC
You could bisect between 16.04.3 and 17.04.0 to find out the bad commit.
Comment 14 Andreas Sturmlechner gentoo-dev 2018-01-26 23:56:01 UTC
maxima backend does not hang with cantor-17.12.1.
Comment 15 Larry the Git Cow gentoo-dev 2018-01-28 23:19:43 UTC
The bug has been closed via the following commit(s):

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

commit e0effca2fa74d987cc4634553ff8ab59a7ac977e
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2018-01-28 19:53:23 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2018-01-28 23:18:59 +0000

    kde-apps/cantor: Drop 16.12.3
    
    Closes: https://bugs.gentoo.org/619534
    Package-Manager: Portage-2.3.20, Repoman-2.3.6

 kde-apps/cantor/Manifest                           |   1 -
 kde-apps/cantor/cantor-16.12.3.ebuild              | 108 ---------------------
 kde-apps/cantor/files/cantor-16.12.2-bashism.patch |  13 ---
 3 files changed, 122 deletions(-)
Comment 16 Larry the Git Cow gentoo-dev 2018-04-08 11:30:58 UTC
The bug has been referenced in the following commit(s):

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

commit e60d5b0679af14f434ce939de69051813aff061e
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2018-04-08 11:17:33 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2018-04-08 11:17:33 +0000

    profiles: Drop kde-apps/cantor[R] p.use.stable.mask
    
    Bug: https://bugs.gentoo.org/619534

 profiles/base/package.use.stable.mask | 4 ----
 1 file changed, 4 deletions(-)}