RESOLVED FIXED Bug 153647
[B3] JetStream/quicksort.c fails/hangs on Linux with GCC
https://bugs.webkit.org/show_bug.cgi?id=153647
Summary [B3] JetStream/quicksort.c fails/hangs on Linux with GCC
Csaba Osztrogonác
Reported 2016-01-29 04:33:31 PST
With enabled B3-FTL, JetStream hangs during running quicksort.c benchmark. Once I got "error" message instead of number, but almost always it stucks in an infinite loop with 100% CPU load. No problem with LLVM-FTL.
Attachments
Patch (6.86 KB, patch)
2016-01-30 12:50 PST, Yusuke Suzuki
fpizlo: review+
Csaba Osztrogonác
Comment 1 2016-01-29 05:11:03 PST
It seems it is one more GCC/Clang related issue. quicksort.c test fails with GCC, but no problem with Clang.
Michael Catanzaro
Comment 2 2016-01-29 06:48:44 PST
Oh "good," so it will seem fine for developers but be broken for all our users.
Yusuke Suzuki
Comment 3 2016-01-30 10:28:56 PST
With GCC 4.9 debug build, it does not occur. I guess there are some issue about C++ ill-formed code.
Yusuke Suzuki
Comment 4 2016-01-30 11:22:22 PST
Ah, ok, I've found the issue. I'll create the patch for that.
Yusuke Suzuki
Comment 5 2016-01-30 12:25:04 PST
I'm now creating the patch. But seeing the result, this issue may fix script-tests/array-enumerators-functions.js at the same time. If it is fixed, Linux x64 GTK B3 works completely :D
Yusuke Suzuki
Comment 6 2016-01-30 12:50:14 PST
WebKit Commit Bot
Comment 7 2016-01-30 12:51:44 PST
Attachment 270314 [details] did not pass style-queue: ERROR: Source/JavaScriptCore/b3/B3ComputeDivisionMagic.h:107: One space before end of line comments [whitespace/comments] [5] ERROR: Source/JavaScriptCore/b3/B3ComputeDivisionMagic.h:109: One space before end of line comments [whitespace/comments] [5] ERROR: Source/JavaScriptCore/b3/B3ComputeDivisionMagic.h:111: One space before end of line comments [whitespace/comments] [5] ERROR: Source/JavaScriptCore/b3/B3ComputeDivisionMagic.h:117: Multi line control clauses should use braces. [whitespace/braces] [4] ERROR: Source/JavaScriptCore/b3/B3ComputeDivisionMagic.h:117: One space before end of line comments [whitespace/comments] [5] ERROR: Source/JavaScriptCore/b3/B3ComputeDivisionMagic.h:123: Multi line control clauses should use braces. [whitespace/braces] [4] ERROR: Source/JavaScriptCore/b3/B3ComputeDivisionMagic.h:123: One space before end of line comments [whitespace/comments] [5] ERROR: Source/JavaScriptCore/b3/B3ComputeDivisionMagic.h:128: Tests for true/false, null/non-null, and zero/non-zero should all be done without equality comparisons. [readability/comparison_to_zero] [5] Total errors found: 8 in 3 files If any of these errors are false positives, please file a bug against check-webkit-style.
Yusuke Suzuki
Comment 8 2016-01-30 12:57:19 PST
Carlos Garcia Campos
Comment 9 2016-02-02 23:10:20 PST
*** Bug 153644 has been marked as a duplicate of this bug. ***
Note You need to log in before you can comment on or make changes to this bug.