Running a QWebView based application (it runs fine on Linux) on FreeBSD 8.0 with Qt 4.6.0-beta (using the QtWebKit that comes with it) results in a crash with the following backtrace: #0 0x2a6bdde7 in kill () from /lib/libc.so.7 #1 0x2a6bdd46 in raise () from /lib/libc.so.7 #2 0x2a6bc91a in abort () from /lib/libc.so.7 #3 0x2a519ce0 in __gnu_cxx::__verbose_terminate_handler () from /usr/lib/libstdc++.so.6 #4 0x2a51e4ea in std::set_unexpected () from /usr/lib/libstdc++.so.6 #5 0x2a51eefa in __gxx_personality_v0 () from /usr/lib/libstdc++.so.6 #6 0x2a51ec8c in __gxx_personality_v0 () from /usr/lib/libstdc++.so.6 #7 0x2a5ce996 in _Unwind_Backtrace () from /lib/libgcc_s.so.1 #8 0x2a5ceb21 in _Unwind_RaiseException () from /lib/libgcc_s.so.1 #9 0x2a51e41d in __cxa_throw () from /usr/lib/libstdc++.so.6 #10 0x2a535a56 in __cxa_guard_acquire () from /usr/lib/libstdc++.so.6 #11 0x2978d1f8 in WebCore::encodingRegistryMutex () from /opt/akili/lib/libQtWebKit.so.4 #12 0x2978dcf6 in WebCore::atomicCanonicalTextEncodingName () from /opt/akili/lib/libQtWebKit.so.4 #13 0x2978bf85 in WebCore::TextEncoding::TextEncoding () from /opt/akili/lib/libQtWebKit.so.4 #14 0x2978c084 in WebCore::UTF8Encoding () from /opt/akili/lib/libQtWebKit.so.4 #15 0x298b7da5 in WebCore::KURL::KURL () from /opt/akili/lib/libQtWebKit.so.4 #16 0x29902c93 in QWebSettingsPrivate::apply () from /opt/akili/lib/libQtWebKit.so.4 #17 0x29904ef2 in QWebSettings::QWebSettings () from /opt/akili/lib/libQtWebKit.so.4 #18 0x298e95a9 in QWebPagePrivate::QWebPagePrivate () from /opt/akili/lib/libQtWebKit.so.4 #19 0x298f05c1 in QWebPage::QWebPage () from /opt/akili/lib/libQtWebKit.so.4 #20 0x298f539e in QWebView::page () from /opt/akili/lib/libQtWebKit.so.4 #21 0x080a9d59 in StoreBrowser::StoreBrowser () #22 0x08091473 in ContentSelector::ContentSelector () #23 0x0805f06c in Akili::Akili () #24 0x08063886 in main () (Akili inherits QApplication, StoreBrowser inherits QWidget and has a QWebView child)
This is the output on the console when it crashes: terminate called after throwing an instance of '__gnu_cxx::__concurrence_lock_error' what(): __gnu_cxx::__concurrence_lock_error
Does the issue persist with 4.6.0 final or a more recent patch release?
Closing since there is not any new info about this task. Please comment if you experience the problem with WebKit trunk so I we reopen the task.
Subversion Revision: 95990 diff --git a/Tools/ChangeLog b/Tools/ChangeLog index 612eb050619279b212d7d47db765511f8b0c113c..889b68ef5a15408d244b99fc1360b0c792700f1b 100644 --- a/Tools/ChangeLog +++ b/Tools/ChangeLog @@ -1,3 +1,12 @@ +2011-09-27 Tom Zakrajsek <tomz@codeaurora.org> + + webkit-patch doesn't like UTF-8 characters in reviewers names + https://bugs.webkit.org/show_bug.cgi?id=63452 + + Reviewed by NOBODY (OOPS!). + + * Scripts/webkit-patch: + 2011-09-26 Adam Roben <aroben@apple.com> Clean up code imported from WebKitAPITest diff --git a/Tools/Scripts/webkit-patch b/Tools/Scripts/webkit-patch index 159985f8a004d1cba223affcb051446a4f821f7e..91e4c0f9aa455e359cbe01d7498745be32a90847 100755 --- a/Tools/Scripts/webkit-patch +++ b/Tools/Scripts/webkit-patch @@ -1,4 +1,5 @@ #!/usr/bin/env python +# Copyright (c) 2011 Code Aurora Forum. All rights reserved. # Copyright (c) 2010 Google Inc. All rights reserved. # Copyright (c) 2009 Apple Inc. All rights reserved. # Copyright (C) 2010 Chris Jerdonek (cjerdonek@webkit.org) @@ -35,6 +36,13 @@ import logging import os import signal import sys +import codecs + +# By default, sys.stdout assumes ascii encoding. Since our messages can +# contain unicode strings (as with some peoples' names) we need to apply +# the utf-8 codec to prevent throwing and exception. +# Not having this was the cause of https://bugs.webkit.org/show_bug.cgi?id=63452. +sys.stdout = codecs.lookup('utf-8')[-1](sys.stdout) from webkitpy.common.system.logutils import configure_logging import webkitpy.python24.versioning as versioning