[PD-dev] Compiling and debugging flext external on Debian linux

Bryan Jurish moocow at ling.uni-potsdam.de
Fri Jun 13 10:12:01 CEST 2008


moin Pablo,

looks like something (SoundFile?) is trying to free a NULL pointer
(blk=0x0); possibly an initialization bug... have you checked the
constructor?

marmosets,
	Bryan

On 2008-06-12 20:23:53, Pablo Vanwoerkom <guikubivan at gmail.com> appears
to have written:
> I've been having trouble running the DEBUG-SINGLE binary of an external
> that uses flext.
[snip]

> ========================================
> *Below is the error I am getting when I try to load a soundfile in the
> puredata patch that uses the soundspotter external:*
> =====================================================
> Program received signal SIGSEGV, Segmentation fault.
> 0x9d879480 in flext_root_single::operator delete (blk=0x0) at
> source/flsupport.cpp:173
> 173 size_t bytes = *(size_t *)ori;
> Current language: auto; currently c++
> ====================================================
> 
> 
> *And the backtrace is:*
> =====================================================
> #0 0x9d879480 in flext_root_single::operator delete (blk=0x0) at
> source/flsupport.cpp:173
> #1 0x9d8723f9 in operator delete (blk=0x0) at source/flsupport.h:103
> #2 0x9d86b1c2 in SoundFile::loadSound (this=0x82597f4) at
> soundspotter3/SoundFile.cpp:31
> #3 0x9d86b2d1 in SoundFile::sfOpen (this=0x82597f4,
> inFileName=0x82597b8
> "/media/docs/capstone/audioclips/HummedScale_Don.wav")
> at soundspotter3/SoundFile.cpp:21
> #4 0x9d86ca16 in soundspotter::m_milt (this=0x823a154, argc=1,
> argv=0xbfc0958c) at soundspotter3/DriverFlext.cpp:103
> #5 0x9d86cfeb in soundspotter::flext_c_m_milt (c=0x823a154, argc=1,
> argv=0xbfc0958c) at soundspotter3/DriverFlext.h:55
> #6 0x9d87e08a in flext_base_single::TryMethTag (this=0x823a154,
> lst=0x823a4ac, tag=0x823f578, argc=1, argv=0xbfc0958c) at
> source/flmsg.cpp:37
> #7 0x9d87e4ba in flext_base_single::FindMeth (this=0x823a154,
> inlet=0, s=0x823f578, argc=1, argv=0xbfc0958c) at source/flmsg.cpp:146
> #8 0x9d87e67d in flext_base_single::CbMethodHandler (this=0x823a154,
> inlet=0, s=0x823f578, argc=1, argv=0xbfc0958c) at source/flmsg.cpp:184
> #9 0x9d87ec84 in flext_base_single::cb_px_anything (c=0x8239d98,
> s=0x823f578, argc=1, argv=0xbfc0958c) at source/flproxy.cpp:32
> #10 0x080aa5d6 in pd_typedmess ()
> #11 0x082432c8 in ?? ()
> #12 0xbfc09336 in ?? ()
> #13 0xbfc09792 in ?? ()
> #14 0x00000010 in ?? ()
> #15 0x00000004 in ?? ()
> #16 0x00000000 in ?? ()
> =====================================================
> 
> 
> 
> _______________________________________________
> Pd-dev mailing list
> Pd-dev at iem.at
> http://lists.puredata.info/listinfo/pd-dev
> 

-- 
***************************************************

Bryan Jurish
Deutsches Textarchiv
Berlin-Brandenburgische Akademie der Wissenschaften

Jägerstr. 22/23
10117 Berlin

Tel.:      +49 (0)30 20370 539
E-Mail:    jurish at bbaw.de

***************************************************




More information about the Pd-dev mailing list