[Webkit-unassigned] [Bug 209431] New: [GTK] [2.28.0] The Yelp build crashes if DISPLAY is not set
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Mar 23 11:39:00 PDT 2020
https://bugs.webkit.org/show_bug.cgi?id=209431
Bug ID: 209431
Summary: [GTK] [2.28.0] The Yelp build crashes if DISPLAY is
not set
Product: WebKit
Version: Other
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebKitGTK
Assignee: webkit-unassigned at lists.webkit.org
Reporter: berto at igalia.com
CC: bugs-noreply at webkitgtk.org
It seems that it's impossible to build Yelp (which links against WebKitGTK) if DISPLAY is unset:
Gtk-CRITICAL **: 18:22:42.130: gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed
WARNING **: 18:22:42.132: Unable to connect to dbus: Cannot autolaunch D-Bus without X11 $DISPLAY
Unable to init server: Could not connect: Connection refused
I don't have a full backtrace with all symbols but this one already points at the problem:
Thread 1 "libyelp-scan" received signal SIGABRT, Aborted.
0x00007ffff7c56761 in raise () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) bt
#0 0x00007ffff7c56761 in raise () at /lib/x86_64-linux-gnu/libc.so.6
#1 0x00007ffff7c4055b in abort () at /lib/x86_64-linux-gnu/libc.so.6
#2 0x00007ffff4ba02ed in () at /usr/lib/x86_64-linux-gnu/libwebkit2gtk-4.0.so.37
#3 0x00007ffff507079b in WebKit::HardwareAccelerationManager::HardwareAccelerationManager() () at ../Source/WebKit/UIProcess/gtk/HardwareAccelerationManager.cpp:55
#4 0x00007ffff507081c in WTF::NeverDestroyed<WebKit::HardwareAccelerationManager>::NeverDestroyed<>() () at DerivedSources/ForwardingHeaders/wtf/NeverDestroyed.h:52
#5 WebKit::HardwareAccelerationManager::singleton() () at ../Source/WebKit/UIProcess/gtk/HardwareAccelerationManager.cpp:36
#6 0x00007ffff50786d9 in WebKit::WebPreferences::platformInitializeStore() () at ../Source/WebKit/UIProcess/gtk/WebPreferencesGtk.cpp:42
#7 0x00007ffff4eea222 in WebKit::WebPreferences::create(WTF::String const&, WTF::String const&, WTF::String const&) () at ../Source/WebKit/UIProcess/WebPreferences.cpp:45
#8 0x00007ffff4fbb101 in _WebKitSettingsPrivate::_WebKitSettingsPrivate() () at ../Source/WebKit/UIProcess/API/glib/WebKitSettings.cpp:59
#9 0x00007ffff7fa8e6d in g_type_create_instance () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#10 0x00007ffff7f886dd in () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#11 0x00007ffff7f8a5e9 in g_object_new_valist () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#12 0x00007ffff4fb5588 in webkit_settings_new_with_settings() () at ../Source/WebKit/UIProcess/API/glib/WebKitSettings.cpp:1577
#13 0x00007ffff7e32726 in yelp_view_get_global_settings () at libyelp/yelp-view.c:153
#14 0x00007ffff7e3274d in settings_show_text_cursor (settings=settings at entry=0x5555555b8150) at libyelp/yelp-view.c:2094
#15 0x00007ffff7e327e3 in yelp_view_class_init (klass=0x5555555b6520) at libyelp/yelp-view.c:465
#16 yelp_view_class_intern_init (klass=0x5555555b6520) at libyelp/yelp-view.c:144
#17 0x00007ffff7fa6ef1 in g_type_class_ref () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#18 0x00005555555565bc in get_object_types () at libyelp-scan.c:62
#19 main () at libyelp-scan.c:113
That's here:
if (!AcceleratedBackingStore::checkRequirements()) {
m_canUseHardwareAcceleration = false;
return;
}
See also bug 156972 for a related problem already fixed 4 years ago.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200323/34a062f0/attachment.htm>
More information about the webkit-unassigned
mailing list