This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: help with dynamic linkage?
- From: skaller <skaller at users dot sourceforge dot net>
- To: cygwin at cygwin dot com
- Date: Sat, 11 Feb 2006 16:22:54 +1100
- Subject: Re: help with dynamic linkage?
- References: <1139634710.8498.16.camel@rosella>
On Sat, 2006-02-11 at 16:11 +1100, skaller wrote:
> hi, I'm having some problem getting dynamic linkage to work.
Oops .. hmm .. just got gdb backtrace on another experiment.
Now we're crashing initialising standard I/O in the rtl.
BTW the rtl dll name is libflx_dynamic.dll.
Program received signal SIGSEGV, Segmentation fault.
0x610ae938 in pthread_key_create () from /usr/bin/cygwin1.dll
(gdb) bt
#0 0x610ae938 in pthread_key_create () from /usr/bin/cygwin1.dll
#1 0x6108dd7f in _sigfe () from /usr/bin/cygwin1.dll
#2 0x59432d52 in ?? ()
#3 0x100b2008 in ?? ()
#4 0x00000001 in ?? ()
#5 0x100b2008 in ?? ()
#6 0x0022eda8 in ?? ()
#7 0x610af6b7 in pthread::once () from /usr/bin/cygwin1.dll
#8 0x610af6b7 in pthread::once () from /usr/bin/cygwin1.dll
#9 0x6108dd7f in _sigfe () from /usr/bin/cygwin1.dll
#10 0x0022edd8 in ?? ()
#11 0x100448e5 in _Unwind_SjLj_Register () from
/cygdrive/c/felix/flx/bin/libflx_dynamic.dll
#12 0x100448e5 in _Unwind_SjLj_Register () from
/cygdrive/c/felix/flx/bin/libflx_dynamic.dll
#13 0x10038e73 in std::ios_base::Init::Init () from
/cygdrive/c/felix/flx/bin/libflx_dynamic.dll
#14 0x10035631 in __static_initialization_and_destruction_0 () from
/cygdrive/c/felix/flx/bin/libflx_dynamic.dll
#15 0x100879d0 in std::__ioinit ()
#16 0x0000001a in ?? ()
#17 0x1007cc80 in virtual thunk to
flx::gc::collector::malloc_free::~malloc_free() ()
from /cygdrive/c/felix/flx/bin/libflx_dynamic.dll
#18 0x61010253 in per_module::run_ctors () from /usr/bin/cygwin1.dll
#19 0x00000001 in ?? ()
#20 0x610102a0 in dll::init () from /usr/bin/cygwin1.dll
#21 0x280b0008 in ?? ()
#22 0x0000002f in ?? ()
#23 0x0022ee98 in ?? ()
#24 0x610d8ef7 in strrchr () from /usr/bin/cygwin1.dll
#25 0x61005eb3 in _dll_crt0@0 () from /usr/bin/cygwin1.dll
#26 0x00000000 in ?? () from
(gdb)
[1]+ Stopped gdb bin/flx_run.exe
--
John Skaller <skaller at users dot sf dot net>
Felix, successor to C++: http://felix.sf.net
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/