Debian Bug report logs - #599967
ecl: FTBFS on ia64: Lisp initialization error. / Bad address

version graph

Package: src:ecl; Maintainer for src:ecl is Debian Common Lisp Team <pkg-common-lisp-devel@lists.alioth.debian.org>;

Reported by: Cyril Brulebois <kibi@debian.org>

Date: Tue, 12 Oct 2010 16:58:01 UTC

Severity: serious

Tags: sid

Found in version ecl/10.3.1-2

Fixed in version 11.1.1-4

Done: Christoph Egger <christoph@debian.org>

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, kibi@debian.org, Debian Common Lisp Team <pkg-common-lisp-devel@lists.alioth.debian.org>:
Bug#599967; Package src:ecl. (Tue, 12 Oct 2010 16:58:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Cyril Brulebois <kibi@debian.org>:
New Bug report received and forwarded. Copy sent to kibi@debian.org, Debian Common Lisp Team <pkg-common-lisp-devel@lists.alioth.debian.org>. (Tue, 12 Oct 2010 16:58:04 GMT) Full text and rfc822 format available.

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

From: Cyril Brulebois <kibi@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: ecl: FTBFS on ia64: Lisp initialization error. / Bad address
Date: Tue, 12 Oct 2010 15:27:44 +0200
Source: ecl
Version: 10.3.1-2
Severity: serious
Justification: FTBFS
User: debian-ia64@lists.debian.org
Usertags: ia64

Hi,

your package no longer builds on ia64:
| cp /build/buildd-ecl_10.3.1-2-ia64-Lomknv/ecl-10.3.1/src/../contrib/unicode/ucd.dat .
| if [ -f CROSS-COMPILER ]; then \
| 		./CROSS-COMPILER compile; \
| 	else \
| 		ECLDIR=`pwd`/ ./ecl_min compile; \
| 	fi
| ;*** Lisp core booted ****
| ECL (Embeddable Common Lisp)
| 
| ;;;
| ;;; Welcome to bare.lsp. Let's bring this instance up!
| ;;;
| ;;;
| ;;; About to load lsp/load.lsp
| ;;; 
| ;;; Loading src:lsp;export.lsp
| ;;; Loading src:lsp;defmacro.lsp
| ;;; Loading src:lsp;helpfile.lsp
| Internal or unrecoverable error in:
| 
| Lisp initialization error.
| 
|   [14: Bad address]
| /bin/bash: line 4:  3868 Aborted                 ECLDIR=`pwd`/ ./ecl_min compile
| make[2]: *** [bin/ecl] Error 134

Full build logs:
  https://buildd.debian.org/status/package.php?p=ecl

Mraw,
KiBi.




