#244 macosx segfault on infinite recursion

segfault
closed-invalid
Sam Steingold
clisp (525)
5
2005-08-11
2005-02-09
Aaron Smith
No

Hi,

I'm using clisp 2.32.2 on OSX 10.3.7. If you try this program you
should get a segfault,

(defun seg (n) (* n (seg n)))

thanks,
Aaron

Discussion

  • Sam Steingold
    Sam Steingold
    2005-02-09

    Logged In: YES
    user_id=5735

    see http://clisp.cons.org/faq.html#stack:
    "You will always get a stack overflow on infinite recursion."
    "If you get a segmentation fault after (or instead of) a
    "program stack overflow" message, please make sure that you
    had GNU libsigsegv installed when you configured and built
    CLISP."

    do you have libsigsegv installed?

     
  • Sam Steingold
    Sam Steingold
    2005-02-09

    • milestone: --> segfault
    • labels: --> clisp
    • assigned_to: nobody --> sds
     
  • Aaron Smith
    Aaron Smith
    2005-02-10

    • status: open --> open-invalid
     
  • Aaron Smith
    Aaron Smith
    2005-02-10

    Logged In: YES
    user_id=527731

    No I dont. I believe its broken on OS X. Thanks for the help.

     
  • Sam Steingold
    Sam Steingold
    2005-02-17

    Logged In: YES
    user_id=5735

    libsigsegv does work on macosx:
    powerpc-apple-darwin5.5 | yes | yes
    | 2.0.2
    please do install it and reconfigure clisp.

     
  • Sam Steingold
    Sam Steingold
    2005-02-17

    • summary: segmentation fault --> macosx segfault on infinite recursion
     
  • Sam Steingold
    Sam Steingold
    2005-07-27

    • status: open-invalid --> pending-invalid
     
  • Sam Steingold
    Sam Steingold
    2005-07-27

    Logged In: YES
    user_id=5735

    please try clisp 2.34 with libsigsegv.
    this bug will be marked pending until you respond.

     
    • status: pending-invalid --> closed-invalid
     
  • Logged In: YES
    user_id=1312539

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).