[Ohrrpgce] [Bug 853] New: hspeak crashes when compiling a file with dos-style line endings
bugzilla-daemon at ravenwest.dreamhost.com
bugzilla-daemon at ravenwest.dreamhost.com
Tue Oct 12 13:23:32 PDT 2010
http://rpg.hamsterrepublic.com/bugzilla/show_bug.cgi?id=853
Summary: hspeak crashes when compiling a file with dos-style
line endings
Product: OHRRPGCE
Version: Nigtly WIP (Zenzizenzic)
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P3
Component: Hspeak compiler
AssignedTo: ohrrpgce at lists.motherhamster.org
ReportedBy: Bob at HamsterRepublic.com
Created attachment 181
--> http://rpg.hamsterrepublic.com/bugzilla/attachment.cgi?id=181
tiny smaple script that generates the crash
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.
--
Configure bugmail: http://rpg.hamsterrepublic.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Ohrrpgce
mailing list