[Wayland-bugs] [Bug 784844] New: [Wayland] Crash at xkb_content_ref()

gtk+ (GNOME Bugzilla) bugzilla at gnome.org
Wed Jul 12 13:04:39 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=784844

            Bug ID: 784844
           Summary: [Wayland] Crash at xkb_content_ref()
    Classification: Platform
           Product: gtk+
           Version: 3.22.x
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: Backend: Wayland
          Assignee: gtk-bugs at gtk.org
          Reporter: stransky at redhat.com
        QA Contact: gtk-bugs at gtk.org
                CC: rob at robster.org.uk, wayland-bugs at lists.freedesktop.org
     GNOME version: ---

Firefox/Wayland crashes because the ctx is null here.

#7  0x00007f0d614d13d3 in xkb_context_ref (ctx=ctx at entry=0x0) at
src/context.c:156
#8  0x00007f0d614d355c in xkb_keymap_new (ctx=0x0,
format=XKB_KEYMAP_FORMAT_TEXT_V1, flags=flags at entry=
    XKB_KEYMAP_COMPILE_NO_FLAGS) at src/keymap-priv.c:65
#9  0x00007f0d614d2ea6 in xkb_keymap_new_from_buffer (ctx=<optimized out>,
buffer=0x7f0d46c81000 "xkb_keymap {\nxkb_keycodes \"(unnamed)\" {\n\tminimum =
8;\n\tmaximum = 255;\n\t<ESC>", ' ' <repeats 16 times>, "= 9;\n\t<AE01>", ' '
<repeats 15 times>, "= 10;\n\t<AE02>", ' ' <repeats 15 times>, "=
11;\n\t<AE03>", ' ' <repeats 15 times>, "= 12;\n\t<AE04>", ' ' <repeats 12
times>..., length=56708, format=<optimized out>, flags=<optimized out>) at
src/keymap.c:191
#10 0x00007f0d64b8b9a1 in _gdk_wayland_keymap_update_from_fd
(keymap=0x7f0d48a0e800 [GdkWaylandKeymap], format=1, fd=47, size=56709) at
gdkkeys-wayland.c:624
#11 0x00007f0d64b7d494 in keyboard_handle_keymap (data=0x7f0d6701a810,
keyboard=0x7f0d48a34b00, format=1, fd=47, size=56709)
    at gdkdevice-wayland.c:1841
#12 0x00007f0d5e441bde in ffi_call_unix64 () at ../src/x86/unix64.S:76
#13 0x00007f0d5e44154f in ffi_call (cif=cif at entry=0x7fff3a9067d0, fn=<optimized
out>, rvalue=<optimized out>, 
    rvalue at entry=0x0, avalue=avalue at entry=0x7fff3a9068a0) at
../src/x86/ffi64.c:525
#14 0x00007f0d60ea6dd4 in wl_closure_invoke
(closure=closure at entry=0x7f0d27b71940, flags=flags at entry=1, target=<optimized
out>, target at entry=0x7f0d48a34b00, opcode=opcode at entry=0, data=<optimized out>)
at src/connection.c:935
#15 0x00007f0d60ea3998 in dispatch_event (display=display at entry=0x7f0d6707a500,
queue=<optimized out>)
    at src/wayland-client.c:1310
#16 0x00007f0d60ea4c54 in dispatch_queue (queue=0x7f0d6707a5c8,
display=0x7f0d6707a500) at src/wayland-client.c:1456
#17 0x00007f0d60ea4c54 in wl_display_dispatch_queue_pending
(display=0x7f0d6707a500, queue=0x7f0d6707a5c8)
    at src/wayland-client.c:1698
#18 0x00007f0d64b8a25a in _gdk_wayland_display_queue_events
(display=0x7f0d670589f0 [GdkWaylandDisplay])
    at gdkeventsource.c:201
#19 0x00007f0d64affcac in gdk_display_get_event (display=0x7f0d670589f0
[GdkWaylandDisplay]) at gdkdisplay.c:438
#20 0x00007f0d64b8a065 in gdk_event_source_dispatch (base=0x7f0d67062400,
callback=0x0, data=0x0) at gdkeventsource.c:120
#21 0x00007f0d62160247 in g_main_dispatch (context=0x7f0d670a29d0) at
gmain.c:3234
#22 0x00007f0d62160247 in g_main_context_dispatch
(context=context at entry=0x7f0d670a29d0) at gmain.c:3899
#23 0x00007f0d621605e8 in g_main_context_iterate
(context=context at entry=0x7f0d670a29d0, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>) at gmain.c:3972
#24 0x00007f0d6216067c in g_main_context_iteration (context=0x7f0d670a29d0,
may_block=1) at gmain.c:4033
#25 0x00007f0d54e901c3 in nsAppShell::ProcessNextNativeEvent(bool)
(this=0x7f0d41d141d0, mayWait=true)
    at /home/komat/tmp676-trunk-gtk3/gecko-dev/widget/gtk/nsAppShell.cpp:278
#26 0x00007f0d54e3c2f3 in nsBaseAppShell::DoProcessNextNativeEvent(bool)
(this=0x7f0d41d141d0, mayWait=true)
    at /home/komat/tmp676-trunk-gtk3/gecko-dev/widget/nsBaseAppShell.cpp:138
#27 0x00007f0d54e3c747 in
nsBaseAppShell::OnProcessNextEvent(nsIThreadInternal*, bool)
(this=0x7f0d41d141d0, thr=0x7f0d48a7621

I can't reproduce it reliably - it usually happens when FF tab is inactive
and/or I switch Firefox window by Alt+Tab.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20170712/3999ea92/attachment.html>


More information about the wayland-bugs mailing list