chicken-janitors
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-janitors] #1577: Apropos tests crash via symbol-utils in 5.0.1


From: Chicken Trac
Subject: [Chicken-janitors] #1577: Apropos tests crash via symbol-utils in 5.0.1
Date: Wed, 16 Jan 2019 13:06:14 -0000

#1577: Apropos tests crash via symbol-utils in 5.0.1
------------------------+--------------------------------
 Reporter:  sjamaan     |                 Owner:  kon
     Type:  defect      |                Status:  new
 Priority:  major       |             Milestone:  someday
Component:  extensions  |               Version:  5.0.0
 Keywords:              |  Estimated difficulty:  medium
------------------------+--------------------------------
 Reported by Juergen Lorenz:

 When running the ''apropos'' egg's tests under CHICKEN 5.0.1, there's a
 segmentation fault.  Running it under gdb with a `DEBUGBUILD` quickly
 reveals that the crash happens in the ''symbol-utils'' egg's `qualified-
 symbol-utils` module.

 This module is compiled with unsafe options like `(declare (bound-to-
 procedure ##sys#symbol->qualified-string))`, which is a Very Bad Idea when
 performance isn't critical, '''especially''' for undocumented internal
 procedures, as these are not the official API and can remove at any point
 in time without requiring a Change Request.

 In this case, all the qualified symbol procedures have been taken out of
 core, as the internal representation of qualified symbols has changed to
 no longer be "special", to fix #1077. In other words, `##sys#foo` is now
 simply represented as the string "##sys#foo".  The things that are
 special-cased are the reader and the writer, they don't put pipes around
 these symbols, and we don't allow namespacing these symbols: they're
 always global.

--
Ticket URL: <https://bugs.call-cc.org/ticket/1577>
CHICKEN Scheme <https://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]