Bug 115484

Summary: [GTK] Segmentation Fault with Romanian locale. Evolution not starting.
Product: WebKit Reporter: Amuraritei Andrei <sirdeiu>
Component: WebKitGTKAssignee: Zan Dobersek <zan>
Status: RESOLVED FIXED    
Severity: Critical CC: buildbot, darin, gustavo, rniwa, zan
Priority: P3    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Linux   
URL: https://bugs.archlinux.org/task/34926
Attachments:
Description Flags
Patch
none
Archive of layout-test-results from webkit-ews-13 for mac-mountainlion-wk2 none

Description Amuraritei Andrei 2013-05-01 12:09:19 PDT
Description:
Evolution crashes with this error: GLib-GObject-CRITICAL **: g_param_spec_internal: assertion `!(flags & G_PARAM_STATIC_NAME) || is_canonical (name)' failed. When started with LC_ALL=C, all seems to work ok. My system locale is set to Polish. The bug is mentioned in this forum thread:https://bbs.archlinux.org/viewtopic.php?pid=1263148. Also gnome online accounts are affected by this - when adding account with Google, Facebook or Windows Live, it crashes.

Also this happens for Romanian locale (ro_RO.UTF8).

Changing locale, or removing /usr/share/locale/pl/LC_MESSAGES/WebKitGTK-3.0.mo, like specified in the bug posted on https://bugs.archlinux.org/task/34926 lets Evolution start correctly using English language.
Comment 1 Amuraritei Andrei 2013-05-01 12:10:36 PDT
This is the error message received while starting Evolution in the terminal:

(evolution:22604): GLib-GObject-CRITICAL **: g_param_spec_internal: assertion `!(flags & G_PARAM_STATIC_NAME) || is_canonical (name)' failed
[1]    22604 segmentation fault (core dumped)
Comment 2 Zan Dobersek 2013-05-01 12:20:13 PDT
https://bugs.archlinux.org/task/34926 also gives specific information on what's wrong, albeit a bit aggressively.

> Permanent fix: Stab the face of whoever authored the 386th line of Source/WebKit/gtk/webkit/webkitviewportattributes.cpp in WebKit source code. (It erroneously marks a string for translation, which the overzealous and unsuspecting translator picked up.)

and

> Oh, just noticed they also earned it for the 406th line in the same file. (Same problem.) Wonder if there is more.
Comment 3 Zan Dobersek 2013-05-01 12:24:16 PDT
Trivial grepping shows these are the only two cases.
Comment 4 Zan Dobersek 2013-05-01 12:31:07 PDT
Created attachment 200235 [details]
Patch
Comment 5 Build Bot 2013-05-01 13:22:23 PDT
Comment on attachment 200235 [details]
Patch

Attachment 200235 [details] did not pass mac-wk2-ews (mac-wk2):
Output: http://webkit-queues.appspot.com/results/362112

New failing tests:
fast/frames/crash-remove-iframe-during-object-beforeload.html
Comment 6 Build Bot 2013-05-01 13:22:24 PDT
Created attachment 200238 [details]
Archive of layout-test-results from webkit-ews-13 for mac-mountainlion-wk2

The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: webkit-ews-13  Port: mac-mountainlion-wk2  Platform: Mac OS X 10.8.2
Comment 7 Zan Dobersek 2013-05-02 07:21:26 PDT
Comment on attachment 200235 [details]
Patch

Clearing flags on attachment: 200235

Committed r149486: <http://trac.webkit.org/changeset/149486>
Comment 8 Zan Dobersek 2013-05-02 07:21:34 PDT
All reviewed patches have been landed.  Closing bug.
Comment 9 Amuraritei Andrei 2013-05-02 10:18:11 PDT
(In reply to comment #8)
> All reviewed patches have been landed.  Closing bug.

Thanks for the prompt resolve. Happy Easter.