This is the mail archive of the
cygwin
mailing list for the Cygwin project.
run_ctors
- From: Marco Atzeri <marco_atzeri at yahoo dot it>
- To: cygwin at cygwin dot com
- Date: Mon, 10 May 2010 09:00:02 +0000 (GMT)
- Subject: 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