[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: intl segfault on solaris
From: |
Bruno Haible |
Subject: |
Re: intl segfault on solaris |
Date: |
Wed, 17 Jul 2002 19:26:20 +0200 (CEST) |
Xavier Nicollet writes:
> It uses intl 0.10.40. I tested with the one from gettext 0.11.2 with no
> better result.
>
> gdb tells it segfaults in main.c: 536 (dpkg main)
> in intl-compat.c:147
> in textdomain.c:101
>
> It seems that strcmp() is run with a null second argument: old_domain =
> NULL (according to gdb).
>
> old_domain seems to be equal to _nl_current_default_domain.
Sounds quite strange, because _nl_current_default_domain is statically
initialized to a non-NULL pointer, and is never assigned NULL. Can you
dig a little deeper with gdb's help? When you set a breakpoint at
'main', what is the value of _nl_current_default_domain when this
breakpoint is reached?
Bruno