TADS Bug Database

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000176TADS 3Compilerpublic2012-12-22 05:042013-04-23 01:38
ReporterNRTurner 
Assigned ToMichael Roberts 
PrioritynormalSeveritycrashReproducibilityalways
StatusresolvedResolutionfixed 
PlatformMacintoshOSMacOSOS VersionX
Summary0000176: Empty statement for FINALLY crashes compiler
DescriptionCompiling a ".t" source file which contains a try ... finally block with an empty statement (;) for finally causes the compiler to quit with "Bus Error".
Steps To Reproduce//simple.t
#include <tads.h>
main(args)
{
    try
        str = inputLine();
    finally
        ;
}
/* simple.t3m is:
-D LANGUAGE=en_us
    -w2
    -D MESSAGESTYLE=neu
    -pre
    -Fy obj -Fo obj
    -o simple.t3
    -lib system
    -source simple
*/
Additional Information$ t3make -f simple
TADS Compiler 3.1.2 Copyright 1999, 2012 Michael J. Roberts
    Files to build: 14
    symbol_export /usr/local/share/frobtads/tads3/lib/_main.t -> obj/_main.t3s
    symbol_export /usr/local/share/frobtads/tads3/lib/file.t -> obj/file.t3s
    symbol_export /usr/local/share/frobtads/tads3/lib/tok.t -> obj/tok.t3s
    symbol_export /usr/local/share/frobtads/tads3/lib/gramprod.t -> obj/gramprod.t3s
    symbol_export /usr/local/share/frobtads/tads3/lib/multmeth.t -> obj/multmeth.t3s
    symbol_export simple.t -> obj/simple.t3s
Bus error
TagsNo tags attached.
Fixed In Version3.1.3
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2012-12-22 05:04 NRTurner New Issue
2013-04-23 01:38 Michael Roberts Fixed In Version => 3.1.3
2013-04-23 01:38 Michael Roberts Assigned To => Michael Roberts
2013-04-23 01:38 Michael Roberts Status new => resolved
2013-04-23 01:38 Michael Roberts Resolution open => fixed


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker