[Clam-devel] puzzling segmentation fault

David García Garzón dgarcia at iua.upf.edu
Tue Aug 14 10:57:53 PDT 2007


Suggestion, print which 'library' is loading. I bet is NetworkEditor, which 
has the Loader itself, so it is self loading once and again.

El Tuesday 14 August 2007 19:49:13 Pau Arumi va escriure:
> Here goes a patch with the RunTimeLibraryLoader refactoring. It
> makes segfault NetworkEditor this way.
> If I remove the static AutomaticRunTimeLibraryLoader object then it
> doesn't. What puzzles me is the place where it crashes.
> Anyway, I'm sending this mostly to discuss on irc
>
> pau
>
> [CLAM Plugins] Looking at path
> '/home/parumi/patchedClam/CLAM/plugins/spacialization/'
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread -1257765168 (LWP 31239)]
> 0xb652ba97 in std::_List_node_base::hook () from
> /usr/lib/libstdc++.so.6
> (gdb) bt
> #0  0xb652ba97 in std::_List_node_base::hook () from
> /usr/lib/libstdc++.so.6
> #1  0x081546b1 in
> CLAM::Factory<CLAM::Processing>::Registry::AddAttribute
> (this=0xb7f32338, key=@0xbf908a38, attribute=@0xbf908a34,
>      value=@0xbf908a30) at
> /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_li
>st.h:1140 #2  0xb7edfbae in CLAM::Factory<CLAM::Processing>::AddAttribute
> (this=0xb7f32338, key=@0xbf908a38, attribute=@0xbf908a34,
>      value=@0xbf908a30) at scons/libs/core/include/CLAM/Factory.hxx:195
> #3  0xb505b564 in FactoryRegistrator (this=0xb507fc01,
> metadata=0xb507c50c) at
> /home/parumi/plocal/include/CLAM/Factory.hxx:460
> #4  0xb505a984 in __static_initialization_and_destruction_0
> (__initialize_p=<value optimized out>, __priority=<value optimized
> out>)
>      at MyFFT.cxx:40
> #5  0xb505bd56 in __do_global_ctors_aux () from
> /home/parumi/patchedClam/CLAM/plugins/spacialization//libplugins_specializa
>tion.so #6  0xb5009c75 in _init () from
> /home/parumi/patchedClam/CLAM/plugins/spacialization//libplugins_specializa
>tion.so






More information about the clam-devel mailing list