Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-65749

QtWebEngine searches for libEGL and libGLES in /usr/bin rather than /usr/lib64

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • None
    • 5.10.0
    • QPA: Wayland, WebEngine
    • None

    Description

      When using any KDE QtWebEngine app, on Linux with the window manager KWin-Wayland, a crash occurs quickly after startup due to "stack smashing."

      This is due to searching for libEGL and libGLES in /usr/bin when the libraries are really in /usr/lib64. Should be easy to fix.

      Using KMail and QtWebEngine git.

      Log

       

      Using Wayland-EGL
      org.kde.pim.kidentitymanagement: IdentityManager: There was no default identity. Marking first one as default.
      WebEngine compiled with X11 support, however qpa backend is not xcb. This may fail.
      [0113/153232.637591:WARNING:stack_trace_posix.cc(648)] Failed to open file: /home/ivan/#65794 (deleted)
        Error: No such file or directory
      [17722:17763:0113/153232.719731:ERROR:gl_implementation.cc(246)] Failed to load /usr/bin/libEGL.so: /usr/bin/libEGL.so: cannot open shared object file: No such file or directory
      Using the 'xdg-shell-v6' shell integration
      [17722:17763:0113/153233.338702:ERROR:gl_surface_qt.cpp(701)] Requested OpenGL implementation is not supported. Implementation: 0
      *** stack smashing detected ***: <unknown> terminated
      Received signal 6
      #0 0x7f31eee20746 <unknown>
      #1 0x7f31eda4e88a <unknown>
      #2 0x7f31eee20abc <unknown>
      #3 0x7f32045ad150 <unknown>
      #4 0x7f32045ad0d0 __GI_raise
      #5 0x7f32045ae6b1 __GI_abort
      #6 0x7f32045f0427 __libc_message
      #7 0x7f3204680c3e __GI___fortify_fail_abort
      #8 0x7f3204680c02 __stack_chk_fail_local
      #9 0x7f31edaa4461 <unknown>
      #10 0x7f31ef876477 <unknown>
      #11 0x7f31ef8834ee <unknown>
      #12 0x7f31ef885dcf <unknown>
      #13 0x7f31ef88703f <unknown>
      #14 0x7f31ef88099d <unknown>
      #15 0x7f31ef8810b8 <unknown>
      #16 0x7f31ef8802ae <unknown>
      #17 0x7f31ef882765 <unknown>
      #18 0x7f31eeea65a2 <unknown>
      #19 0x7f31eee3dc08 <unknown>
      #20 0x7f31eee3ebe8 <unknown>
      #21 0x7f31eee3f053 <unknown>
      #22 0x7f31eee403b1 <unknown>
      #23 0x7f31eee5e8eb <unknown>
      #24 0x7f31eee798b6 <unknown>
      #25 0x7f31eee74aab <unknown>
      #26 0x7f31fa13a558 start_thread
      #27 0x7f320466f6df __GI___clone
        r8: 0000000000000000  r9: 00007f317a7fa640 r10: 0000000000000008 r11: 0000000000000246
       r12: 00007f317a7fa8e0 r13: 0000000000001000 r14: 0000000000000000 r15: 0000000000000001
        di: 0000000000000002  si: 00007f317a7fa640  bp: 00007f317a7faa70  bx: 0000000000000006
        dx: 0000000000000000  ax: 0000000000000000  cx: 00007f32045ad0d0  sp: 00007f317a7fa640
        ip: 00007f32045ad0d0 efl: 0000000000000246 cgf: 002b000000000033 erf: 0000000000000000
       trp: 0000000000000000 msk: 0000000000000000 cr2: 0000000000000000
      [end of stack trace]
      Calling _exit(1). Core file will not be generated.    

       

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              michal Michal Klocek
              northivanastan Ivan S
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes