• Join/Login
  • Business Software
  • Open Source Software
  • For Vendors
  • Blog
  • About
  • More
    • Articles
    • Create
    • SourceForge Podcast
    • Site Documentation
    • Subscribe to our Newsletter
    • Support Request
SourceForge logo
For Vendors Help Create Join Login
SourceForge logo
Business Software
Open Source Software
SourceForge Podcast
Resources
  • Articles
  • Case Studies
  • Blog
Menu
  • Help
  • Create
  • Join
  • Login
  • Home
  • Browse
  • FMSLogo
  • Code
FMSLogo

FMSLogo Code

A Logo programming environment for Microsoft Windows

Brought to you by: david_costanzo
  • Summary
  • Files
  • Reviews
  • Support
  • Tickets ▾
    • Feature Requests
    • Bugs
    • Support Requests
  • Discussion
  • Code
Menu ▾ ▴
 
  • Browse Commits
  • Browse Files

Commit [r1543]  Maximize  Restore  History

Fix bug #1458661; Macros that output nothing no longer crash FMSLogo.

Here is a description of the bug:
RUNRESULTcreate a continuation node. Continuation nodes store a
number, not a NODE* in their "CAR" field (the ID of where
they should continue evaluating from). Normally, this is
overwritten with NIL when the continuation is used.
However, if there's an error, the continuation is cleaned up
before the CAR field is cleared to NIL. And there was a bug
in gc(), which is where all NODE* are cleaned up, that tried
to free the CAR of continuation nodes. This resulted in an
access violation, as you obviously can't free() the number 11.

The fix is to only free the CDR of a continuation NODE* in gc().

This fix will be released in FMSLogo 6.11.0.

david_costanzo 2006-09-02

Browse code at this revision

Parent: [r1542]

Child: [r1544]

changed /trunk/logo/src/FMSLOGO.TXT
changed /trunk/logo/src/mem.cpp
/trunk/logo/src/FMSLOGO.TXT Diff Switch to side-by-side view
Loading...
/trunk/logo/src/mem.cpp Diff Switch to side-by-side view
Loading...
SourceForge
  • Create a Project
  • Open Source Software
  • Business Software
  • Top Downloaded Projects
Company
  • About
  • Team
  • SourceForge Headquarters
    1320 Columbia Street Suite 310
    San Diego, CA 92101
    +1 (858) 422-6466
Resources
  • Support
  • Site Documentation
  • Site Status
  • SourceForge Reviews
SourceForge logo
© 2026 Slashdot Media. All Rights Reserved.
Terms Privacy Opt Out Advertise
mdb logo