public inbox for libc-locales@sourceware.org
 help / color / mirror / Atom feed
From: Florian Weimer <fweimer@redhat.com>
To: Abhidnya Joshi <abhidnyachirmule@gmail.com>
Cc: libc-locales@sourceware.org
Subject: Re: Crash in gconv_db.c
Date: Fri, 20 Dec 2019 16:47:00 -0000	[thread overview]
Message-ID: <87lfr7eyg0.fsf@oldenburg2.str.redhat.com> (raw)
In-Reply-To: <CALmqtCXEdgkyXy7pQgJhpiHy3dVu45YBHx-Z=-2aSnOHbLbomg@mail.gmail.com> (Abhidnya Joshi's message of "Fri, 20 Dec 2019 22:12:30 +0530")

* Abhidnya Joshi:

> step[0] is a problem. When we tried to reproduce this, during runs, we
> did check counter of step[0] in between. It actually got increased to
> 2^32 and then got set back to 0.
> This is only with first entry of step which is for some INTERNAL thing.

I may have found something.

Would you please check if on the affected system, ther is a
gconv-modules.cache file somewhere under /usr?  Fedora uses
/usr/lib64/gconv/gconv-modules.cache, for example.  Or do you set the
GCONV_PATH environment variable on the affected system?

In my initial tests, the counter was stuck at 1 due to the gconv cache,
but that requires the gconv-modules.cache file being present at the
expected path, and GCONV_PATH must not be set.  In this case, you should
be able to work around this issue by running iconvconfig (or not setting
GCONV_PATH).

I cannot yet reproduce the crash, but I definitely see the counter
wrap-around.

Thanks,
Florian

  reply	other threads:[~2019-12-20 16:47 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-11 16:05 Abhidnya Joshi
2019-11-11 16:19 ` Florian Weimer
2019-11-11 16:47   ` Abhidnya Joshi
     [not found]     ` <CALmqtCVBCb2vJ+XNb6WZa1csNZaisLmqoG5nTn-QUU0MO=UbPw@mail.gmail.com>
2019-11-14 17:34       ` Florian Weimer
2019-11-19 14:05         ` Abhidnya Joshi
2019-11-28 18:47           ` Abhidnya Joshi
2019-12-12 15:58             ` Florian Weimer
2019-12-20 15:05               ` Abhidnya Joshi
2019-12-20 15:16                 ` Florian Weimer
2019-12-20 15:40                   ` Abhidnya Joshi
2019-12-20 15:43                     ` Florian Weimer
2019-12-20 15:53                       ` Abhidnya Joshi
2019-12-20 16:09                         ` Florian Weimer
2019-12-20 16:42                           ` Abhidnya Joshi
2019-12-20 16:47                             ` Florian Weimer [this message]
2019-12-20 17:18                               ` Abhidnya Joshi
2019-12-20 18:39                                 ` Florian Weimer

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=87lfr7eyg0.fsf@oldenburg2.str.redhat.com \
    --to=fweimer@redhat.com \
    --cc=abhidnyachirmule@gmail.com \
    --cc=libc-locales@sourceware.org \
    /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).