http://rpg.hamsterrepublic.com/bugzilla/show_bug.cgi?id=852

             Bug #: 852
           Summary: hspeak crashes when compiling a file with dos-style
                    line endings
    Classification: Unclassified
           Product: OHRRPGCE
           Version: 20110506 Zenzizenzic
          Platform: PC
        OS/Version: All
            Status: RESOLVED
          Severity: normal
          Priority: P3
         Component: Hspeak compiler
        AssignedTo: ohrrpgce@lists.motherhamster.org
        ReportedBy: b...@hamsterrepublic.com
                CC: teeem...@gmail.com


Ralph Versteegen <teeem...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |teeem...@gmail.com
         Resolution|                            |DUPLICATE

Hspeak crashes when the file it is compiling (or a file included into the one
you are compiling) has dos-style line endings.

In the compiled hspeak executable the crash will be a segfault. When run in the
euphoria interpreter, the crash is:

./hspeak.exw:1015 in function lex_line() 
subscript value 128 is out of bounds, reading from a sequence of length 127 

... called from ./hspeak.exw:1289 in procedure read_commands()  

... called from ./hspeak.exw:1320 in procedure load_and_lex()  

... called from ./hspeak.exw:3586 

--> See ex.err 


This seems to happen for any file with dos line endings. Converting to unix
line endings works around the problem.

--- Comment #1 from Ralph Versteegen <teeem...@gmail.com> 2012-06-13 02:41:27 
PDT ---
Duplicate, already fixed

*** This bug has been marked as a duplicate of bug 853 ***

-- 
Configure bugmail: 
http://rpg.hamsterrepublic.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Ohrrpgce mailing list
ohrrpgce@lists.motherhamster.org
http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org

Reply via email to