Re: rogue: new softsynth

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi.

This should fix it https://github.com/timowest/rogue/commit/04f124a01257228df65186320d517973ac912db0

One parameter was not properly copied to the internal parameter model.

Thanks again for testing.

Br,
Timo

On Mon, Aug 12, 2013 at 10:12 PM, Florian Paul Schmidt <mista.tapas@xxxxxxx> wrote:
On 12.08.2013 20:29, Timo Westkämper wrote:
On Mon, Aug 12, 2013 at 12:26 PM, Florian Paul Schmidt <mista.tapas@xxxxxxx> wrote:
On 12.08.2013 11:24, Florian Paul Schmidt wrote:
On 12.08.2013 11:19, Florian Paul Schmidt wrote:
On 12.08.2013 10:53, Hartmut Noack wrote:
Am 12.08.2013 08:51, schrieb Timo Westkämper:
Hi.

I just wanted to let you know that I have been working on a soft synth
called rogue.
New Synths are always most welcome so thanks a lot! :-)

https://github.com/timowest/rogue
I fail to build it:

src/gui/rogue-gui.cpp:905:30: Schwerwiegender Fehler:
gui/rogue-gui.mcpp: Datei oder Verzeichnis nicht gefunden
Kompilierung beendet.
make: *** [rogue-gui.so] Fehler 1

Do I need any special build-tool in order to create such an mcpp-file?
mcpp ist installed (Ubuntu 13.04)

The Makefile doesn't have the dependencies setup correctly. You can do:

make gui
make

And it built..

But segfaults:
[...]

 make: *** [run] Segmentation fault (core dumped)

Here's a bt:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffec10c700 (LWP 8577)]
0x00007fffc2fc3e72 in rogue::rogueVoice::runFilter(int, unsigned int, unsigned int) () from /usr/local/lib/lv2/lv2-rogue.lv2/rogue.so
(gdb) bt
#0  0x00007fffc2fc3e72 in rogue::rogueVoice::runFilter(int, unsigned int, unsigned int) () from /usr/local/lib/lv2/lv2-rogue.lv2/rogue.so
#1  0x00007fffc2fc4238 in rogue::rogueVoice::render(unsigned int, unsigned int, unsigned int) () from /usr/local/lib/lv2/lv2-rogue.lv2/rogue.so
#2  0x00007fffc2fc467e in rogue::rogueVoice::render(unsigned int, unsigned int) () from /usr/local/lib/lv2/lv2-rogue.lv2/rogue.so
#3  0x00007fffc2fc1402 in lvtk::Plugin<rogue::rogueSynth, lvtk::URID<true>, lvtk::end, lvtk::end, lvtk::end, lvtk::end, lvtk::end, lvtk::end, lvtk::end, lvtk::end>::_run(void*, unsigned int) () from /usr/local/lib/lv2/lv2-rogue.lv2/rogue.so
#4  0x0000000000405d02 in ?? ()
#5  0x0000000000407968 in ?? ()
#6  0x00007ffff6e3f74c in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0
#7  0x00007ffff6e3f654 in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0
#8  0x00007ffff6e3d40f in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0
#9  0x00007ffff6e5ca40 in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0
#10 0x00007ffff7bc4f8e in start_thread (arg=0x7fffec10c700) at pthread_create.c:311
#11 0x00007ffff5fd4e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
(gdb) quit
A debugging session is active.

        Inferior 1 [process 8568] will be killed.

Quit anyway? (y or n) y

I added some debugging flags to git master. Could you try again?

Here you go (did a thread apply all bt). Interestingly enough, when I have jackd not running jalv.gtk doesn't crash right away (but I get loads of jack debug output about the client being late), but rather when I ctrl-c out of jalv. When I do have jackd running (jackdmp btw) then it crashes right away..




Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffec10c700 (LWP 8212)]
rogue::rogueVoice::runFilter (this=this@entry=0xbecb70, i=i@entry=0, from=from@entry=0, to=to@entry=64) at src/voice.cpp:310
310             float* source = buffers[filterData.source];
(gdb) thread apply all bt

