<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>197418</bug_id>
          
          <creation_ts>2019-04-30 09:30:18 -0700</creation_ts>
          <short_desc>Segmentation fault at start up of Qt WPE minibrowser</short_desc>
          <delta_ts>2019-05-07 08:18:31 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WPE WebKit</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ludovico de Nittis">ludovico.denittis</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>pnormand</cc>
    
    <cc>zan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1531549</commentid>
    <comment_count>0</comment_count>
    <who name="Ludovico de Nittis">ludovico.denittis</who>
    <bug_when>2019-04-30 09:30:18 -0700</bug_when>
    <thetext>I installed the WPE Qt extension with flatpak and when I try to run the minibrowser it crashes with the following stack trace:

$ ./Tools/Scripts/run-qt-wpe-minibrowser

Setting repo flathub URL from Flathub to https://dl.flathub.org/repo/
Using org.webkit.WPE prefix in /home/ryuzaki/ALocalDev/WebKit/WebKitBuild/WPE/FlatpakTreeRelease
Starting MiniBrowser.
1   0x7f5076b39569 WTFCrash
2   0x7f508cfb3ac5 WPEQtView::createWebView()
3   0x7f5099c2d6f2 QObject::event(QEvent*)
4   0x7f509ad6abab QQuickItem::event(QEvent*)
5   0x7f5099c02e89 QCoreApplication::notifyInternal2(QObject*, QEvent*)
6   0x7f5099c05ed7 QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*)
7   0x7f5099c574d3
8   0x7f5096fa84ae g_main_context_dispatch
9   0x7f5096fa8748
10  0x7f5096fa87e0 g_main_context_iteration
11  0x7f5099c56ae3 QEventDispatcherGlib::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;)
12  0x7f5099c01b5b QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;)
13  0x7f5099c09a72 QCoreApplication::exec()
14  0x5574a5441c88 main
15  0x7f50994910d3 __libc_start_main
16  0x5574a5441dae _start
/run/host//tmp/tmpJIiwHG: line 1:     4 Segmentation fault      (core dumped) &quot;/app/webkit/Tools/Scripts/run-qt-wpe-minibrowser&quot; &quot;--release&quot; &quot;--wpe&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1533206</commentid>
    <comment_count>1</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2019-05-04 03:42:04 -0700</bug_when>
    <thetext>A -platform wayland-egl argument is needed, iirc.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1533899</commentid>
    <comment_count>2</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2019-05-07 07:07:05 -0700</bug_when>
    <thetext>(In reply to Philippe Normand from comment #1)
&gt; A -platform wayland-egl argument is needed, iirc.

Confirmed. Use either wayland or wayland-egl if you run a desktop under a Wayland compositor.

I wonder why the assert message isn&apos;t displayed... This is  the ASSERT:

RELEASE_ASSERT_WITH_MESSAGE(backend, &quot;EGL initialization failed&quot;);</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1533914</commentid>
    <comment_count>3</comment_count>
    <who name="Ludovico de Nittis">ludovico.denittis</who>
    <bug_when>2019-05-07 08:00:46 -0700</bug_when>
    <thetext>Yesterday I wrote a comment but probably got lost, strange.

Anyway Philippe I also tested the &quot;--platform wayland-egl&quot; and I can confirm that it works.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1533915</commentid>
    <comment_count>4</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2019-05-07 08:18:31 -0700</bug_when>
    <thetext>Alright, let&apos;s close this then :)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>