[Webkit-unassigned] [Bug 119565] New: problems encountered with fast-malloc on illumos x86_64

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 7 23:17:22 PDT 2013


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

           Summary: problems encountered with fast-malloc on illumos
                    x86_64
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Other
        OS/Version: Other
            Status: UNCONFIRMED
          Severity: Critical
          Priority: P2
         Component: WebKit Gtk
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: richard.palo at baou.fr


Hello,

Currently working on the upgrade for the pkgsrc port of webkitgtk from 1.10.2 to 2.0.4..

We're experiencing lately problems with both 1.10.2 and the work in progress during the build of the WebKit-1.0.gir target.

WebKit was configured with the following options:

Build configuration:
 Enable debugging (slow)                                  : no
 Compile with debug symbols (slow)                        : no
 Enable GCC build optimization                            : yes
 Code coverage support                                    : no
 Optimized memory allocator                               : yes
 Accelerated rendering backend                            : opengl (gl, glx)

Features:
=======
 WebKit1 support                                          : yes
 WebKit2 support                                          : no
 Accelerated Compositing                                  : yes
 Gamepad support                                          : no
 Geolocation support                                      : no
 HTML5 video element support                              : yes
 JIT compilation                                          : yes
 Opcode stats                                             : no
 SVG fonts support                                        : yes
 SVG support                                              : yes
 Spellcheck support                                       : yes
 Credential storage support                               : yes
 Web Audio support                                        : no
 WebGL                                                    : yes
 XSLT support                                             : yes


GTK+ configuration:
 GTK+ version                                             : 2.0
 GDK target                                               : x11
 Introspection support                                    : yes
 Generate documentation                                   : no


An extract of the output is (BTW we've patched the WebKit: missing ':' at column type of problems):

  GEN    WebKit-1.0.gir
..
Source/WebKit/gtk/webkit/webkitwebdatabase.cpp:34: Warning: WebKit: multiple comment blocks documenting 'SECTION:webkitwebdatabase:' identifier.
Source/WebKit/gtk/webkit/webkitversion.h:33: Warning: WebKit: symbol='WEBKITGTK_API_VERSION': Unknown namespace for symbol 'WEBKITGTK_API_VERSION'
g-ir-scanner: compile: ...blah
libtool: link: ...blah
Command '['/var/tmp/pkgsrc/www/webkit-gtk/work/webkitgtk-2.0.4/tmp-introspectT3dqgo/WebKit-1.0', '--introspect-dump=/var/tmp/pkgsrc/www/webkit-gtk/work/webkitgtk-2.0.4/tmp-introspectT3dqgo/functions.txt,/var/tmp/pkgsrc/www/webkit-gtk/work/webkitgtk-2.0.4/tmp-introspectT3dqgo/dump.xml']' returned non-zero exit status -11

-11 is SIGSEGV and the following is the stack:
core 'gir-core' of 6347:        /var/tmp/pkgsrc/www/webkit-gtk/work/webkitgtk-2.0.4/tmp-introspectIcuk
-----------------  lwp# 1 / thread# 1  --------------------
 fffffd7fc2302499 _ZN3WTF17TCMalloc_PageHeap8GrowHeapEm () + d9
 fffffd7fc2303c0a _ZN3WTF25TCMalloc_Central_FreeList18FetchFromSpansSafeEv () + 19a
 fffffd7fc2304200 _ZN3WTF25TCMalloc_Central_FreeList11RemoveRangeEPNS_11HardenedSLLES2_Pi () + 70
 fffffd7fc2305634 _ZN3WTF10fastMallocEm () + 354
 fffffd7fc232fc1b _ZN3WTF10StringImpl5emptyEv () + 3b
 fffffd7fc2318607 _ZN3WTF19initializeThreadingEv () + 27
 fffffd7fc223bc2e _ZN3JSC19initializeThreadingEv () + 1e
 fffffd7fc34ceb83 webkitInit () + 53
 fffffd7fc34c6d8f _ZL33webkit_download_class_intern_initPv () + 5f
 fffffd7ffa86f8a2 g_type_class_ref () + 4d2
 0000000000409b75 dump_properties () + c5
 000000000040f566 main () + 906
 00000000004097bc _start () + 6c
-----------------  lwp# 3 / thread# 3  --------------------
 fffffd7ffb990e97 __lwp_park () + 17
 fffffd7ffb98a49b cond_wait_queue (fffffd7fc2399408, fffffd7fc23993f0, 0) + 5b
 fffffd7ffb98ab53 __cond_wait (fffffd7fc2399408, fffffd7fc23993f0) + b3
 fffffd7ffb98ab8a cond_wait (fffffd7fc2399408, fffffd7fc23993f0) + 2a
 fffffd7ffb98abc5 pthread_cond_wait (fffffd7fc2399408, fffffd7fc23993f0) + 15
 fffffd7fc2302e26 _ZN3WTF17TCMalloc_PageHeap15scavengerThreadEv () + d6
 fffffd7fc2302e49 ???????? ()
 fffffd7ffb990b3a _thrp_setup (fffffd7ffeae0240) + 8a
 fffffd7ffb990e50 _lwp_start ()

I notice that Source/WTF/wtf/FastMalloc.cpp is not current with the latest gproftool's TCMalloc
(notably for TCMalloc_PageHeap::GrowHeap).

Currently I'm testing a build with --enable-fast-malloc=no, but would it be possible to update these bits
to the latest TCMalloc code (https://code.google.com/p/gperftools/) which is the recently released 2.1?

-- 
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