-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
scsynth doesn't start #257
Comments
starting scsynch manually from cmd (after sc launched) returns:
What pointer? |
I recompilled and reinstalled it. Now error is
cmd is the same :
|
Would help to know which plugin is failing. Cant find in the code May be deleting a suspicious one? Without If that is not giving more info we should use gdb:
then |
@sonoro1234 thanks for reply!
You know, I delete all of them to check, and nothing changed. Moreover, deleting sc3 or installing sc without sc3 returns the same error, plus one more: $ scsynth -u 57110
Exception in World_New: Permission denied
Segmentation error (memory stack is throwed to disk)
I did. No more verbosity.
There is one line $ scsynth -u 57110 -V -2
free(): invalid pointer
Segmentation error (memory stack is throwed to disk)
Do you mean this one
returns $ export SC_SYNTHDEF_PATH="/home/metaxis/.local/share/SuperCollider/synthdefs/"
$ gdb --args scsynth -u 57110 -U "/usr/local/share/SuperCollider/Extensions/SC3plugins/"
GNU gdb (Ubuntu 8.1-0ubuntu3) 8.1.0.20180409-git
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
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:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from scsynth...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/local/bin/scsynth -u 57110 -U /usr/local/share/SuperCollider/Extensions/SC3plugins/
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Exception in World_New: Permission denied
Program received signal SIGSEGV, Segmentation fault.
__GI___pthread_mutex_lock (mutex=0x0) at ../nptl/pthread_mutex_lock.c:65
65 ../nptl/pthread_mutex_lock.c: There is no such file or directory.
(gdb) thread apply all bt
Thread 1 (Thread 0x7ffff7fa3380 (LWP 3525)):
#0 __GI___pthread_mutex_lock (mutex=0x0) at ../nptl/pthread_mutex_lock.c:65
#1 0x00005555555a0d69 in World_Cleanup.part.303 ()
#2 0x00005555555a2b16 in World_New ()
#3 0x0000555555562475 in main ()
(gdb) |
I dont understand. First you say
Then in last message
Also Lets start from the begining get a new 3.10.2 sc installation working without sc3-plugins For solving |
Yes, it is additional problem. I recompiled and reinstalled several times. scsynth didn't start anymore (no matter, either there is sc3 or not).
I did. The same error.
My build script for supercollider and for sc3-plugins btw. Now i have the following errors in different places. No matter is there sc3 or not.
I don't know now, how to come back and start server without sc3. |
So, recompile with Debug or RelWithDebInfo, run gdb and post results. (This is no more a sc3-plugins issue but a supercollider issue now) |
Should I move issue to SC repository? |
If you wish so, I dont mind really. In your build script change |
With $ scsynth -u 57110 -U "/usr/local/share/SuperCollider/Extensions/SC3plugins/"
JackDriver: client name is 'SuperCollider'
SC_AudioDriver: sample rate = 44100.000000, driver's block size = 1024
SuperCollider 3 server ready.
Zeroconf: registered service 'SuperCollider'
and with gbd (gdb) run
Starting program: /usr/local/bin/scsynth -u 57110 -U /usr/local/share/SuperCollider/Extensions/SC3plugins/
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff2c24700 (LWP 10186)]
[New Thread 0x7ffff7f5e700 (LWP 10187)]
[New Thread 0x7ffff2327700 (LWP 10188)]
JackDriver: client name is 'SuperCollider'
SC_AudioDriver: sample rate = 44100.000000, driver's block size = 1024
[New Thread 0x7ffff22a6700 (LWP 10189)]
[New Thread 0x7ffff2225700 (LWP 10190)]
[New Thread 0x7ffff1a24700 (LWP 10191)]
SuperCollider 3 server ready.
[New Thread 0x7ffff1223700 (LWP 10192)]
[Thread 0x7ffff1a24700 (LWP 10191) exited]
Zeroconf: registered service 'SuperCollider' but Supercollider ide can't starts it still, returning error
|
Being able to boot with RelWithDebInfo makes me clueless. |
Nevertheless, thank you for your help! |
System: Kubuntu 18.04
SC version: 3.10.2
SC3 version: 3.10
SC server stop to load today. I launched before. It launch if I deleted sc3-plugins.
Error message:
The text was updated successfully, but these errors were encountered: