Channel 0. Some channel settings could not be set. Sorry.

You're new to the LinuxSampler world? You don't know where to start and nothing works? Here's the place to ask for help.
Post Reply
dchurch
Newbie
Posts: 5
Joined: Sat Sep 04, 2010 7:46 pm

Channel 0. Some channel settings could not be set. Sorry.

Post by dchurch » Sat Sep 04, 2010 7:52 pm

Hi all,

~I've been trying for a couple of days to get LinuxSampler working. I've had some ups and downs, but now I can create midi devices etc... with no errors, so I am progressing in the right direction! ;-)

However, I cannot seem to load any .gig files. In either qsampler or fantasia.

If I load the maestro grand (or any .gig files) I get "Channel 0. Some channel settings could not be set. Sorry.".

At the CL, I get this:

Code: Select all

04-Sep-2010 19:39:36 org.linuxsampler.lscp.Client setSoTimeout
INFO: Unable to set timeout
java.net.SocketException: Socket Closed
	at java.net.AbstractPlainSocketImpl.setOption(AbstractPlainSocketImpl.java:182)
	at java.net.Socket.setSoTimeout(Socket.java:1035)
	at org.linuxsampler.lscp.Client.setSoTimeout(Client.java:188)
	at org.jsampler.task.Global$SetClientReadTimeout.exec(Global.java:265)
	at org.jsampler.task.EnhancedTask.run(EnhancedTask.java:57)
	at net.sf.juife.AbstractTask.invokeAndWait(AbstractTask.java:180)
	at net.sf.juife.TaskQueue.processTheQueue(TaskQueue.java:176)
	at net.sf.juife.TaskQueue.start0(TaskQueue.java:147)
	at net.sf.juife.TaskQueue.access$000(TaskQueue.java:43)
	at net.sf.juife.TaskQueue$1.run(TaskQueue.java:140)
In the messages window I get:

Code: Select all

Loading gig file '/home/dave/Desktop/Clean_Up/maestro_concert_grand_v2.gig'...linuxsampler: malloc.c:3074: sYSMALLOc: Assertion `(old_top == (((mbinptr) (((char *) &((av)->bins[((1) - 1) * 2])) - __builtin_offsetof (struct malloc_chunk, fd)))) && old_size == 0) || ((unsigned long) (old_size) >= (unsigned long)((((__builtin_offsetof (struct malloc_chunk, fd_nextsize))+((2 * (sizeof(size_t))) - 1)) & ~((2 * (sizeof(size_t))) - 1))) && ((old_top)->size & 0x1) && ((unsigned long)old_end & pagemask) == 0)' failed.
_lscp_client_evt_proc: recv: Connection reset by peer
lscp_client_call: send: Connection reset by peer
19:45:19.007 Client disconnecting...
19:45:19.038 Client disconnected.
19:45:19.044 Server was stopped with exit status 1.
19:45:19.051 Channel 0 Some channel settings could not be set. Sorry.
_lscp_client_evt_request: send: Broken pipe
I get a whole host more if I try the same in fantasia.

I'm on UbuntuStudio RT 9.10 64bit. When I was on 8.04 64bit I had this working fine.

I'm completely lost. Nmap shows me that something (I assume linuxsampler) is listening on port 8888. If linuxsampler is killed, then nothing is shown as listening on 8888.

It looks like the connection has been refused, but I'm guessing. I'm hoping that someone will be able to point me in the right direction. I have two dead legs from sitting on this chair for 2 solid days trying to get it working ;-)

dchurch
Newbie
Posts: 5
Joined: Sat Sep 04, 2010 7:46 pm

Re: Channel 0. Some channel settings could not be set. Sorry.

Post by dchurch » Mon Sep 06, 2010 11:50 am

Alternatively, is there another sampler program for Linux that uses .gig files that I could use?

Andreas
Developer
Posts: 214
Joined: Sun Feb 03, 2008 8:33 am

Re: Channel 0. Some channel settings could not be set. Sorry.

Post by Andreas » Mon Sep 06, 2010 6:05 pm

The malloc error message is the interesting one. It would be nice if you could test linuxsampler with valgrind. Install valgrind, and type:

valgrind linuxsampler

in a shell before starting qsampler/fantasia, and then try to load the gig file.

dchurch
Newbie
Posts: 5
Joined: Sat Sep 04, 2010 7:46 pm

Re: Channel 0. Some channel settings could not be set. Sorry.

Post by dchurch » Mon Sep 06, 2010 7:34 pm

Hi, thanks for the reply.

I have done as you say, I get the same errors and here's the output:

http://pastebin.com/GwieaVRF

It's gibberish to me ;-)

dchurch
Newbie
Posts: 5
Joined: Sat Sep 04, 2010 7:46 pm

Re: Channel 0. Some channel settings could not be set. Sorry.

Post by dchurch » Mon Sep 06, 2010 7:48 pm

Oddly, I ran it again the way you said (with valgrind) and it started to work!

Huge latency though, but it's a start!

Andreas
Developer
Posts: 214
Joined: Sun Feb 03, 2008 8:33 am

Re: Channel 0. Some channel settings could not be set. Sorry.

Post by Andreas » Mon Sep 06, 2010 8:26 pm

Thanks for the valgrind output. There's something strange going on. You get a crash in the std::set constructor, which doesn't take any parameters, so I fail to see how libgig can do something wrong when it calls the constructor.

Did you compile linuxsampler yourself, or did you use a prebuilt binary? If you used a binary, maybe it isn't compatible with the libstdc++ included in ubuntu 9.10?

dchurch
Newbie
Posts: 5
Joined: Sat Sep 04, 2010 7:46 pm

Re: Channel 0. Some channel settings could not be set. Sorry.

Post by dchurch » Mon Sep 06, 2010 8:54 pm

I downloaded a 64bit .deb file.

Post Reply