Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. Webview crashes on load
Forum Updated to NodeBB v4.3 + New Features

Webview crashes on load

Scheduled Pinned Locked Moved Qt WebKit
4 Posts 3 Posters 2.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    MaxL
    wrote on last edited by
    #1

    Hi everyone,

    I compiled webkit from sources and moved to an other directory than the install directory and did a simple app that opens a Webview upon a click on a button.
    The app runs fine, it finds the QtWebkit module but when i click on the button ( which loads a Webview through a Loader ) the app crashes with the following error :

    SHOULD NEVER BE REACHED
    UIProcess/Launcher/qt/ProcessLauncherQt.cpp(211) : void WebKit::ProcessLauncher::launchProcess()
    1 0x1195101b0
    2 0x1172e3725
    3 0x1172e2a22
    4 0x1172e29a5
    5 0x11746ec62
    6 0x11750e959
    7 0x7fff8eee91bb
    8 0x7fff8eee628d
    9 0x7fff8eee8673
    10 0x7fff8eee99c1
    11 0x7fff8eee7f87
    12 0x7fff8eee9177
    13 0x7fff8e3daef8
    14 0x7fff8e3ddfb9

    This is the log from the console :

    Thread 4 Crashed:: Dispatch queue: com.apple.WebKit.ProcessLauncher
    0 libQt5WebKit_debug.5.dylib 0x000000011b79b1ba WTFCrash + 42
    1 libQt5WebKit_debug.5.dylib 0x000000011956e725 WebKit::ProcessLauncher::launchProcess() + 1221
    2 libQt5WebKit_debug.5.dylib 0x000000011956da22 WTF::FunctionWrapper<void (WebKit::ProcessLauncher::)()>::operator()(WebKit::ProcessLauncher) + 114
    3 libQt5WebKit_debug.5.dylib 0x000000011956d9a5 WTF::BoundFunctionImpl<WTF::FunctionWrapper<void (WebKit::ProcessLauncher::)()>, void (WebKit::ProcessLauncher)>::operator()() + 53
    4 libQt5WebKit_debug.5.dylib 0x00000001196f9c62 WTF::Function<void ()>::operator()() const + 114
    5 libQt5WebKit_debug.5.dylib 0x0000000119799959 ___ZN9WorkQueue8dispatchERKN3WTF8FunctionIFvvEEE_block_invoke + 41
    6 libdispatch.dylib 0x00007fff8eee91bb _dispatch_call_block_and_release + 12
    7 libdispatch.dylib 0x00007fff8eee628d _dispatch_client_callout + 8
    8 libdispatch.dylib 0x00007fff8eee8673 _dispatch_queue_drain + 451
    9 libdispatch.dylib 0x00007fff8eee99c1 _dispatch_queue_invoke + 110
    10 libdispatch.dylib 0x00007fff8eee7f87 _dispatch_root_queue_drain + 75
    11 libdispatch.dylib 0x00007fff8eee9177 _dispatch_worker_thread2 + 40
    12 libsystem_pthread.dylib 0x00007fff8e3daef8 _pthread_wqthread + 314
    13 libsystem_pthread.dylib 0x00007fff8e3ddfb9 start_wqthread + 13

    I have no idea how to fix this since I don't do anything special to the webview

    1 Reply Last reply
    0
    • cmessineoC Offline
      cmessineoC Offline
      cmessineo
      wrote on last edited by
      #2

      I'm having the same issue. I built from source Qt 5.3.1 and QtCreator 3.1.2 Windows 7. Any qml file with WebView element will crash qmlscene.exe on url load.

      Not sure what the issue could be. qmlscene.exe just crashes, works fine on Linux box.

      1 Reply Last reply
      0
      • cmessineoC Offline
        cmessineoC Offline
        cmessineo
        wrote on last edited by
        #3

        MaxL were you able to solve the issue?

        1 Reply Last reply
        0
        • B Offline
          B Offline
          brcontainer
          wrote on last edited by
          #4

          Try release mode

          QT project: https://github.com/brcontainer/qt-helper

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved