Bug#327025: C locale has bad default for _NL_TIME_FIRST_WEEKDAY

2005-09-08 Thread Denis Barbier
On Wed, Sep 07, 2005 at 05:40:56PM -0500, Graham Wilson wrote:
 I filed it against the locales package first since I assumed the fix was
 in the file /usr/share/i18n/locales/POSIX, which is in the locales
 package.

This has to be fixed even when no locales are compiled, so locale data
files can not help here.

 Reassigning to libc6 sounds fine, but are you sure the bug is in the
 locale and localedef programs? Isn't it in the library source itself?

Right, the patched file locale/C-time.c is also built into the library,
so this oneliner fix everything.

Denis


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: libc 2.3.5 and heap corruption checking?

2005-09-08 Thread Gabor Gombas
On Wed, Sep 07, 2005 at 09:29:04AM -0600, Ben Pearre wrote:

 *** glibc detected *** malloc(): memory corruption: 0x083ba0e8 ***
 zsh: abort (core dumped)  matlab -nosplash -nojvm

[...]

 (143)% export MALLOC_CHECK_=1
 (0)% matlab
[...]
  [1;2]*[3 4]
 
 
Segmentation violation detected at Wed Sep  7 00:55:16 2005
 
[...]

Well, setting MALLOC_CHECK_ prevents glibc from calling abort() when it
detects heap corruption but it will _not_ fix the bug in Matlab.

You can do some more investigation though:

- Run Matlab on a machine with the old glibc, but set MALLOC_CHECK_ to
  2. If that also crashes, then the bug is clearly in Matlab and you
  should go complain to your Matlab vendor.

- Run Matlab under valgrind, that will show you more information about
  heap allocation (it can detect more problems than glibc´s internal
  checker and can also give much better location information if you have
  debugging symbols).

Gabor

-- 
 -
 MTA SZTAKI Computer and Automation Research Institute
Hungarian Academy of Sciences
 -


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#327208: glibc: Warning about __ctype_* symbols should be in a NEWS.Debian file (and wrong file indicated in Changelog.Debian)

2005-09-08 Thread Frédéric Bothamy
Package: glibc
Severity: wishlist

Hello,

This is a followup to bug #324526.

I think that the warnings about __ctype_* symbols which can be found
in /usr/share/doc/libc6/README.Debian.gz (and not in the FAQ as
wrongly indicated in the changelog.Debian) should be in a NEWS.Debian
file as this change can severely break non-related applications. This
should warn users of this problem before glibc is installed and allow
them to cancel the installation if unsure.

BTW thanks for providing the workaround and the needed information!


Fred

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (900, 'testing-proposed-updates'), (900, 
'stable'), (200, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12.5
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]