[Webkit-unassigned] [Bug 27625] New: cpplint crash

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 23 14:09:11 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=27625

           Summary: cpplint crash
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: kenneth.christiansen at openbossa.org


python WebKitTools/Scripts/modules/cpplint.py WebKit/qt/WebCoreSupport/*cpp in
current tot 46283, crashes:


Backtrace:

...
Done processing WebKit/qt/WebCoreSupport/EditCommandQt.cpp
WebKit/qt/WebCoreSupport/EditorClientQt.cpp:37:  Alphabetical sorting problem. 
[build/include_order] [4]
WebKit/qt/WebCoreSupport/EditorClientQt.cpp:48:  "Page.h" already included at
WebKit/qt/WebCoreSupport/EditorClientQt.cpp:47  [build/include] [4]
Traceback (most recent call last):
  File "WebKitTools/Scripts/modules/cpplint.py", line 3024, in <module>
    main()
  File "WebKitTools/Scripts/modules/cpplint.py", line 3018, in main
    process_file(filename)
  File "WebKitTools/Scripts/modules/cpplint.py", line 2878, in process_file
    process_file_data(filename, file_extension, lines, error)
  File "WebKitTools/Scripts/modules/cpplint.py", line 2819, in
process_file_data
    include_state, function_state, class_state, error)
  File "WebKitTools/Scripts/modules/cpplint.py", line 2786, in process_line
    error)
  File "WebKitTools/Scripts/modules/cpplint.py", line 2285, in check_language
    check_include_line(filename, clean_lines, line_number, include_state,
error)
  File "WebKitTools/Scripts/modules/cpplint.py", line 2234, in
check_include_line
    previous_header_type = include_state.header_types[previous_line_number]
KeyError: 48

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list