Bug 2078152

Summary: Launching xreader crashes webkit2gtk3
Product: [Fedora] Fedora Reporter: Ian Laurie <nixuser>
Component: webkit2gtk3Assignee: Michael Catanzaro <mcatanza>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 36CC: erack, gnome-sig, leigh123linux, mcatanza, riehecky, tpopela
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-04-24 21:51:18 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Full backtrace none

Description Ian Laurie 2022-04-24 02:16:43 UTC
Description of problem:
Launching xreader crashes webkit2gtk3 on an installation made from Fedora-Cinnamon-Live-x86_64-36-1.1.iso.

Version-Release number of selected component (if applicable):
xreader-3.2.2-2.fc36.x86_64
webkit2gtk3-2.36.0-1.fc36.x86_64

How reproducible:
Always.

Steps to Reproduce:
1. Launch Xreader.
2.
3.

Actual results:
Crash in webkit2gtk3.

Comment 1 leigh scott 2022-04-24 14:20:26 UTC
I'm unable to provide a full backtrace to lack of RAM


$ coredumpctl gdb 217363
           PID: 217363 (WebKitWebProces)
           UID: 1000 (leigh)
           GID: 1000 (leigh)
        Signal: 6 (ABRT)
     Timestamp: Sun 2022-04-24 14:51:50 BST (23min ago)
  Command Line: /usr/libexec/webkit2gtk-4.0/WebKitWebProcess 12 23
    Executable: /usr/libexec/webkit2gtk-4.0/WebKitWebProcess
 Control Group: /user.slice/user-1000.slice/user/app.slice/app-glib-xreader-217321.scope
          Unit: user
     User Unit: app-glib-xreader-217321.scope
         Slice: user-1000.slice
     Owner UID: 1000 (leigh)
       Boot ID: f6a7432f47a7438cb5b33be66cba17bf
    Machine ID: a20d1ad2e480441eaa515dc0d9abdd4c
      Hostname: mpd
       Storage: /var/lib/systemd/coredump/core.WebKitWebProces.1000.f6a7432f47a7438cb5b33be66cba17bf.217363.1650808310000000.zst (present)
     Disk Size: 1.8M
       Message: Process 217363 (WebKitWebProces) of user 1000 dumped core.
                
                Module linux-vdso.so.1 with build-id 44055b880e9c5f40b88e7e8f2daad800142cc4ae
                Module libgvfscommon.so with build-id 825253e95b3de0a54fa1135e033d62e9d3f9ab15
                Metadata for module libgvfscommon.so owned by FDO found: {
                	"type" : "rpm",
                	"name" : "gvfs",
                	"version" : "1.50.0-4.fc36",
                	"architecture" : "x86_64",
                	"osCpe" : "cpe:/o:fedoraproject:fedora:36"
                }
                
                Module libgvfsdbus.so with build-id 103dd0d20816fbba868a91cc104d99065558115b
                Metadata for module libgvfsdbus.so owned by FDO found: {
                	"type" : "rpm",
                	"name" : "gvfs",
                	"version" : "1.50.0-4.fc36",
                	"architecture" : "x86_64",
                	"osCpe" : "cpe:/o:fedoraproject:fedora:36"
                }
                
                Module libxkbfile.so.1 with build-id e9e99444598d67ff8514b6adfb390156611311d6
                Stack trace of thread 217363:
                #0  0x00007fc272eb5aec __pthread_kill_implementation (libc.so.6 + 0x92aec)
                #1  0x00007fc272e659c6 raise (libc.so.6 + 0x429c6)
                #2  0x00007fc272e4f82f abort (libc.so.6 + 0x2c82f)
                #3  0x00007fc27368d7db _ZN6WebKit10WebProcess30ensureNetworkProcessConnectionEv.cold (libwebkit2gtk-4.0.so.37 + 0x6697db)
                #4  0x00007fc273a485ad _ZN6WebKit10WebProcess20initializeWebProcessEONS_28WebProcessCreationParametersE (libwebkit2gtk-4.0.so.37 + 0xa245ad)
                #5  0x00007fc275172a43 _ZN3IPC13handleMessageIN8Messages10WebProcess20InitializeWebProcessEN6WebKit10WebProcessEMS5_FvONS4_28WebProcessCreationParametersEEEEvRNS_10ConnectionERNS_7DecoderEPT0_T1_.constprop.0 (libwebkit2gtk-4.0.so.37 + 0x214ea43)
                #6  0x00007fc2738b8d8e _ZN3IPC10Connection15dispatchMessageESt10unique_ptrINS_7DecoderESt14default_deleteIS2_EE (libwebkit2gtk-4.0.so.37 + 0x894d8e)
                #7  0x00007fc2738bafd5 _ZN3WTF6Detail15CallableWrapperIZN3IPC10Connection22enqueueIncomingMessageESt10unique_ptrINS2_7DecoderESt14default_deleteIS5_EEEUlvE_vJEE4callEv (libwebkit2gtk-4.0.so.37 + 0x896fd5)
                #8  0x00007fc2724a6f05 _ZZN3WTF7RunLoopC4EvENUlPvE_4_FUNES1_.lto_priv.0 (libjavascriptcoregtk-4.0.so.18 + 0xe63f05)
                #9  0x00007fc2724bc933 _ZN3WTF7RunLoopUlP8_GSourcePFiPvES3_E_4_FUNES2_S5_S3_.lto_priv.0 (libjavascriptcoregtk-4.0.so.18 + 0xe79933)
                #10 0x00007fc272a8ff4f g_main_context_dispatch (libglib-2.0.so.0 + 0x54f4f)
                #11 0x00007fc272ae5168 g_main_context_iterate.constprop.0 (libglib-2.0.so.0 + 0xaa168)
                #12 0x00007fc272a8f66f g_main_loop_run (libglib-2.0.so.0 + 0x5466f)
                #13 0x00007fc2724ae070 _ZN3WTF7RunLoop3runEv (libjavascriptcoregtk-4.0.so.18 + 0xe6b070)
                #14 0x00007fc273bca900 _ZN6WebKit14WebProcessMainEiPPc (libwebkit2gtk-4.0.so.37 + 0xba6900)
                #15 0x00007fc272e50590 __libc_start_call_main (libc.so.6 + 0x2d590)
                #16 0x00007fc272e50649 __libc_start_main@@GLIBC_2.34 (libc.so.6 + 0x2d649)
                #17 0x000056543344e0a5 _start (WebKitWebProcess + 0x10a5)
                
                Stack trace of thread 217372:
                #0  0x00007fc272f2c64f __poll (libc.so.6 + 0x10964f)
                #1  0x00007fc272ae50dd g_main_context_iterate.constprop.0 (libglib-2.0.so.0 + 0xaa0dd)
                #2  0x00007fc272a8f66f g_main_loop_run (libglib-2.0.so.0 + 0x5466f)
                #3  0x00007fc272cea63a gdbus_shared_thread_func.lto_priv.0 (libgio-2.0.so.0 + 0x11463a)
                #4  0x00007fc272aba172 g_thread_proxy (libglib-2.0.so.0 + 0x7f172)
                #5  0x00007fc272eb3cc7 start_thread (libc.so.6 + 0x90cc7)
                #6  0x00007fc272f38e00 __clone3 (libc.so.6 + 0x115e00)
                
                Stack trace of thread 217371:
                #0  0x00007fc272f2c64f __poll (libc.so.6 + 0x10964f)
                #1  0x00007fc272ae50dd g_main_context_iterate.constprop.0 (libglib-2.0.so.0 + 0xaa0dd)
                #2  0x00007fc272a8d8e0 g_main_context_iteration (libglib-2.0.so.0 + 0x528e0)
                #3  0x00007fc272a8d931 glib_worker_main (libglib-2.0.so.0 + 0x52931)
                #4  0x00007fc272aba172 g_thread_proxy (libglib-2.0.so.0 + 0x7f172)
                #5  0x00007fc272eb3cc7 start_thread (libc.so.6 + 0x90cc7)
                #6  0x00007fc272f38e00 __clone3 (libc.so.6 + 0x115e00)
                
                Stack trace of thread 217374:
                #0  0x00007fc272f2c64f __poll (libc.so.6 + 0x10964f)
                #1  0x00007fc272ae50dd g_main_context_iterate.constprop.0 (libglib-2.0.so.0 + 0xaa0dd)
                #2  0x00007fc272a8f66f g_main_loop_run (libglib-2.0.so.0 + 0x5466f)
                #3  0x00007fc2724ae070 _ZN3WTF7RunLoop3runEv (libjavascriptcoregtk-4.0.so.18 + 0xe6b070)
                #4  0x00007fc2724af111 _ZN3WTFL19wtfThreadEntryPointEPv.lto_priv.0 (libjavascriptcoregtk-4.0.so.18 + 0xe6c111)
                #5  0x00007fc272eb3cc7 start_thread (libc.so.6 + 0x90cc7)
                #6  0x00007fc272f38e00 __clone3 (libc.so.6 + 0x115e00)
                
                Stack trace of thread 217376:
                #0  0x00007fc272f2c64f __poll (libc.so.6 + 0x10964f)
                #1  0x00007fc272ae50dd g_main_context_iterate.constprop.0 (libglib-2.0.so.0 + 0xaa0dd)
                #2  0x00007fc272a8f66f g_main_loop_run (libglib-2.0.so.0 + 0x5466f)
                #3  0x00007fc2724ae070 _ZN3WTF7RunLoop3runEv (libjavascriptcoregtk-4.0.so.18 + 0xe6b070)
                #4  0x00007fc2724af111 _ZN3WTFL19wtfThreadEntryPointEPv.lto_priv.0 (libjavascriptcoregtk-4.0.so.18 + 0xe6c111)
                #5  0x00007fc272eb3cc7 start_thread (libc.so.6 + 0x90cc7)
                #6  0x00007fc272f38e00 __clone3 (libc.so.6 + 0x115e00)
                
                Stack trace of thread 217373:
                #0  0x00007fc272eb08f9 __futex_abstimed_wait_common (libc.so.6 + 0x8d8f9)
                #1  0x00007fc272eb3050 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x90050)
                #2  0x00007fc26f3cb0f0 _ZNSt18condition_variable4waitERSt11unique_lockISt5mutexE (libstdc++.so.6 + 0xd50f0)
                #3  0x00007fc2724a3460 _ZN7bmalloc9Scavenger16threadEntryPointEPS0_ (libjavascriptcoregtk-4.0.so.18 + 0xe60460)
                #4  0x00007fc26f3d1b93 execute_native_thread_routine (libstdc++.so.6 + 0xdbb93)
                #5  0x00007fc272eb3cc7 start_thread (libc.so.6 + 0x90cc7)
                #6  0x00007fc272f38e00 __clone3 (libc.so.6 + 0x115e00)
                
                Stack trace of thread 217375:
                #0  0x00007fc272f2c64f __poll (libc.so.6 + 0x10964f)
                #1  0x00007fc272ae50dd g_main_context_iterate.constprop.0 (libglib-2.0.so.0 + 0xaa0dd)
                #2  0x00007fc272a8f66f g_main_loop_run (libglib-2.0.so.0 + 0x5466f)
                #3  0x00007fc2724ae070 _ZN3WTF7RunLoop3runEv (libjavascriptcoregtk-4.0.so.18 + 0xe6b070)
                #4  0x00007fc2724af111 _ZN3WTFL19wtfThreadEntryPointEPv.lto_priv.0 (libjavascriptcoregtk-4.0.so.18 + 0xe6c111)
                #5  0x00007fc272eb3cc7 start_thread (libc.so.6 + 0x90cc7)
                #6  0x00007fc272f38e00 __clone3 (libc.so.6 + 0x115e00)
                ELF object binary architecture: AMD x86-64

