Bug 408179 - Alternative initialisation? Julia v1.1.0/v1.1.1/v1.2.0-rc1 backend hungs on Calculating…
Summary: Alternative initialisation? Julia v1.1.0/v1.1.1/v1.2.0-rc1 backend hungs on C...
Status: RESOLVED FIXED
Alias: None
Product: cantor
Classification: Applications
Component: julia-backend (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR major
Target Milestone: ---
Assignee: Nikita Sirgienko
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-01 12:20 UTC by vialav
Modified: 2019-06-03 09:25 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Julia v1.1.1 succes login (29.24 KB, image/png)
2019-06-01 13:04 UTC, Nikita Sirgienko
Details
Julia v1.2.0-rc1 succes login (34.33 KB, image/png)
2019-06-01 13:32 UTC, Nikita Sirgienko
Details
Calculating… (34.05 KB, image/png)
2019-06-01 18:36 UTC, vialav
Details
build log (20.27 KB, text/plain)
2019-06-01 18:37 UTC, vialav
Details

Note You need to log in before you can comment on or make changes to this bug.
Description vialav 2019-06-01 12:20:42 UTC
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
Comment 1 Nikita Sirgienko 2019-06-01 13:04:17 UTC
Can't reproduce on Ubuntu 18.04.2 LTS on Julia v1.1.1

Do you change julia version by rebuilding Cantor with corresponding julia (via manipulating cmake JULIA_EXECUTABLE variable), or change path in Julia settings? It's important, because the path in settings not working and Cantor used system julia library (a peculiarity of embedding julia in application, I still search way to change this behaviour)?

I had attached image of succes Julia's login below.
Comment 2 Nikita Sirgienko 2019-06-01 13:04:51 UTC
Created attachment 120473 [details]
Julia v1.1.1 succes login
Comment 3 Nikita Sirgienko 2019-06-01 13:27:58 UTC
julia-1.2.0-rc1 aslo works fine and pass all tests (as well as version 1.1.1).
Comment 4 Nikita Sirgienko 2019-06-01 13:32:15 UTC
Created attachment 120474 [details]
Julia v1.2.0-rc1 succes login
Comment 5 vialav 2019-06-01 14:28:15 UTC
Hi, Nikita, 

I am puzzled… Are we both using: 

Cantor v19.07.70+git20190523
# master branch, merged into Applications/19.04 (are you verifying the same?)

Aren't there 'exception_in_transit' instead of 'previous_exception' in Julia code base (headers)? (see it wrongly on: https://phabricator.kde.org/D19549)

What was you building environment?
Comment 6 vialav 2019-06-01 14:37:23 UTC
Yes, I was rebuilding Cantor after each Julia headers upgrade, with no specific manipulations. 

The version(s) of Julia I was using were simply the prepared receipt of: 
https://packages.debian.org/src:julia
# list of files there

adopted further for Julia v1.1.1 and v1.2.0-rc1 with a trivial version uptick, but it didn't work even with v1.1.0 provided by Debian
Comment 7 Nikita Sirgienko 2019-06-01 15:02:50 UTC
(In reply to vialav from comment #5)
> Hi, Nikita, 
> 
> I am puzzled… Are we both using: 
> 
> Cantor v19.07.70+git20190523
> # master branch, merged into Applications/19.04 (are you verifying the same?)
> 
> Aren't there 'exception_in_transit' instead of 'previous_exception' in Julia
> code base (headers)? (see it wrongly on: https://phabricator.kde.org/D19549)

I have Julia v1.0.4, v1.1.0, v1.1.1, v1.2.0-rc1.
Julia v1.0.4 has `exception_in_transit`:

```
mmmm1998:/mnt/Red/progs_for_cantor/julia-1.0.4/include
[17:52:10]$ grep 'previous_exception' -r *
mmmm1998:/mnt/Red/progs_for_cantor/julia-1.0.4/include
[17:52:12]$ grep 'exception_in_transit' -r *
julia/julia_threads.h:88:    struct _jl_value_t *exception_in_transit;
julia/julia.h:1703:            if (((jl_get_ptls_states()->exception_in_transit==jl_stackovf_exception) && _resetstkoflw()) || 1)
julia/julia.h:1912:#define jl_exception_in_transit (jl_get_ptls_states()->exception_in_transit)
mmmm1998:/mnt/Red/progs_for_cantor/julia-1.0.4/include
[17:52:15]$ 
```

Future Julia versions since v1.1.0 haven't `exception_in_transit` and have `previous_exception`:

```
mmmm1998:/mnt/Red/progs_for_cantor/julia-1.1.0/include
[17:47:04]$ grep 'exception_in_transit' -r *
mmmm1998:/mnt/Red/progs_for_cantor/julia-1.1.0/include
[17:53:48]$ grep 'previous_exception' -r *
julia/julia_threads.h:194:    struct _jl_value_t *previous_exception;
mmmm1998:/mnt/Red/progs_for_cantor/julia-1.1.0/include
[17:53:50]$ 

mmmm1998:/mnt/Red/progs_for_cantor/julia-1.2.0-rc1/include/julia
[17:42:48]$ grep 'previous_exception' -r *
julia_threads.h:197:    struct _jl_value_t *previous_exception;
mmmm1998:/mnt/Red/progs_for_cantor/julia-1.2.0-rc1/include/julia
[17:43:11]$ grep 'exception_in_transit' -r *
mmmm1998:/mnt/Red/progs_for_cantor/julia-1.2.0-rc1/include/julia
[17:57:38]$ 

mmmm1998:/mnt/Red/progs_for_cantor/julia-1.1.1/include
[17:53:45]$ grep 'exception_in_transit' -r *
mmmm1998:/mnt/Red/progs_for_cantor/julia-1.1.1/include
[17:57:56]$ grep 'previous_exception' -r *
julia/julia_threads.h:194:    struct _jl_value_t *previous_exception;
mmmm1998:/mnt/Red/progs_for_cantor/julia-1.1.1/include
[17:57:58]$ 
```
As you see, I actually run grep utility in include directory and there isn't `exception_in_transit` in headers since v1.1.0
Comment 8 vialav 2019-06-01 15:38:08 UTC
Nikita, I mistook my reverted patch for the direct one (I couldn't have compiled the said backend with the wrong one), sorry for not checking. 

So, true:
>> Future Julia versions since v1.1.0 haven't `exception_in_transit` and have `previous_exception`

It was https://phabricator.kde.org/D19549 **at the time** where there was 'a tarball' with the opposite (see it within the comments), which is why Ubuntu has made v18.12.3a, https://packages.ubuntu.com/src:cantor

But, ok, let's see if: 
…we're both using: 
Cantor v19.07.70+git20190523
# master branch, merged into Applications/19.04 (the commit of May 23)

…and may be I can have a second look at the way I've compiled Cantor.
Comment 9 Nikita Sirgienko 2019-06-01 15:45:38 UTC
(In reply to vialav from comment #6)
> Yes, I was rebuilding Cantor after each Julia headers upgrade, with no
> specific manipulations. 
> 
> The version(s) of Julia I was using were simply the prepared receipt of: 
> https://packages.debian.org/src:julia
> # list of files there
> 
> adopted further for Julia v1.1.1 and v1.2.0-rc1 with a trivial version
> uptick, but it didn't work even with v1.1.0 provided by Debian

Do you sure, that cmake had found Julia version that you want?

For example, it's my sequence of commands to build cantor (debug version) with julia v1.2.0-rc1
$ cd /tmp
$ git clone https://github.com/KDE/cantor
$ cd cantor
$ mkdir build
$ cd build
$ cmake -DJULIA_EXECUTABLE=/mnt/Red/progs_for_cantor/julia-1.2.0-rc1/bin/julia -DCMAKE_BUILD_TYPE=release ..
I actually see, that cmake found the needed Julia, because in cmake output I have this (see second line, version also mentioned):
```
-- Found LuaJIT: /usr/lib/x86_64-linux-gnu/libluajit-5.1.so  
-- Found Julia: /mnt/Red/progs_for_cantor/julia-1.2.0-rc1/lib/libjulia.so (found version "1.2.0") 
-- The following OPTIONAL packages have been found
```
$ make -j16 && sudo make install -j16
$ cantor -b julia

Could you please check, that cmake output for your version has "found version 1.1.0"?
Comment 10 Nikita Sirgienko 2019-06-01 15:48:40 UTC
(In reply to Nikita Sirgienko from comment #9)
> -DJULIA_EXECUTABLE=/mnt/Red/progs_for_cantor/julia-1.2.0-rc1/bin/julia
> -DCMAKE_BUILD_TYPE=release ..
This is actually release build and should be "-DCMAKE_BUILD_TYPE=debug", but I think, you got the idea.

Also, it's helpfull, if you will build debug cantor version and post Cantor debug output here, when your tried to login into julia.
Comment 11 vialav 2019-06-01 15:51:41 UTC
Thank you, I'll try it now and will be shortly back.
Comment 12 vialav 2019-06-01 18:36:33 UTC
Created attachment 120481 [details]
Calculating…
Comment 13 vialav 2019-06-01 18:37:42 UTC
Created attachment 120482 [details]
build log
Comment 14 vialav 2019-06-01 18:41:59 UTC
I did everything as being told, and there is no difference in the end result…

Usually I don't need to set JULIA_EXECUTABLE, as it is in the default path:
-DJULIA_EXECUTABLE=/usr/bin/julia

> Also, it's helpfull, if you will build debug cantor version and post Cantor debug output here, when your tried to login into julia.

There is nothing useful in the output, when I log in into julia (btw, what 'log in' means in this context? I simply [tried to] started the julia session, which produced no output there):

$ cantor
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/16/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/22/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/24/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/32/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/48/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/64/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/128/"

That it was indeed, the debug version, is that I've got the CantorTargets-debug.cmake file instead of CantorTargets-debin.cmake
Comment 15 Nikita Sirgienko 2019-06-01 18:53:21 UTC
(In reply to vialav from comment #14)
> There is nothing useful in the output, when I log in into julia (btw, what
> 'log in' means in this context? I simply [tried to] started the julia
> session, which produced no output there):

Your cmake command (below) set CMAKE_BUILD_TYPE twice (first as None) so Cantor not builded in debug mode. When Cantor will builded in debug mode, you should see a lot of output in console. Could you please rebuild Cantor?

cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DCMAKE_INSTALL_RUNSTATEDIR=/run "-GUnix Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu -DCMAKE_BUILD_TYPE=Debian -DCMAKE_INSTALL_SYSCONFDIR=/etc -DKDE_INSTALL_USE_QT_SYS_PATHS=ON -DBUILD_TESTING=OFF -DJULIA_EXECUTABLE=/usr/bin/julia -DCMAKE_BUILD_TYPE=debug ..
Comment 16 vialav 2019-06-01 19:02:21 UTC
Ok, that 'None' did come from Debian 'automagic', I didn't set it on purpose. However, the second (for me the only one) -DCMAKE_BUILD_TYPE=debug shadows (rewrites anew) ehm… the CMAKE_BUILD_TYPE, so, it shall be the Debug build in the result (even *debug.cmake hints on this).

And here is how I've got the source : 

git clone --recurse-submodules git://anongit.kde.org/cantor.git
git checkout origin/Applications/19.04
git merge master
# resolve a trivial merge conflict in CMakeLists.txt (set a version)
# build as in the attached log

#my **naive** debian/rules universal template:


#!/usr/bin/make -f

# see FEATURE AREAS in dpkg-buildflags(1)
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

export DEB_CFLAGS_MAINT_APPEND := -fopenmp -mtune=native -O3 -fPIC -flto=jobserver -flto-compression-level=9 -funroll-loops -DMKL_LP64 -DM_PI=3.1415926535897932384 -I/usr/include/mkl
export DEB_CXXFLAGS_MAINT_APPEND := $(DEB_CFLAGS_MAINT_APPEND)
export DEB_CPPFLAGS_MAINT_APPEND := $(DEB_CFLAGS_MAINT_APPEND)
export DEB_FFLAGS_MAINT_APPEND := -fopenmp -mtune=native -O3 -fPIC -ffree-line-length-0
export DEB_FCFLAGS_MAINT_APPEND  = $(DEB_FFLAGS_MAINT_APPEND)
export DEB_LDFLAGS_MAINT_APPEND := -fPIC -Wl,--start-group -lmkl_gf_lp64 -lmkl_gnu_thread -lmkl_core -Wl,--end-group -lgomp -lpthread -lm -ldl
# the last line is for compiling with IntelMKL
<stripped>

override_dh_auto_configure:
        $(overridden_command) -- -DBUILD_TESTING=OFF -DJULIA_EXECUTABLE=/usr/bin/julia -DCMAKE_BUILD_TYPE=debug

#(so, CMAKE_BUILD_TYPE only once and Debug, but what the heck where is the output…)
Comment 17 Nikita Sirgienko 2019-06-01 19:07:02 UTC
(In reply to vialav from comment #16)
> Ok, that 'None' did come from Debian 'automagic', I didn't set it on
> purpose. However, the second (for me the only one) -DCMAKE_BUILD_TYPE=debug
> shadows (rewrites anew) ehm… the CMAKE_BUILD_TYPE, so, it shall be the Debug
> build in the result (even *debug.cmake hints on this).

I had tested that happends, if cmake got two CMAKE_BUILD_TYPE (even second is 'debug'). With two definitions Cantor don't produced debug output.
Comment 18 Nikita Sirgienko 2019-06-01 19:08:26 UTC
(In reply to vialav from comment #16)
> #(so, CMAKE_BUILD_TYPE only once and Debug, but what the heck where is the
> output…)

Strange, I recommend go to CMakeLists.txt, found the line "add_definitions(-DQT_NO_DEBUG_OUTPUT)" and comment it.
Comment 19 vialav 2019-06-01 19:09:25 UTC
I'm turning all the optimization off, commenting out, and will post the result.
Comment 20 vialav 2019-06-01 19:22:25 UTC
Ok, because compiling with the only flag:

# see FEATURE AREAS in dpkg-buildflags(1)
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

…I've got essentially the same results, again, then it must me the main suspect. 

Removing it, and re-compiling, again.
Comment 21 vialav 2019-06-01 20:26:21 UTC
Might it be a compiler (gcc-9 in my case, I may try it with clang)? I turned off all the optimizations, hardening, and explicitly requested
export DEB_BUILD_MAINT_OPTIONS = noopt
… -DCMAKE_BUILD_TYPE=debug

Running Cantor with gdb and debug symbols {all compiled with commented out the line "add_definitions(-DQT_NO_DEBUG_OUTPUT)"} did not change the output. Clicking File -> Exit after trying to start Julia session (hanged in the air), I've caught up, possibly unrelated, a SIGSEGV: 

─── Output/messages ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/16/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/22/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/24/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/32/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/48/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/64/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/128/"
[Detaching after fork from child process 5601]

Thread 1 "cantor" received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
─── Assembly ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Cannot access memory at address 0x0
─── Expressions ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
─── History ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
─── Memory ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
─── Registers ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
   rax 0x0000000000000000    rbx 0x0000555555f77fd0    rcx 0x00007fffffffbca0    rdx 0x00007ffff774d440    rsi 0x00007fffffffbcd8    rdi 0x00005555556f3dd0    rbp 0x00007fffffffbc90    rsp 0x00007fffffffbb98
    r8 0x0000000000000000     r9 0x0000000000000004    r10 0x0000000000000000    r11 0x0000000000000004    r12 0x00005555556f3dd0    r13 0x0000555555f63460    r14 0x0000555555da8b50    r15 0x00007ffff67ca160
   rip 0x0000000000000000 eflags [ IF RF ]              cs 0x00000033             ss 0x0000002b             ds 0x00000000             es 0x00000000             fs 0x00000000             gs 0x00000000        
─── Source ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
─── Stack ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
[0] from 0x0000000000000000
(no arguments)
[1] from 0x00007ffff633977f in QMetaObject::activate(QObject*, int, int, void**)
(no arguments)
[+]
─── Threads ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
[6] id 5591 name cantor:disk$0 from 0x00007ffff5c783bb in futex_wait_cancelable+27 at ../sysdeps/unix/sysv/linux/futex-internal.h:88
[5] id 5589 name QDBusConnection from 0x00007ffff5da1ba9 in __GI___poll+73 at ../sysdeps/unix/sysv/linux/poll.c:29
[4] id 5588 name gdbus from 0x00007ffff5da1ba9 in __GI___poll+73 at ../sysdeps/unix/sysv/linux/poll.c:29
[3] id 5587 name gmain from 0x00007ffff5da1ba9 in __GI___poll+73 at ../sysdeps/unix/sysv/linux/poll.c:29
[2] id 5586 name QXcbEventReader from 0x00007ffff5da1ba9 in __GI___poll+73 at ../sysdeps/unix/sysv/linux/poll.c:29
[1] id 5581 name cantor from 0x0000000000000000
───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
>>> backtrace 
#0  0x0000000000000000 in  ()
#1  0x00007ffff633977f in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007ffff7c843f5 in KParts::Part::setStatusBarText(QString const&) () at /usr/lib/x86_64-linux-gnu/libKF5Parts.so.5
#3  0x00007fffc658e872 in CantorPart::worksheetStatusChanged(Cantor::Session::Status) (this=0x555555da8b50, status=Cantor::Session::Done) at /usr/include/KF5/KI18n/klocalizedstring.h:1127
#4  0x00007fffc65850eb in CantorPart::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=<optimised out>, _id=<optimised out>, _a=<optimised out>, _c=<optimised out>) at ./obj-x86_64-linux-gnu/src/cantorpart_autogen/EWIEGA46WW/moc_cantor_part.cpp:209
#5  0x00007ffff6339665 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ffff7cf65e2 in Cantor::Session::statusChanged(Cantor::Session::Status) (this=<optimised out>, _t1=<optimised out>) at ./obj-x86_64-linux-gnu/src/lib/cantorlibs_autogen/EWIEGA46WW/moc_session.cpp:164
#7  0x00007fffdb25d559 in JuliaSession::interrupt() (this=0x555555dac1d0) at ./src/backends/julia/juliasession.cpp:158
#8  0x00007fffdb25a0d2 in JuliaSession::logout() (this=0x555555dac1d0) at ./src/backends/julia/juliasession.cpp:133
#9  0x00007fffc659f057 in Worksheet::~Worksheet() (this=0x555555d82c60, __in_chrg=<optimised out>) at ./src/worksheet.cpp:107
#10 0x00007fffc659f15d in Worksheet::~Worksheet() (this=0x555555d82c60, __in_chrg=<optimised out>) at ./src/worksheet.cpp:100
#11 0x00007ffff633724b in QObjectPrivate::deleteChildren() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007ffff70c2d5c in QWidget::~QWidget() () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007ffff70c2f99 in QWidget::~QWidget() () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007ffff633724b in QObjectPrivate::deleteChildren() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007ffff70c2d5c in QWidget::~QWidget() () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007ffff72323b9 in QStackedWidget::~QStackedWidget() () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007ffff633724b in QObjectPrivate::deleteChildren() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007ffff70c2d5c in QWidget::~QWidget() () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007ffff72532a9 in QTabWidget::~QTabWidget() () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007ffff633724b in QObjectPrivate::deleteChildren() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007ffff70c2d5c in QWidget::~QWidget() () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007ffff7b4ca14 in KMainWindow::~KMainWindow() () at /usr/lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#23 0x0000555555563f83 in CantorShell::~CantorShell() (this=0x5555556f3dd0, __in_chrg=<optimised out>, __vtt_parm=<optimised out>) at /usr/include/c++/9/bits/atomic_base.h:326
#24 0x000055555556544d in CantorShell::~CantorShell() (this=0x5555556f3dd0, __in_chrg=<optimised out>, __vtt_parm=<optimised out>) at ./obj-x86_64-linux-gnu/src/cantor_autogen/EWIEGA46WW/../../../../src/cantor.h:56
#25 0x00007ffff633a1f0 in QObject::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007ffff70c775b in QWidget::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#27 0x00007ffff71dac6b in QMainWindow::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#28 0x00007ffff7b4efeb in KMainWindow::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#29 0x00007ffff7b9b147 in KXmlGuiWindow::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#30 0x00007ffff708883c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#31 0x00007ffff7090104 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#32 0x00007ffff630a9e8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#33 0x00007ffff630d15d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#34 0x00007ffff6364373 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#35 0x00007ffff2d1e417 in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007ffff2d1e650 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007ffff2d1e6dc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007ffff636399f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#39 0x00007ffff6308a1a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#40 0x00007ffff6311ac4 in QCoreApplication::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#41 0x000055555556303f in main(int, char**) (argc=<optimised out>, argv=<optimised out>) at ./src/main.cpp:156
>>>
Comment 22 vialav 2019-06-01 20:40:48 UTC
So, it is, likely, how I've got a source?…

with clang-9:

#0  0x0000000000000000 in  ()
#1  0x00007ffff633b77f in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007ffff7c863f5 in KParts::Part::setStatusBarText(QString const&) () at /usr/lib/x86_64-linux-gnu/libKF5Parts.so.5
#3  0x00007fffc659717f in CantorPart::setStatusMessage(QString const&) (this=0xcabc50, message=...) at ./src/cantor_part.cpp:947
#4  0x00007fffc659717f in CantorPart::worksheetStatusChanged(Cantor::Session::Status) (this=0xcabc50, status=<optimised out>) at ./src/cantor_part.cpp:595
#5  0x00007fffc6587497 in CantorPart::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=0x5b4a20, _c=<optimised out>, _id=<optimised out>, _a=0x7fffffffbdf0) at ./obj-x86_64-linux-gnu/src/cantorpart_autogen/EWIEGA46WW/moc_cantor_part.cpp:209
#6  0x00007ffff633b665 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007ffff7cf7dfc in Cantor::Session::statusChanged(Cantor::Session::Status) (this=0x5b4a20, _t1=<optimised out>) at ./obj-x86_64-linux-gnu/src/lib/cantorlibs_autogen/EWIEGA46WW/moc_session.cpp:164
#8  0x00007fffdb2602b7 in JuliaSession::interrupt() (this=0xc882f0) at ./src/backends/julia/juliasession.cpp:158
#9  0x00007fffdb25ffad in JuliaSession::logout() (this=0xc882f0) at ./src/backends/julia/juliasession.cpp:133
#10 0x00007fffc659cf11 in Worksheet::~Worksheet() (this=0xca6cf0) at ./src/worksheet.cpp:107
#11 0x00007fffc659d069 in Worksheet::~Worksheet() (this=0xca6cf0) at ./src/worksheet.cpp:101
#12 0x00007ffff633924b in QObjectPrivate::deleteChildren() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007ffff70c4d5c in QWidget::~QWidget() () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007ffff70c4f99 in QWidget::~QWidget() () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007ffff633924b in QObjectPrivate::deleteChildren() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007ffff70c4d5c in QWidget::~QWidget() () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007ffff72343b9 in QStackedWidget::~QStackedWidget() () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007ffff633924b in QObjectPrivate::deleteChildren() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007ffff70c4d5c in QWidget::~QWidget() () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007ffff72552a9 in QTabWidget::~QTabWidget() () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007ffff633924b in QObjectPrivate::deleteChildren() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007ffff70c4d5c in QWidget::~QWidget() () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007ffff7b4ea14 in KMainWindow::~KMainWindow() () at /usr/lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#24 0x000000000040d710 in CantorShell::~CantorShell() (this=0x5b4a20) at ./obj-x86_64-linux-gnu/src/cantor_autogen/EWIEGA46WW/../../../../src/cantor.h:56
#25 0x000000000040d710 in CantorShell::~CantorShell() (this=0x5b4a20) at ./obj-x86_64-linux-gnu/src/cantor_autogen/EWIEGA46WW/../../../../src/cantor.h:56
#26 0x00007ffff633c1f0 in QObject::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007ffff70c975b in QWidget::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#28 0x00007ffff71dcc6b in QMainWindow::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#29 0x00007ffff7b50feb in KMainWindow::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#30 0x00007ffff7b9d147 in KXmlGuiWindow::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#31 0x00007ffff708a83c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#32 0x00007ffff7092104 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#33 0x00007ffff630c9e8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#34 0x00007ffff630f15d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#35 0x00007ffff6366373 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#36 0x00007ffff2d20417 in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007ffff2d20650 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007ffff2d206dc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007ffff636599f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#40 0x00007ffff630aa1a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#41 0x00007ffff6313ac4 in QCoreApplication::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#42 0x000000000040fb02 in main(int, char**) (argc=<optimised out>, argv=<optimised out>) at ./src/main.cpp:156
Comment 23 Nikita Sirgienko 2019-06-01 20:59:23 UTC
Arg, I remembered, that a few years ago, I need to change system qt policy, because Debian (and Ubuntu too) had starts suppress qt debug messages.
See https://bugzilla.redhat.com/show_bug.cgi?id=1227295, I think Cantor is actually builded in debug mode, but OS supress all debug messages.
Comment 24 vialav 2019-06-01 21:05:41 UTC
ok, thanks for a hint

As a sidenote: 
No, it is not the way I've got the source. Following the standard procedure of 'git-cloning' (with no merging), and compiling with clang-9 in this last case (with full debug on), then File -> Exit after the Julia session hangs up, all with gdb and debug symbols (and full absence of the Qt-debug output): 

─── Output/messages ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/16/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/22/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/24/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/32/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/48/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/64/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/128/"
[Detaching after fork from child process 21264]

Thread 1 "cantor" received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
─── Assembly ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Cannot access memory at address 0x0
─── Expressions ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
─── History ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
─── Memory ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
─── Registers ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
   rax 0x0000000000000000    rbx 0x0000000000e24eb0    rcx 0x00007fffffffbdf0    rdx 0x00007ffff774f440    rsi 0x00007fffffffbe40    rdi 0x00000000005f7380    rbp 0x00007fffffffbde0    rsp 0x00007fffffffbce8
    r8 0x0000000000000000     r9 0x0000000000000006    r10 0x0000000000000000    r11 0x0000000000000004    r12 0x00000000005f7380    r13 0x0000000000e00a70    r14 0x0000000000c4aaf0    r15 0x00007ffff67cc360
   rip 0x0000000000000000 eflags [ IF RF ]              cs 0x00000033             ss 0x0000002b             ds 0x00000000             es 0x00000000             fs 0x00000000             gs 0x00000000        
─── Source ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
─── Stack ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
[0] from 0x0000000000000000
(no arguments)
[1] from 0x00007ffff633b77f in QMetaObject::activate(QObject*, int, int, void**)
(no arguments)
[+]
─── Threads ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
[6] id 21260 name cantor:disk$0 from 0x00007ffff5c7a3bb in futex_wait_cancelable+27 at ../sysdeps/unix/sysv/linux/futex-internal.h:88
[5] id 21257 name QDBusConnection from 0x00007ffff5da3ba9 in __GI___poll+73 at ../sysdeps/unix/sysv/linux/poll.c:29
[4] id 21256 name gdbus from 0x00007ffff5da3ba9 in __GI___poll+73 at ../sysdeps/unix/sysv/linux/poll.c:29
[3] id 21255 name gmain from 0x00007ffff5da3ba9 in __GI___poll+73 at ../sysdeps/unix/sysv/linux/poll.c:29
[2] id 21251 name QXcbEventReader from 0x00007ffff5da3ba9 in __GI___poll+73 at ../sysdeps/unix/sysv/linux/poll.c:29
[1] id 21244 name cantor from 0x0000000000000000
───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
>>> >>> bt
#0  0x0000000000000000 in  ()
#1  0x00007ffff633b77f in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007ffff7c863f5 in KParts::Part::setStatusBarText(QString const&) () at /usr/lib/x86_64-linux-gnu/libKF5Parts.so.5
#3  0x00007fffc659817f in CantorPart::setStatusMessage(QString const&) (this=0xc4aaf0, message=...) at ./src/cantor_part.cpp:947
#4  0x00007fffc659817f in CantorPart::worksheetStatusChanged(Cantor::Session::Status) (this=0xc4aaf0, status=<optimised out>) at ./src/cantor_part.cpp:595
#5  0x00007fffc6588497 in CantorPart::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=0x5f7380, _c=<optimised out>, _id=<optimised out>, _a=0x7fffffffbdf0) at ./obj-x86_64-linux-gnu/src/cantorpart_autogen/EWIEGA46WW/moc_cantor_part.cpp:209
#6  0x00007ffff633b665 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007ffff7cf7dfc in Cantor::Session::statusChanged(Cantor::Session::Status) (this=0x5f7380, _t1=<optimised out>) at ./obj-x86_64-linux-gnu/src/lib/cantorlibs_autogen/EWIEGA46WW/moc_session.cpp:164
#8  0x00007fffdb2600d7 in JuliaSession::interrupt() (this=0xcb9080) at ./src/backends/julia/juliasession.cpp:158
#9  0x00007fffdb25fdcd in JuliaSession::logout() (this=0xcb9080) at ./src/backends/julia/juliasession.cpp:133
#10 0x00007fffc659df11 in Worksheet::~Worksheet() (this=0xc3d0c0) at ./src/worksheet.cpp:107
#11 0x00007fffc659e069 in Worksheet::~Worksheet() (this=0xc3d0c0) at ./src/worksheet.cpp:101
#12 0x00007ffff633924b in QObjectPrivate::deleteChildren() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007ffff70c4d5c in QWidget::~QWidget() () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007ffff70c4f99 in QWidget::~QWidget() () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007ffff633924b in QObjectPrivate::deleteChildren() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007ffff70c4d5c in QWidget::~QWidget() () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007ffff72343b9 in QStackedWidget::~QStackedWidget() () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007ffff633924b in QObjectPrivate::deleteChildren() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007ffff70c4d5c in QWidget::~QWidget() () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007ffff72552a9 in QTabWidget::~QTabWidget() () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007ffff633924b in QObjectPrivate::deleteChildren() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007ffff70c4d5c in QWidget::~QWidget() () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007ffff7b4ea14 in KMainWindow::~KMainWindow() () at /usr/lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#24 0x000000000040d710 in CantorShell::~CantorShell() (this=0x5f7380) at ./obj-x86_64-linux-gnu/src/cantor_autogen/EWIEGA46WW/../../../../src/cantor.h:56
#25 0x000000000040d710 in CantorShell::~CantorShell() (this=0x5f7380) at ./obj-x86_64-linux-gnu/src/cantor_autogen/EWIEGA46WW/../../../../src/cantor.h:56
#26 0x00007ffff633c1f0 in QObject::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007ffff70c975b in QWidget::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#28 0x00007ffff71dcc6b in QMainWindow::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#29 0x00007ffff7b50feb in KMainWindow::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#30 0x00007ffff7b9d147 in KXmlGuiWindow::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#31 0x00007ffff708a83c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#32 0x00007ffff7092104 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#33 0x00007ffff630c9e8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#34 0x00007ffff630f15d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#35 0x00007ffff6366373 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#36 0x00007ffff2d20417 in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007ffff2d20650 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007ffff2d206dc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007ffff636599f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#40 0x00007ffff630aa1a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#41 0x00007ffff6313ac4 in QCoreApplication::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#42 0x000000000040fb02 in main(int, char**) (argc=<optimised out>, argv=<optimised out>) at ./src/main.cpp:156
>>> 

Here I shall give up :-)

P.S. After all, it works under other backends, and I'm a happy user of backported KDE 5.58 frameworks to Ubuntu v18.04 with its Qt v5.9.5
Comment 25 vialav 2019-06-01 21:16:36 UTC
Your suggestion was timely:

My system has exported:
QT_LOGGING_RULES=*.debug=false

But that was meant essentially to preserve the only debug output. It puzzles me what the 'debug' output was that or it wasn't. 

Unsetting QT_LOGGING_RULES started to produce the desired [non-debug?] output:

─── Output/messages ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/16/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/22/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/24/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/32/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/48/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/64/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/128/"
dir:  "/usr/lib/x86_64-linux-gnu/qt5/plugins/cantor/backends"
Creating MaximaBackend
Creating NullBackend
Creating PythonBackend
Creating PythonBackend
Creating RBackend
Creating SageBackend
Creating ScilabBackend
dir:  "/usr/bin/cantor/backends"
"Julia" true true
"KAlgebra" true true
"Lua" true true
"Maxima" true true
"nullbackend" false true
"Octave" true true
"Python 2" true true
"Python 3" true true
"Qalculate" true true
"R" true true
"Sage" true true
"Scilab" true true
Backend  "Julia"  offers extensions:  ("VariableManagementExtension", "PackagingExtension", "PlotExtension", "ScriptExtension", "LinearAlgebraExtension")
JuliaSession(0x4abe20) Cantor::VariableManagementExtension(0x95f800, name = "VariableManagementExtension")
new worksheetaccess interface
loading assistants...
dir:  "/usr/lib/x86_64-linux-gnu/qt5/plugins/cantor/assistants"
plugin  "AdvancedPlot"  is not supported by  "Julia"
plugin  "Create Matrix"  is supported by  "Julia" , requires extensions  ("LinearAlgebraExtension")
plugin  "Differentiate"  is not supported by  "Julia"
plugin  "Eigenvalues"  is not supported by  "Julia"
plugin  "Eigenvectors"  is not supported by  "Julia"
plugin  "Import Package"  is supported by  "Julia" , requires extensions  ("PackagingExtension")
plugin  "Integrate"  is not supported by  "Julia"
plugin  "Invert Matrix"  is not supported by  "Julia"
plugin  "Plot2d"  is supported by  "Julia" , requires extensions  ("PlotExtension")
plugin  "Plot3d"  is supported by  "Julia" , requires extensions  ("PlotExtension")
plugin  "QalculatePlot"  is not supported by  "Julia"
plugin  "RunScript"  is supported by  "Julia" , requires extensions  ("ScriptExtension")
plugin  "Solve"  is not supported by  "Julia"
dir:  "/usr/bin/cantor/assistants"
loading panel plugins for session of type  "Julia"
dir:  "/usr/lib/x86_64-linux-gnu/qt5/plugins/cantor/panels"
plugin  "Help"  is supported, requires extensions  ("")
plugin  "Variable Manager"  is supported, requires extensions  ("VariableManagementExtension")
dir:  "/usr/bin/cantor/panels"
Entry Appended
adding panel for  "Help"
adding panel for  "Variable Manager" # here I've entered 1+1 and pressed Shift+Enter -->
ShortcutOverride 16777220 QFlags<Qt::KeyboardModifiers>(ShiftModifier)
[Detaching after fork from child process 24404]
wsStatusChange 1
login to julia  1.2.0-rc1 done
wsStatusChange 0
# (process is hanging on "Calculating…"; next I click File -> Exit):

Thread 1 "cantor" received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
─── Assembly ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Cannot access memory at address 0x0
─── Expressions ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
─── History ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
─── Memory ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
─── Registers ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
   rax 0x0000000000000000    rbx 0x0000000000e1d1c0    rcx 0x00007fffffffbe20    rdx 0x00007ffff774f440    rsi 0x00007fffffffbe70    rdi 0x000000000050e600    rbp 0x00007fffffffbe10    rsp 0x00007fffffffbd18
    r8 0x0000000000000000     r9 0x0000000000000004    r10 0x0000000000000000    r11 0x0000000000000004    r12 0x000000000050e600    r13 0x0000000000dfc210    r14 0x0000000000c56e00    r15 0x00007ffff67cc1f0
   rip 0x0000000000000000 eflags [ IF RF ]              cs 0x00000033             ss 0x0000002b             ds 0x00000000             es 0x00000000             fs 0x00000000             gs 0x00000000        
─── Source ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
─── Stack ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
[0] from 0x0000000000000000
(no arguments)
[1] from 0x00007ffff633b77f in QMetaObject::activate(QObject*, int, int, void**)
(no arguments)
[+]
─── Threads ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
[6] id 21476 name cantor:disk$0 from 0x00007ffff5c7a3bb in futex_wait_cancelable+27 at ../sysdeps/unix/sysv/linux/futex-internal.h:88
[5] id 21474 name QDBusConnection from 0x00007ffff5da3ba9 in __GI___poll+73 at ../sysdeps/unix/sysv/linux/poll.c:29
[4] id 21473 name gdbus from 0x00007ffff5da3ba9 in __GI___poll+73 at ../sysdeps/unix/sysv/linux/poll.c:29
[3] id 21472 name gmain from 0x00007ffff5da3ba9 in __GI___poll+73 at ../sysdeps/unix/sysv/linux/poll.c:29
[2] id 21471 name QXcbEventReader from 0x00007ffff5da3ba9 in __GI___poll+73 at ../sysdeps/unix/sysv/linux/poll.c:29
[1] id 21467 name cantor from 0x0000000000000000
───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
>>> bt
#0  0x0000000000000000 in  ()
#1  0x00007ffff633b77f in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007ffff7c863f5 in KParts::Part::setStatusBarText(QString const&) () at /usr/lib/x86_64-linux-gnu/libKF5Parts.so.5
#3  0x00007fffc659817f in CantorPart::setStatusMessage(QString const&) (this=0xc56e00, message=...) at ./src/cantor_part.cpp:947
#4  0x00007fffc659817f in CantorPart::worksheetStatusChanged(Cantor::Session::Status) (this=0xc56e00, status=<optimised out>) at ./src/cantor_part.cpp:595
#5  0x00007fffc6588497 in CantorPart::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=0x50e600, _c=<optimised out>, _id=<optimised out>, _a=0x7fffffffbe20) at ./obj-x86_64-linux-gnu/src/cantorpart_autogen/EWIEGA46WW/moc_cantor_part.cpp:209
#6  0x00007ffff633b665 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007ffff7cf7dfc in Cantor::Session::statusChanged(Cantor::Session::Status) (this=0x50e600, _t1=<optimised out>) at ./obj-x86_64-linux-gnu/src/lib/cantorlibs_autogen/EWIEGA46WW/moc_session.cpp:164
#8  0x00007fffdb2600d7 in JuliaSession::interrupt() (this=0x4abe20) at ./src/backends/julia/juliasession.cpp:158
#9  0x00007fffdb25fdcd in JuliaSession::logout() (this=0x4abe20) at ./src/backends/julia/juliasession.cpp:133
#10 0x00007fffc659df11 in Worksheet::~Worksheet() (this=0xc53d40) at ./src/worksheet.cpp:107
#11 0x00007fffc659e069 in Worksheet::~Worksheet() (this=0xc53d40) at ./src/worksheet.cpp:101
#12 0x00007ffff633924b in QObjectPrivate::deleteChildren() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007ffff70c4d5c in QWidget::~QWidget() () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007ffff70c4f99 in QWidget::~QWidget() () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007ffff633924b in QObjectPrivate::deleteChildren() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007ffff70c4d5c in QWidget::~QWidget() () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007ffff72343b9 in QStackedWidget::~QStackedWidget() () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007ffff633924b in QObjectPrivate::deleteChildren() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007ffff70c4d5c in QWidget::~QWidget() () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007ffff72552a9 in QTabWidget::~QTabWidget() () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007ffff633924b in QObjectPrivate::deleteChildren() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007ffff70c4d5c in QWidget::~QWidget() () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007ffff7b4ea14 in KMainWindow::~KMainWindow() () at /usr/lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#24 0x000000000040d710 in CantorShell::~CantorShell() (this=0x50e600) at ./obj-x86_64-linux-gnu/src/cantor_autogen/EWIEGA46WW/../../../../src/cantor.h:56
#25 0x000000000040d710 in CantorShell::~CantorShell() (this=0x50e600) at ./obj-x86_64-linux-gnu/src/cantor_autogen/EWIEGA46WW/../../../../src/cantor.h:56
#26 0x00007ffff633c1f0 in QObject::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007ffff70c975b in QWidget::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#28 0x00007ffff71dcc6b in QMainWindow::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#29 0x00007ffff7b50feb in KMainWindow::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#30 0x00007ffff7b9d147 in KXmlGuiWindow::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#31 0x00007ffff708a83c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#32 0x00007ffff7092104 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#33 0x00007ffff630c9e8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#34 0x00007ffff630f15d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#35 0x00007ffff6366373 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#36 0x00007ffff2d20417 in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007ffff2d20650 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007ffff2d206dc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007ffff636599f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#40 0x00007ffff630aa1a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#41 0x00007ffff6313ac4 in QCoreApplication::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#42 0x000000000040fb02 in main(int, char**) (argc=<optimised out>, argv=<optimised out>) at ./src/main.cpp:156
>
Comment 26 Nikita Sirgienko 2019-06-01 21:34:34 UTC
Well, looks the problem appears after login in first expression evaluation. Intresting.
Comment 27 Nikita Sirgienko 2019-06-01 21:40:20 UTC
What about cantor_juliaserver process? Is he alive, when Cantor starts hanging on "Calculation"?
Comment 28 Nikita Sirgienko 2019-06-01 22:27:43 UTC
I had reproduced the issue, in some sense.

1. Build Cantor with my Julia v1.0.0
2. Then, without 'make clean', rerun cmake with JULIA_EXECUTABLE points to julia v1.1.0 (or remove julia v1.0.0 and install julia v1.1.0)
3. Build Cantor (it's not actually full rebuild, so it passes quickly)
4. Install
Now we have corrupted Julia backend: cantor_juliaserver will crash on any Julia error and Cantor will never finish evaluation on entry with error code.

Second moment, it's a GR julia module, which Cantor uses for embedded graphic. Important, that Cantor don't check GR precense and just import GR module, which, if GR module not installed, cause *julia error*. Often is not a problem, we just got an error, handle it and continue to work.

Important, that Cantor does this import *before* running user code from first user code entry.

As can be seen, synergy of this two problems cause unending login (Cantor done login, send import code, server crashs and Cantor never finish computing first user code entry), that you describe in this bug report.

There is a easy way to check, if I am right about your problem: you need go to Julia settings and disable 'Integrate Plots in Worksheet' checkbox.
If after this you could login in julia (for example, with code `print("Hello world!")`), then we successfully localized your problem.
Comment 29 vialav 2019-06-02 07:37:46 UTC
> What about cantor_juliaserver process?

I run a watcher, and cantor_juliaserver does never show up, at any stage. Yes, it is present on my system: 

$ objdump -p $(which cantor_juliaserver) # yields a normal objdump


> I had reproduced the issue, in some sense.

Well, otherwise an interesting twist, it was, unfortunately, unrelated: I have disabled 'Integrate Plots in Worksheet' checkbox, and re-run Cantor. There was no change in hanging on "Calculation…". May be the starting point(s) would be why cantor_juliaserver does not show up? And what that SIGSEGV upon immediate File->Exit might mean? There was no noticeable change in the backported KDE frameworks 5.58 when they non-backported moved from Qt v5.9.5 to Qt v5.10.0 (mostly only by adding fancy tests, which anyway are unrelated to runtime), so may be it is possible to judge from the gdb output, which the framework might (or might not) need (or does not) my attention. 


Back to cantor_juliaserver not showing up in the processes:
this is what the output shows, when I restart the backend (not too much):

wsStatusChange 1
login to julia  1.2.0-rc1 done
wsStatusChange 0
interrupting  "print(\"Hello world!\")"
wsStatusChange 1
wsStatusChange 2
wsStatusChange 1
login to julia  1.2.0-rc1 done
wsStatusChange 0
interrupting  "print(\"Hello world!\")"
wsStatusChange 1
wsStatusChange 2
wsStatusChange 1
login to julia  1.2.0-rc1 done
wsStatusChange 2
Comment 30 Nikita Sirgienko 2019-06-02 08:28:56 UTC
(In reply to vialav from comment #29)
> > What about cantor_juliaserver process?
> 
> I run a watcher, and cantor_juliaserver does never show up, at any stage.
> Yes, it is present on my system: 
> 
> $ objdump -p $(which cantor_juliaserver) # yields a normal objdump
> 
> 
> > I had reproduced the issue, in some sense.
> 
> Well, otherwise an interesting twist, it was, unfortunately, unrelated: I
> have disabled 'Integrate Plots in Worksheet' checkbox, and re-run Cantor.
> There was no change in hanging on "Calculation…". May be the starting
> point(s) would be why cantor_juliaserver does not show up? And what that
> SIGSEGV upon immediate File->Exit might mean? There was no noticeable change
> in the backported KDE frameworks 5.58 when they non-backported moved from Qt
> v5.9.5 to Qt v5.10.0 (mostly only by adding fancy tests, which anyway are
> unrelated to runtime), so may be it is possible to judge from the gdb
> output, which the framework might (or might not) need (or does not) my
> attention. 
> 
I also had reproduced SIGSEGV, looks it's actually bug with Cantor GUI (more precisely with update caption "Interrupt/Evaluate Worksheet"): if user call exit, when one of entry is computing, there is SEGSEGV on exit. I am sure, that this bug not related with your problem.

> Back to cantor_juliaserver not showing up in the processes:
> this is what the output shows, when I restart the backend (not too much):

Yes, cantor_juliaserver actually do Julia computation and Cantor wait its response.
So no server - no results and computing hungs on Calculating.
According your information I make a conclusion, that server starts and response normally, but crashs on running Julia code or on login.

Could you please run julia and execute "import REPL"?
Comment 31 Nikita Sirgienko 2019-06-02 13:42:25 UTC
In 1e144559c034ff70b23b3d6b5c1b7b28dbf8af18 on master I had made a few improvments of Julia backend.

Could you give a try and checks, if the problem gone (or debug messages become more usefull)?
Comment 32 vialav 2019-06-02 17:35:47 UTC
$ julia
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.2.0-rc1.0
 _/ |\__'_|_|_|\__'_|  |  Ubuntu ⛬  julia/1.2.0~rc1+dfsg-1+mkl+native
|__/                   |

julia> import REPL

julia>
Comment 33 vialav 2019-06-02 17:38:27 UTC
> In 1e144559c034ff70b23b3d6b5c1b7b28dbf8af18 on master I had made a few improvments of Julia backend.

I will be shortly back and give it a try. Thank you for working on this.
Comment 34 vialav 2019-06-02 19:22:56 UTC
$ cantor

QObject::connect: signal not found in KSelectAction
QObject::connect: signal not found in KToggleAction
QObject::connect: signal not found in QAction
QObject::connect: signal not found in QAction
QObject::connect: signal not found in QAction
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/16/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/22/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/24/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/32/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/48/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/64/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/128/"
dir:  "/usr/lib/x86_64-linux-gnu/qt5/plugins/cantor/backends"
Creating MaximaBackend
Creating NullBackend
Creating PythonBackend
Creating PythonBackend
Creating RBackend
Creating SageBackend
Creating ScilabBackend
dir:  "/usr/bin/cantor/backends"
QObject::connect: signal not found in QListWidget
QObject::connect: signal not found in QListWidget
"Julia" true true
"KAlgebra" true true
"Lua" true true
"Maxima" true true
"nullbackend" false true
"Octave" true true
"Python 2" true true
"Python 3" true true
"Qalculate" true true
"R" true true
"Sage" true true
"Scilab" true true
QObject::connect: signal not found in QDialogButtonBox
QObject::connect: signal not found in QDialogButtonBox
QObject::connect: signal not found in BackendChooseDialog

<I had to close the Cantor backend selection window because neither of two buttons OK or Cancel worked>

<Now I have an empty window and no backend icons are visible :-( if clicking File -> New; closing>

<now I start Cantor explicitly with the Julia backend>

$ cantor -b julia # Wow! Julia is working!!! Thank you!:

QObject::connect: signal not found in KSelectAction
QObject::connect: signal not found in KToggleAction
QObject::connect: signal not found in QAction
QObject::connect: signal not found in QAction
QObject::connect: signal not found in QAction
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/16/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/22/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/24/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/32/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/48/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/64/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/128/"
dir:  "/usr/lib/x86_64-linux-gnu/qt5/plugins/cantor/backends"
Creating MaximaBackend
Creating NullBackend
Creating PythonBackend
Creating PythonBackend
Creating RBackend
Creating SageBackend
Creating ScilabBackend
dir:  "/usr/bin/cantor/backends"
Backend  "Julia"  offers extensions:  ("VariableManagementExtension", "PackagingExtension", "PlotExtension", "ScriptExtension", "LinearAlgebraExtension")
JuliaSession(0x230efb0) Cantor::VariableManagementExtension(0x2089060, name = "VariableManagementExtension")
new worksheetaccess interface
loading assistants...
dir:  "/usr/lib/x86_64-linux-gnu/qt5/plugins/cantor/assistants"
plugin  "AdvancedPlot"  is not supported by  "Julia"
plugin  "Create Matrix"  is supported by  "Julia" , requires extensions  ("LinearAlgebraExtension")
QObject::connect: signal not found in QAction
plugin  "Differentiate"  is not supported by  "Julia"
plugin  "Eigenvalues"  is not supported by  "Julia"
plugin  "Eigenvectors"  is not supported by  "Julia"
plugin  "Import Package"  is supported by  "Julia" , requires extensions  ("PackagingExtension")
QObject::connect: signal not found in QAction
plugin  "Integrate"  is not supported by  "Julia"
plugin  "Invert Matrix"  is not supported by  "Julia"
plugin  "Plot2d"  is supported by  "Julia" , requires extensions  ("PlotExtension")
QObject::connect: signal not found in QAction
plugin  "Plot3d"  is supported by  "Julia" , requires extensions  ("PlotExtension")
QObject::connect: signal not found in QAction
plugin  "QalculatePlot"  is not supported by  "Julia"
plugin  "RunScript"  is supported by  "Julia" , requires extensions  ("ScriptExtension")
QObject::connect: signal not found in QAction
plugin  "Solve"  is not supported by  "Julia"
dir:  "/usr/bin/cantor/assistants"
loading panel plugins for session of type  "Julia"
dir:  "/usr/lib/x86_64-linux-gnu/qt5/plugins/cantor/panels"
plugin  "Help"  is supported, requires extensions  ("")
plugin  "Variable Manager"  is supported, requires extensions  ("VariableManagementExtension")
dir:  "/usr/bin/cantor/panels"
Entry Appended
adding panel for  "Help"
adding panel for  "Variable Manager"
ShortcutOverride 16777220 QFlags<Qt::KeyboardModifiers>(ShiftModifier)
julia bindir "/usr/bin"
wsStatusChange 1
login to julia done
wsStatusChange 0
setting result to a type  1  result
update Entry
Entry Appended
wsStatusChange 1
org.kde.knotifications: Audio notification requested, but sound file from notifyrc file was not found, aborting audio notification
wsStatusChange 2
QProcess: Destroyed while process ("/usr/bin/cantor_juliaserver") is still running.

<And I also see the backend icons now under File -> New, but only if had been run first with the -b switch>

<So, interactive backend selection doesn't work, but Julia is back to life. I think, it is an 80% success.>
Comment 35 Nikita Sirgienko 2019-06-02 19:38:36 UTC
I see a lot of failed Qt connection. And it's weird.
For example, your BackendChooseDialog don't work because of
```
QObject::connect: signal not found in QDialogButtonBox
QObject::connect: signal not found in QDialogButtonBox
QObject::connect: signal not found in BackendChooseDialog
```
Without this connection (linking buttons and Cantor) the buttons, of cause, will not working.
Comment 36 Nikita Sirgienko 2019-06-02 19:45:51 UTC
For example trace output.
````
$ cantor
dir:  "/usr/local/lib/x86_64-linux-gnu/plugins/cantor/backends"
Creating MaximaBackend
Creating NullBackend
Creating PythonBackend
Creating PythonBackend
Creating RBackend
Creating SageBackend
Creating ScilabBackend
dir:  "/usr/lib/x86_64-linux-gnu/qt5/plugins/cantor/backends"
dir:  "/usr/local/bin/cantor/backends"
"Julia" true true
"KAlgebra" true true
"Lua" true true
"Maxima" true true
"nullbackend" false true
"Octave" true true
"Python 2" true true
"Python 3" true true
"Qalculate" true true
"R" true true
"Sage" true true
"Scilab" true true
Backend  "Julia"  offers extensions:  ("VariableManagementExtension", "PackagingExtension", "PlotExtension", "ScriptExtension", "LinearAlgebraExtension")
JuliaSession(0x5583866245a0) Cantor::VariableManagementExtension(0x5583864befe0, name = "VariableManagementExtension")
new worksheetaccess interface
loading assistants...
dir:  "/usr/local/lib/x86_64-linux-gnu/plugins/cantor/assistants"
plugin  "AdvancedPlot"  is not supported by  "Julia"
plugin  "Create Matrix"  is supported by  "Julia" , requires extensions  ("LinearAlgebraExtension")
plugin  "Differentiate"  is not supported by  "Julia"
plugin  "Eigenvalues"  is not supported by  "Julia"
plugin  "Eigenvectors"  is not supported by  "Julia"
plugin  "Import Package"  is supported by  "Julia" , requires extensions  ("PackagingExtension")
plugin  "Integrate"  is not supported by  "Julia"
plugin  "Invert Matrix"  is not supported by  "Julia"
plugin  "Plot2d"  is supported by  "Julia" , requires extensions  ("PlotExtension")
plugin  "Plot3d"  is supported by  "Julia" , requires extensions  ("PlotExtension")
plugin  "QalculatePlot"  is not supported by  "Julia"
plugin  "RunScript"  is supported by  "Julia" , requires extensions  ("ScriptExtension")
plugin  "Solve"  is not supported by  "Julia"
dir:  "/usr/lib/x86_64-linux-gnu/qt5/plugins/cantor/assistants"
dir:  "/usr/local/bin/cantor/assistants"
loading panel plugins for session of type  "Julia"
dir:  "/usr/local/lib/x86_64-linux-gnu/plugins/cantor/panels"
plugin  "Help"  is supported, requires extensions  ("")
plugin  "Variable Manager"  is supported, requires extensions  ("VariableManagementExtension")
dir:  "/usr/lib/x86_64-linux-gnu/qt5/plugins/cantor/panels"
dir:  "/usr/local/bin/cantor/panels"
Entry Appended
adding panel for  "Help"
adding panel for  "Variable Manager"
ShortcutOverride 16777220 QFlags<Qt::KeyboardModifiers>(ShiftModifier)
julia bindir "/mnt/Red/progs_for_cantor/julia-1.0.4/bin"
wsStatusChange 1
login to julia done
wsStatusChange 0
setting result to a type  1  result
update Entry
Entry Appended
wsStatusChange 1
ShortcutOverride 16777220 QFlags<Qt::KeyboardModifiers>(ShiftModifier)
wsStatusChange 0
setting result to a type  1  result
update Entry
Entry Appended
wsStatusChange 1
```
Comment 37 Nikita Sirgienko 2019-06-02 19:54:47 UTC
So I will recommend checks your Qt installation, because QDialogButtonBox exists since Qt 4.3, connected to slot via new connection syntax, which exists since Qt 5.6.
Comment 38 Nikita Sirgienko 2019-06-02 20:03:35 UTC
Although, in your previous Cantor dumps connections hadn't been failed.
So maybe you just need (in cantor dir)
$sudo make uninstall && rm -rf *
And full rebuild Cantor
Comment 39 vialav 2019-06-02 21:44:48 UTC
I've just recompiled Cantor, and the buttons still does'nt work. If I install the previous version, the buttons work, however. Cleaning the installation is ensured by the Debian packaging for 100%, and I was only in doubts about the compilation process, because I'd accidentally interrupted and resumed it; however, the clean building process says the same, that:

QObject::connect: signal not found in KSelectAction
QObject::connect: signal not found in KToggleAction
QObject::connect: signal not found in QAction
QObject::connect: signal not found in QAction
QObject::connect: signal not found in QAction
…
QObject::connect: signal not found in QDialogButtonBox
QObject::connect: signal not found in QDialogButtonBox
QObject::connect: signal not found in QDialogButtonBox

is related to the latest changes in the code. 

I'm seeing some new commits for the Python backend, so, I'll recompile with those and post here the results.
Comment 40 vialav 2019-06-02 22:18:32 UTC
I can swiftly report that the buttons still don't work with the latest code (the same symptoms). About Python refactoring I may open a new ticket, if needed, but both the python(s) backend(s) stopped working, seemingly unable to `import numpy`, which is present and importable. In addition Shift+Enter doesn't crash Cantor, but clicking on the "triangle" to execute a cell (not touching a keyboard) leads to a segfault.

QObject::connect: signal not found in KSelectAction
QObject::connect: signal not found in KToggleAction
QObject::connect: signal not found in QAction
QObject::connect: signal not found in QAction
QObject::connect: signal not found in QAction
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/16/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/22/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/24/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/32/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/48/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/64/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/128/"
dir:  "/usr/lib/x86_64-linux-gnu/qt5/plugins/cantor/backends"
Creating MaximaBackend
Creating NullBackend
Creating PythonBackend
Creating PythonBackend
Creating RBackend
Creating SageBackend
Creating ScilabBackend
dir:  "/usr/bin/cantor/backends"
Backend  "Python 2"  offers extensions:  ("LinearAlgebraExtension", "PackagingExtension", "PlotExtension", "ScriptExtension", "VariableManagementExtension")
PythonSession(0x1b61840) Cantor::VariableManagementExtension(0x18ee380, name = "VariableManagementExtension")
PythonHighlighter constructor
PythonKeywords constructor
new worksheetaccess interface
loading assistants...
dir:  "/usr/lib/x86_64-linux-gnu/qt5/plugins/cantor/assistants"
plugin  "AdvancedPlot"  is not supported by  "Python 2"
plugin  "Create Matrix"  is supported by  "Python 2" , requires extensions  ("LinearAlgebraExtension")
QObject::connect: signal not found in QAction
plugin  "Differentiate"  is not supported by  "Python 2"
plugin  "Eigenvalues"  is not supported by  "Python 2"
plugin  "Eigenvectors"  is not supported by  "Python 2"
plugin  "Import Package"  is supported by  "Python 2" , requires extensions  ("PackagingExtension")
QObject::connect: signal not found in QAction
plugin  "Integrate"  is not supported by  "Python 2"
plugin  "Invert Matrix"  is not supported by  "Python 2"
plugin  "Plot2d"  is supported by  "Python 2" , requires extensions  ("PlotExtension")
QObject::connect: signal not found in QAction
plugin  "Plot3d"  is supported by  "Python 2" , requires extensions  ("PlotExtension")
QObject::connect: signal not found in QAction
plugin  "QalculatePlot"  is not supported by  "Python 2"
plugin  "RunScript"  is supported by  "Python 2" , requires extensions  ("ScriptExtension")
QObject::connect: signal not found in QAction
plugin  "Solve"  is not supported by  "Python 2"
dir:  "/usr/bin/cantor/assistants"
loading panel plugins for session of type  "Python 2"
Requesting capabilities of Python3Session
dir:  "/usr/lib/x86_64-linux-gnu/qt5/plugins/cantor/panels"
plugin  "Help"  is supported, requires extensions  ("")
plugin  "Variable Manager"  is not supported
dir:  "/usr/bin/cantor/panels"
Requesting capabilities of Python3Session
Entry Appended
adding panel for  "Help"
ShortcutOverride 16777220 QFlags<Qt::KeyboardModifiers>(ShiftModifier)
login
QObject::connect: signal not found in QTimer
send command:  "login" ()
send command:  "setFilePath" ("")
evaluating:  "try:\n    import numpy\nexcept ModuleNotFoundError:\n    pass\n"
wsStatusChange 0
wsStatusChange 0
run first expression "try:\n    import numpy\nexcept ModuleNotFoundError:\n    pass\n\n"
send command:  "code" ("try:\n    import numpy\nexcept ModuleNotFoundError:\n    pass\n\n")
wsStatusChange 1
evaluating:  "1+1"
wsStatusChange 0
Comment 41 vialav 2019-06-02 22:23:07 UTC
…and cantor_python(s) were present in the processes after exiting Cantor.
Comment 42 vialav 2019-06-02 22:30:20 UTC
…one last addition, because I think it would be useful:

The just described first mouse-only clicking segfaulting behaviour to execute the cell ('Hello' example, or, indeed, any other) in Cantor under Python segfaults even with my builds from the commit on 31 May. There is no such behaviour if I execute the cell with Shift+Enter (it starts a normal session and yields the cell output).
Comment 43 Nikita Sirgienko 2019-06-03 06:46:05 UTC
Create separate reports about buttons (Qt signals problem) and Python problems.

Also crash on "triangle" was related with failed qt connection, i think.
About Python, please attached more debug information, in this output I don't see your user code (run `1+1` or print version information (sys.version_info). Maybe Cantor (on cmake stage) found broken Python from previous installation and work with him.
Also, please attached debug from Python3 session.

About Julia, with Julia we finished, right?
Comment 44 vialav 2019-06-03 07:40:18 UTC
I see one more commit about the Python backend, with which I want to re-compile Cantor, and then sort out the tickets. Here I just want to clarify, that my system has a single system-wide Python2/3 installation(s), instantiated by `python` and `python3`, accordingly, so there could be no issue with broken Python(s), and there also is a working single system-wide Qt 5.9.5 installation with the KDE 5.58.0 frameworks, if that matters. 

The following excerpt from my last post shows that I tried to run the hello example ("send command" and "run first expression"), but yes, it doesn't show up in the logs. Then I restarted the backend, and tried "1+1" ("evaluating"):

ShortcutOverride 16777220 QFlags<Qt::KeyboardModifiers>(ShiftModifier)
login
QObject::connect: signal not found in QTimer
send command:  "login" ()
send command:  "setFilePath" ("")
evaluating:  "try:\n    import numpy\nexcept ModuleNotFoundError:\n    pass\n"
wsStatusChange 0
wsStatusChange 0
run first expression "try:\n    import numpy\nexcept ModuleNotFoundError:\n    pass\n\n"
send command:  "code" ("try:\n    import numpy\nexcept ModuleNotFoundError:\n    pass\n\n")
wsStatusChange 1
evaluating:  "1+1"
wsStatusChange 0

I'll do a recompilation now.
Comment 45 vialav 2019-06-03 07:54:51 UTC
 dpkg-buildpackage -us -uc -ui
dpkg-buildpackage: info: source package cantor
dpkg-buildpackage: info: source version 4:19.07.70+git20190603-0ubuntu1+mkl~18.04.2
dpkg-buildpackage: info: source distribution bionic
dpkg-buildpackage: info: source changed by <ubuntu>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
dpkg-source: info: using options from cantor-19.07.70+git20190603/debian/source/options: --extend-diff-ignore=po
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: applying bionic.patch
 fakeroot debian/rules clean
/usr/share/pkg-kde-tools/qt-kde-team/3/dhmk.pl --with=kf5,pkgkde-symbolshelper 
dpkg-buildflags --export=make > debian/dhmk_env.mk
/usr/bin/make -f debian/rules dhmk_run_clean_commands DHMK_TARGET="clean"
make[1]: Entering directory '/home/cantor/cantor-19.07.70+git20190603'
dh_testdir  
dh_auto_clean '--buildsystem=kf5' --parallel  
dh_clean  
rm -rf debian/man/out
rmdir debian/man
rmdir: failed to remove 'debian/man': No such file or directory
/usr/share/pkg-kde-tools/qt-kde-team/3/debian-qt-kde.mk:76: recipe for target 'cleanup_manpages' failed
make[1]: [cleanup_manpages] Error 1 (ignored)
rm -f debian/stamp-man-pages
rm -f debian/dhmk-install-list debian/dhmk-package-list
make[1]: Leaving directory '/home/cantor/cantor-19.07.70+git20190603'
rm -f debian/dhmk_rules.mk debian/dhmk_env.mk debian/dhmk_configure debian/dhmk_build-indep debian/dhmk_build-arch debian/dhmk_build
# "clean" target is done
-- SUCCESS making standard target 'clean'.
 dpkg-source -b .
dpkg-source: warning: Version number suggests Ubuntu changes, but Maintainer: does not have Ubuntu address
dpkg-source: info: using options from cantor-19.07.70+git20190603/debian/source/options: --extend-diff-ignore=po
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: info: building cantor using existing ./cantor_19.07.70+git20190603.orig.tar.xz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: building cantor in cantor_19.07.70+git20190603-0ubuntu1+mkl~18.04.2.debian.tar.xz
dpkg-source: info: building cantor in cantor_19.07.70+git20190603-0ubuntu1+mkl~18.04.2.dsc
 debian/rules build
/usr/share/pkg-kde-tools/qt-kde-team/3/dhmk.pl --with=kf5,pkgkde-symbolshelper 
dpkg-buildflags --export=make > debian/dhmk_env.mk
/usr/bin/make -f debian/rules dhmk_run_configure_commands DHMK_TARGET="configure"
make[1]: Entering directory '/home/cantor/cantor-19.07.70+git20190603'
dh_testdir  
# Running override target (override_dh_auto_configure)
test -z "`ls debian/*.debhelper.log 2>/dev/null`" || sed -i '/^override_dh_auto_configure[[:space:]]/d' debian/*.debhelper.log
/usr/bin/make -f debian/rules override_dh_auto_configure DH_INTERNAL_OVERRIDE="dh_auto_configure"  
make[2]: Entering directory '/home/cantor/cantor-19.07.70+git20190603'
dh_auto_configure '--buildsystem=kf5' --parallel  -- -DBUILD_TESTING=OFF
	cd obj-x86_64-linux-gnu && cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DCMAKE_INSTALL_RUNSTATEDIR=/run "-GUnix Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu -DCMAKE_BUILD_TYPE=Debian -DCMAKE_INSTALL_SYSCONFDIR=/etc -DKDE_INSTALL_USE_QT_SYS_PATHS=ON -DBUILD_TESTING=OFF ..
-- The C compiler identification is GNU 9.1.0
-- The CXX compiler identification is GNU 9.1.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found KF5Config: /usr/lib/x86_64-linux-gnu/cmake/KF5Config/KF5ConfigConfig.cmake (found version "5.58.0") 
-- Found KF5Crash: /usr/lib/x86_64-linux-gnu/cmake/KF5Crash/KF5CrashConfig.cmake (found version "5.58.0") 
-- Found KF5Completion: /usr/lib/x86_64-linux-gnu/cmake/KF5Completion/KF5CompletionConfig.cmake (found version "5.58.0") 
-- Found KF5DocTools: /usr/lib/x86_64-linux-gnu/cmake/KF5DocTools/KF5DocToolsConfig.cmake (found version "5.58.0") 
-- Found KF5NewStuff: /usr/lib/x86_64-linux-gnu/cmake/KF5NewStuff/KF5NewStuffConfig.cmake (found version "5.58.0") 
-- Found KF5IconThemes: /usr/lib/x86_64-linux-gnu/cmake/KF5IconThemes/KF5IconThemesConfig.cmake (found version "5.58.0") 
-- Found Gettext: /usr/bin/msgmerge (found version "0.19.8.1") 
-- Found KF5TextEditor: /usr/lib/x86_64-linux-gnu/cmake/KF5TextEditor/KF5TextEditorConfig.cmake (found version "5.59.0") 
-- Found KF5CoreAddons: /usr/lib/x86_64-linux-gnu/cmake/KF5CoreAddons/KF5CoreAddonsConfig.cmake (found version "5.59.0") 
-- Found KF5Archive: /usr/lib/x86_64-linux-gnu/cmake/KF5Archive/KF5ArchiveConfig.cmake (found version "5.58.0") 
-- Found KF5Parts: /usr/lib/x86_64-linux-gnu/cmake/KF5Parts/KF5PartsConfig.cmake (found version "5.58.0") 
-- Found KF5SyntaxHighlighting: /usr/lib/x86_64-linux-gnu/cmake/KF5SyntaxHighlighting/KF5SyntaxHighlightingConfig.cmake (found version "5.58.0") 
-- Found KF5TextWidgets: /usr/lib/x86_64-linux-gnu/cmake/KF5TextWidgets/KF5TextWidgetsConfig.cmake (found version "5.58.0") 
-- Found KF5KIO: /usr/lib/x86_64-linux-gnu/cmake/KF5KIO/KF5KIOConfig.cmake (found version "5.59.0") 
-- Found KF5XmlGui: /usr/lib/x86_64-linux-gnu/cmake/KF5XmlGui/KF5XmlGuiConfig.cmake (found version "5.58.0") 
-- Found KF5I18n: /usr/lib/x86_64-linux-gnu/cmake/KF5I18n/KF5I18nConfig.cmake (found version "5.58.0") 
-- Found KF5: success (found suitable version "5.58.0", minimum required is "5.49.0") found components:  Config Crash Completion DocTools NewStuff IconThemes TextEditor CoreAddons Archive Parts SyntaxHighlighting TextWidgets KIO XmlGui I18n 
-- Found KF5Pty: /usr/lib/x86_64-linux-gnu/cmake/KF5Pty/KF5PtyConfig.cmake (found version "5.58.0") 
-- Found KF5: success (found suitable version "5.58.0", minimum required is "5.49.0") found components:  Pty 
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - found
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_DATE_TIME
-- Performing Test HAVE_DATE_TIME - Success
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") 
-- Checking for module 'libspectre'
--   Found libspectre, version 0.2.8
-- Found LibSpectre: /usr/lib/x86_64-linux-gnu/libspectre.so  
-- Found Discount: /usr/lib/x86_64-linux-gnu/libmarkdown.so (Required is at least version "2.2.0") 
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- Found R: /usr/bin/R  
-- Checking for module 'libqalculate'
--   Found libqalculate, version 2.8.2
-- Found Qalculate: /usr/lib/x86_64-linux-gnu/libqalculate.so  
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython2.7.so (found suitable version "2.7.15+", minimum required is "2.7") 
-- Found PythonLibs3: /usr/lib/x86_64-linux-gnu/libpython3.6m.so  
-- Found LuaJIT: /usr/lib/x86_64-linux-gnu/libluajit-5.1.so  
-- Found Julia: /usr/lib/x86_64-linux-gnu/libjulia.so (found version "1.2.0") 
-- The following OPTIONAL packages have been found:

 * KF5Attica (required version >= 5.58.0)
 * KF5NewStuffCore (required version >= 5.58.0)
 * KF5Sonnet (required version >= 5.58.0)
 * KF5Service (required version >= 5.58.0)
 * KF5Bookmarks (required version >= 5.58.0)
 * KF5ItemViews (required version >= 5.58.0)
 * KF5JobWidgets (required version >= 5.58.0)
 * KF5Solid (required version >= 5.58.0)
 * KF5Auth (required version >= 5.58.0)
 * KF5Codecs (required version >= 5.58.0)
 * KF5WidgetsAddons (required version >= 5.58.0)
 * KF5ConfigWidgets (required version >= 5.58.0)
 * LibSpectre, A PostScript rendering library, <http://libspectre.freedesktop.org/wiki/>
   Support for rendering EPS files in Cantor
 * Discount (required version >= 2.2.0), A C implementation of the Markdown markup language, <https://www.pell.portland.or.us/~orc/Code/discount/>
   Used for Markdown entries in Cantor
 * Analitza5, A library provided by KAlgebra., <http://edu.kde.org/kalgebra/>
   Backend to use KAlgebra with Cantor.
 * R, A free software environment for statistical computing and graphics., <http://www.r-project.org/>
   Backend to use R with Cantor.
 * Qalculate, A multi-purpose desktop calculator with support for customizable functions, units and arbitrary precision., <http://qalculate.sourceforge.net/>
   Backend to use Qalculate with Cantor.
 * PythonLibs (required version >= 2.7), A powerful dynamic programming language., <https://www.python.org/>
   Backend to use Python 2 with Cantor.
 * PythonLibs3, A powerful dynamic programming language., <https://www.python.org/>
   Backend to use Python 3 with Cantor.
 * PkgConfig
 * LuaJIT, A lightweight, extensible programming language (luajit implementation)., <http://www.lua.org/>
   Backend to use Lua (luajit2) with Cantor.
 * Julia, A high-level, high-performance dynamic programming language for technical computing, <http://julialang.org/>
   Backend to use Julia with Cantor.

-- The following REQUIRED packages have been found:

 * ECM (required version >= 5.15.0)
 * Qt5PrintSupport
 * Qt5Svg
 * Qt5XmlPatterns
 * Qt5Test
 * KF5Crash (required version >= 5.49.0)
 * KF5DocTools (required version >= 5.49.0)
 * KF5NewStuff (required version >= 5.49.0)
 * KF5IconThemes (required version >= 5.49.0)
 * KF5TextEditor (required version >= 5.49.0)
 * KF5Archive (required version >= 5.49.0)
 * KF5Parts (required version >= 5.49.0)
 * Qt5Gui
 * Qt5 (required version >= 5.9)
 * KF5SyntaxHighlighting (required version >= 5.49.0)
 * KF5TextWidgets (required version >= 5.49.0)
 * KF5Completion (required version >= 5.58.0)
 * Qt5Network (required version >= 5.9.5)
 * KF5KIO (required version >= 5.49.0)
 * Qt5Xml (required version >= 5.9.5)
 * KF5Config (required version >= 5.58.0)
 * Qt5Widgets (required version >= 5.9.5)
 * KF5XmlGui (required version >= 5.49.0)
 * Gettext
 * KF5I18n (required version >= 5.49.0)
 * KF5CoreAddons (required version >= 5.58.0)
 * KF5Pty (required version >= 5.49.0)
 * KF5 (required version >= 5.49.0)
 * Qt5Core (required version >= 5.6)

-- Configuring done
CMake Warning:
  Value of JULIA_INCLUDE_DIRS contained a newline; truncating


-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_EXPORT_NO_PACKAGE_REGISTRY
    CMAKE_INSTALL_RUNSTATEDIR


CMake Warning:
  Value of JULIA_INCLUDE_DIRS contained a newline; truncating


-- Build files have been written to: /home/cantor/cantor-19.07.70+git20190603/obj-x86_64-linux-gnu
make[2]: Leaving directory '/home/cantor/cantor-19.07.70+git20190603'
make[1]: Leaving directory '/home/cantor/cantor-19.07.70+git20190603'
touch debian/dhmk_configure
# "configure" target is done
/usr/bin/make -f debian/rules dhmk_run_build_commands DHMK_TARGET="build"
make[1]: Entering directory '/home/cantor/cantor-19.07.70+git20190603'
dh_testdir  
dh_auto_build '--buildsystem=kf5' --parallel  
	cd obj-x86_64-linux-gnu && make -j1 "INSTALL=install --strip-program=true"
make[2]: Entering directory '/home/cantor/cantor-19.07.70+git20190603/obj-x86_64-linux-gnu'
/usr/bin/cmake -S/home/cantor/cantor-19.07.70+git20190603 -B/home/cantor/cantor-19.07.70+git20190603/obj-x86_64-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /home/cantor/cantor-19.07.70+git20190603/obj-x86_64-linux-gnu/CMakeFiles /home/cantor/cantor-19.07.70+git20190603/obj-x86_64-linux-gnu/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[3]: Entering directory '/home/cantor/cantor-19.07.70+git20190603/obj-x86_64-linux-gnu'
make -f CMakeFiles/pofiles-4c4329ef15213bd3dfc96971426d0876.dir/build.make CMakeFiles/pofiles-4c4329ef15213bd3dfc96971426d0876.dir/depend
make[4]: Entering directory '/home/cantor/cantor-19.07.70+git20190603/obj-x86_64-linux-gnu'
cd /home/cantor/cantor-19.07.70+git20190603/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/cantor/cantor-19.07.70+git20190603 /home/cantor/cantor-19.07.70+git20190603 /home/cantor/cantor-19.07.70+git20190603/obj-x86_64-linux-gnu /home/cantor/cantor-19.07.70+git20190603/obj-x86_64-linux-gnu /home/cantor/cantor-19.07.70+git20190603/obj-x86_64-linux-gnu/CMakeFiles/pofiles-4c4329ef15213bd3dfc96971426d0876.dir/DependInfo.cmake --color=
Scanning dependencies of target pofiles-4c4329ef15213bd3dfc96971426d0876
make[4]: Leaving directory '/home/cantor/cantor-19.07.70+git20190603/obj-x86_64-linux-gnu'
make -f CMakeFiles/pofiles-4c4329ef15213bd3dfc96971426d0876.dir/build.make CMakeFiles/pofiles-4c4329ef15213bd3dfc96971426d0876.dir/build
make[4]: Entering directory '/home/cantor/cantor-19.07.70+git20190603/obj-x86_64-linux-gnu'
[  0%] Generating mo...
<stripped>
Comment 46 vialav 2019-06-03 07:58:58 UTC
[ 10%] Building CXX object src/lib/CMakeFiles/cantorlibs.dir/directives/plotdirectives.cpp.o
cd /home/cantor/cantor-19.07.70+git20190603/obj-x86_64-linux-gnu/src/lib && /usr/bin/c++  -DKCOREADDONS_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DQT_XML_LIB -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Dcantorlibs_EXPORTS -I/home/cantor/cantor-19.07.70+git20190603/obj-x86_64-linux-gnu/src/lib -I/home/cantor/cantor-19.07.70+git20190603/src/lib -I/home/cantor/cantor-19.07.70+git20190603/obj-x86_64-linux-gnu/src/lib/cantorlibs_autogen/include -isystem /usr/include/KF5/KCompletion -isystem /usr/include/KF5 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -isystem /usr/include/KF5/KIconThemes -isystem /usr/include/KF5/KIOCore -isystem /usr/include/KF5/KCoreAddons -isystem /usr/include/KF5/KService -isystem /usr/include/KF5/KConfigCore -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtConcurrent -isystem /usr/include/x86_64-linux-gnu/qt5/QtDBus -isystem /usr/include/KF5/KIOFileWidgets -isystem /usr/include/KF5/KIOWidgets -isystem /usr/include/KF5/KJobWidgets -isystem /usr/include/KF5/KWidgetsAddons -isystem /usr/include/KF5/KBookmarks -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/KF5/KItemViews -isystem /usr/include/KF5/KXmlGui -isystem /usr/include/KF5/KConfigWidgets -isystem /usr/include/KF5/KCodecs -isystem /usr/include/KF5/KConfigGui -isystem /usr/include/KF5/KAuth -isystem /usr/include/KF5/Solid -isystem /usr/include/KF5/KArchive -isystem /usr/include/KF5/KI18n  -g -O2 -fdebug-prefix-map=/home/cantor/cantor-19.07.70+git20190603=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -fopenmp -mtune=native -O3 -fPIC -flto=jobserver -flto-compression-level=9 -fomit-frame-pointer -funroll-loops -DMKL_LP64 -DM_PI=3.1415926535897932384 -I/usr/include/mkl -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/mkl -I/usr/include/mkl/fftw -I/usr/include/suitesparse -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/mkl -I/usr/include/mkl/fftw -I/usr/include/suitesparse -std=c++0x -fno-operator-names -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -std=c++0x -fno-operator-names -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -fexceptions -fPIC -fvisibility=hidden -fvisibility-inlines-hidden   -fPIC -std=gnu++11 -o CMakeFiles/cantorlibs.dir/directives/plotdirectives.cpp.o -c /home/cantor/cantor-19.07.70+git20190603/src/lib/directives/plotdirectives.cpp
In file included from /home/cantor/cantor-19.07.70+git20190603/src/lib/directives/plotdirectives.h:24,
                 from /home/cantor/cantor-19.07.70+git20190603/src/lib/directives/plotdirectives.cpp:21:
/home/cantor/cantor-19.07.70+git20190603/src/lib/extension.h:231:47: warning: ‘virtual QString Cantor::PlotTitleDirective::dispatch(const Cantor::AdvancedPlotExtension::AcceptorBase&) const’ can be marked override [-Wsuggest-override]
  231 | #define PLOT_DIRECTIVE_DISPATCHING(x) QString dispatch(const Cantor::AdvancedPlotExtension::AcceptorBase& acc) const \
      |                                               ^~~~~~~~
/home/cantor/cantor-19.07.70+git20190603/src/lib/directives/plotdirectives.h:33:13: note: in expansion of macro ‘PLOT_DIRECTIVE_DISPATCHING’
   33 |             PLOT_DIRECTIVE_DISPATCHING(PlotTitleDirective);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/cantor/cantor-19.07.70+git20190603/src/lib/extension.h:231:47: warning: ‘virtual QString Cantor::AbstractScaleDirective::dispatch(const Cantor::AdvancedPlotExtension::AcceptorBase&) const’ can be marked override [-Wsuggest-override]
  231 | #define PLOT_DIRECTIVE_DISPATCHING(x) QString dispatch(const Cantor::AdvancedPlotExtension::AcceptorBase& acc) const \
      |                                               ^~~~~~~~
/home/cantor/cantor-19.07.70+git20190603/src/lib/directives/plotdirectives.h:46:13: note: in expansion of macro ‘PLOT_DIRECTIVE_DISPATCHING’
   46 |             PLOT_DIRECTIVE_DISPATCHING(AbstractScaleDirective);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/cantor/cantor-19.07.70+git20190603/src/lib/extension.h:231:47: warning: ‘virtual QString Cantor::OrdinateScaleDirective::dispatch(const Cantor::AdvancedPlotExtension::AcceptorBase&) const’ can be marked override [-Wsuggest-override]
  231 | #define PLOT_DIRECTIVE_DISPATCHING(x) QString dispatch(const Cantor::AdvancedPlotExtension::AcceptorBase& acc) const \
      |                                               ^~~~~~~~
/home/cantor/cantor-19.07.70+git20190603/src/lib/directives/plotdirectives.h:61:13: note: in expansion of macro ‘PLOT_DIRECTIVE_DISPATCHING’
   61 |             PLOT_DIRECTIVE_DISPATCHING(OrdinateScaleDirective);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/cantor/cantor-19.07.70+git20190603/src/lib/extension.h:231:47: warning: ‘virtual QString Cantor::AbscissScaleDirective::dispatch(const Cantor::AdvancedPlotExtension::AcceptorBase&) const’ can be marked override [-Wsuggest-override]
  231 | #define PLOT_DIRECTIVE_DISPATCHING(x) QString dispatch(const Cantor::AdvancedPlotExtension::AcceptorBase& acc) const \
      |                                               ^~~~~~~~
/home/cantor/cantor-19.07.70+git20190603/src/lib/directives/plotdirectives.h:69:13: note: in expansion of macro ‘PLOT_DIRECTIVE_DISPATCHING’
   69 |             PLOT_DIRECTIVE_DISPATCHING(AbscissScaleDirective);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~
Comment 47 vialav 2019-06-03 08:01:16 UTC
[ 32%] Generating ui_settings.h
cd /home/ubuntu/src/salsa.debian.org/qt-kde-team/cantor-19.07.70+git20190603/cantor-19.07.70+git20190603/obj-x86_64-linux-gnu/src/backends/octave && /usr/bin/cmake -DKDE_UIC_EXECUTABLE:FILEPATH=/usr/lib/qt5/bin/uic -DKDE_UIC_FILE:FILEPATH=/home/ubuntu/src/salsa.debian.org/qt-kde-team/cantor-19.07.70+git20190603/cantor-19.07.70+git20190603/src/backends/octave/settings.ui -DKDE_UIC_H_FILE:FILEPATH=/home/ubuntu/src/salsa.debian.org/qt-kde-team/cantor-19.07.70+git20190603/cantor-19.07.70+git20190603/obj-x86_64-linux-gnu/src/backends/octave/ui_settings.h -DKDE_UIC_BASENAME:STRING=settings -P /usr/lib/x86_64-linux-gnu/cmake/KF5I18n/kf5i18nuic.cmake
/home/ubuntu/src/salsa.debian.org/qt-kde-team/cantor-19.07.70+git20190603/cantor-19.07.70+git20190603/src/backends/octave/settings.ui: Warning: The name 'horizontalLayout' (QHBoxLayout) is already in use, defaulting to 'horizontalLayout1'.
Comment 48 vialav 2019-06-03 08:02:31 UTC
/home/cantor/cantor-19.07.70+git20190603/src/backends/octave/octavesyntaxhelpobject.cpp: In member function ‘void OctaveSyntaxHelpObject::fetchingDone
(Cantor::Expression::Status)’:
/home/cantor/cantor-19.07.70+git20190603/src/backends/octave/octavesyntaxhelpobject.cpp:58:9: warning: this statement may fall through [-Wimplicit-fal
lthrough=]
   58 |         }
      |         ^
/home/cantor/cantor-19.07.70+git20190603/src/backends/octave/octavesyntaxhelpobject.cpp:61:9: note: here
   61 |         case Cantor::Expression::Interrupted:
      |         ^~~~
Comment 49 vialav 2019-06-03 08:03:59 UTC
In file included from /home/cantor/cantor-19.07.70+git20190603/src/backends/R/rextensions.h:24,
                 from /home/cantor/cantor-19.07.70+git20190603/src/backends/R/rbackend.cpp:24:
/home/cantor/cantor-19.07.70+git20190603/src/lib/extension.h:231:47: warning: ‘virtual QString Cantor::PlotTitleDirective::dispatch(const Cantor::AdvancedPlotExtension::AcceptorBase&) const’ can be marked override [-Wsuggest-override]
  231 | #define PLOT_DIRECTIVE_DISPATCHING(x) QString dispatch(const Cantor::AdvancedPlotExtension::AcceptorBase& acc) const \
      |                                               ^~~~~~~~
/home/cantor/cantor-19.07.70+git20190603/src/lib/directives/plotdirectives.h:33:13: note: in expansion of macro ‘PLOT_DIRECTIVE_DISPATCHING’
   33 |             PLOT_DIRECTIVE_DISPATCHING(PlotTitleDirective);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/cantor/cantor-19.07.70+git20190603/src/lib/extension.h:231:47: warning: ‘virtual QString Cantor::AbstractScaleDirective::dispatch(const Cantor::AdvancedPlotExtension::AcceptorBase&) const’ can be marked override [-Wsuggest-override]
  231 | #define PLOT_DIRECTIVE_DISPATCHING(x) QString dispatch(const Cantor::AdvancedPlotExtension::AcceptorBase& acc) const \
      |                                               ^~~~~~~~
/home/cantor/cantor-19.07.70+git20190603/src/lib/directives/plotdirectives.h:46:13: note: in expansion of macro ‘PLOT_DIRECTIVE_DISPATCHING’
   46 |             PLOT_DIRECTIVE_DISPATCHING(AbstractScaleDirective);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/cantor/cantor-19.07.70+git20190603/src/lib/extension.h:231:47: warning: ‘virtual QString Cantor::OrdinateScaleDirective::dispatch(const Cantor::AdvancedPlotExtension::AcceptorBase&) const’ can be marked override [-Wsuggest-override]
  231 | #define PLOT_DIRECTIVE_DISPATCHING(x) QString dispatch(const Cantor::AdvancedPlotExtension::AcceptorBase& acc) const \
      |                                               ^~~~~~~~
/home/cantor/cantor-19.07.70+git20190603/src/lib/directives/plotdirectives.h:61:13: note: in expansion of macro ‘PLOT_DIRECTIVE_DISPATCHING’
   61 |             PLOT_DIRECTIVE_DISPATCHING(OrdinateScaleDirective);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/cantor/cantor-19.07.70+git20190603/src/lib/extension.h:231:47: warning: ‘virtual QString Cantor::AbscissScaleDirective::dispatch(const Cantor::AdvancedPlotExtension::AcceptorBase&) const’ can be marked override [-Wsuggest-override]
  231 | #define PLOT_DIRECTIVE_DISPATCHING(x) QString dispatch(const Cantor::AdvancedPlotExtension::AcceptorBase& acc) const \
      |                                               ^~~~~~~~
/home/cantor/cantor-19.07.70+git20190603/src/lib/directives/plotdirectives.h:69:13: note: in expansion of macro ‘PLOT_DIRECTIVE_DISPATCHING’
   69 |             PLOT_DIRECTIVE_DISPATCHING(AbscissScaleDirective);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~
Comment 50 vialav 2019-06-03 08:06:19 UTC
In file included from /home/cantor/cantor-19.07.70+git20190603/src/backends/R/rextensions.h:24,
                 from /home/cantor/cantor-19.07.70+git20190603/src/backends/R/rbackend.cpp:24:
/home/cantor/cantor-19.07.70+git20190603/src/lib/extension.h:231:47: warning: ‘virtual QString Cantor::PlotTitleDirective::dispatch(const Cantor::AdvancedPlotExtension::AcceptorBase&) const’ can be marked override [-Wsuggest-override]
  231 | #define PLOT_DIRECTIVE_DISPATCHING(x) QString dispatch(const Cantor::AdvancedPlotExtension::AcceptorBase& acc) const \
      |                                               ^~~~~~~~
/home/cantor/cantor-19.07.70+git20190603/src/lib/directives/plotdirectives.h:33:13: note: in expansion of macro ‘PLOT_DIRECTIVE_DISPATCHING’
   33 |             PLOT_DIRECTIVE_DISPATCHING(PlotTitleDirective);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/cantor/cantor-19.07.70+git20190603/src/lib/extension.h:231:47: warning: ‘virtual QString Cantor::AbstractScaleDirective::dispatch(const Cantor::AdvancedPlotExtension::AcceptorBase&) const’ can be marked override [-Wsuggest-override]
  231 | #define PLOT_DIRECTIVE_DISPATCHING(x) QString dispatch(const Cantor::AdvancedPlotExtension::AcceptorBase& acc) const \
      |                                               ^~~~~~~~
/home/cantor/cantor-19.07.70+git20190603/src/lib/directives/plotdirectives.h:46:13: note: in expansion of macro ‘PLOT_DIRECTIVE_DISPATCHING’
   46 |             PLOT_DIRECTIVE_DISPATCHING(AbstractScaleDirective);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/cantor/cantor-19.07.70+git20190603/src/lib/extension.h:231:47: warning: ‘virtual QString Cantor::OrdinateScaleDirective::dispatch(const Cantor::AdvancedPlotExtension::AcceptorBase&) const’ can be marked override [-Wsuggest-override]
  231 | #define PLOT_DIRECTIVE_DISPATCHING(x) QString dispatch(const Cantor::AdvancedPlotExtension::AcceptorBase& acc) const \
      |                                               ^~~~~~~~
/home/cantor/cantor-19.07.70+git20190603/src/lib/directives/plotdirectives.h:61:13: note: in expansion of macro ‘PLOT_DIRECTIVE_DISPATCHING’
   61 |             PLOT_DIRECTIVE_DISPATCHING(OrdinateScaleDirective);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/cantor/cantor-19.07.70+git20190603/src/lib/extension.h:231:47: warning: ‘virtual QString Cantor::AbscissScaleDirective::dispatch(const Cantor::AdvancedPlotExtension::AcceptorBase&) const’ can be marked override [-Wsuggest-override]
  231 | #define PLOT_DIRECTIVE_DISPATCHING(x) QString dispatch(const Cantor::AdvancedPlotExtension::AcceptorBase& acc) const \
      |                                               ^~~~~~~~
/home/cantor/cantor-19.07.70+git20190603/src/lib/directives/plotdirectives.h:69:13: note: in expansion of macro ‘PLOT_DIRECTIVE_DISPATCHING’
   69 |             PLOT_DIRECTIVE_DISPATCHING(AbscissScaleDirective);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~
Comment 51 vialav 2019-06-03 08:06:59 UTC
/home/cantor/cantor-19.07.70+git20190603/src/backends/R/rcompletionobject.cpp: In member function ‘void RCompletionObject::receiveCompletions(Cantor::
Expression::Status)’:
/home/cantor/cantor-19.07.70+git20190603/src/backends/R/rcompletionobject.cpp:93:13: warning: this statement may fall through [-Wimplicit-fallthrough=
]
   93 |             }
      |             ^
/home/cantor/cantor-19.07.70+git20190603/src/backends/R/rcompletionobject.cpp:95:9: note: here
   95 |         case Expression::Status::Error:
      |         ^~~~
Comment 52 vialav 2019-06-03 08:09:39 UTC
<ok, I thought there would be few, however not; so I'll stop here not to spam the bugtracker> 
I'm testing Cantor now.
Comment 53 vialav 2019-06-03 08:35:32 UTC
I hardly could make a better report than the following: 

[This block shortly appears before any further session, and goes away]:

QObject::connect: signal not found in KSelectAction
QObject::connect: signal not found in KToggleAction
QObject::connect: signal not found in QAction
QObject::connect: signal not found in QAction
QObject::connect: signal not found in QAction

(read further):
Comment 54 vialav 2019-06-03 08:36:06 UTC
$ gdb cantor
…
>>> run

─── Output/messages ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/16/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/22/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/24/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/32/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/48/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/64/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/128/"
dir:  "/usr/lib/x86_64-linux-gnu/qt5/plugins/cantor/backends"
Creating MaximaBackend
Creating NullBackend
Creating PythonBackend
Creating PythonBackend
Creating RBackend
Creating SageBackend
Creating ScilabBackend
dir:  "/usr/bin/cantor/backends"
[Detaching after fork from child process 14032]
QObject::connect: signal not found in QListWidget
QObject::connect: signal not found in QListWidget
[Detaching after fork from child process 14033]
[Detaching after fork from child process 14034]
"Julia" true true
[Detaching after fork from child process 14035]
"KAlgebra" true true
"Lua" true true
"Maxima" true true
"nullbackend" false true
"Octave" true true
"Python 2" true true
"Python 3" true true
"Qalculate" true true
"R" true true
"Sage" true true
"Scilab" true true
QObject::connect: signal not found in QDialogButtonBox
QObject::connect: signal not found in QDialogButtonBox
QObject::connect: signal not found in BackendChooseDialog

<the OK and Cancel buttons don't work>
<I've closed the backend selection window via [x]>

<No the backends icons are visible in File -> New (it is an empty list)>

<closed Cantor>

[Thread 0x7fffeb1b4700 (LWP 14024) exited]
[Thread 0x7fffd90af700 (LWP 14029) exited]
[Thread 0x7fffdbde3700 (LWP 14027) exited]
[Thread 0x7fffe217f700 (LWP 14025) exited]
[Thread 0x7fffee32e800 (LWP 14020) exited]
[Inferior 1 (process 14020) exited normally]
>>> quit
Comment 55 vialav 2019-06-03 08:38:41 UTC
$ gdb --args cantor -b julia
…
>>> run

─── Output/messages ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/16/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/22/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/24/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/32/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/48/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/64/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/128/"
dir:  "/usr/lib/x86_64-linux-gnu/qt5/plugins/cantor/backends"
Creating MaximaBackend
Creating NullBackend
Creating PythonBackend
Creating PythonBackend
Creating RBackend
Creating SageBackend
Creating ScilabBackend
dir:  "/usr/bin/cantor/backends"
[Detaching after fork from child process 14202]
Backend  "Julia"  offers extensions:  ("VariableManagementExtension", "PackagingExtension", "PlotExtension", "ScriptExtension", "LinearAlgebraExtension")
JuliaSession(0xbef270) Cantor::VariableManagementExtension(0xb6e380, name = "VariableManagementExtension")
new worksheetaccess interface
loading assistants...
dir:  "/usr/lib/x86_64-linux-gnu/qt5/plugins/cantor/assistants"
plugin  "AdvancedPlot"  is not supported by  "Julia"
plugin  "Create Matrix"  is supported by  "Julia" , requires extensions  ("LinearAlgebraExtension")
QObject::connect: signal not found in QAction
plugin  "Differentiate"  is not supported by  "Julia"
plugin  "Eigenvalues"  is not supported by  "Julia"
plugin  "Eigenvectors"  is not supported by  "Julia"
plugin  "Import Package"  is supported by  "Julia" , requires extensions  ("PackagingExtension")
QObject::connect: signal not found in QAction
plugin  "Integrate"  is not supported by  "Julia"
plugin  "Invert Matrix"  is not supported by  "Julia"
plugin  "Plot2d"  is supported by  "Julia" , requires extensions  ("PlotExtension")
QObject::connect: signal not found in QAction
plugin  "Plot3d"  is supported by  "Julia" , requires extensions  ("PlotExtension")
QObject::connect: signal not found in QAction
plugin  "QalculatePlot"  is not supported by  "Julia"
plugin  "RunScript"  is supported by  "Julia" , requires extensions  ("ScriptExtension")
QObject::connect: signal not found in QAction
plugin  "Solve"  is not supported by  "Julia"
dir:  "/usr/bin/cantor/assistants"
loading panel plugins for session of type  "Julia"
dir:  "/usr/lib/x86_64-linux-gnu/qt5/plugins/cantor/panels"
plugin  "Help"  is supported, requires extensions  ("")
plugin  "Variable Manager"  is supported, requires extensions  ("VariableManagementExtension")
dir:  "/usr/bin/cantor/panels"
Entry Appended
adding panel for  "Help"
adding panel for  "Variable Manager"
[Detaching after fork from child process 14203]

[Cantor] >>> print("Hello, world!") [Shift + Enter]

Backend  "Julia"  offers extensions:  ("VariableManagementExtension", "PackagingExtension", "PlotExtension", "ScriptExtension", "LinearAlgebraExtension")
JuliaSession(0xbef030) Cantor::VariableManagementExtension(0x8115c0, name = "VariableManagementExtension")
new worksheetaccess interface
loading assistants...
dir:  "/usr/lib/x86_64-linux-gnu/qt5/plugins/cantor/assistants"
plugin  "AdvancedPlot"  is not supported by  "Julia"
plugin  "Create Matrix"  is supported by  "Julia" , requires extensions  ("LinearAlgebraExtension")
QObject::connect: signal not found in QAction
plugin  "Differentiate"  is not supported by  "Julia"
plugin  "Eigenvalues"  is not supported by  "Julia"
plugin  "Eigenvectors"  is not supported by  "Julia"
plugin  "Import Package"  is supported by  "Julia" , requires extensions  ("PackagingExtension")
QObject::connect: signal not found in QAction
plugin  "Integrate"  is not supported by  "Julia"
plugin  "Invert Matrix"  is not supported by  "Julia"
plugin  "Plot2d"  is supported by  "Julia" , requires extensions  ("PlotExtension")
QObject::connect: signal not found in QAction
plugin  "Plot3d"  is supported by  "Julia" , requires extensions  ("PlotExtension")
QObject::connect: signal not found in QAction
plugin  "QalculatePlot"  is not supported by  "Julia"
plugin  "RunScript"  is supported by  "Julia" , requires extensions  ("ScriptExtension")
QObject::connect: signal not found in QAction
plugin  "Solve"  is not supported by  "Julia"
dir:  "/usr/bin/cantor/assistants"
loading panel plugins for session of type  "Julia"
dir:  "/usr/lib/x86_64-linux-gnu/qt5/plugins/cantor/panels"
plugin  "Help"  is supported, requires extensions  ("")
plugin  "Variable Manager"  is supported, requires extensions  ("VariableManagementExtension")
dir:  "/usr/bin/cantor/panels"
Entry Appended
adding panel for  "Help"
adding panel for  "Variable Manager"
[Detaching after fork from child process 14282]
ShortcutOverride 16777220 QFlags<Qt::KeyboardModifiers>(ShiftModifier)
[Detaching after fork from child process 14283]
julia bindir "/usr/bin"
wsStatusChange 1
login to julia done
wsStatusChange 0
setting result to a type  1  result
update Entry
Entry Appended
wsStatusChange 1

[Cantor] Hello, world!
[Cantor] [File -> Exit]

org.kde.knotifications: Audio notification requested, but sound file from notifyrc file was not found, aborting audio notification
wsStatusChange 2
QProcess: Destroyed while process ("/usr/bin/cantor_juliaserver") is still running.
[Thread 0x7fffeb1b4700 (LWP 14274) exited]
[Thread 0x7fffd90af700 (LWP 14279) exited]
[Thread 0x7fffdbde3700 (LWP 14277) exited]
[Thread 0x7fffe197e700 (LWP 14276) exited]
[Thread 0x7fffe217f700 (LWP 14275) exited]
[Inferior 1 (process 14270) exited normally]
>>> quit

<The backends icons are visible in File -> New>
<the Julia backend is working as expected>

> About Julia, with Julia we finished, right?
Yes.
Comment 56 vialav 2019-06-03 08:45:34 UTC
$ gdb --args cantor -b python2

─── Output/messages ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/16/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/22/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/24/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/32/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/48/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/64/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/128/"
dir:  "/usr/lib/x86_64-linux-gnu/qt5/plugins/cantor/backends"
Creating MaximaBackend
Creating NullBackend
Creating PythonBackend
Creating PythonBackend
Creating RBackend
Creating SageBackend
Creating ScilabBackend
dir:  "/usr/bin/cantor/backends"
Backend  "Python 2"  offers extensions:  ("LinearAlgebraExtension", "PackagingExtension", "PlotExtension", "ScriptExtension", "VariableManagementExtension")
PythonSession(0xbe5880) Cantor::VariableManagementExtension(0x9b5c60, name = "VariableManagementExtension")
PythonHighlighter constructor
PythonKeywords constructor
new worksheetaccess interface
loading assistants...
dir:  "/usr/lib/x86_64-linux-gnu/qt5/plugins/cantor/assistants"
plugin  "AdvancedPlot"  is not supported by  "Python 2"
plugin  "Create Matrix"  is supported by  "Python 2" , requires extensions  ("LinearAlgebraExtension")
QObject::connect: signal not found in QAction
plugin  "Differentiate"  is not supported by  "Python 2"
plugin  "Eigenvalues"  is not supported by  "Python 2"
plugin  "Eigenvectors"  is not supported by  "Python 2"
plugin  "Import Package"  is supported by  "Python 2" , requires extensions  ("PackagingExtension")
QObject::connect: signal not found in QAction
plugin  "Integrate"  is not supported by  "Python 2"
plugin  "Invert Matrix"  is not supported by  "Python 2"
plugin  "Plot2d"  is supported by  "Python 2" , requires extensions  ("PlotExtension")
QObject::connect: signal not found in QAction
plugin  "Plot3d"  is supported by  "Python 2" , requires extensions  ("PlotExtension")
QObject::connect: signal not found in QAction
plugin  "QalculatePlot"  is not supported by  "Python 2"
plugin  "RunScript"  is supported by  "Python 2" , requires extensions  ("ScriptExtension")
QObject::connect: signal not found in QAction
plugin  "Solve"  is not supported by  "Python 2"
dir:  "/usr/bin/cantor/assistants"
loading panel plugins for session of type  "Python 2"
Requesting capabilities of Python3Session
dir:  "/usr/lib/x86_64-linux-gnu/qt5/plugins/cantor/panels"
plugin  "Help"  is supported, requires extensions  ("")
plugin  "Variable Manager"  is supported, requires extensions  ("VariableManagementExtension")
dir:  "/usr/bin/cantor/panels"
Requesting capabilities of Python3Session
Entry Appended
adding panel for  "Help"
adding panel for  "Variable Manager"
[Detaching after fork from child process 14358]

[Cantor] >>> import sys; print (sys.version_info)

ShortcutOverride 16777220 QFlags<Qt::KeyboardModifiers>(ShiftModifier)
login
[Detaching after fork from child process 14547]
QObject::connect: signal not found in QTimer
send command:  "login" ()
send command:  "setFilePath" ("")
wsStatusChange 1
evaluating:  "import sys; print (sys.version_info)"
wsStatusChange 0
wsStatusChange 0
run first expression "import sys; print (sys.version_info)\n"
send command:  "code" ("import sys; print (sys.version_info)\n")

[Cantor] (hungs on "Calculating…")
[File -> Exit]

ShortcutOverride 16777220 QFlags<Qt::KeyboardModifiers>(ShiftModifier)
login
[Detaching after fork from child process 14547]
QObject::connect: signal not found in QTimer
send command:  "login" ()
send command:  "setFilePath" ("")
wsStatusChange 1
evaluating:  "import sys; print (sys.version_info)"
wsStatusChange 0
wsStatusChange 0
run first expression "import sys; print (sys.version_info)\n"
send command:  "code" ("import sys; print (sys.version_info)\n")
send command:  "exit" ()
logout
wsStatusChange 2
[Thread 0x7fffeb1b4700 (LWP 14349) exited]
[Thread 0x7fffd90af700 (LWP 14354) exited]
[Thread 0x7fffdbde3700 (LWP 14352) exited]
[Thread 0x7fffe217f700 (LWP 14350) exited]
[Thread 0x7fffee32e800 (LWP 14345) exited]
[Inferior 1 (process 14345) exited normally]
>>> quit


$ python -c 'import sys; print (sys.version_info)'
sys.version_info(major=2, minor=7, micro=15, releaselevel='final', serial=0)

$ python3 -c 'import sys; print (sys.version_info)'
sys.version_info(major=3, minor=6, micro=8, releaselevel='final', serial=0)


<there is no difference from Python 2 under the Python 3 session:>

ShortcutOverride 16777220 QFlags<Qt::KeyboardModifiers>(ShiftModifier)
login
[Detaching after fork from child process 14646]
QObject::connect: signal not found in QTimer
send command:  "login" ()
send command:  "setFilePath" ("")
wsStatusChange 1
evaluating:  "print(\"Hello, world!\")"
wsStatusChange 0
wsStatusChange 0
run first expression "print(\"Hello, world!\")\n"
send command:  "code" ("print(\"Hello, world!\")\n")

<Cantor hungs on Calculating…> [File -> Exit]

send command:  "exit" ()
logout
wsStatusChange 2
[Thread 0x7fffeb1b4700 (LWP 14637) exited]
[Thread 0x7fffd90af700 (LWP 14642) exited]
[Thread 0x7fffdbde3700 (LWP 14640) exited]
[Thread 0x7fffe197e700 (LWP 14639) exited]
[Thread 0x7fffe217f700 (LWP 14638) exited]
[Inferior 1 (process 14633) exited normally]
>>> quit


Cantor exited normally (there was no need in gdb, actually).

There are also `cantor_python3server` and `cantor_python2server` hunged in the processes. I'm terminating them now.


P.S. I'm reposting the things concerning the python backend(s) and the buttons (Qt signals problem) under separate tickets since I've run out of time.