> > Dim status As Short
> >
> > client = jack_client_open(nomeClient, options,
> > VarPtr(status), Null)
>


> However... the relative compiled program was created, and launched in
> Terminal I obtained this value:   4
>

OK, so with memcpy you should use sizeof(gb.Single).

After these corrections I got SGN11 from libjack.

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 0x7fffe6ee9700 (LWP 5951)]
[New Thread 0x7fffe6e68700 (LWP 5952)]
Cannot lock down 82246176 byte memory area (Cannot allocate memory)
0
Campionamento = 44100
[New Thread 0x7fffe6de7700 (LWP 5953)]

Program received signal SIGSEGV, Segmentation fault.
0x00007fffe6f0323c in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0.1.0
(gdb) bt
#0  0x00007fffe6f0323c in ?? () from
/usr/lib/x86_64-linux-gnu/libjack.so.0.1.0
#1  0x00007fffffffc548 in ?? ()
#2  0x0000000000006f9c in ?? ()
#3  0x000000000000003d in ?? ()
#4  0x0000000000000004 in ?? ()
#5  0x0000000000000000 in ?? ()


I don't know what is going on. If you really want to find out, maybe you
should contact developers of jack,
or compile libjack from sources with debugging information. Then I would
think we could have more meaningful bt.

But maybe we just missed something from the C to Gambas translation...

Jussi
------------------------------------------------------------------------------
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

Reply via email to