public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* RE: [ECOS] ConfigTool crashes on latest Cygwin
@ 2006-02-06 15:38 Moseley, Drew
  0 siblings, 0 replies; 2+ messages in thread
From: Moseley, Drew @ 2006-02-06 15:38 UTC (permalink / raw)
  To: Andy Jackson, ecos-discuss

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [ECOS] ConfigTool crashes on latest Cygwin
  2006-02-06 14:06 ` Nick Garnett
@ 2006-02-06 15:12   ` Andy Jackson
  0 siblings, 0 replies; 2+ messages in thread
From: Andy Jackson @ 2006-02-06 15:12 UTC (permalink / raw)
  To: ecos-discuss

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-02-06 15:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-06 15:38 [ECOS] ConfigTool crashes on latest Cygwin Moseley, Drew
  -- strict thread matches above, loose matches on Subject: below --
2006-02-06 11:58 [ECOS] Calling cyg_thread_create() from static constructors uwe.kindler
2006-02-06 14:06 ` Nick Garnett
2006-02-06 15:12   ` [ECOS] ConfigTool crashes on latest Cygwin Andy Jackson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).