Thread 8 (Thread 0x7fffc62e1700 (LWP 8213)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007ffff632b935 in g_cond_wait_until () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff62c1b81 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff63105fa in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ffff630feb5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ffff7bc4f8e in start_thread (arg=0x7fffc62e1700) at pthread_create.c:311
#6  0x00007ffff5fd4e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 7 (Thread 0x7fffec10c700 (LWP 8212)):
#0  rogue::rogueVoice::runFilter (this=this@entry=0xbecb70, i=i@entry=0, from=from@entry=0, to=to@entry=64) at src/voice.cpp:310
#1  0x00007fffc2fc4238 in rogue::rogueVoice::render (this=this@entry=0xbecb70, from=0, to=to@entry=64, off=off@entry=0) at src/voice.cpp:366
#2  0x00007fffc2fc467e in rogue::rogueVoice::render (this=0xbecb70, from=from@entry=0, to=to@entry=2048) at src/voice.cpp:337
#3  0x00007fffc2fc1402 in run (sample_count=2048, this=0xbeb650) at /usr/local/include/lvtk-1/lvtk/synth.hpp:349
#4  lvtk::Plugin<rogue::rogueSynth, lvtk::URID<true>, lvtk::end, lvtk::end, lvtk::end, lvtk::end, lvtk::end, lvtk::end, lvtk::end, lvtk::end>::_run (instance=0xbeb650,
    sample_count=2048) at /usr/local/include/lvtk-1/lvtk/plugin.hpp:357
#5  0x0000000000405d02 in ?? ()
#6  0x0000000000407968 in ?? ()
#7  0x00007ffff6e3f74c in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0
#8  0x00007ffff6e3f654 in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0
#9  0x00007ffff6e3d40f in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0
#10 0x00007ffff6e5ca40 in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0
#11 0x00007ffff7bc4f8e in start_thread (arg=0x7fffec10c700) at pthread_create.c:311
#12 0x00007ffff5fd4e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 6 (Thread 0x7ffff7eb6700 (LWP 8211)):
#0  0x00007ffff7bcbcbd in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007ffff6e5ee5a in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0
#2  0x00007ffff6e62423 in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0
#3  0x00007ffff6e6213c in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0
#4  0x00007ffff6e5ca40 in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0
#5  0x00007ffff7bc4f8e in start_thread (arg=0x7ffff7eb6700) at pthread_create.c:311
#6  0x00007ffff5fd4e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 5 (Thread 0x7ffff7f37700 (LWP 8210)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ffff6e5df08 in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0
#2  0x00007ffff6e5a09f in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0
#3  0x00007ffff6e5ca40 in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0
#4  0x00007ffff7bc4f8e in start_thread (arg=0x7ffff7f37700) at pthread_create.c:311
#5  0x00007ffff5fd4e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7fffecf25700 (LWP 8208)):
#0  0x00007ffff5fc83cd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007ffff62ec1dc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff62ec6ba in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff3dd94f6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007ffff630feb5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ffff7bc4f8e in start_thread (arg=0x7fffecf25700) at pthread_create.c:311
#6  0x00007ffff5fd4e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7fffed726700 (LWP 8207)):
#0  0x00007ffff5fc83cd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007ffff62ec1dc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff62ec304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fffed94aa1d in ?? () from /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
#4  0x00007ffff630feb5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ffff7bc4f8e in start_thread (arg=0x7fffed726700) at pthread_create.c:311
#6  0x00007ffff5fd4e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7ffff7fb1980 (LWP 8203)):
#0  0x00007ffff62dace3 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007ffff62db1b7 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff62fad1f in g_quark_from_string () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff65c3c50 in g_signal_newv () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#4  0x00007ffff65c44ed in g_signal_new_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#5  0x00007ffff65c4702 in g_signal_new () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#6  0x00007ffff6932b08 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#7  0x00007ffff65cd956 in g_type_class_ref () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#8  0x00007ffff65b635d in g_object_new_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#9  0x00007ffff65b6804 in g_object_new () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#10 0x000000000040d775 in ?? ()
#11 0x0000000000409968 in ?? ()
#12 0x00007ffff5efcea5 in __libc_start_main (main=0x408837, argc=2, ubp_av=0x7fffffffdde8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>,
---Type <return> to continue, or q <return> to quit---
    stack_end=0x7fffffffddd8) at libc-start.c:260
#13 0x0000000000405ba9 in ?? ()
(gdb)


Flo


_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@xxxxxxxxxxxxxxxxxxxx
http://lists.linuxaudio.org/listinfo/linux-audio-user

[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux