Debian Bug report logs - #691606
[locales] Causes system to fail to boot with floating point exceptions

Package: locales; Maintainer for locales is GNU Libc Maintainers <debian-glibc@lists.debian.org>; Source for locales is src:eglibc.

Reported by: Beojan Stanislaus <beojan@lavabit.com>

Date: Sat, 27 Oct 2012 14:57:02 UTC

Severity: important

Done: Beojan Stanislaus <beojan@lavabit.com>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, GNU Libc Maintainers <debian-glibc@lists.debian.org>:
Bug#691606; Package locales. (Sat, 27 Oct 2012 14:57:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Beojan Stanislaus <beojan@lavabit.com>:
New Bug report received and forwarded. Copy sent to GNU Libc Maintainers <debian-glibc@lists.debian.org>. (Sat, 27 Oct 2012 14:57:04 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Beojan Stanislaus <beojan@lavabit.com>
To: submit@bugs.debian.org
Subject: [locales] Causes system to fail to boot with floating point exceptions
Date: Sat, 27 Oct 2012 15:53:04 +0100
Package: locales
Version: 2.13-36
Severity: critical

--- Please enter the report below this line. ---
This version of locales causes any script that includes the line 
  . /etc/default/locales

to exit with a floating point exception. Unfortunately, dash shows this as 
multiple commands within the script exiting with "trap divide error" followed 
by floating point error, making the error very difficult to determine the 
cause of.

This bug causes the system to fail to boot, and prevents the scripts in 
/etc/init.d from running correctly.

--- System information. ---
Architecture: 
Kernel:       Linux 3.2.0-4-amd64

Debian Release: wheezy/sid
  500 unstable        qgis.org 
  500 unstable        ftp.debian.org 
  500 stable          dl.google.com 
  500 sid             linux.dropbox.com 
  100 experimental-snapshots qt-kde.debian.net 
    1 experimental    ftp.debian.org 

--- Package information. ---
Package's Depends field is empty.

Package's Recommends field is empty.

Package's Suggests field is empty.







Information forwarded to debian-bugs-dist@lists.debian.org, GNU Libc Maintainers <debian-glibc@lists.debian.org>:
Bug#691606; Package locales. (Sat, 27 Oct 2012 17:48:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jonathan Nieder <jrnieder@gmail.com>:
Extra info received and forwarded to list. Copy sent to GNU Libc Maintainers <debian-glibc@lists.debian.org>. (Sat, 27 Oct 2012 17:48:03 GMT) Full text and rfc822 format available.

Message #10 received at 691606@bugs.debian.org (full text, mbox):

From: Jonathan Nieder <jrnieder@gmail.com>
To: Beojan Stanislaus <beojan@lavabit.com>
Cc: 691606@bugs.debian.org
Subject: Re: [locales] Causes system to fail to boot with floating point exceptions
Date: Sat, 27 Oct 2012 10:46:41 -0700
tags 691606 + moreinfo
# machine-specific
severity 691606 important
quit

Hi,

Beojan Stanislaus wrote:

> This version of locales causes any script that includes the line 
>   . /etc/default/locales
>
> to exit with a floating point exception.

I don't have that file.  I do have

	$ grep . /etc/default/locale 
	#  File generated by update-locale
	#LANG=de_DE.UTF-8
	#LANGUAGE=en:de

but I suspect you're looking at a different file.  Could you attach it?

Thanks,
Jonathan



Added tag(s) moreinfo. Request was from Jonathan Nieder <jrnieder@gmail.com> to control@bugs.debian.org. (Sat, 27 Oct 2012 17:48:05 GMT) Full text and rfc822 format available.

Severity set to 'important' from 'critical' Request was from Jonathan Nieder <jrnieder@gmail.com> to control@bugs.debian.org. (Sat, 27 Oct 2012 17:48:05 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, GNU Libc Maintainers <debian-glibc@lists.debian.org>:
Bug#691606; Package locales. (Sat, 27 Oct 2012 18:33:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Beojan Stanislaus <beojan@lavabit.com>:
Extra info received and forwarded to list. Copy sent to GNU Libc Maintainers <debian-glibc@lists.debian.org>. (Sat, 27 Oct 2012 18:33:03 GMT) Full text and rfc822 format available.

Message #19 received at 691606@bugs.debian.org (full text, mbox):

From: Beojan Stanislaus <beojan@lavabit.com>
To: Jonathan Nieder <jrnieder@gmail.com>
Cc: 691606@bugs.debian.org
Subject: Re: [locales] Causes system to fail to boot with floating point exceptions
Date: Sat, 27 Oct 2012 19:30:13 +0100
[Message part 1 (text/plain, inline)]
> I don't have that file.  I do have
> 
> 	$ grep . /etc/default/locale
> 	#  File generated by update-locale
> 	#LANG=de_DE.UTF-8
> 	#LANGUAGE=en:de
> 
> but I suspect you're looking at a different file.  Could you attach it?
> 
> Thanks,
> Jonathan
locale file attached.
I thought kmail automatically replied to CCed addresses as well.

--
Beojan Stan
[locale (text/plain, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, GNU Libc Maintainers <debian-glibc@lists.debian.org>:
Bug#691606; Package locales. (Sat, 27 Oct 2012 18:57:09 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jonathan Nieder <jrnieder@gmail.com>:
Extra info received and forwarded to list. Copy sent to GNU Libc Maintainers <debian-glibc@lists.debian.org>. (Sat, 27 Oct 2012 18:57:09 GMT) Full text and rfc822 format available.

Message #24 received at 691606@bugs.debian.org (full text, mbox):

From: Jonathan Nieder <jrnieder@gmail.com>
To: Beojan Stanislaus <beojan@lavabit.com>
Cc: 691606@bugs.debian.org
Subject: Re: [locales] Causes system to fail to boot with floating point exceptions
Date: Sat, 27 Oct 2012 11:56:26 -0700
Beojan Stanislaus wrote:

> locale file attached.
[...]
> #  File generated by update-locale
> LANG="en_GB.UTF-8"
> LANGUAGE="en_GB:en"

Ok, thanks.  I don't see anything objectionable there, so the problem
has to be somewhere else.

Could you try:

 set -x
 . /etc/default/locales; # or whatever file reproduces this

and then also attach full "dmesg" output?

Sorry for the trouble, and hope that helps,
Jonathan



Information forwarded to debian-bugs-dist@lists.debian.org, GNU Libc Maintainers <debian-glibc@lists.debian.org>:
Bug#691606; Package locales. (Sat, 27 Oct 2012 19:15:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Beojan Stanislaus <beojan@lavabit.com>:
Extra info received and forwarded to list. Copy sent to GNU Libc Maintainers <debian-glibc@lists.debian.org>. (Sat, 27 Oct 2012 19:15:05 GMT) Full text and rfc822 format available.

Message #29 received at 691606@bugs.debian.org (full text, mbox):

From: Beojan Stanislaus <beojan@lavabit.com>
To: Jonathan Nieder <jrnieder@gmail.com>
Cc: 691606@bugs.debian.org
Subject: Re: [locales] Causes system to fail to boot with floating point exceptions
Date: Sat, 27 Oct 2012 20:13:30 +0100
On Saturday 27 October 2012 11:56:26 Jonathan Nieder wrote:
> Beojan Stanislaus wrote:
> > locale file attached.
> 
> [...]
> 
> > #  File generated by update-locale
> > LANG="en_GB.UTF-8"
> > LANGUAGE="en_GB:en"
> 
> Ok, thanks.  I don't see anything objectionable there, so the problem
> has to be somewhere else.
> 
> Could you try:
> 
>  set -x
>  . /etc/default/locales; # or whatever file reproduces this
> 
> and then also attach full "dmesg" output?
> 
> Sorry for the trouble, and hope that helps,
> Jonathan

Unfortunately not, since, as this bug makes my system unusable, I have 
downgraded the locales package alone to 2.13-35 from wheezy.

2.13-36 makes the system fail to boot, as I mentioned in the original report, 
since the scripts calling . /etc/default/locales; are the init scripts in 
/etc/init.d. As a result I am unable to test your suggestion.

However, I can add that calling update-locale with the faulty package causes 
the same floating point exception message.






Information forwarded to debian-bugs-dist@lists.debian.org, GNU Libc Maintainers <debian-glibc@lists.debian.org>:
Bug#691606; Package locales. (Sat, 27 Oct 2012 19:45:10 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jonathan Nieder <jrnieder@gmail.com>:
Extra info received and forwarded to list. Copy sent to GNU Libc Maintainers <debian-glibc@lists.debian.org>. (Sat, 27 Oct 2012 19:45:10 GMT) Full text and rfc822 format available.

Message #34 received at 691606@bugs.debian.org (full text, mbox):

From: Jonathan Nieder <jrnieder@gmail.com>
To: Beojan Stanislaus <beojan@lavabit.com>
Cc: 691606@bugs.debian.org
Subject: Re: [locales] Causes system to fail to boot with floating point exceptions
Date: Sat, 27 Oct 2012 12:42:11 -0700
Beojan Stanislaus wrote:
> On Saturday 27 October 2012 11:56:26 Jonathan Nieder wrote:

>> Could you try:
>>
>>  set -x
>>  . /etc/default/locales; # or whatever file reproduces this
>>
>> and then also attach full "dmesg" output?
[...]
> Unfortunately not, since, as this bug makes my system unusable, I have 
> downgraded the locales package alone to 2.13-35 from wheezy.

Perhaps in a chroot or in the live environment from a live cd?
Without these logs, it's hard to see how to track this down further.

> 2.13-36 makes the system fail to boot, as I mentioned in the original report, 
> since the scripts calling . /etc/default/locales; are the init scripts in 
> /etc/init.d. As a result I am unable to test your suggestion.

Another alternative would be to take a photograph of the screen when
this happens.  How do you know that /etc/default/locales is the cause?
By the way, do you mean /etc/default/locales or /etc/default/locale?

> However, I can add that calling update-locale with the faulty package causes 
> the same floating point exception message.

Thanks and hope that helps,
Jonathan



Information forwarded to debian-bugs-dist@lists.debian.org, GNU Libc Maintainers <debian-glibc@lists.debian.org>:
Bug#691606; Package locales. (Sat, 27 Oct 2012 19:51:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Beojan Stanislaus <beojan@lavabit.com>:
Extra info received and forwarded to list. Copy sent to GNU Libc Maintainers <debian-glibc@lists.debian.org>. (Sat, 27 Oct 2012 19:51:03 GMT) Full text and rfc822 format available.

Message #39 received at 691606@bugs.debian.org (full text, mbox):

From: Beojan Stanislaus <beojan@lavabit.com>
To: 691606@bugs.debian.org
Subject: Re: [locales] Causes system to fail to boot with floating point exceptions
Date: Sat, 27 Oct 2012 20:47:16 +0100
> Another alternative would be to take a photograph of the screen when
> this happens.  How do you know that /etc/default/locales is the cause?
> By the way, do you mean /etc/default/locales or /etc/default/locale?
> 

/etc/default/locale (sorry about the confusion)

The output, upon boot, is pretty much as shown here

http://www.linuxquestions.org/questions/debian-26/floating-point-exception-
error-on-boot-sid-kde-894768/

Although (as expected) when booting into recovery mode (the only way I can 
login), the syslog output appears on the screen during boot.





Information forwarded to debian-bugs-dist@lists.debian.org, GNU Libc Maintainers <debian-glibc@lists.debian.org>:
Bug#691606; Package locales. (Sat, 27 Oct 2012 20:03:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jonathan Nieder <jrnieder@gmail.com>:
Extra info received and forwarded to list. Copy sent to GNU Libc Maintainers <debian-glibc@lists.debian.org>. (Sat, 27 Oct 2012 20:03:05 GMT) Full text and rfc822 format available.

Message #44 received at 691606@bugs.debian.org (full text, mbox):

From: Jonathan Nieder <jrnieder@gmail.com>
To: Beojan Stanislaus <beojan@lavabit.com>
Cc: 691606@bugs.debian.org
Subject: Re: [locales] Causes system to fail to boot with floating point exceptions
Date: Sat, 27 Oct 2012 12:59:44 -0700
Beojan Stanislaus wrote:

> Although (as expected) when booting into recovery mode (the only way I can 
> login), the syslog output appears on the screen during boot.

Ok, perfect.  In recovery mode, could you please run

	set -x
	. /etc/default/locale
	dmesg

and attach the output?

We need to know the exact output, not an approximation.  Thanks again
for your patience.



Reply sent to Beojan Stanislaus <beojan@lavabit.com>:
You have taken responsibility. (Sat, 27 Oct 2012 20:33:08 GMT) Full text and rfc822 format available.

Notification sent to Beojan Stanislaus <beojan@lavabit.com>:
Bug acknowledged by developer. (Sat, 27 Oct 2012 20:33:08 GMT) Full text and rfc822 format available.

Message #49 received at 691606-done@bugs.debian.org (full text, mbox):

From: Beojan Stanislaus <beojan@lavabit.com>
To: Jonathan Nieder <jrnieder@gmail.com>
Cc: 691606-done@bugs.debian.org
Subject: Re: [locales] Causes system to fail to boot with floating point exceptions
Date: Sat, 27 Oct 2012 21:30:29 +0100
strange. I upgraded again and it works now. I think it simply failed to 
install correctly the first time around (though why aptitude didn't complain 
about this later, I don't now.

I'm closing this bug. Thank you for your help.

Beojan Stanislaus




Information forwarded to debian-bugs-dist@lists.debian.org, GNU Libc Maintainers <debian-glibc@lists.debian.org>:
Bug#691606; Package locales. (Sat, 27 Oct 2012 20:45:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jonathan Nieder <jrnieder@gmail.com>:
Extra info received and forwarded to list. Copy sent to GNU Libc Maintainers <debian-glibc@lists.debian.org>. (Sat, 27 Oct 2012 20:45:03 GMT) Full text and rfc822 format available.

Message #54 received at 691606@bugs.debian.org (full text, mbox):

From: Jonathan Nieder <jrnieder@gmail.com>
To: Beojan Stanislaus <beojan@lavabit.com>
Cc: 691606@bugs.debian.org
Subject: Re: [locales] Causes system to fail to boot with floating point exceptions
Date: Sat, 27 Oct 2012 13:43:10 -0700
notfound 691606 eglibc/2.13-36
tags 691606 - moreinfo
quit

Beojan Stanislaus wrote:

> strange. I upgraded again and it works now. I think it simply failed to 
> install correctly the first time around (though why aptitude didn't complain 
> about this later, I don't now.
>
> I'm closing this bug. Thank you for your help.

Thanks for checking, and sorry again for the trouble.  Hopefully it's
not a first warning of hardware failure (don't forget to check SMART
attributes and try memtest86+).

On the plus side, now you know more about what we need for future
reports. ;-)

Regards,
Jonathan



No longer marked as found in versions eglibc/2.13-36. Request was from Jonathan Nieder <jrnieder@gmail.com> to control@bugs.debian.org. (Sat, 27 Oct 2012 20:45:05 GMT) Full text and rfc822 format available.

Removed tag(s) moreinfo. Request was from Jonathan Nieder <jrnieder@gmail.com> to control@bugs.debian.org. (Sat, 27 Oct 2012 20:45:05 GMT) Full text and rfc822 format available.

Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 25 Nov 2012 07:25:43 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Apr 19 12:25:29 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.