public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "johnlumby at hotmail dot com" <sourceware-bugzilla@sources.redhat.com>
To: glibc-bugs@sources.redhat.com
Subject: [Bug libc/356] localedata: tests-mbwc/tst_iswalnum segfaults during make check
Date: Mon, 30 Aug 2004 18:11:00 -0000	[thread overview]
Message-ID: <20040830181151.7875.qmail@sourceware.org> (raw)
In-Reply-To: <20040830153917.356.johnlumby@hotmail.com>


------- Additional Comments From johnlumby at hotmail dot com  2004-08-30 18:11 -------
Oh - by the way - I did trace through _nl_intern_locale_data while the test was
executing and it loaded the LC_CTYPE category several times, with varying numbers
of items, but in every case, item 82 (which I think is named _NL_CTYPE_EXTRA_MAP_12
according to langinfo.h) was considered to be of type "word" according to the
test I noted above,
     if (__builtin_expect (_nl_value_types[category][cnt] == word, 0))
so, regardless of whether this test was referencing the static array of
categories or some trickily-loaded dynamic array, it seems incorrect that the
testcase is accessing that value as though it was a string pointer.

I would add that it seems undesirable to me to resort to this kind of trickery
of accessing dynamically-loaded areas as though they were static, as it makes it
hard to debug with a conventional debugger.


-- 


http://sources.redhat.com/bugzilla/show_bug.cgi?id=356

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


  reply	other threads:[~2004-08-30 18:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-30 15:39 [Bug libc/356] New: " johnlumby at hotmail dot com
2004-08-30 18:11 ` johnlumby at hotmail dot com [this message]
2004-09-26  5:49 ` [Bug libc/356] " drepper at redhat dot com
2004-10-10 19:47 ` johnlumby at hotmail dot com
2004-10-10 19:50 ` johnlumby at hotmail dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040830181151.7875.qmail@sourceware.org \
    --to=sourceware-bugzilla@sources.redhat.com \
    --cc=glibc-bugs@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).