Problems compiling and running ChucK on Arch Linux
Hi, I'm a ChucK newbie running on Arch Linux (gcc 4.4.1, libsndfile 1.0.20, ALSA 1.0.20, flex 2.5.35, bison 2.4.1, make 3.81). When compiling ChucK, g++ complains that the function sprintf is undeclared in util_string.cpp. Sure enough, stdio.h is not included in util_string.h (or in chuck_def.h). After adding the following line to either util_string.h or chuck_def.h, ChucK compiles successfully - but I then get seg faults when running simple example code (e.g., examples/moe.ck). Any ideas? Verbose output from ChucK leading up to the seg fault is below. Thanks in advance, Sean [sean@zaphod src]$ ./chuck --verbose ../examples/basic/moe.ck [chuck]:(2:SYSTEM): setting log level to: 5 (INFORM)... [chuck]:(2:SYSTEM): initializing virtual machine... [chuck]:(2:SYSTEM): | behavior: HALT [chuck]:(2:SYSTEM): | locking down special objects... [chuck]:(2:SYSTEM): | allocating shreduler... [chuck]:(2:SYSTEM): | allocating messaging buffers... [chuck]:(2:SYSTEM): | real-time audio: YES [chuck]:(2:SYSTEM): | mode: CALLBACK [chuck]:(2:SYSTEM): | sample rate: 48000 [chuck]:(2:SYSTEM): | buffer size: 512 [chuck]:(2:SYSTEM): | num buffers: 8 [chuck]:(2:SYSTEM): | devices adc: 0 dac: 0 (default 0) [chuck]:(2:SYSTEM): | channels in: 2 out: 2 [chuck]:(2:SYSTEM): initializing compiler... [chuck]:(3:SEVERE): | initializing type checker... [chuck]:(3:SEVERE): | | adding base classes... [chuck]:(3:SEVERE): | | | class 'object' [chuck]:(3:SEVERE): | | | class 'array' [chuck]:(3:SEVERE): | | | class 'string' [chuck]:(3:SEVERE): | | | class 'ugen' [chuck]:(3:SEVERE): | | | class 'uanablob' [chuck]:(3:SEVERE): | | | class 'uana' [chuck]:(3:SEVERE): | | | class 'shred' [chuck]:(3:SEVERE): | | | class 'event' [chuck]:(3:SEVERE): | | | class 'io' [chuck]:(3:SEVERE): | | | class 'class' [chuck]:(3:SEVERE): | initializing emitter... [chuck]:(3:SEVERE): | loading built-in modules... [chuck]:(3:SEVERE): | | module osc... [chuck]:(3:SEVERE): | | module xxx... [chuck]:(3:SEVERE): | | module filter... [chuck]:(3:SEVERE): | | module STK... [chuck]:(3:SEVERE): | | module xform... [chuck]:(3:SEVERE): | | module extract... [chuck]:(3:SEVERE): | | class 'machine'... [chuck]:(3:SEVERE): | | class 'std'... [chuck]:(5:INFORM): | | initializing KBHitManager... [chuck]:(5:INFORM): | | starting kb loop... [chuck]:(3:SEVERE): | | class 'math'... [chuck]:(3:SEVERE): | | class 'opsc'... [chuck]:(2:SYSTEM): type dependency resolution: MANUAL [chuck]:(2:SYSTEM): initializing synthesis engine... [chuck]:(3:SEVERE): | initializing 'dac'... [chuck]:(3:SEVERE): | initializing 'adc'... [chuck]:(3:SEVERE): | initializing 'blackhole'... [chuck]:(2:SYSTEM): | initializing 'real-time' audio... [chuck]:(5:INFORM): | | initializing callback... [chuck]:(3:SEVERE): | allocating buffers for 512 x 2 samples... [chuck]:(3:SEVERE): starting compilation... [chuck]:(2:SYSTEM): starting listener on port: 8888... [chuck]:(2:SYSTEM): running virtual machine... [chuck]:(3:SEVERE): | initializing audio buffers... [chuck]:(3:SEVERE): | virtual machine running... Segmentation fault
search on the arch forums i started a thread about this and was
pointed to the answer promptly. I am at work or i'd look it up for
you..... (i am mrcold on the forums)
On Thu, Sep 10, 2009 at 12:01 PM, Sean Sawyer
Hi,
I'm a ChucK newbie running on Arch Linux (gcc 4.4.1, libsndfile 1.0.20, ALSA 1.0.20, flex 2.5.35, bison 2.4.1, make 3.81). When compiling ChucK, g++ complains that the function sprintf is undeclared in util_string.cpp. Sure enough, stdio.h is not included in util_string.h (or in chuck_def.h). After adding the following line to either util_string.h or chuck_def.h, ChucK compiles successfully - but I then get seg faults when running simple example code (e.g., examples/moe.ck). Any ideas? Verbose output from ChucK leading up to the seg fault is below.
Thanks in advance, Sean
[sean@zaphod src]$ ./chuck --verbose ../examples/basic/moe.ck [chuck]:(2:SYSTEM): setting log level to: 5 (INFORM)... [chuck]:(2:SYSTEM): initializing virtual machine... [chuck]:(2:SYSTEM): | behavior: HALT [chuck]:(2:SYSTEM): | locking down special objects... [chuck]:(2:SYSTEM): | allocating shreduler... [chuck]:(2:SYSTEM): | allocating messaging buffers... [chuck]:(2:SYSTEM): | real-time audio: YES [chuck]:(2:SYSTEM): | mode: CALLBACK [chuck]:(2:SYSTEM): | sample rate: 48000 [chuck]:(2:SYSTEM): | buffer size: 512 [chuck]:(2:SYSTEM): | num buffers: 8 [chuck]:(2:SYSTEM): | devices adc: 0 dac: 0 (default 0) [chuck]:(2:SYSTEM): | channels in: 2 out: 2 [chuck]:(2:SYSTEM): initializing compiler... [chuck]:(3:SEVERE): | initializing type checker... [chuck]:(3:SEVERE): | | adding base classes... [chuck]:(3:SEVERE): | | | class 'object' [chuck]:(3:SEVERE): | | | class 'array' [chuck]:(3:SEVERE): | | | class 'string' [chuck]:(3:SEVERE): | | | class 'ugen' [chuck]:(3:SEVERE): | | | class 'uanablob' [chuck]:(3:SEVERE): | | | class 'uana' [chuck]:(3:SEVERE): | | | class 'shred' [chuck]:(3:SEVERE): | | | class 'event' [chuck]:(3:SEVERE): | | | class 'io' [chuck]:(3:SEVERE): | | | class 'class' [chuck]:(3:SEVERE): | initializing emitter... [chuck]:(3:SEVERE): | loading built-in modules... [chuck]:(3:SEVERE): | | module osc... [chuck]:(3:SEVERE): | | module xxx... [chuck]:(3:SEVERE): | | module filter... [chuck]:(3:SEVERE): | | module STK... [chuck]:(3:SEVERE): | | module xform... [chuck]:(3:SEVERE): | | module extract... [chuck]:(3:SEVERE): | | class 'machine'... [chuck]:(3:SEVERE): | | class 'std'... [chuck]:(5:INFORM): | | initializing KBHitManager... [chuck]:(5:INFORM): | | starting kb loop... [chuck]:(3:SEVERE): | | class 'math'... [chuck]:(3:SEVERE): | | class 'opsc'... [chuck]:(2:SYSTEM): type dependency resolution: MANUAL [chuck]:(2:SYSTEM): initializing synthesis engine... [chuck]:(3:SEVERE): | initializing 'dac'... [chuck]:(3:SEVERE): | initializing 'adc'... [chuck]:(3:SEVERE): | initializing 'blackhole'... [chuck]:(2:SYSTEM): | initializing 'real-time' audio... [chuck]:(5:INFORM): | | initializing callback... [chuck]:(3:SEVERE): | allocating buffers for 512 x 2 samples... [chuck]:(3:SEVERE): starting compilation... [chuck]:(2:SYSTEM): starting listener on port: 8888... [chuck]:(2:SYSTEM): running virtual machine... [chuck]:(3:SEVERE): | initializing audio buffers... [chuck]:(3:SEVERE): | virtual machine running... Segmentation fault _______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
hey.. actually i misread your email.
you already answered the question that was answered me...
I also get the segfault after compiling it myself. there is a version
in the AUR that works though. (it is a little outof date though)
sorry
On Thu, Sep 10, 2009 at 1:18 PM, Cody Loyd
search on the arch forums i started a thread about this and was pointed to the answer promptly. I am at work or i'd look it up for you..... (i am mrcold on the forums)
On Thu, Sep 10, 2009 at 12:01 PM, Sean Sawyer
wrote: Hi,
I'm a ChucK newbie running on Arch Linux (gcc 4.4.1, libsndfile 1.0.20, ALSA 1.0.20, flex 2.5.35, bison 2.4.1, make 3.81). When compiling ChucK, g++ complains that the function sprintf is undeclared in util_string.cpp. Sure enough, stdio.h is not included in util_string.h (or in chuck_def.h). After adding the following line to either util_string.h or chuck_def.h, ChucK compiles successfully - but I then get seg faults when running simple example code (e.g., examples/moe.ck). Any ideas? Verbose output from ChucK leading up to the seg fault is below.
Thanks in advance, Sean
[sean@zaphod src]$ ./chuck --verbose ../examples/basic/moe.ck [chuck]:(2:SYSTEM): setting log level to: 5 (INFORM)... [chuck]:(2:SYSTEM): initializing virtual machine... [chuck]:(2:SYSTEM): | behavior: HALT [chuck]:(2:SYSTEM): | locking down special objects... [chuck]:(2:SYSTEM): | allocating shreduler... [chuck]:(2:SYSTEM): | allocating messaging buffers... [chuck]:(2:SYSTEM): | real-time audio: YES [chuck]:(2:SYSTEM): | mode: CALLBACK [chuck]:(2:SYSTEM): | sample rate: 48000 [chuck]:(2:SYSTEM): | buffer size: 512 [chuck]:(2:SYSTEM): | num buffers: 8 [chuck]:(2:SYSTEM): | devices adc: 0 dac: 0 (default 0) [chuck]:(2:SYSTEM): | channels in: 2 out: 2 [chuck]:(2:SYSTEM): initializing compiler... [chuck]:(3:SEVERE): | initializing type checker... [chuck]:(3:SEVERE): | | adding base classes... [chuck]:(3:SEVERE): | | | class 'object' [chuck]:(3:SEVERE): | | | class 'array' [chuck]:(3:SEVERE): | | | class 'string' [chuck]:(3:SEVERE): | | | class 'ugen' [chuck]:(3:SEVERE): | | | class 'uanablob' [chuck]:(3:SEVERE): | | | class 'uana' [chuck]:(3:SEVERE): | | | class 'shred' [chuck]:(3:SEVERE): | | | class 'event' [chuck]:(3:SEVERE): | | | class 'io' [chuck]:(3:SEVERE): | | | class 'class' [chuck]:(3:SEVERE): | initializing emitter... [chuck]:(3:SEVERE): | loading built-in modules... [chuck]:(3:SEVERE): | | module osc... [chuck]:(3:SEVERE): | | module xxx... [chuck]:(3:SEVERE): | | module filter... [chuck]:(3:SEVERE): | | module STK... [chuck]:(3:SEVERE): | | module xform... [chuck]:(3:SEVERE): | | module extract... [chuck]:(3:SEVERE): | | class 'machine'... [chuck]:(3:SEVERE): | | class 'std'... [chuck]:(5:INFORM): | | initializing KBHitManager... [chuck]:(5:INFORM): | | starting kb loop... [chuck]:(3:SEVERE): | | class 'math'... [chuck]:(3:SEVERE): | | class 'opsc'... [chuck]:(2:SYSTEM): type dependency resolution: MANUAL [chuck]:(2:SYSTEM): initializing synthesis engine... [chuck]:(3:SEVERE): | initializing 'dac'... [chuck]:(3:SEVERE): | initializing 'adc'... [chuck]:(3:SEVERE): | initializing 'blackhole'... [chuck]:(2:SYSTEM): | initializing 'real-time' audio... [chuck]:(5:INFORM): | | initializing callback... [chuck]:(3:SEVERE): | allocating buffers for 512 x 2 samples... [chuck]:(3:SEVERE): starting compilation... [chuck]:(2:SYSTEM): starting listener on port: 8888... [chuck]:(2:SYSTEM): running virtual machine... [chuck]:(3:SEVERE): | initializing audio buffers... [chuck]:(3:SEVERE): | virtual machine running... Segmentation fault _______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
No worries. For others who run into the compile error, the line I added
(and omitted from my original email below) was:
#include
hey.. actually i misread your email.
you already answered the question that was answered me...
I also get the segfault after compiling it myself. there is a version in the AUR that works though. (it is a little outof date though)
sorry
On Thu, Sep 10, 2009 at 1:18 PM, Cody Loyd
wrote: search on the arch forums i started a thread about this and was pointed to the answer promptly. I am at work or i'd look it up for you..... (i am mrcold on the forums)
On Thu, Sep 10, 2009 at 12:01 PM, Sean Sawyer
wrote: Hi,
I'm a ChucK newbie running on Arch Linux (gcc 4.4.1, libsndfile 1.0.20, ALSA 1.0.20, flex 2.5.35, bison 2.4.1, make 3.81). When compiling ChucK, g++ complains that the function sprintf is undeclared in util_string.cpp. Sure enough, stdio.h is not included in util_string.h (or in chuck_def.h). After adding the following line to either util_string.h or chuck_def.h, ChucK compiles successfully - but I then get seg faults when running simple example code (e.g., examples/moe.ck). Any ideas? Verbose output from ChucK leading up to the seg fault is below.
Thanks in advance, Sean
[sean@zaphod src]$ ./chuck --verbose ../examples/basic/moe.ck [chuck]:(2:SYSTEM): setting log level to: 5 (INFORM)... [chuck]:(2:SYSTEM): initializing virtual machine... [chuck]:(2:SYSTEM): | behavior: HALT [chuck]:(2:SYSTEM): | locking down special objects... [chuck]:(2:SYSTEM): | allocating shreduler... [chuck]:(2:SYSTEM): | allocating messaging buffers... [chuck]:(2:SYSTEM): | real-time audio: YES [chuck]:(2:SYSTEM): | mode: CALLBACK [chuck]:(2:SYSTEM): | sample rate: 48000 [chuck]:(2:SYSTEM): | buffer size: 512 [chuck]:(2:SYSTEM): | num buffers: 8 [chuck]:(2:SYSTEM): | devices adc: 0 dac: 0 (default 0) [chuck]:(2:SYSTEM): | channels in: 2 out: 2 [chuck]:(2:SYSTEM): initializing compiler... [chuck]:(3:SEVERE): | initializing type checker... [chuck]:(3:SEVERE): | | adding base classes... [chuck]:(3:SEVERE): | | | class 'object' [chuck]:(3:SEVERE): | | | class 'array' [chuck]:(3:SEVERE): | | | class 'string' [chuck]:(3:SEVERE): | | | class 'ugen' [chuck]:(3:SEVERE): | | | class 'uanablob' [chuck]:(3:SEVERE): | | | class 'uana' [chuck]:(3:SEVERE): | | | class 'shred' [chuck]:(3:SEVERE): | | | class 'event' [chuck]:(3:SEVERE): | | | class 'io' [chuck]:(3:SEVERE): | | | class 'class' [chuck]:(3:SEVERE): | initializing emitter... [chuck]:(3:SEVERE): | loading built-in modules... [chuck]:(3:SEVERE): | | module osc... [chuck]:(3:SEVERE): | | module xxx... [chuck]:(3:SEVERE): | | module filter... [chuck]:(3:SEVERE): | | module STK... [chuck]:(3:SEVERE): | | module xform... [chuck]:(3:SEVERE): | | module extract... [chuck]:(3:SEVERE): | | class 'machine'... [chuck]:(3:SEVERE): | | class 'std'... [chuck]:(5:INFORM): | | initializing KBHitManager... [chuck]:(5:INFORM): | | starting kb loop... [chuck]:(3:SEVERE): | | class 'math'... [chuck]:(3:SEVERE): | | class 'opsc'... [chuck]:(2:SYSTEM): type dependency resolution: MANUAL [chuck]:(2:SYSTEM): initializing synthesis engine... [chuck]:(3:SEVERE): | initializing 'dac'... [chuck]:(3:SEVERE): | initializing 'adc'... [chuck]:(3:SEVERE): | initializing 'blackhole'... [chuck]:(2:SYSTEM): | initializing 'real-time' audio... [chuck]:(5:INFORM): | | initializing callback... [chuck]:(3:SEVERE): | allocating buffers for 512 x 2 samples... [chuck]:(3:SEVERE): starting compilation... [chuck]:(2:SYSTEM): starting listener on port: 8888... [chuck]:(2:SYSTEM): running virtual machine... [chuck]:(3:SEVERE): | initializing audio buffers... [chuck]:(3:SEVERE): | virtual machine running... Segmentation fault _______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
LET ME KNOW IF YOU FIGURE IT OUT
please :)
I could definitely use the JACK support
On Thu, Sep 10, 2009 at 1:50 PM, Sean Sawyer
No worries. For others who run into the compile error, the line I added (and omitted from my original email below) was:
#include
I was using the version from AUR with no problems, and then of course I decided to upgrade for the good stuff in Dracula and maybe even build for JACK. Foolish, I know. ;)
Sean
On Thu, 10 Sep 2009 13:20:03 -0500 Cody Loyd
wrote: hey.. actually i misread your email.
you already answered the question that was answered me...
I also get the segfault after compiling it myself. there is a version in the AUR that works though. (it is a little outof date though)
sorry
On Thu, Sep 10, 2009 at 1:18 PM, Cody Loyd
wrote: search on the arch forums i started a thread about this and was pointed to the answer promptly. I am at work or i'd look it up for you..... (i am mrcold on the forums)
On Thu, Sep 10, 2009 at 12:01 PM, Sean Sawyer
wrote: Hi,
I'm a ChucK newbie running on Arch Linux (gcc 4.4.1, libsndfile 1.0.20, ALSA 1.0.20, flex 2.5.35, bison 2.4.1, make 3.81). When compiling ChucK, g++ complains that the function sprintf is undeclared in util_string.cpp. Sure enough, stdio.h is not included in util_string.h (or in chuck_def.h). After adding the following line to either util_string.h or chuck_def.h, ChucK compiles successfully - but I then get seg faults when running simple example code (e.g., examples/moe.ck). Any ideas? Verbose output from ChucK leading up to the seg fault is below.
Thanks in advance, Sean
[sean@zaphod src]$ ./chuck --verbose ../examples/basic/moe.ck [chuck]:(2:SYSTEM): setting log level to: 5 (INFORM)... [chuck]:(2:SYSTEM): initializing virtual machine... [chuck]:(2:SYSTEM): | behavior: HALT [chuck]:(2:SYSTEM): | locking down special objects... [chuck]:(2:SYSTEM): | allocating shreduler... [chuck]:(2:SYSTEM): | allocating messaging buffers... [chuck]:(2:SYSTEM): | real-time audio: YES [chuck]:(2:SYSTEM): | mode: CALLBACK [chuck]:(2:SYSTEM): | sample rate: 48000 [chuck]:(2:SYSTEM): | buffer size: 512 [chuck]:(2:SYSTEM): | num buffers: 8 [chuck]:(2:SYSTEM): | devices adc: 0 dac: 0 (default 0) [chuck]:(2:SYSTEM): | channels in: 2 out: 2 [chuck]:(2:SYSTEM): initializing compiler... [chuck]:(3:SEVERE): | initializing type checker... [chuck]:(3:SEVERE): | | adding base classes... [chuck]:(3:SEVERE): | | | class 'object' [chuck]:(3:SEVERE): | | | class 'array' [chuck]:(3:SEVERE): | | | class 'string' [chuck]:(3:SEVERE): | | | class 'ugen' [chuck]:(3:SEVERE): | | | class 'uanablob' [chuck]:(3:SEVERE): | | | class 'uana' [chuck]:(3:SEVERE): | | | class 'shred' [chuck]:(3:SEVERE): | | | class 'event' [chuck]:(3:SEVERE): | | | class 'io' [chuck]:(3:SEVERE): | | | class 'class' [chuck]:(3:SEVERE): | initializing emitter... [chuck]:(3:SEVERE): | loading built-in modules... [chuck]:(3:SEVERE): | | module osc... [chuck]:(3:SEVERE): | | module xxx... [chuck]:(3:SEVERE): | | module filter... [chuck]:(3:SEVERE): | | module STK... [chuck]:(3:SEVERE): | | module xform... [chuck]:(3:SEVERE): | | module extract... [chuck]:(3:SEVERE): | | class 'machine'... [chuck]:(3:SEVERE): | | class 'std'... [chuck]:(5:INFORM): | | initializing KBHitManager... [chuck]:(5:INFORM): | | starting kb loop... [chuck]:(3:SEVERE): | | class 'math'... [chuck]:(3:SEVERE): | | class 'opsc'... [chuck]:(2:SYSTEM): type dependency resolution: MANUAL [chuck]:(2:SYSTEM): initializing synthesis engine... [chuck]:(3:SEVERE): | initializing 'dac'... [chuck]:(3:SEVERE): | initializing 'adc'... [chuck]:(3:SEVERE): | initializing 'blackhole'... [chuck]:(2:SYSTEM): | initializing 'real-time' audio... [chuck]:(5:INFORM): | | initializing callback... [chuck]:(3:SEVERE): | allocating buffers for 512 x 2 samples... [chuck]:(3:SEVERE): starting compilation... [chuck]:(2:SYSTEM): starting listener on port: 8888... [chuck]:(2:SYSTEM): running virtual machine... [chuck]:(3:SEVERE): | initializing audio buffers... [chuck]:(3:SEVERE): | virtual machine running... Segmentation fault _______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
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 -- Atte http://atte.dk http://modlys.dk http://virb.com/atte
wow thanks!
it works!
wahoooooo
On Thu, Sep 10, 2009 at 8:19 PM, 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
-- Atte
http://atte.dk http://modlys.dk http://virb.com/atte _______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
Cody Loyd wrote:
wow thanks!
No problem :-) -- Atte http://atte.dk http://modlys.dk http://virb.com/atte
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
Sean Sawyer wrote:
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 );
Good idea with the gdb trace. Hopefully someone clever can pinpoint the problem from that, or at least get us nearer a solution... -- Atte http://atte.dk http://modlys.dk http://virb.com/atte
participants (3)
-
Atte Andre Jensen
-
Cody Loyd
-
Sean Sawyer