Status: Accepted
Owner:
eugen.win...@gmail.com
Labels: Type-Defect Priority-Medium
New issue 7 by
eugen.win...@gmail.com: Strange exception during
plugin loading
http://code.google.com/p/cdma/issues/detail?id=7
I actually experience a strange exception during loading plugins. The error
appears in a small test programm attached to this ticket.
I compile the program with
$> g++ -std=c++0x -o test test.cpp $(pkg-config --libs --cflags cdmacore)
and try to run it with
$> ./test
Which gives the following error message
-- yat::Exception ---------------------------
Err[0]:reason...SHAREDLIBRARY_ERROR
Err[0]:desc...../usr/lib/cdma/plugins/nexussoleil.so: undefined
symbol:
_ZN4cdma5nexus7Dataset4saveERKSsRKN3yat9SharedPtrINS_10IAttributeENS4_5MutexEEE
Err[0]:desc.....PlugIn::do_load_library
Err[0]:code.....-1
Err[1]:reason...SHAREDLIBRARY_ERROR
Err[1]:desc.....Error while loading library
Err[1]:desc.....PlugIn::load_library
Err[1]:code.....-1
----------------------------------------------
-- yat::Exception ---------------------------
Err[0]:reason...SHAREDLIBRARY_ERROR
Err[0]:desc...../usr/lib/cdma/plugins/nexusraw.so: undefined
symbol:
_ZN4cdma5nexus7Dataset4saveERKSsRKN3yat9SharedPtrINS_10IAttributeENS4_5MutexEEE
Err[0]:desc.....PlugIn::do_load_library
Err[0]:code.....-1
Err[1]:reason...SHAREDLIBRARY_ERROR
Err[1]:desc.....Error while loading library
Err[1]:desc.....PlugIn::load_library
Err[1]:code.....-1
----------------------------------------------
Loading dataset ...
Segmentation fault
This looks like if the signatures of some functions during loading are
wrong.
regards
Eugen
Attachments:
test.cpp 819 bytes