This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos 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]

Re: Problem with Config Tool on Cygwin


Hi Tom

John Dallaway wrote:

> Tom Smithkowski wrote:
> 
>> I'm new to eCos, and trying to get the Configuration Tool running. I'm
>> running the latest Cygwin on WinXP Pro SP2.
>>
>> I initially had the problem noted below.
>>
>> I have since tried the patched version from eCosCentric, but instead
>> of exhibiting the same problem, I'm getting an abort with a stack dump
>> (see attachment).
>>
>> Is anyone else seeing this problem, and are others able to
>> successfully run the Configuration Tool with the latest Cygwin?
> 
> I will investigate this issue. Please raise a bug report at
> http://bugs.ecos.sourceware.org/ which includes the versions of the
> Cygwin DLL and tcltk libraries you are using:

I can now confirm that there is a problem with the eCos Configuration
Tool and version 1.5.19 of the Cygwin DLL. The eCos Configuration Tool
fails during initialisation inside a call to pthread_key_create():

> (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  0x10041a58 in ?? ()
> #4  0x008ca31c in operator+ ()
> #5  0x610af6b7 in pthread::once () from /usr/bin/cygwin1.dll
> #6  0x6108dd7f in _sigfe () from /usr/bin/cygwin1.dll
> #7  0x0022ed18 in ?? ()
> #8  0x0080da25 in _Unwind_SjLj_Register () at clipbrd.h:76
> #9  0x0080da25 in _Unwind_SjLj_Register () at clipbrd.h:76
> #10 0x00813aa5 in wxListBase (this=0x99ecd0, keyType=wxKEY_STRING) at list.h:204
> #11 0x00821c70 in wxObjectList (this=0x99ecd0, keyType=wxKEY_STRING) at list.h:509
> #12 0x008621a0 in wxList (this=0x99ecd0, key_type=2) at list.h:514
> #13 0x007dc789 in __static_initialization_and_destruction_0 (__initialize_p=1, __priority=65535) at /home/jld/src/wxWindows-2.4.2/src/msw/dde.cpp:132
> #14 0x007dc9b4 in global constructors keyed to _Z27wxConstructorForwxDDEServerv() at /home/jld/src/wxWindows-2.4.2/src/msw/dde.cpp:1049
> #15 0x61004772 in do_global_ctors () from /usr/bin/cygwin1.dll
> #16 0x10041a12 in ?? ()
> #17 0x0022ede8 in ?? ()
> #18 0x61004812 in __main () from /usr/bin/cygwin1.dll
> (gdb)

This looks similar to the issue discussed at:

  http://www.cygwin.com/ml/cygwin-patches/2006-q2/msg00065.html

As a workaround, it is currently possible to revert to version 1.5.18-1
of the "cygwin" package using the Cygwin Net Release Setup Program.

Since the probable cause of this issue has been identified and patched,
I will wait for a new release of the Cygwin DLL before investigating any
further.

John Dallaway
eCosCentric Limited

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


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