Interpreter has quit. [Exit code: 127]

Hello.
I upgraded from ubuntu 18 to ubuntu 19.04

Starting scide I get:
Interpreter has quit. [Exit code: 127]

Also I can not boot the interpreter from the menu.

Thanks Martin

Can you try running sclang in gdb?

(at terminal)
$ gdb sclang
..... stuff...
(gdb) run

Then when it crashes, do where to see where it’s breaking?

hjh

(gdb) run
Starting program: /usr/local/bin/sclang
/usr/local/bin/sclang: error while loading shared libraries: libreadline.so.7: cannot open shared object file:
No such file or directory
[Inferior 1 (process 2047) exited with code 0177]
(gdb)

synaptic shows that libreadline8: 8.0-1 & libreadline_dev: 8.0-1 is installed
thanks Martin

martin@drumanart:~$ gdb sclang
GNU gdb (Ubuntu 8.2.91.20190405-0ubuntu3) 8.2.91.20190405-git
Copyright © 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later …
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type “show copying” and “show warranty” for details.
This GDB was configured as “x86_64-linux-gnu”.
Type “show configuration” for configuration details.
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/.
Find the GDB manual and other documentation resources online at:
<www.gnu.org/software/gdb/documentation/>.

For help, type “help”.
Type “apropos word” to search for commands related to “word”…
Reading symbols from sclang…

Had to take away (http://) to post the reply …

OK… I’m on Ubuntu 18 and it has libreadline 7.

If you upgraded from 18 to 19, and 19 upgrades the libreadline version, I would expect you would have to rebuild SC. (Apologies if you already did that – your original post doesn’t say.) I’d suggest making a new build directory and redoing cmake .. to search for dependencies again.

If you did already rebuild SC, then I don’t know what to do next. But there are other developers on the forum who know the build system in more detail.

hjh

Now I rebuild SC using a different directory.

No I get:

compiling class library…
Found 716 primitives.
Compiling directory ‘/usr/local/share/SuperCollider/SCClassLibrary’
Compiling directory ‘/usr/local/share/SuperCollider/Extensions’
Compiling directory ‘/home/martin/.local/share/SuperCollider/Extensions’
numentries = 819916 / 12170244 = 0.067
5438 method selectors, 2238 classes
method table size 13252160 bytes, big table size 97361952
Number of Symbols 12280
Byte Code Size 368794
compiled 318 files in 0.19 seconds

Info: 4 methods are currently overwritten by extensions. To see which, execute:
MethodOverride.printAll

compile done
localhost : setting clientID to 0.
internal : setting clientID to 0.
ERROR: A primitive was not bound. 0 715
Instance of Method { (0x56062f1722c0, gc=01, fmt=00, flg=11, set=04)
instance variables [15]
raw1 : Float 0.000000 00000000 0070000C
raw2 : Float 0.000000 00000200 02010002
code : instance of Int8Array (0x56062f1725c0, size=4, set=2)
selectors : nil
constants : nil
prototypeFrame : instance of Array (0x56062f172500, size=2, set=2)
context : nil
argNames : instance of SymbolArray (0x56062f172440, size=2, set=2)
varNames : nil
sourceCode : nil
ownerClass : class Meta_QtGUI (0x56062f164a00)
name : Symbol ‘prSetStyle’
primitiveName : Symbol ‘_Qt_SetStyle’
filenameSymbol : Symbol ‘/usr/local/share/SuperCollider/SCClassLibrary/Common/GUI/Base/QtGUI.sc’
charPos : Integer 2899
}
ERROR: Primitive ‘__none’ failed.
Failed.
RECEIVER:
nil

PROTECTED CALL STACK:
Meta_MethodError:new 0x56062e550e80
arg this = PrimitiveFailedError
arg what = Failed.
arg receiver = nil
Meta_PrimitiveFailedError:new 0x56062e557440
arg this = PrimitiveFailedError
arg receiver = nil
Object:primitiveFailed 0x56062e0ff600
arg this = nil
Function:prTry 0x56062e7d1c00
arg this = a Function
var result = nil
var thread = a Thread
var next = nil
var wasInProtectedFunc = false

CALL STACK:
MethodError:reportError
arg this =
Nil:handleError
arg this = nil
arg error =
Thread:handleError
arg this =
arg error =
Object:throw
arg this =
Function:protect
arg this =
arg handler =
var result =
Meta_QtGUI:style_
arg this =
arg styleName = “Fusion”
Meta_QtGUI:initClass
arg this =
Meta_Class:initClassTree
arg this =
arg aClass =
var implementsInitClass = nil
ArrayedCollection:do
arg this = [*202]
arg function =
var i = 55
Meta_Class:initClassTree
arg this =
arg aClass =
var implementsInitClass = nil
Process:startup
arg this =
var time = 0.195856892
Main:startup
arg this =
var didWarnOverwrite = false
^^ The preceding error dump is for ERROR: Primitive ‘__none’ failed.
Failed.
RECEIVER: nil

ERROR: A primitive was not bound. 0 715
Instance of Method { (0x56062e3c92c0, gc=01, fmt=00, flg=11, set=04)
instance variables [15]
raw1 : Float 0.000000 00000000 0070000C
raw2 : Float 0.000000 00000200 02010002
code : instance of Int8Array (0x56062e3c95c0, size=4, set=2)
selectors : nil
constants : nil
prototypeFrame : instance of Array (0x56062e3c9500, size=2, set=2)
context : nil
argNames : instance of SymbolArray (0x56062e3c9440, size=2, set=2)
varNames : nil
sourceCode : nil
ownerClass : class Meta_ScIDE (0x56062e3af0c0)
name : Symbol ‘prConnect’
primitiveName : Symbol ‘_ScIDE_Connect’
filenameSymbol : Symbol ‘/usr/local/share/SuperCollider/SCClassLibrary/scide_scqt/ScIDE.sc’
charPos : Integer 10413
}
ERROR: Primitive ‘__none’ failed.
Failed.
RECEIVER:
nil
CALL STACK:
MethodError:reportError
arg this =
Nil:handleError
arg this = nil
arg error =
Thread:handleError
arg this =
arg error =
Object:throw
arg this =
Object:primitiveFailed
arg this = nil
Meta_ScIDE:prConnect
arg this = nil
arg ideName = nil
Meta_ScIDE:connect
arg this =
arg ideName = “SCIde_1726”
Process:interpretCmdLine
arg this =
^^ The preceding error dump is for ERROR: Primitive ‘__none’ failed.
Failed.
RECEIVER: nil

kind regards Martin

I complied SC again and now it works like a charm.

Thanks for help Martin