Re: [LAD] New SVN version of LV2:AVW - Crashes Ingen

From: Emanuel Rumpf <xbran@email-addr-hidden>
Date: Tue May 15 2012 - 23:35:50 EEST

2012/5/15 Aurélien Leblond <blablack@gmail.com>:
> Hi everyone,
>
> I have been trying to use GDB to debug this issue.
> Problem is, as the program crashing is Ingen, I get the information as to
> where it crashes in Ingen, not where the problem lies in my plugin.
>
> Would anybody have any ideas as to how to tacke this issue?
>

If the plugin runs in a different process,
it may be necessary to attach that process to gdb.
Don't forget to compile with debug enabled.

<<
(gdb) help attach
Attach to a process or file outside of GDB.
This command attaches to another target, of the same type as your last
"target" command ("info files" will show your target stack).
The command may take as argument a process id or a device file.
For a process id, you must have permission to send the process a signal,
and it must have the same effective uid as the debugger.
When using "attach" with a process id, the debugger finds the
program running in the process, looking first in the current working
directory, or (if not found there) using the source file search path
(see the "directory" command). You can also use the "file" command
to specify the program, and to load its symbol table.
<<

-- 
E.R.
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Wed May 16 00:15:03 2012

This archive was generated by hypermail 2.1.8 : Wed May 16 2012 - 00:15:03 EEST