Bug#839379: yelp: FTBFS: segmentation fault

Michael Biebl biebl at debian.org
Fri Oct 28 01:38:46 UTC 2016


Control: reassign -1 src:webkit2gtk 2.14.1-1
Control: affects -1 src:yelp

Am 28.10.2016 um 01:52 schrieb Michael Biebl:
> Am 01.10.2016 um 10:42 schrieb Lucas Nussbaum:
>>> (process:32124): Gtk-CRITICAL **: gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed
>>>
>>> ** (process:32124): WARNING **: Unable to connect to dbus: Cannot spawn a message bus without a machine-id: Unable to load /var/lib/dbus/machine-id or /etc/machine-id: Failed to open file '/var/lib/dbus/machine-id': No such file or directory
>>> Segmentation fault
> 
> Looks like a duplicate of
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=803104
> 
> Maybe webkit2gtk has regressed in that regard.


I built yelp inside a chroot (without X) and ran
docs/libyelp/libyelp-scan directly. The resulting backtrace from the
crash is attached. This looks to me like it's webkit2 related, so I'm
reassigning the bug. The dbus warning is a red herring fwiw.
The binary crashes even when installing dbus and running with
dbus-run-session.

Berto, would be great if you can have a look.

Cheers,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
-------------- next part --------------
Starting program: /yelp-3.22.0/docs/libyelp/.libs/lt-libyelp-scan 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe0e20700 (LWP 23308)]

Thread 1 "lt-libyelp-scan" received signal SIGSEGV, Segmentation fault.
XQueryExtension (dpy=dpy at entry=0x0, name=name at entry=0x7fffe946b721 <XCompositeExtensionName> "Composite", 
    major_opcode=major_opcode at entry=0x7fffffffda94, first_event=first_event at entry=0x7fffffffda98, 
    first_error=first_error at entry=0x7fffffffda9c) at ../../src/QuExt.c:43
43	../../src/QuExt.c: No such file or directory.
#0  0x00007fffe96a60ad in XQueryExtension (dpy=dpy at entry=0x0, name=name at entry=0x7fffe946b721 <XCompositeExtensionName> "Composite", major_opcode=major_opcode at entry=0x7fffffffda94, first_event=first_event at entry=0x7fffffffda98, first_error=first_error at entry=0x7fffffffda9c) at ../../src/QuExt.c:43
        rep = 
          {type = 0 '\000', pad1 = 0 '\000', sequenceNumber = 0, length = 0, present = 152 '\230', major_opcode = 218 '\332', first_event = 255 '\377', first_error = 255 '\377', pad3 = 32767, pad4 = 4294957716, pad5 = 32767, pad6 = 3913725729, pad7 = 32767}
        req = <optimized out>
#1  0x00007fffe9699e92 in XInitExtension (dpy=dpy at entry=0x0, name=name at entry=0x7fffe946b721 <XCompositeExtensionName> "Composite") at ../../src/InitExt.c:47
        codes = {extension = 48, major_opcode = 0, first_event = -375723504, first_error = 32767}
        ext = <optimized out>
#2  0x00007fffe946afe0 in XCompositeFindDisplay (extinfo=0x7fffe966c090 <XCompositeExtensionInfo>, ext_name=<optimized out>, dpy=0x0) at ../../src/Xcomposite.c:111
        info = 0x5555557c0a60
        dpy = 0x0
        info = 0x5555557c0a60
#3  0x00007fffe946afe0 in XCompositeFindDisplay (dpy=0x0) at ../../src/Xcomposite.c:208
        dpy = 0x0
        info = 0x5555557c0a60
#4  0x00007fffe946b141 in XCompositeQueryExtension (dpy=<optimized out>, event_base_return=event_base_return at entry=0x7fffffffdb48, error_base_return=error_base_return at entry=0x7fffffffdb4c) at ../../src/Xcomposite.c:219
        info = <optimized out>
#5  0x00007ffff3e5dca3 in WebCore::PlatformDisplayX11::supportsXComposite() const (this=this at entry=0x7fffe05fd040)
    at ./Source/WebCore/platform/graphics/x11/PlatformDisplayX11.cpp:80
        eventBase = -202133058
        errorBase = 32767
#6  0x00007ffff30210bd in WebKit::WebPreferences::platformInitializeStore() (this=0x7fffe05f5000)
    at ./Source/WebKit2/UIProcess/gtk/WebPreferencesGtk.cpp:63
        damageBase = {m_isEngaged = false, m_value = {__data = "\377\177\000", __align = {<No data fields>}}}
#7  0x00007ffff2e23b02 in WebKit::WebPreferences::create(WTF::String const&, WTF::String const&, WTF::String const&) (identifier=..., keyPrefix=..., globalDebugKeyPrefix=...) at ./Source/WebKit2/UIProcess/WebPreferences.cpp:43
#8  0x00007ffff2fddc33 in webkit_settings_init(WebKitSettings*) (this=0x5555557aa590)
    at ./Source/WebKit2/UIProcess/API/gtk/WebKitSettings.cpp:51
        priv = 0x5555557aa590
