This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin 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]

Setup 2.243 - Crash isolated


I have isolated the crash I was getting. It was similar to what Pavel suggested,
but in a different place.

It is caused by rfc1738_do_escape calling strlen(url) when url is NULL.

Here is a stack trace:

#0  rfc1738_do_escape (url=0x0, encode_reserved=1) at ../rfc1738.cc:82
#1  0x004340ac in rfc1738_escape_part (url=@0x125a238) at ../rfc1738.cc:195
#2  0x0040c5cf in check_for_cached (pkgsource=@0x11d8ed8) at ../download.cc:91
#3  0x004043c6 in scan_downloaded_files () at ../choose.cc:471
#4  0x004045d1 in ChooserPage::OnInit (this=0x23fb60) at ../choose.cc:517

A kludge in rfc1738_do_escape avoids the crash, and allows setup to continue.

I will need to study setup some more before I can track this down to its root
cause.

Max.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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