[ECOS] ConfigTool crashes on latest Cygwin
Moseley, Drew
drew.moseley@intel.com
Mon Feb 6 15:38:00 GMT 2006
I have seen a similar crash of command line ecosconfig with the latest
cygwin1.dll. It is getting a divide-by-zero error. The CDL causing the
failure is in
packages/hal/arm/xscale/verde/current/cdl/hal_arm_xscale_verde.cdl;
specifically the definition of CYGNUM_HAL_RTC_PERIOD as "calculated
1000000/CYGNUM_HAL_RTC_DENOMINATOR". If I replace
CYGNUM_HAL_RTC_DENOMINATOR with its default value then everything works.
I have put some debug code into ecosconfig to confirm that it is a
divide-by-zero failure however I have not tracked down where the zero is
coming from. I will continue my debug but hopefully someone with more
knowledge of the inner workings can provide some insight.
Drew
-----Original Message-----
From: ecos-discuss-owner@ecos.sourceware.org
[mailto:ecos-discuss-owner@ecos.sourceware.org] On Behalf Of Andy
Jackson
Sent: Monday, February 06, 2006 8:12 AM
To: ecos-discuss@sourceware.org
Subject: [ECOS] ConfigTool crashes on latest Cygwin
I've recently re-compiled ConfigTool using a receipe that has worked in
the
past and now find that when I run it on the latest version of Cygwin
(cygwin1.dll 1.5.19-cr-0x5ef) it appears to crash just after opening
the
repository. I've tracked it down as far as the call to
NewCdlConfig->set_hardware (DefaultHWName,
&CdlParseErrorHandler, &CdlParseWarningHandler);
which is line 962 in configtooldoc.cpp in my sources which are a week
old
CVS snapshot.
At this point it all disappears into libcdl and the trail goes cold as
far
as my ability to track it goes.
Interestingly, if I move the executable onto another system with an
older
version of cygwin (cygwin1.dll 1.5.12) then it runs quite happily.
Has anyone else encountered this or better still found a fix.
Thanks,
Andy..
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
More information about the Ecos-discuss
mailing list