https://bugs.kde.org/show_bug.cgi?id=408179

            Bug ID: 408179
           Summary: Alternative initialisation? The properly patched Julia
                    v1.1.0/v1.1.1/v1.2.0-rc1 backend still hungs forever
           Product: cantor
           Version: unspecified
          Platform: Compiled Sources
                OS: Linux
            Status: REPORTED
          Severity: major
          Priority: NOR
         Component: julia-backend
          Assignee: cantor-b...@kde.org
          Reporter: d...@bk.ru
  Target Milestone: ---

SUMMARY
master-branch Cantor v19.07.70+git20190523

STEPS TO REPRODUCE
1. Try Cantor with Julia v1.1.0 or v1.1.1 or v1.2.0-rc1, notice the offending
code stemming from D19549, and revert it with my patch:

--- a/src/backends/julia/juliaserver/juliaserver.cpp
+++ b/src/backends/julia/juliaserver/juliaserver.cpp
@@ -90,7 +90,7 @@
     if (jl_exception_occurred()) { // If exception occurred
         // Show it to user in stderr
 #if QT_VERSION_CHECK(JULIA_VERSION_MAJOR, JULIA_VERSION_MINOR, 0) >=
QT_VERSION_CHECK(1, 1, 0)
-        jl_value_t *ex = jl_get_ptls_states()->previous_exception;
+        jl_value_t *ex = jl_get_ptls_states()->exception_in_transit;
 #else
         jl_value_t *ex = jl_exception_in_transit;
 #endif

OBSERVED RESULT
Initialisation of the julia-backends hangs forever

EXPECTED RESULT
Starting the julia session in Cantor

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Ubuntu 18.04.2
(available in About System)
KDE Plasma Version: N/A (irrelevant, but) (Unity)
KDE Frameworks Version:  (irrelevant, but) any from v5.44.0 backported to, to
v5.58.0 (backported)
Qt Version:  (less relevant, but) v5.9.5 backported to, or any released up to
date

ADDITIONAL INFORMATION
Are there any alternative ways of initialising the backend?
Cantor lovely works well with the rest of unproblematic backends, except the
sage-backend, which is the subject of another bugreport

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to