[Gambas-user] A "Callback" function doesn't work.

Ru Vuott vuott at ...325...
Wed Jul 17 15:36:30 CEST 2013


Hello,

I'ld like to add that if I comment all lines in the "callback" function (as if it was empty), I get the same error (11) again.

Regards
vuott 







--------------------------------------------
Mar 16/7/13, Jussi Lahtinen <jussi.lahtinen at ...626...> ha scritto:

 Oggetto: Re: [Gambas-user] A "Callback" function doesn't work.
 A: "mailing list for gambas users" <gambas-user at lists.sourceforge.net>
 Data: Martedì 16 luglio 2013, 22:55
 
 1. Have you confirmed that the
 example made in C really works?
 
 2. You should confirm size of jack_default_audio_sample_t.
 Mistakes with
 memcpy doesn't always lead to SGN11.
 Since memory area you are writing over, may be owned by the
 program doing
 the mistake. That often causes random
 behaviour.
 
 3. Cannot lock down 82274202 byte memory area (Cannot
 allocate memory) ??
 
 
 Jussi
 
 
 On Tue, Jul 16, 2013 at 1:43 PM, Ru Vuott <vuott at ...325...>
 wrote:
 
 > Hello,
 >
 > I do not understand why, but today I re-tried the test,
 and i received
 > strangly these different info:
 >
 > *********************
 > GNU gdb (GDB) 7.5.91.20130417-cvs-ubuntu
 > Copyright (C) 2013 Free Software Foundation, Inc.
 > License GPLv3+: GNU GPL version 3 or later <
 > http://gnu.org/licenses/gpl.html>
 > This is free software: you are free to change and
 redistribute it.
 > There is NO WARRANTY, to the extent permitted by
 law.  Type "show copying"
 > and "show warranty" for details.
 > This GDB was configured as "x86_64-linux-gnu".
 > For bug reporting instructions, please see:
 > <http://www.gnu.org/software/gdb/bugs/>...
 > Reading symbols from /usr/bin/gbx3...done.
 > (gdb) run
 > 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 0x7ffff7e80700 (LWP 2563)]
 > [New Thread 0x7fffeca9b700 (LWP 2564)]
 > Cannot lock down 82274202 byte memory area (Cannot
 allocate memory)
 > [New Thread 0x7fffeca03700 (LWP 2565)]
 > 0
 > *** stack smashing detected ***: traJk terminated
 >
 > Program received signal SIGABRT, Aborted.
 > 0x00007ffff711b037 in raise () from
 /lib/x86_64-linux-gnu/libc.so.6
 > (gdb) bt
 > #0  0x00007ffff711b037 in raise () from
 /lib/x86_64-linux-gnu/libc.so.6
 > #1  0x00007ffff711e698 in abort () from
 /lib/x86_64-linux-gnu/libc.so.6
 > #2  0x00007ffff71585ab in ?? () from
 /lib/x86_64-linux-gnu/libc.so.6
 > #3  0x00007ffff71f55cc in __fortify_fail ()
 >    from /lib/x86_64-linux-gnu/libc.so.6
 > #4  0x00007ffff71f5570 in __stack_chk_fail ()
 >    from /lib/x86_64-linux-gnu/libc.so.6
 > #5  0x00007ffff5092fdc in ?? () from
 > /usr/lib/x86_64-linux-gnu/libQtGui.so.4
 > #6  0x00007fffffffdf40 in ?? ()
 > #7  0x00007fffffffe330 in ?? ()
 > #8  0x000000000079cc80 in ?? ()
 > #9  0x00000000007254c0 in ?? ()
 > #10 0x00007fffdc000fd0 in ?? ()
 > #11 0x00007fffffffdf20 in ?? ()
 > #12 0x000000000079cc80 in ?? ()
 > #13 0x00000000007254c0 in ?? ()
 > #14 0x00007fffffffdfa0 in ?? ()
 > #15 0x00007fffffffdf20 in ?? ()
 > #16 0x00007ffff50248ec in
 QApplicationPrivate::notify_helper(QObject*,
 > QEvent*)
 >     () from
 /usr/lib/x86_64-linux-gnu/libQtGui.so.4
 > #17 0x00007ffff502725b in
 QApplication::notify(QObject*, QEvent*) ()
 >    from
 /usr/lib/x86_64-linux-gnu/libQtGui.so.4
 > #18 0x00007fffffffe008 in ?? ()
 > ---Type <return> to continue, or q <return>
 to quit---
 > #19 0x00007fffffffdfe0 in ?? ()
 > #20 0x0000000000000000 in ?? ()
 >
 > *************
 >
 > bha !
 >
 > Regards
 > vuott
 >
 >
 > --------------------------------------------
 > Lun 15/7/13, Ru Vuott <vuott at ...325...> ha
 scritto:
 >
 >  Oggetto: Re: [Gambas-user] A "Callback" function
 doesn't work.
 >  A: "mailing list for gambas users" <gambas-user at lists.sourceforge.net>
 >  Data: Lunedì 15 luglio 2013, 19:55
 >
 >  > libfontconfig seems to make
 >  problems.
 >  > But I don't know about this library
 either...
 >
 >  Uhmmm... maybe is this ?
 >  http://www.freedesktop.org/wiki/Software/fontconfig/
 >
 >
 >
 >
 >
 >  --------------------------------------------
 >  Lun 15/7/13, Tobias Boege <taboege at ...626...>
 >  ha scritto:
 >
 >   Oggetto: Re: [Gambas-user] A
 "Callback" function doesn't
 >  work.
 >   A: "mailing list for gambas users"
 <gambas-user at lists.sourceforge.net>
 >   Data: Lunedì 15 luglio 2013, 19:40
 >
 >   On Mon, 15 Jul 2013, Ru Vuott wrote:
 >   > Hello,
 >   >
 >   > well, I did the backtrace.
 >   >
 >   > Here I attach 2 text files:
 >   >
 >   > - test WITH Real-Time ENABLED
 Jack option;
 >   >
 >   > - test Real-Time NO ENABLED Jack
 option.
 >   >
 >
 >   I'm sorry for your trouble - looks
 like I can't read
 >   anything meaningful out
 >   of these backtraces. Except maybe that
 libfontconfig seems
 >   to make problems.
 >   But I don't know about this library
 either...
 >
 >   Regards,
 >   Tobi
 >
 >
 >
 ------------------------------------------------------------------------------
 >   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
 >   Gambas-user at lists.sourceforge.net
 >   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
 >  Gambas-user at lists.sourceforge.nethttps://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
 > Gambas-user at lists.sourceforge.net
 > 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
 Gambas-user at lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user





More information about the User mailing list