public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* strchrnul() crashing latest dash
@ 2011-05-05 15:40 Akakima
  2011-05-05 15:42 ` Eric Blake
  0 siblings, 1 reply; 3+ messages in thread
From: Akakima @ 2011-05-05 15:40 UTC (permalink / raw)
  To: cygwin

I just tried to build dash. Downloaded the source code with setup.exe.
dash.exe core dumped.  Using GDB found that strchrnul (the one cygwin1.dll)
was the location of the crash.

I modified config.h to use dash's own strchrnul. Now everything seems ok.

I am using the latest cygwin dll.

May be there is a problem in strchrnul().

Thanks






--
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

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

* Re: strchrnul() crashing latest dash
  2011-05-05 15:40 strchrnul() crashing latest dash Akakima
@ 2011-05-05 15:42 ` Eric Blake
  2011-05-05 16:16   ` Akakima
  0 siblings, 1 reply; 3+ messages in thread
From: Eric Blake @ 2011-05-05 15:42 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 612 bytes --]

On 05/05/2011 09:39 AM, Akakima wrote:
> I just tried to build dash. Downloaded the source code with setup.exe.
> dash.exe core dumped.  Using GDB found that strchrnul (the one cygwin1.dll)
> was the location of the crash.
> 
> I modified config.h to use dash's own strchrnul. Now everything seems ok.
> 
> I am using the latest cygwin dll.
> 
> May be there is a problem in strchrnul().

Yes, and it was already fixed.  Try a snapshot.
http://sourceware.org/ml/newlib/2011/msg00145.html

-- 
Eric Blake   eblake@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 619 bytes --]

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

* Re: strchrnul() crashing latest dash
  2011-05-05 15:42 ` Eric Blake
@ 2011-05-05 16:16   ` Akakima
  0 siblings, 0 replies; 3+ messages in thread
From: Akakima @ 2011-05-05 16:16 UTC (permalink / raw)
  To: cygwin

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 436 bytes --]


"Eric Blake" <eblake@redhat.com> a écrit dans le message de news: 
4DC2C56D.9040000@redhat.com...

Thanks. Tried again with latest snapshot.
Everything is OK now

Will remember the hint about the snapshots :-) 




--
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

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

end of thread, other threads:[~2011-05-05 16:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-05 15:40 strchrnul() crashing latest dash Akakima
2011-05-05 15:42 ` Eric Blake
2011-05-05 16:16   ` Akakima

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).