Bug 25142 - maketokenizer shutdown race can cause flex error
Summary: maketokenizer shutdown race can cause flex error
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Dmitry Titov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-11 11:24 PDT by Evan Martin
Modified: 2009-04-14 12:02 PDT (History)
0 users

See Also:


Attachments
fix (974 bytes, patch)
2009-04-11 11:30 PDT, Evan Martin
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Evan Martin 2009-04-11 11:24:41 PDT
maketokenizer reads the output of flex, and quits when it's received the input it's looking for.  If it quits too fast flex will fail with
  flex: error writing output file <stdout>
Comment 1 Evan Martin 2009-04-11 11:29:44 PDT
I'm getting an error while uploading my patch.
undef error - Undefined subroutine Fh::slice at data/template/template/en/custom/global/hidden-fields.html.tmpl line 58 

I uploaded it here:
http://pastebin.com/m4cd0caa8
Comment 2 Evan Martin 2009-04-11 11:30:17 PDT
Created attachment 29415 [details]
fix
Comment 3 Evan Martin 2009-04-11 11:30:47 PDT
Hrmph, and now it works.  Ok.
Comment 4 Dmitry Titov 2009-04-14 11:25:19 PDT
assigning to me for landing
Comment 5 Dmitry Titov 2009-04-14 12:02:22 PDT
landed: http://trac.webkit.org/changeset/42509