That code has still wrong size in memcpy, it should be gb.Single. With these corrections I got:
(gdb) r Starting program: /usr/bin/gbx3 [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7ffff7fdf700 (LWP 6225)] [New Thread 0x7ffff7f5e700 (LWP 6226)] Cannot lock down 82246176 byte memory area (Cannot allocate memory) 0 Campionamento = 44100 [New Thread 0x7ffff7ecb700 (LWP 6227)] Module1.Main.131: #3: Stack overflow 1: Module1.Main.131 [Thread 0x7ffff7ecb700 (LWP 6227) exited] [Thread 0x7ffff7f5e700 (LWP 6226) exited] [Thread 0x7ffff7fdf700 (LWP 6225) exited] [Inferior 1 (process 6222) exited with code 01] Line 131 is here: ports = jack_get_ports(client, Null, Null, jphjou) Jussi On Thu, Jul 18, 2013 at 6:32 PM, Benoît Minisini < [email protected]> wrote: > Le 18/07/2013 16:53, Jussi Lahtinen a écrit : > > Maybe Benoit could send his modifications to this list? >> >> > Here it is. I just changed the line I talked about, and run the code > outside of the GUI loop. > > Alas I was wrong, the program now crashes again in jack_activate(). > > > -- > Benoît Minisini > > > ------------------------------------------------------------------------------ > See everything from the browser to the database with AppDynamics > Get end-to-end visibility with application monitoring from AppDynamics > Isolate bottlenecks and diagnose root cause in seconds. > Start your free trial of AppDynamics Pro today! > http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ Gambas-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gambas-user