Comment 2 Michael Catanzaro 2022-04-24 17:36:33 UTC
Well your web process dies on startup, most likely because the network process died. Who knows. Without a better backtrace there's nothing actionable here, so you're out of luck unless you want to buy more RAM. Sorry. :/

Comment 3 Michael Catanzaro 2022-04-24 17:36:54 UTC
Or you could try reporting this via ABRT instead....

Comment 4 Michael Catanzaro 2022-04-24 17:40:08 UTC
(In reply to Michael Catanzaro from comment #2)
> Well your web process dies on startup, most likely because the network
> process died.

Yeah, I think you've reported the second crash here, but we really want to see the first crash. The web process is expected to crash here whenever it can't connect to the network process, which should never happen. Presumably the network process crashed first.

Sadly, if you don't have enough RAM to take a web process backtrace, you won't have enough RAM for a network process backtrace either, so there's still nothing more to do here unless you can solve that problem.

Comment 5 leigh scott 2022-04-24 18:18:27 UTC
Created attachment 1874708 [details]
Full backtrace

I reproduced the issue on my workstation, it took 18Gb out of 32Gb RAM to process.

Comment 6 Michael Catanzaro 2022-04-24 21:51:18 UTC
OK, the more detailed backtrace is enough to show this is bug #2065464, which should be fixed in 2.36.1. There is an update available in updates-testing. Please try that out to see if it works.

*** This bug has been marked as a duplicate of bug 2065464 ***