Hey all,
I'm stuck on debugging this issue.
The problem is that I've approached all the gphoto calling functions the same, but one particular function (listconfig) segfaults when I use PD functions, in particular outlet_symbol().
I've attached the src.
What is different about listconfig compared to say, getconfig, which works without a hitch?
The backtrace does not mean much to me: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x48021320 (LWP 17483)] outlet_symbol (x=0x24, s=0x100c8cb8) at m_obj.c:364 364 for (oc = x->o_connections; oc; oc = oc->oc_next) (gdb) bt #0 outlet_symbol (x=0x24, s=0x100c8cb8) at m_obj.c:364 #1 0x0fd3bff0 in listConfig () from /home/bbogart/src/gphoto/gphoto.pd_linux #2 0x1004ec28 in pd_typedmess (x=0x100c7d80, s=0x24442442, argc=269257912, argv=0x7f7f7f7f) at m_class.c:728 #3 0x10050ad4 in outlet_anything (x=<value optimized out>, s=0x100c7490, argc=0, argv=0x100aafe0) at m_obj.c:387
Any help would be appreciated.
Thanks, .b.