Added tag(s) experimental. Request was from Hector Oron <zumbi@debian.org> to control@bugs.debian.org. (Sat, 13 Nov 2010 15:39:11 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Common Lisp Team <pkg-common-lisp-devel@lists.alioth.debian.org>:
Bug#599967; Package src:ecl. (Wed, 15 Dec 2010 08:24:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Niels Thykier <nthykier@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Common Lisp Team <pkg-common-lisp-devel@lists.alioth.debian.org>. (Wed, 15 Dec 2010 08:24:03 GMT) Full text and rfc822 format available.

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

From: Niels Thykier <nthykier@gmail.com>
To: 599967@bugs.debian.org, control@bugs.debian.org
Subject: Re: ecl: FTBFS on ia64: Lisp initialization error. / Bad address
Date: Wed, 15 Dec 2010 09:20:37 +0100
tags 599967 - experimental
thanks

Hi

I disagree that this bug is experimental only, since it affects ia64
and sparc in unstable. Also it partly blocks getting the fix for
#545625 migrated into testing.

~Niels




Removed tag(s) experimental. Request was from Niels Thykier <nthykier@gmail.com> to control@bugs.debian.org. (Wed, 15 Dec 2010 08:24:04 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Common Lisp Team <pkg-common-lisp-devel@lists.alioth.debian.org>:
Bug#599967; Package src:ecl. (Fri, 31 Dec 2010 17:51:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Samuel Thibault <sthibault@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Common Lisp Team <pkg-common-lisp-devel@lists.alioth.debian.org>. (Fri, 31 Dec 2010 17:51:03 GMT) Full text and rfc822 format available.

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

From: Samuel Thibault <sthibault@debian.org>
To: Cyril Brulebois <kibi@debian.org>, 599967@bugs.debian.org
Subject: Re: Bug#599967: ecl: FTBFS on ia64: Lisp initialization error. / Bad address
Date: Fri, 31 Dec 2010 18:47:12 +0100
Cyril Brulebois, le Tue 12 Oct 2010 15:27:44 +0200, a écrit :
> | ;;; Loading src:lsp;helpfile.lsp
> | Internal or unrecoverable error in:
> | 
> | Lisp initialization error.
> | 
> |   [14: Bad address]
> | /bin/bash: line 4:  3868 Aborted                 ECLDIR=`pwd`/ ./ecl_min compile
> | make[2]: *** [bin/ecl] Error 134

strace file shows:

open("/home/sthibault/ecl-10.3.1/src/lsp/helpfile.lsp", O_RDONLY) = 6
mprotect(0x6000000000968000, 16384, PROT_READ|PROT_WRITE) = 0
lseek(6, 0, SEEK_SET)                   = 0
read(6, ";;;;  -*- Mode: Lisp; Syntax: Co"..., 8192) = 8192
mprotect(0x6000000000968000, 16384, PROT_READ|PROT_WRITE) = 0
mprotect(0x600000000096c000, 16384, PROT_READ|PROT_WRITE) = 0
...
mprotect(0x6000000000978000, 16384, PROT_READ|PROT_WRITE) = 0
mprotect(0x60000000008bc000, 16384, PROT_READ|PROT_WRITE) = 0
mprotect(0x600000000025c000, 16384, PROT_READ|PROT_WRITE) = 0
mprotect(0x6000000000254000, 262144, PROT_READ) = 0
mprotect(0x6000000000294000, 262144, PROT_READ) = 0
mprotect(0x60000000002d4000, 4669440, PROT_READ) = 0
mprotect(0x6000000000748000, 3424256, PROT_READ) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [INT], 8) = 0
--- SIGSEGV (Segmentation fault) @ 4000000000196f61 (6000000000914f70) ---
mprotect(0x6000000000914000, 16384, PROT_READ|PROT_WRITE) = 0
rt_sigreturn()                          = ? (mask now [INT ILL ABRT FPE])
--- SIGSEGV (Segmentation fault) @ 4000000000197010 (60000000008daf38) ---
mprotect(0x60000000008d8000, 16384, PROT_READ|PROT_WRITE) = 0
rt_sigreturn()                          = ? (mask now [INT ILL ABRT FPE])
...
mprotect(0x6000000000954000, 16384, PROT_READ|PROT_WRITE) = 0
mprotect(0x60000000008f8000, 16384, PROT_READ|PROT_WRITE) = 0
read(6, 0x6000000000969000, 8192)       = -1 EFAULT (Bad address)

Apparently, parsing helpfile.lsp triggers a GC, which marks the whole
memory as read-only, and the subsequent read thus fails with EFAULT,
which ecl is not able to deal with. On i386, such GC doesn't happen,
thus no issue.

Samuel




Added tag(s) sid. Request was from Samuel Thibault <sthibault@debian.org> to control@bugs.debian.org. (Fri, 31 Dec 2010 17:57:03 GMT) Full text and rfc822 format available.

Reply sent to Christoph Egger <christoph@debian.org>:
You have taken responsibility. (Sun, 20 Mar 2011 20:51:05 GMT) Full text and rfc822 format available.

Notification sent to Cyril Brulebois <kibi@debian.org>:
Bug acknowledged by developer. (Sun, 20 Mar 2011 20:51:05 GMT) Full text and rfc822 format available.

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

From: Christoph Egger <christoph@debian.org>
To: 599967-done@bugs.debian.org
Subject: fixed!
Date: Sun, 20 Mar 2011 21:47:56 +0100
[Message part 1 (text/plain, inline)]
Version: 11.1.1-4

Seems to build now

-- 
9FED 5C6C E206 B70A 5857  70CA 9655 22B9 D49A E731
Debian Developer | Lisp Hacker | CaCert Assurer

A. Because it breaks the logical sequence of discussion
Q. Why is top posting bad?
[Message part 2 (application/pgp-signature, inline)]

Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 18 Apr 2011 07:34:51 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: Thu Apr 24 02:27:31 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.