Atte - thanks for the JACK binary!
I was getting the segfaults and compilation error with the miniAudicle,
too, which is what I'd really like to use. Adding the stdio.h include
gets the miniAudicle compiled, but the segfault remains. So I ran this
through GDB just to see if the cause is the same, and it looks like both
are caused by this line of code:
Chuck_Instr_Func_Call_Member::execute (vm=<value optimized out>, shred=0x903ef78, this=<value optimized out>) at chuck_instr.cpp:3196
3196 t_CKUINT stack_depth = ( func->stack_depth >> 2 ) + ( func->stack_depth & 0x3 ? 1 : 0 );
The full text of GDB's output is below. Sorry not to offer a
solution... Like I said I know zero about C++.
Cheers,
Sean
[sean@zaphod src]$ gdb chuck
--- blah blah blah ---
This GDB was configured as "i686-pc-linux-gnu"...
(gdb) set args /home/sean/bin/chuck-1.2.1.2/examples/basic/moe.ck
(gdb) run
Starting program: /home/sean/bin/chuck-1.2.1.2/src/chuck /home/sean/bin/chuck-1.2.1.2/examples/basic/moe.ck
[Thread debugging using libthread_db enabled]
[New Thread 0xb7ab46d0 (LWP 5028)]
[New Thread 0xb7ab3b70 (LWP 5031)]
[New Thread 0xb72b2b70 (LWP 5032)]
[Thread 0xb72b2b70 (LWP 5032) exited]
[New Thread 0xb72b2b70 (LWP 5034)]
[Thread 0xb72b2b70 (LWP 5034) exited]
[New Thread 0xb72b2b70 (LWP 5036)]
[New Thread 0xb6878b70 (LWP 5038)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb7ab46d0 (LWP 5028)]
Chuck_Instr_Func_Call_Member::execute (vm=<value optimized out>, shred=0x903ef78, this=<value optimized out>) at chuck_instr.cpp:3196
3196 t_CKUINT stack_depth = ( func->stack_depth >> 2 ) + ( func->stack_depth & 0x3 ? 1 : 0 );
(gdb) backtrace
#0 Chuck_Instr_Func_Call_Member::execute (vm=<value optimized out>, shred=0x903ef78, this=<value optimized out>) at chuck_instr.cpp:3196
#1 0x0805a7fb in Chuck_VM::compute (this=0x8efc460) at chuck_vm.cpp:1573
#2 0x0805ab24 in Chuck_VM::run (this=0x8efc460) at chuck_vm.cpp:595
#3 0x080a43bf in main (argc=2, argv=0xbfd04194) at chuck_main.cpp:696
[sean@zaphod wxw]$ gdb miniAudicle
--- more inconsequential output ---
This GDB was configured as "i686-pc-linux-gnu"...
(gdb) run
Starting program: /home/sean/bin/miniAudicle-0.1.3.8/wxw/miniAudicle
[Thread debugging using libthread_db enabled]
[New Thread 0xb698e700 (LWP 5776)]
[New Thread 0xb680cb70 (LWP 5779)]
[Thread 0xb680cb70 (LWP 5779) exited]
[New Thread 0xb680cb70 (LWP 5781)]
[Thread 0xb680cb70 (LWP 5781) exited]
[New Thread 0xb680cb70 (LWP 5783)]
[New Thread 0xb4560b70 (LWP 5784)]
[Thread 0xb4560b70 (LWP 5784) exited]
[New Thread 0xb4560b70 (LWP 5786)]
[Thread 0xb4560b70 (LWP 5786) exited]
[New Thread 0xb4560b70 (LWP 5788)]
[New Thread 0xb3d50b70 (LWP 5789)]
[Thread 0xb3d50b70 (LWP 5789) exited]
[New Thread 0xb3d50b70 (LWP 5791)]
[Thread 0xb3d50b70 (LWP 5791) exited]
[New Thread 0xb3d50b70 (LWP 5793)]
[New Thread 0xb3315b70 (LWP 5795)]
[New Thread 0xb2b14b70 (LWP 5796)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb2b14b70 (LWP 5796)]
Chuck_Instr_Func_Call_Member::execute (vm=<value optimized out>, shred=0x8f67c98, this=<value optimized out>) at chuck_instr.cpp:3196
3196 t_CKUINT stack_depth = ( func->stack_depth >> 2 ) + ( func->stack_depth & 0x3 ? 1 : 0 );
(gdb) backtrace
#0 Chuck_Instr_Func_Call_Member::execute (vm=<value optimized out>, shred=0x8f67c98, this=<value optimized out>) at chuck_instr.cpp:3196
#1 0x080a1b1b in Chuck_VM::compute (this=0x8e14db0) at chuck_vm.cpp:1573
#2 0x080a1ce2 in Chuck_VM::run (this=0x8e14db0, num_samps=1024) at chuck_vm.cpp:697
#3 0x080f9258 in Digitalio::cb2 (buffer=0x8ee9108 "\001", buffer_size=1024, user_data=0x8e14db0) at digiio_rtaudio.cpp:653
#4 0x08102703 in RtApiJack::callbackEvent (this=0x8f4b630, nframes=1024) at rtaudio.cpp:3329
#5 0x0810282b in jackCallbackHandler (nframes=1024, infoPointer=0x8f4baa8) at rtaudio.cpp:2865
#6 0xb789550e in jack_client_thread () from /usr/lib/libjack.so.0
#7 0xb7899531 in jack_thread_proxy () from /usr/lib/libjack.so.0
#8 0xb787a65c in start_thread () from /lib/libpthread.so.0
#9 0xb765d1fe in clone () from /lib/libc.so.6
On Fri, 11 Sep 2009 03:19:12 +0200
Atte Andre Jensen
Cody Loyd wrote:
LET ME KNOW IF YOU FIGURE IT OUT
please :) I could definitely use the JACK support
I had to copy my binaries from my ubuntu partition to arch to get it going. They seem to work well, placed them here, in case you'd like to try them out:
http://atte.dk/download/chuck-alsa http://atte.dk/download/chuck-jack
What's worse for me it that I also get segfaults with my miniAudicle (when adding shreds) compiled under arch, and here the ubuntu-one won't run :-( I suspect the problem to be the same or at least very similar, so I'd be most interested in any solution anyone comes up with.
[atte@vestbjerg ~]$ /mnt/ubuntu/usr/bin/miniAudicle-jack /mnt/ubuntu/usr/bin/miniAudicle-jack: Symbol `_ZTV19wxTopLevelWindowGTK' has different size in shared object, consider re-linking /mnt/ubuntu/usr/bin/miniAudicle-jack: Symbol `_ZTV8wxColour' has different size in shared object, consider re-linking /mnt/ubuntu/usr/bin/miniAudicle-jack: Symbol `_ZTV7wxFrame' has different size in shared object, consider re-linking /mnt/ubuntu/usr/bin/miniAudicle-jack: Symbol `_ZTV16wxFontDialogBase' has different size in shared object, consider re-linking /mnt/ubuntu/usr/bin/miniAudicle-jack: Symbol `_ZTV6wxList' has different size in shared object, consider re-linking /mnt/ubuntu/usr/bin/miniAudicle-jack: Symbol `_ZTV6wxMenu' has different size in shared object, consider re-linking /mnt/ubuntu/usr/bin/miniAudicle-jack: Symbol `_ZTV7wxTimer' has different size in shared object, consider re-linking /mnt/ubuntu/usr/bin/miniAudicle-jack: Symbol `_ZTV8wxSlider' has different size in shared object, consider re-linking /mnt/ubuntu/usr/bin/miniAudicle-jack: Symbol `_ZTV14wxCommandEvent' has different size in shared object, consider re-linking /mnt/ubuntu/usr/bin/miniAudicle-jack: Symbol `_ZTV8wxDialog' has different size in shared object, consider re-linking /mnt/ubuntu/usr/bin/miniAudicle-jack: Symbol `_ZTV12wxDialogBase' has different size in shared object, consider re-linking /mnt/ubuntu/usr/bin/miniAudicle-jack: Symbol `_ZTV8wxObject' has different size in shared object, consider re-linking /mnt/ubuntu/usr/bin/miniAudicle-jack: Symbol `_ZTV8wxBitmap' has different size in shared object, consider re-linking /mnt/ubuntu/usr/bin/miniAudicle-jack: Symbol `_ZTV19wxDocMDIParentFrame' has different size in shared object, consider re-linking /mnt/ubuntu/usr/bin/miniAudicle-jack: Symbol `_ZTV6wxFont' has different size in shared object, consider re-linking /mnt/ubuntu/usr/bin/miniAudicle-jack: Symbol `_ZTV7wxPanel' has different size in shared object, consider re-linking /mnt/ubuntu/usr/bin/miniAudicle-jack: Symbol `_ZTV6wxIcon' has different size in shared object, consider re-linking /mnt/ubuntu/usr/bin/miniAudicle-jack: Symbol `_ZTV8wxButton' has different size in shared object, consider re-linking /mnt/ubuntu/usr/bin/miniAudicle-jack: Symbol `_ZTV9wxToolBar' has different size in shared object, consider re-linking /mnt/ubuntu/usr/bin/miniAudicle-jack: Symbol `_ZTV8wxChoice' has different size in shared object, consider re-linking /mnt/ubuntu/usr/bin/miniAudicle-jack: Symbol `_ZTV16wxTopLevelWindow' has different size in shared object, consider re-linking /mnt/ubuntu/usr/bin/miniAudicle-jack: Symbol `_ZTV9wxControl' has different size in shared object, consider re-linking /mnt/ubuntu/usr/bin/miniAudicle-jack: Symbol `_ZTV10wxCheckBox' has different size in shared object, consider re-linking /mnt/ubuntu/usr/bin/miniAudicle-jack: Symbol `_ZTV10wxListBase' has different size in shared object, consider re-linking /mnt/ubuntu/usr/bin/miniAudicle-jack: Symbol `_ZTV12wxFontDialog' has different size in shared object, consider re-linking /mnt/ubuntu/usr/bin/miniAudicle-jack: Symbol `_ZTV10wxMenuBase' has different size in shared object, consider re-linking /mnt/ubuntu/usr/bin/miniAudicle-jack: Symbol `_ZTV14wxToggleButton' has different size in shared object, consider re-linking Segmentation fault