Debian Bug report logs - #565522
cl-ppcre: Program stack overflow with clisp

version graph

Package: common-lisp-controller; Maintainer for common-lisp-controller is Debian Common Lisp Team <pkg-common-lisp-devel@lists.alioth.debian.org>; Source for common-lisp-controller is src:common-lisp-controller (PTS, buildd, popcon).

Reported by: Memnon Anon <gegendosenfleisch@googlemail.com>

Date: Sat, 16 Jan 2010 17:15:01 UTC

Severity: important

Tags: patch

Merged with 567598, 568818

Fixed in version clisp/1:2.48-1.2

Done: Luca Capello <luca@pca.it>

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, Debian Common Lisp Team <pkg-common-lisp-devel@lists.alioth.debian.org>:
Bug#565522; Package stumpwm. (Sat, 16 Jan 2010 17:15:04 GMT) (full text, mbox, link).


Acknowledgement sent to Memnon Anon <gegendosenfleisch@googlemail.com>:
New Bug report received and forwarded. Copy sent to Debian Common Lisp Team <pkg-common-lisp-devel@lists.alioth.debian.org>. (Sat, 16 Jan 2010 17:15:04 GMT) (full text, mbox, link).


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

From: Memnon Anon <gegendosenfleisch@googlemail.com>
To: submit@bugs.debian.org
Subject: stumpwm: startx fails
Date: Sat, 16 Jan 2010 18:13:19 +0100
Package: stumpwm
Version: 1:20090804.git9d6cb388-1
Severity: important

Hi,

one of my last updates seems to have broken stumpwm on my machine.
Starting X with startx fails with this screen:

========================Snip=====================================
;; Datei /usr/share/common-lisp/systems/stumpwm.asd wird geladen...
;; Datei /usr/share/common-lisp/systems/stumpwm.asd ist geladen...
;; Datei /usr/share/common-lisp/systems/cl-ppcre.asd wird geladen...
*** - Programmstack-Überlauf: RESET

Bis bald!

waiting for X server to shut down urxvt: X connection to ':0.0' broken, unable to recover, exiting.
Dropping master
error setting MTRR (base = 0xe0000000, size= 0x08000000, type = 1) Invalid argument (22)
======================Snip========================================