#9  0x00007ffff2fddc33 in webkit_settings_init(WebKitSettings*) (self=<optimized out>)
    at ./Source/WebKit2/UIProcess/API/gtk/WebKitSettings.cpp:94
        priv = 0x5555557aa590
#10 0x00007ffff77b134b in g_type_create_instance (type=<optimized out>) at ././gobject/gtype.c:1866
        instance = 0x5555557aa5f0 [WebKitSettings]
        class = 0x5555557bfbe0
        allocated = <optimized out>
        private_size = <optimized out>
        ivar_size = <optimized out>
        i = <optimized out>
#11 0x00007ffff77931fb in g_object_new_internal (class=class at entry=0x5555557bfbe0, params=params at entry=0x7fffffffdee0, n_params=n_params at entry=1) at ././gobject/gobject.c:1783
        nqueue = 0x0
        object = <optimized out>
        __func__ = "g_object_new_internal"
#12 0x00007ffff779510e in g_object_new_valist (object_type=<optimized out>, first_property_name=first_property_name at entry=0x7ffff725dab1 "default-charset", var_args=var_args at entry=0x7fffffffe030) at ././gobject/gobject.c:2042
        stack_params = 
            {{pspec = 0x5555557a5300 [GParamString], value = 0x7fffffffde30}, {pspec = 0x0, value = 0x7ffff74a2632 <g_hash_table_insert_node+210>}, {pspec = 0x0, value = 0x5555557bb720}, {pspec = 0x0, value = 0x1}, {pspec = 0x55555575b0c0, value = 0x0}, {pspec = 0x1, value = 0x7ffff74a2a6a <g_hash_table_insert_internal+250>}, {pspec = 0x0, value = 0x7ffff74a29b1 <g_hash_table_insert_internal+65>}, {pspec = 0x28, value = 0x5555557bd150}, {pspec = 0x5555557bb720, value = 0x28}, {pspec = 0x1, value = 0x5555557bb720}, {pspec = 0x7fffffffdfd0, value = 0x5555557bb728}, {pspec = 0x555555797160, value = 0x5555557bd150}, {pspec = 0x1cc, value = 0x7ffff779f35b <handler_insert+635>}, {pspec = 0x205575b120, value = 0x7ffff779d760 <handler_lists_cmp>}, {pspec = 0x555555799f80, value = 0x5555557bd150}, {pspec = 0x1, value = 0x0}}
        params = 0x7fffffffdee0
        name = <optimized out>
        n_params = 1
        class = <optimized out>
        unref_class = <optimized out>
        object = <optimized out>
        __func__ = "g_object_new_valist"
#13 0x00007ffff2fde378 in webkit_settings_new_with_settings(gchar const*, ...) (firstSettingName=firstSettingName at entry=0x7ffff725dab1 "default-charset") at ./Source/WebKit2/UIProcess/API/gtk/WebKitSettings.cpp:1312
        args = 
            {{gp_offset = 24, fp_offset = 48, overflow_arg_area = 0x7fffffffe110, reg_save_area = 0x7fffffffe050}}
        settings = <optimized out>
#14 0x00007ffff7255149 in yelp_view_get_global_settings () at libyelp/yelp-view.c:156
        websettings = 0x0
#15 0x00007ffff725516d in settings_show_text_cursor (settings=settings at entry=0x5555557bd150 [YelpSettings])
    at libyelp/yelp-view.c:2154
#16 0x00007ffff7255215 in yelp_view_class_intern_init (klass=0x5555557bc500) at libyelp/yelp-view.c:482
        object_class = 0x5555557bc500
        settings = 0x5555557bd150 [YelpSettings]
#17 0x00007ffff7255215 in yelp_view_class_intern_init (klass=0x5555557bc500) at libyelp/yelp-view.c:147
#18 0x00007ffff77ae4d7 in g_type_class_ref (pclass=0x5555557a4930, node=0x55555579bb10) at ././gobject/gtype.c:2232
        slist = <optimized out>
        init_slist = <optimized out>
        i = <optimized out>
        class = 0x5555557bc500
        entries = <optimized out>
        entry = <optimized out>
        bnode = <optimized out>
        ptype = <optimized out>
        holds_ref = <optimized out>
        pclass = <optimized out>
#19 0x00007ffff77ae4d7 in g_type_class_ref (type=<optimized out>) at ././gobject/gtype.c:2947
        ptype = <optimized out>
        holds_ref = <optimized out>
        pclass = <optimized out>
#20 0x0000555555555ce3 in main () at libyelp-scan.c:61
        g_object_class = 0x555555797000
        i = <optimized out>
#21 0x0000555555555ce3 in main (argc=<optimized out>, argv=<optimized out>) at libyelp-scan.c:115
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-webkit-maintainers/attachments/20161028/acc48d06/attachment.sig>


More information about the Pkg-webkit-maintainers mailing list