Bug 170533 - Segmentation Violation loading umbscheme.init
Summary: Segmentation Violation loading umbscheme.init
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: umb-scheme
Version: 4.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Miroslav Lichvar
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 187538
TreeView+ depends on / blocked
 
Reported: 2005-10-12 16:44 UTC by Brock Organ
Modified: 2007-11-30 22:07 UTC (History)
2 users (show)

Fixed In Version: RHBA-2006-0343
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-05-17 19:28:06 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Fix forwarding objects. (1.80 KB, patch)
2006-01-20 14:35 UTC, Miroslav Lichvar
no flags Details | Diff
Fix a problem with garbage collection. (622 bytes, patch)
2006-01-20 14:37 UTC, Miroslav Lichvar
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2006:0343 0 normal SHIPPED_LIVE umb-scheme bug fix update 2006-05-17 04:00:00 UTC

Description Brock Organ 2005-10-12 16:44:08 UTC
* RHEL4 i386
* umb-scheme-3.2-35

When running the program, an error occurs:

> $ /usr/bin/umb-scheme
> Welcome to UMB Scheme, version 3.2  Copyright (c) 1988,1996 William R Campbell.
> UMB Scheme comes with ABSOLUTELY NO WARRANTY. This is free software and
> you are free to redistribute it under certain conditions.
> See the UMB Scheme Release Notes for details. Type Control-d to exit.
>
> Loading /usr/share/umb-scheme/prelude.scheme...
>
> Fatal Error: Segmentation Violation.
>
> Reset (Use Control-d to quit UMB Scheme)
> $ 

this error does not occur on all arches, for example here is what the s390 version does:

> .qa.[root@tennyson ~]# umb-scheme
> Welcome to UMB Scheme, version 3.2  Copyright (c) 1988,1996 William R Campbell.
> UMB Scheme comes with ABSOLUTELY NO WARRANTY. This is free software and
> you are free to redistribute it under certain conditions.
> See the UMB Scheme Release Notes for details. Type Control-d to exit.
>
> Loading /usr/share/umb-scheme/prelude.scheme...
> Loading /usr/share/umb-scheme/slib/umbscheme.init...
> Loading /usr/share/umb-scheme/slib/require.scm...
>
> ==> 
> #

Comment 2 Jukka Ketelaars 2005-12-09 23:03:35 UTC
In fc5 development (umb-scheme-3.2-39) strace shows the segfault occurs when
processing the "defmacro let" from the prelude.scheme. Pasting it after the
prompt has appeared causes the program to completely terminate:

$ umb-scheme
Welcome to UMB Scheme, version 3.2  Copyright (c) 1988,1996 William R Campbell.
UMB Scheme comes with ABSOLUTELY NO WARRANTY. This is free software and
you are free to redistribute it under certain conditions.
See the UMB Scheme Release Notes for details. Type Control-d to exit.

Loading /usr/share/umb-scheme/prelude.scheme...

Fatal Error: Segmentation Violation.

Reset (Use Control-d to quit UMB Scheme)
==> (defmacro let (arg1 arg2 . args)
  (if (symbol? arg1)

      ; named let
      `((letrec ((,arg1 (lambda ,(#_map1 car arg2) ,@args)))
          ,arg1)
        ,@(#_map1 cadr arg2))

      ; regular let
      (if (null? args)

          ; simple body
          `((lambda ,(#_map1 car arg1) ,arg2) ,@(#_map1 cadr arg1))

          ; composite body
          `((lambda ,(#_map1 car arg1) ,arg2 ,@args) ,@(#_map1 cadr arg1)))))

Error: Bad function object:Segmentation fault

Comment 3 Miroslav Lichvar 2006-01-20 14:35:28 UTC
Created attachment 123485 [details]
Fix forwarding objects.

Comment 4 Miroslav Lichvar 2006-01-20 14:37:14 UTC
Created attachment 123486 [details]
Fix a problem with garbage collection.

These two patches should make umb-scheme usable again.

Comment 5 Brock Organ 2006-03-24 20:48:47 UTC
QE ack for really really smart handsome bug reporter who took the time to
include a thought provoking intensely personal test case dialog and who really
ought to have better luck with the ladies ...

Comment 10 Red Hat Bugzilla 2006-05-17 19:28:06 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2006-0343.html



Note You need to log in before you can comment on or make changes to this bug.