delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/05/10/05:00:29

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
Message-ID: <16565.11649.qm@web25508.mail.ukl.yahoo.com>
Date: Mon, 10 May 2010 09:00:02 +0000 (GMT)
From: Marco Atzeri <marco_atzeri AT yahoo DOT it>
Subject: run_ctors
To: cygwin AT cygwin DOT com
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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,=20
except the capability to dynamically load dlls to
extend the functionality.

=46rom the backtrace I have the impression that the loaded
library msh3.dll has a access problem to a constructor=20
"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/libs=
tdc++-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/l=
ibstdc++-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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019