[LV2] Ardour doesn't find lv2

rosea.grammostola rosea.grammostola at gmail.com
Tue Dec 11 07:32:31 PST 2012


On 12/11/2012 04:29 PM, rosea.grammostola wrote:
> On 12/11/2012 04:21 PM, rosea.grammostola wrote:
>> On 12/11/2012 04:16 PM, rosea.grammostola wrote:
>>> On 12/11/2012 02:03 PM, David Robillard wrote:
>>>
>>>> It appears to be exiting immediately and doing absolutely nothing.
>>>>
>>>> Something is more deeply wrong here. Make sure all your builds are
>>>> clean, and maybe run in gdb and break on _exit and see why/where it is
>>>> exiting so early.
>>>>
>>>> -dr
>>>
>>> $ gdb lv2ls
>>> GNU gdb (GDB) 7.4.1-debian
>>> Copyright (C) 2012 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/lv2ls...done.
>>> (gdb) break _exit
>>> Function "_exit" not defined.
>>> Make breakpoint pending on future shared library load? (y or [n]) y
>>> Breakpoint 1 (_exit) pending.
>>> (gdb) run
>>> Starting program: /usr/bin/lv2ls
>>>
>>> Breakpoint 1, 0x00007ffff72c3f30 in _exit () from
>>> /lib/x86_64-linux-gnu/libc.so.6
>>> (gdb)
>>
>> (gdb) bt
>> #0 0x00007ffff72c3f30 in _exit () from /lib/x86_64-linux-gnu/libc.so.6
>> #1 0x00007ffff724ed9e in ?? () from /lib/x86_64-linux-gnu/libc.so.6
>> #2 0x00007ffff724ee45 in exit () from /lib/x86_64-linux-gnu/libc.so.6
>> #3 0x00007ffff7236eb4 in __libc_start_main () from
>> /lib/x86_64-linux-gnu/libc.so.6
>> #4 0x0000000000400b29 in _start ()
>>
>
> gdb lv2ls
> GNU gdb (GDB) 7.4.1-debian
> Copyright (C) 2012 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/lv2ls...done.
> (gdb) break main
> Breakpoint 1 at 0x400d53: file ../lilv/utils/lv2ls.c, line 67.
> (gdb) run
> Starting program: /usr/bin/lv2ls
>
> Breakpoint 1, main (argc=1, argv=0x7fffffffe458) at
> ../lilv/utils/lv2ls.c:67
> 67 bool show_names = false;
> (gdb) n
> 68 for (int i = 1; i < argc; ++i) {
> (gdb)
> 83 LilvWorld* world = lilv_world_new();
> (gdb) n
> 84 lilv_world_load_all(world);
> (gdb) n
> 86 const LilvPlugins* plugins = lilv_world_get_all_plugins(world);
> (gdb) n
> 88 list_plugins(plugins, show_names);
> (gdb) n
> 90 lilv_world_free(world);
> (gdb) n
> 92 return 0;
> (gdb) n
> 93 }
> (gdb) n
> 0x00007ffff7236ead in __libc_start_main () from
> /lib/x86_64-linux-gnu/libc.so.6
> (gdb) n
> Single stepping until exit from function __libc_start_main,
> which has no line number information.
> [Inferior 1 (process 29219) exited normally]
> (gdb) n

(gdb) run
Starting program: /usr/bin/lv2ls

Breakpoint 1, main (argc=1, argv=0x7fffffffe458) at ../lilv/utils/lv2ls.c:67
67              bool show_names = false;
(gdb) n
68              for (int i = 1; i < argc; ++i) {
(gdb) n
83              LilvWorld* world = lilv_world_new();
(gdb) n
84              lilv_world_load_all(world);
(gdb) n
86              const LilvPlugins* plugins = 
lilv_world_get_all_plugins(world);
(gdb) print plugins
$1 = (const LilvPlugins *) 0x400b00




More information about the Devel mailing list