This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

run_ctors


Hi Dave,
I am trying to build a pure cygwin version of Freefem
a C++ software for FEM analysis.
http://www.freefem.org/ff++/

The program works fine, with minor source change, 
except the capability to dynamically load dlls to
extend the functionality.

From the backtrace I have the impression that the loaded
library msh3.dll has a access problem to a constructor 
"TheOperators" that is located in the calling libff.dll.

Program received signal SIGSEGV, Segmentation fault.
0x66c83a12 in Polymorphic::Addp () from /usr/local/bin/libff.dll
(gdb) backtrace
#0  0x66c83a12 in Polymorphic::Addp () from /usr/local/bin/libff.dll
#1  0x624dbca1 in _fu952__TheOperators () from /usr/local/lib/ff++/3.8/lib/msh3.dll
#2  0x624dcf1c in global constructors keyed to msh3.cpp ()
   from /usr/local/lib/ff++/3.8/lib/msh3.dll
#3  0x61020273 in per_module::run_ctors () from /usr/bin/cygwin1.dll
#4  0x00000000 in ?? ()

(gdb) list
1       /gnu/gcc/releases/packaging/4.3.4-3/gcc4-4.3.4-3/src/gcc-4.3.4/libstdc++-v3/libsupc++/si_class_type_info.cc: No such file or directory.
        in /gnu/gcc/releases/packaging/4.3.4-3/gcc4-4.3.4-3/src/gcc-4.3.4/libstdc++-v3/libsupc++/si_class_type_info.cc


Unfortunately my debug capability with gdb are very limited
so I don't understand if the software has an issue or
if the problem could be located in the cygwin1.dll.

Any suggestion how to proceed ?

Thanks
Marco






--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]