I am not sure if this is a problem with stumpwm or clisp, but as X works with
'exec ratpoison' as last line in my .xinitrc, but not with 'exec stumpwm',
I report it here. Please reasign to whoever seems reasonable ;).


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (900, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-2-686 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages stumpwm depends on:
ii  cl-ppcre                  2.0.1-2        Portable Regular Express Library f
ii  clisp                     1:2.44.1-4.1   GNU CLISP, a Common Lisp implement
ii  common-lisp-controller    6.18           Common Lisp source and compiler ma
ii  dpkg                      1.15.5.5       Debian package management system
ii  install-info              4.13a.dfsg.1-5 Manage installed documentation in 

stumpwm recommends no packages.

Versions of packages stumpwm suggests:
ii  conkeror [www-browser]    0.9.1-1        keyboard focused web browser with 
ii  elinks [www-browser]      0.12~pre5-1+b1 advanced text-mode WWW browser
ii  emacs23 [info-browser]    23.1+1-5       The GNU Emacs editor (with GTK+ us
ii  iceweasel [www-browser]   3.5.6-1        lightweight web browser based on M
ii  info [info-browser]       4.13a.dfsg.1-5 Standalone GNU Info documentation 
ii  menu                      2.1.42         generates programs menu for all me
ii  rlwrap                    0.34-2         readline feature command line wrap
ii  rxvt-unicode [x-terminal- 9.06-3         RXVT-like terminal emulator with U
pn  slime                     <none>         (no description available)
ii  w3m [www-browser]         0.5.2-2.1      WWW browsable pager with excellent
ii  x11-utils                 7.5+1          X11 utilities

-- no debconf information




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Common Lisp Team <pkg-common-lisp-devel@lists.alioth.debian.org>:
Bug#565522; Package stumpwm. (Thu, 04 Feb 2010 10:48:05 GMT) (full text, mbox, link).


Acknowledgement sent to Luca Capello <luca@pca.it>:
Extra info received and forwarded to list. Copy sent to Debian Common Lisp Team <pkg-common-lisp-devel@lists.alioth.debian.org>. (Thu, 04 Feb 2010 10:48:05 GMT) (full text, mbox, link).


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

From: Luca Capello <luca@pca.it>
To: Memnon Anon <gegendosenfleisch@googlemail.com>
Cc: 565522@bugs.debian.org
Subject: Re: Bug#565522: stumpwm: startx fails
Date: Thu, 04 Feb 2010 11:42:58 +0100
[Message part 1 (text/plain, inline)]
reassign 565522 cl-ppcre
found 565522 2.0.1-2
severity 565522 important
thanks

Hi Memnon!

On Sat, 16 Jan 2010 18:13:19 +0100, Memnon Anon wrote:
> Package: stumpwm
[...]
> ========================Snip=====================================
> ;; Datei /usr/share/common-lisp/systems/stumpwm.asd wird geladen...
> ;; Datei /usr/share/common-lisp/systems/stumpwm.asd ist geladen...
> ;; Datei /usr/share/common-lisp/systems/cl-ppcre.asd wird geladen...
> *** - Programmstack-Überlauf: RESET
[...]
> I am not sure if this is a problem with stumpwm or clisp, but as X works with
> 'exec ratpoison' as last line in my .xinitrc, but not with 'exec stumpwm',
> I report it here. Please reasign to whoever seems reasonable ;).

It seems a bug in cl-ppcre rather than stumpwm:
=====
luca@gismo:~$ id -u
1000

luca@gismo:~$ rm -rf /var/cache/common-lisp-controller/1000

luca@gismo:~$ clisp -x "(asdf:oos 'asdf:load-op 'cl-ppcre)"
[...]

Welcome to GNU CLISP 2.48 (2009-07-28) <http://clisp.cons.org/>
[...]

Type :h and hit Enter for context help.

; loading system definition from /usr/share/common-lisp/systems/cl-ppcre.asd into #<PACKAGE ASDF0>
;; Loading file /usr/share/common-lisp/systems/cl-ppcre.asd ...
; registering #<SYSTEM :CL-PPCRE #x000334079830> as CL-PPCRE
; registering #<SYSTEM :CL-PPCRE-TEST #x0003340B18B8> as CL-PPCRE-TEST

*** - Program stack overflow. RESET
Bye.

luca@gismo:~$
=====

I reassigned this bug to cl-ppcre, however, since it does not happen
with sbcl, it is probably specific to clisp.

Thx, bye,
Gismo / Luca

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages cl-ppcre depends on:
ii  common-lisp-controller        7.0        Common Lisp source and compiler ma

cl-ppcre recommends no packages.

cl-ppcre suggests no packages.

-- no debconf information
[Message part 2 (application/pgp-signature, inline)]

Bug reassigned from package 'stumpwm' to 'cl-ppcre'. Request was from Luca Capello <luca@pca.it> to control@bugs.debian.org. (Thu, 04 Feb 2010 10:48:13 GMT) (full text, mbox, link).


Bug No longer marked as found in versions stumpwm/1:20090804.git9d6cb388-1. Request was from Luca Capello <luca@pca.it> to control@bugs.debian.org. (Thu, 04 Feb 2010 10:48:14 GMT) (full text, mbox, link).


Bug Marked as found in versions cl-ppcre/2.0.1-2. Request was from Luca Capello <luca@pca.it> to control@bugs.debian.org. (Thu, 04 Feb 2010 10:48:15 GMT) (full text, mbox, link).


Forcibly Merged 565522 567598. Request was from Luca Capello <luca@pca.it> to control@bugs.debian.org. (Thu, 04 Feb 2010 11:12:18 GMT) (full text, mbox, link).


Changed Bug title to 'cl-ppcre: Program stack overflow with clisp' from 'stumpwm: startx fails' Request was from Luca Capello <luca@pca.it> to control@bugs.debian.org. (Thu, 04 Feb 2010 11:12:20 GMT) (full text, mbox, link).


Bug reassigned from package 'cl-ppcre' to 'common-lisp-controller'. Request was from Peter Van Eynde <pvaneynd@debian.org> to control@bugs.debian.org. (Sat, 27 Feb 2010 20:12:05 GMT) (full text, mbox, link).


Bug No longer marked as found in versions cl-ppcre/2.0.1-2. Request was from Peter Van Eynde <pvaneynd@debian.org> to control@bugs.debian.org. (Sat, 27 Feb 2010 20:12:07 GMT) (full text, mbox, link).


Forcibly Merged 565522 567598 568818. Request was from Peter Van Eynde <pvaneynd@debian.org> to control@bugs.debian.org. (Sat, 27 Feb 2010 20:12:10 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian Common Lisp Team <pkg-common-lisp-devel@lists.alioth.debian.org>:
Bug#565522; Package common-lisp-controller. (Thu, 18 Mar 2010 23:30:06 GMT) (full text, mbox, link).


Acknowledgement sent to Kenyon Ralph <kenyon@kenyonralph.com>:
Extra info received and forwarded to list. Copy sent to Debian Common Lisp Team <pkg-common-lisp-devel@lists.alioth.debian.org>. (Thu, 18 Mar 2010 23:30:06 GMT) (full text, mbox, link).


Message #31 received at 565522@bugs.debian.org (full text, mbox, reply):

From: Kenyon Ralph <kenyon@kenyonralph.com>
To: Debian Bug Tracking System <565522@bugs.debian.org>
Subject: common-lisp-controller: stumpwm still broken
Date: Thu, 18 Mar 2010 16:26:18 -0700
Package: common-lisp-controller
Version: 7.1
Severity: normal

I upgraded to the version in which this is supposed to be fixed, and
stumpwm still fails to start:

    Xsession: X session started for kenyon at Thu Mar 18 16:11:03 PDT 2010

    *** - Program stack overflow. RESET
      i i i i i i i       ooooo    o        ooooooo   ooooo   ooooo
      I I I I I I I      8     8   8           8     8     o  8    8
      I  \ `+' /  I      8         8           8     8        8    8
       \  `-+-'  /       8         8           8      ooooo   8oooo
        `-__|__-'        8         8           8           8  8
            |            8     o   8           8     o     8  8
      ------+------       ooooo    8oooooo  ooo8ooo   ooooo   8

    Welcome to GNU CLISP 2.48 (2009-07-28) <http://clisp.cons.org/>

    Copyright (c) Bruno Haible, Michael Stoll 1992, 1993
    Copyright (c) Bruno Haible, Marcus Daniels 1994-1997
    Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998
    Copyright (c) Bruno Haible, Sam Steingold 1999-2000
    Copyright (c) Sam Steingold, Bruno Haible 2001-2009

    Type :h and hit Enter for context help.

    ;; Loading file /usr/share/common-lisp/systems/stumpwm.asd ...
    ;; Loaded file /usr/share/common-lisp/systems/stumpwm.asd
    ;; Loading file /usr/share/common-lisp/systems/cl-ppcre.asd ...
    Bye.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (900, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-3-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages common-lisp-controller depends on:
ii  adduser                       3.112      add and remove users and groups
ii  bash                          4.1-1      The GNU Bourne Again SHell
ii  cl-asdf                       2:1.502-1  Another System Definition Facility
ii  debconf [debconf-2.0]         1.5.28     Debian configuration management sy
ii  debianutils                   3.2.2      Miscellaneous utilities specific t
ii  perl                          5.10.1-11  Larry Wall's Practical Extraction 
ii  realpath                      1.15       Return the canonicalized absolute 

common-lisp-controller recommends no packages.

Versions of packages common-lisp-controller suggests:
pn  sbcl                          <none>     (no description available)

-- debconf information:
* common-lisp-controller/long-site-name: copernicus-kenyonralph
* common-lisp-controller/short-site-name: kenyonralph




Did not alter found versions and reopened. Request was from Kenyon Ralph <kenyon@kenyonralph.com> to control@bugs.debian.org. (Thu, 18 Mar 2010 23:54:03 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian Common Lisp Team <pkg-common-lisp-devel@lists.alioth.debian.org>:
Bug#565522; Package common-lisp-controller. (Thu, 15 Apr 2010 14:24:03 GMT) (full text, mbox, link).


Acknowledgement sent to Luca Capello <luca@pca.it>:
Extra info received and forwarded to list. Copy sent to Debian Common Lisp Team <pkg-common-lisp-devel@lists.alioth.debian.org>. (Thu, 15 Apr 2010 14:24:03 GMT) (full text, mbox, link).


Message #38 received at 565522@bugs.debian.org (full text, mbox, reply):

From: Luca Capello <luca@pca.it>
To: Kenyon Ralph <kenyon@kenyonralph.com>
Cc: 565522@bugs.debian.org
Subject: Re: Bug#565522: common-lisp-controller: stumpwm still broken
Date: Thu, 15 Apr 2010 16:15:13 +0200
[Message part 1 (text/plain, inline)]
Hi Kenyon!

On Fri, 19 Mar 2010 00:26:18 +0100, Kenyon Ralph wrote:
> I upgraded to the version in which this is supposed to be fixed, and
> stumpwm still fails to start:

I cannot reproduce it on an up-to-date amd64 sid, which...

> ii  cl-asdf                       2:1.502-1  Another System Definition Facility

...has cl-asdf_2:1.627-1.  Do you still experience this bug?

Thx, bye,
Gismo / Luca
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Common Lisp Team <pkg-common-lisp-devel@lists.alioth.debian.org>:
Bug#565522; Package common-lisp-controller. (Fri, 16 Apr 2010 01:48:07 GMT) (full text, mbox, link).


Acknowledgement sent to Kenyon Ralph <kenyon@kenyonralph.com>:
Extra info received and forwarded to list. Copy sent to Debian Common Lisp Team <pkg-common-lisp-devel@lists.alioth.debian.org>. (Fri, 16 Apr 2010 01:48:07 GMT) (full text, mbox, link).


Message #43 received at 565522@bugs.debian.org (full text, mbox, reply):

From: Kenyon Ralph <kenyon@kenyonralph.com>
To: Luca Capello <luca@pca.it>
Cc: 565522@bugs.debian.org
Subject: Re: Bug#565522: common-lisp-controller: stumpwm still broken
Date: Thu, 15 Apr 2010 18:25:07 -0700
[Message part 1 (text/plain, inline)]
On 2010-04-15T16:15:13+0200, Luca Capello <luca@pca.it> wrote:
> On Fri, 19 Mar 2010 00:26:18 +0100, Kenyon Ralph wrote:
> > I upgraded to the version in which this is supposed to be fixed, and
> > stumpwm still fails to start:
> 
> I cannot reproduce it on an up-to-date amd64 sid, which...
> 
> > ii  cl-asdf                       2:1.502-1  Another System Definition Facility
> 
> ...has cl-asdf_2:1.627-1.  Do you still experience this bug?

Upgrading to cl-asdf_2:1.627-1 allows stumpwm to start. Maybe this bug
should have been filed against cl-asdf too? I see nothing in this
report to indicate a reason to upgrade cl-asdf to fix this.

Thanks.

-- 
Kenyon Ralph
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Common Lisp Team <pkg-common-lisp-devel@lists.alioth.debian.org>:
Bug#565522; Package common-lisp-controller. (Fri, 16 Apr 2010 14:12:03 GMT) (full text, mbox, link).


Acknowledgement sent to Luca Capello <luca@pca.it>:
Extra info received and forwarded to list. Copy sent to Debian Common Lisp Team <pkg-common-lisp-devel@lists.alioth.debian.org>. (Fri, 16 Apr 2010 14:12:03 GMT) (full text, mbox, link).


Message #48 received at 565522@bugs.debian.org (full text, mbox, reply):

From: Luca Capello <luca@pca.it>
To: Kenyon Ralph <kenyon@kenyonralph.com>
Cc: 565522@bugs.debian.org
Subject: Re: Bug#565522: common-lisp-controller: stumpwm still broken
Date: Fri, 16 Apr 2010 16:09:01 +0200
[Message part 1 (text/plain, inline)]
tags 565522 + patch
thanks

Hi Kenyon!

On Fri, 16 Apr 2010 03:25:07 +0200, Kenyon Ralph wrote:
> On 2010-04-15T16:15:13+0200, Luca Capello <luca@pca.it> wrote:
>> On Fri, 19 Mar 2010 00:26:18 +0100, Kenyon Ralph wrote:
>> > I upgraded to the version in which this is supposed to be fixed, and
>> > stumpwm still fails to start:
>> 
>> I cannot reproduce it on an up-to-date amd64 sid, which...
>> 
>> > ii  cl-asdf                       2:1.502-1  Another System Definition Facility
>> 
>> ...has cl-asdf_2:1.627-1.  Do you still experience this bug?
>
> Upgrading to cl-asdf_2:1.627-1 allows stumpwm to start.

Thank you for the check.

> Maybe this bug should have been filed against cl-asdf too? I see
> nothing in this report to indicate a reason to upgrade cl-asdf to fix
> this.

It seems your system was "broken", since common-lisp-controller_7.1
depends on cl-asdf >= 1.625:
=====
luca@gismo:~$ dpkg -s common-lisp-controller | grep Version
Version: 7.1

luca@gismo:~$ dpkg -s common-lisp-controller | grep cl-asdf
Depends: debconf (>= 1.0) | debconf-2.0, bash (>= 2.04-9), \
 debianutils (>= 1.7), cl-asdf (>= 1.625), realpath, perl, adduser
Breaks: cl-asdf (<< 1.501), clisp (<< 1:2.48-1), cmucl (<< 3.1.0), \
 sbcl (<< 1:1.0.29.0)

luca@gismo:~$
=====

However, from your bug report, this dependency did not worked.  This is
caused by the epoch in cl-asdf:
=====
luca@gismo:$ dpkg --compare-versions 1.625 lt 2:1.502-1 && echo OK
OK
luca@gismo:$
=====

Thus, the cl-asdf versioned dependency must be raised at least to
2:1.625, or to the first available version in Debian, i.e. 2:1.627-1.

Thx, bye,
Gismo / Luca
[Message part 2 (application/pgp-signature, inline)]

Added tag(s) patch. Request was from Luca Capello <luca@pca.it> to control@bugs.debian.org. (Fri, 16 Apr 2010 14:12:07 GMT) (full text, mbox, link).


Reply sent to Luca Capello <luca@pca.it>:
You have taken responsibility. (Thu, 27 May 2010 19:06:12 GMT) (full text, mbox, link).


Notification sent to Memnon Anon <gegendosenfleisch@googlemail.com>:
Bug acknowledged by developer. (Thu, 27 May 2010 19:06:12 GMT) (full text, mbox, link).


Message #55 received at 565522-done@bugs.debian.org (full text, mbox, reply):

From: Luca Capello <luca@pca.it>
To: Alexander Reichle-Schmehl <tolimar@debian.org>
Cc: 579460-quiet@bugs.debian.org, 565522-done@bugs.debian.org, Kenyon Ralph <kenyon@kenyonralph.com>
Subject: Re: Bug#579460: clisp: diff for NMU version 1:2.48-1.2
Date: Thu, 27 May 2010 21:02:38 +0200
[Message part 1 (text/plain, inline)]
Package: clisp
Version: 1:2.48-1.2

Hi Alexander!

On Wed, 05 May 2010 11:07:25 +0200, Alexander Reichle-Schmehl wrote:
> I've prepared an NMU for clisp (versioned as 1:2.48-1.2) and
> uploaded it to DELAYED/2. Please feel free to tell me if I
> should delay it longer.

Thank you for the fix, but I bet this problem was the same as bug
#565522, which is not in clisp, but in common-lisp-controller and its
dependency on cl-asdf:

  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=565522#48

Briefly, c-l-c_7.1 depends on cl-asdf >= 1.625, but the epoch in cl-asdf
causes troubles:
=====
luca@gismo:$ dpkg --compare-versions 1.625 lt 2:1.502-1 && echo OK
OK
luca@gismo:$
=====

Anyway, given that the bug is fixed from a clisp POV, I am closing bug
#565522 since your upload indirectly fixed that as well, thank you
again!  Kenyon, feel free to reopen it in case of!

Thx, bye,
Gismo / Luca
[Message part 2 (application/pgp-signature, inline)]

Reply sent to Luca Capello <luca@pca.it>:
You have taken responsibility. (Thu, 27 May 2010 19:06:13 GMT) (full text, mbox, link).


Notification sent to heroxbd@gmail.com:
Bug acknowledged by developer. (Thu, 27 May 2010 19:06:13 GMT) (full text, mbox, link).


Reply sent to Luca Capello <luca@pca.it>:
You have taken responsibility. (Thu, 27 May 2010 19:06:14 GMT) (full text, mbox, link).


Notification sent to Rupert Swarbrick <rswarbrick@googlemail.com>:
Bug acknowledged by developer. (Thu, 27 May 2010 19:06:14 GMT) (full text, mbox, link).


No longer marked as found in versions common-lisp-controller/7.1. Request was from Andreas Beckmann <anbe@debian.org> to control@bugs.debian.org. (Tue, 05 Nov 2013 00:06:48 GMT) (full text, mbox, link).


No longer marked as found in versions common-lisp-controller/7.0. Request was from Andreas Beckmann <anbe@debian.org> to control@bugs.debian.org. (Tue, 05 Nov 2013 00:06:50 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 03 Dec 2013 07:29:58 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jan 7 10:28:07 2018; Machine Name: beach

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.