{"action":"created","issue":{"url":"https://api.github.com/repos/qutebrowser/qutebrowser/issues/4010","repository_url":"https://api.github.com/repos/qutebrowser/qutebrowser","labels_url":"https://api.github.com/repos/qutebrowser/qutebrowser/issues/4010/labels{/name}","comments_url":"https://api.github.com/repos/qutebrowser/qutebrowser/issues/4010/comments","events_url":"https://api.github.com/repos/qutebrowser/qutebrowser/issues/4010/events","html_url":"https://github.com/qutebrowser/qutebrowser/issues/4010","id":333774022,"node_id":"MDU6SXNzdWUzMzM3NzQwMjI=","number":4010,"title":"Render process crash on any text search ...","user":{"login":"TrilbyWhite","id":1787324,"node_id":"MDQ6VXNlcjE3ODczMjQ=","avatar_url":"https://avatars1.githubusercontent.com/u/1787324?v=4","gravatar_id":"","url":"https://api.github.com/users/TrilbyWhite","html_url":"https://github.com/TrilbyWhite","followers_url":"https://api.github.com/users/TrilbyWhite/followers","following_url":"https://api.github.com/users/TrilbyWhite/following{/other_user}","gists_url":"https://api.github.com/users/TrilbyWhite/gists{/gist_id}","starred_url":"https://api.github.com/users/TrilbyWhite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TrilbyWhite/subscriptions","organizations_url":"https://api.github.com/users/TrilbyWhite/orgs","repos_url":"https://api.github.com/users/TrilbyWhite/repos","events_url":"https://api.github.com/users/TrilbyWhite/events{/privacy}","received_events_url":"https://api.github.com/users/TrilbyWhite/received_events","type":"User","site_admin":false},"labels":[{"id":344774661,"node_id":"MDU6TGFiZWwzNDQ3NzQ2NjE=","url":"https://api.github.com/repos/qutebrowser/qutebrowser/labels/component:%20QtWebEngine","name":"component: QtWebEngine","color":"0052cc","default":false},{"id":134077470,"node_id":"MDU6TGFiZWwxMzQwNzc0NzA=","url":"https://api.github.com/repos/qutebrowser/qutebrowser/labels/qt","name":"qt","color":"c2e0c6","default":false},{"id":698711313,"node_id":"MDU6TGFiZWw2OTg3MTEzMTM=","url":"https://api.github.com/repos/qutebrowser/qutebrowser/labels/qt:%205.11","name":"qt: 5.11","color":"c2e0c6","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":24,"created_at":"2018-06-19T17:47:04Z","updated_at":"2018-11-20T22:29:16Z","closed_at":null,"author_association":"NONE","body":"I've been having frequent render process crashes that will affect several but not all open tabs simultaneously.  I was ample to pin down the pattern and have steps that will replicate the crash 100% of the time here:\r\n\r\n0. Enter command 'set statusbar.hide True' (or have this option in your configs)\r\n1. Open any wikipedia page\r\n2. Right click any link to another wikipedia page (to open in a new tab)\r\n3. In the new tab, search for any text string ( '/' binding )\r\n4. Both wikipedia tabs (but no others) will show \"Render Process Crashes\" errors.\r\n\r\nIt seems this can happen with any number of tabs provided they share an \"ancestry\" of being opened via right-clicking from a shared parent tab.  I've also seen this on a wide range of websites beyond wikipedia, though there are some (e.g., bbs.archlinux.org) where it fails to replicate.  I've not found a pattern of what sites are prone vs immune to this though I suspect it may be on sites either with more scripting overall, or potentially a particular common script (e.g., jquery or the like).\r\n\r\nThe terminal output from launching qutebrowser and following the above steps is below, and below that the version output.  I've had this problem on all builds I've tried since the qt5 5.11 updates, but specifically, I switched from a previous git build, to the 1.3.2-1 stable version in the archlinux repos, and back to a git build from just a few minutes ago, and the symptoms remain the same.\r\n\r\n```[0619/133228.242936:WARNING:stack_trace_posix.cc(699)] Failed to open file: /home/jmcclure/#3545809 (deleted)\r\n  Error: No such file or directory\r\n[1266:1281:0619/133235.444323:ERROR:nss_ocsp.cc(614)] No URLRequestContext for NSS HTTP handler. host: ocsp.digicert.com\r\n[1266:1281:0619/133235.444373:ERROR:nss_ocsp.cc(614)] No URLRequestContext for NSS HTTP handler. host: ocsp.digicert.com\r\n[1266:1281:0619/133235.444422:ERROR:nss_ocsp.cc(614)] No URLRequestContext for NSS HTTP handler. host: crl4.digicert.com\r\n[1266:1281:0619/133235.445552:ERROR:nss_ocsp.cc(614)] No URLRequestContext for NSS HTTP handler. host: ocsp.digicert.com\r\n[1266:1281:0619/133235.445574:ERROR:nss_ocsp.cc(614)] No URLRequestContext for NSS HTTP handler. host: ocsp.digicert.com\r\n[1266:1281:0619/133235.445609:ERROR:nss_ocsp.cc(614)] No URLRequestContext for NSS HTTP handler. host: crl4.digicert.com\r\nReceived signal 11 <unknown> 000000000000\r\n#0 0x7fde66294d8e <unknown>\r\n#1 0x7fde66294ea0 <unknown>\r\n#2 0x7fde662954d7 <unknown>\r\n#3 0x7fde637728f0 <unknown>\r\n#4 0x7fde6752b570 <unknown>\r\n#5 0x7fde67bb8278 <unknown>\r\n#6 0x7fde67bb8df6 <unknown>\r\n#7 0x7fde68470594 <unknown>\r\n#8 0x7fde66b48d94 <unknown>\r\n#9 0x7fde66295838 <unknown>\r\n#10 0x7fde661f0705 <unknown>\r\n#11 0x7fde661f0fac <unknown>\r\n#12 0x7fde66295838 <unknown>\r\n#13 0x7fde661f18b9 <unknown>\r\n#14 0x7fde66295838 <unknown>\r\n#15 0x7fde662b609a <unknown>\r\n#16 0x7fde662b6b4f <unknown>\r\n#17 0x7fde662b6cca <unknown>\r\n#18 0x7fde662b3171 <unknown>\r\n#19 0x7fde662d8a2b <unknown>\r\n#20 0x7fde6848dabd <unknown>\r\n#21 0x7fde66256274 <unknown>\r\n#22 0x7fde6625656b <unknown>\r\n#23 0x7fde6709a69a <unknown>\r\n#24 0x7fde66255165 <unknown>\r\n#25 0x7fde64d0d7a5 QtWebEngine::processMain()\r\n#26 0x558d5879cb14 <unknown>\r\n#27 0x7fde6375f06b __libc_start_main\r\n#28 0x558d5879cb9a <unknown>\r\n  r8: 0000000000000001  r9: 0000000000000000 r10: 2f2f3a7370747468 r11: 70696b69772e6e65\r\n r12: 0000000000000000 r13: 0000000000000001 r14: 0000000000000001 r15: 0000206b98b34c08\r\n  di: 00010001ffffffff  si: 0000206b98b34c08  bp: 00007ffe4eab6130  bx: 00010001ffffffff\r\n  dx: 0000000000000000  ax: 00010001ffffffff  cx: 0000000000000001  sp: 00007ffe4eab6078\r\n  ip: 00007fde6752b570 efl: 0000000000010206 cgf: 002b000000000033 erf: 0000000000000000\r\n trp: 000000000000000d msk: 0000000000000000 cr2: 0000000000000000\r\n[end of stack trace]\r\nCalling _exit(1). Core file will not be generated.\r\n13:32:41 ERROR: Renderer process crashed\r\n13:32:41 ERROR: Renderer process crashed\r\n```\r\n```\r\nqutebrowser v1.3.2\r\nGit commit: 3399f2df9 (2018-06-17 21:03:44 +0200)\r\nBackend: QtWebEngine (Chromium 65.0.3325.151)\r\n\r\nCPython: 3.6.5\r\nQt: 5.11.0\r\nPyQt: 5.10.1\r\n\r\nsip: 4.19.8\r\ncolorama: no\r\npypeg2: 2.15\r\njinja2: 2.10\r\npygments: 2.2.0\r\nyaml: 3.12\r\ncssutils: no\r\nattr: 18.1.0\r\nPyQt5.QtWebEngineWidgets: yes\r\nPyQt5.QtWebKitWidgets: no\r\npdf.js: no\r\nsqlite: 3.24.0\r\nQtNetwork SSL: OpenSSL 1.1.0h  27 Mar 2018\r\n\r\nStyle: QFusionStyle\r\nPlatform: Linux-4.17.2-1-ARCH-x86_64-with-arch, 64bit\r\nLinux distribution: Arch Linux (arch)\r\nFrozen: False\r\nImported from /usr/lib/python3.6/site-packages/qutebrowser\r\nUsing Python from /usr/bin/python\r\nQt library executable path: /usr/lib/qt/libexec, data path: /usr/share/qt\r\n\r\nPaths:\r\ncache: /home/jmcclure/.cache/qutebrowser\r\nconfig: /home/jmcclure/.config/qutebrowser\r\ndata: /home/jmcclure/.local/share/qutebrowser\r\nruntime: /run/user/1000/qutebrowser\r\nsystem data: /usr/share/qutebrowser\r\n\r\nUptime: 0:00:00\r\n```\r\nEDIT: Son of a ****, I could have sworn I had previously tried moving my configs (moving all of ~/.config/qutebrowser) and the symptoms remained - but I just tried again, and the above steps fail to replicate the problem with a clean configuration directory.  Sorry for the noise.  I'll close this - but update it again if I track down exactly which setting or config-dir content is triggering this.\r\n\r\nEDIT 2: Reopened as I traced it to a config option.  I added step 0 to the steps to replicate.  If the status bar is hidden, these symptoms are reliably replicated here even with an otherwise clean config.  The error output from a clean config with the single setting adjusted is similar to the original output:\r\n```\r\n[0619/135940.454543:WARNING:stack_trace_posix.cc(699)] Failed to open file: /home/jmcclure/#3546147 (deleted)\r\n  Error: No such file or directory\r\n13:59:57 WARNING: Text 'te' not found on page!\r\nReceived signal 11 SEGV_MAPERR 000000000008\r\n#0 0x7ff44de53d8e <unknown>\r\n#1 0x7ff44de53ea0 <unknown>\r\n#2 0x7ff44de544d7 <unknown>\r\n#3 0x7ff44b3318f0 <unknown>\r\n#4 0x7ff44f0e9424 <unknown>\r\n#5 0x7ff44f0ea605 <unknown>\r\n#6 0x7ff44f777278 <unknown>\r\n#7 0x7ff44f777df6 <unknown>\r\n#8 0x7ff45002f594 <unknown>\r\n#9 0x7ff44e707d94 <unknown>\r\n#10 0x7ff44de54838 <unknown>\r\n#11 0x7ff44ddaf705 <unknown>\r\n#12 0x7ff44ddaffac <unknown>\r\n#13 0x7ff44de54838 <unknown>\r\n#14 0x7ff44ddb08b9 <unknown>\r\n#15 0x7ff44de54838 <unknown>\r\n#16 0x7ff44de7509a <unknown>\r\n#17 0x7ff44de75b4f <unknown>\r\n#18 0x7ff44de75cca <unknown>\r\n#19 0x7ff44de72171 <unknown>\r\n#20 0x7ff44de97a2b <unknown>\r\n#21 0x7ff45004cabd <unknown>\r\n#22 0x7ff44de15274 <unknown>\r\n#23 0x7ff44de1556b <unknown>\r\n#24 0x7ff44ec5969a <unknown>\r\n#25 0x7ff44de14165 <unknown>\r\n#26 0x7ff44c8cc7a5 QtWebEngine::processMain()\r\n#27 0x561308ae8b14 <unknown>\r\n#28 0x7ff44b31e06b __libc_start_main\r\n#29 0x561308ae8b9a <unknown>\r\n  r8: 0000000000000001  r9: 0000000000000000 r10: 2f2f3a7370747468 r11: 70696b69772e6e65\r\n r12: 00007ff452746980 r13: 00007ffe9a4b1160 r14: 00007ffe9a4b1158 r15: 00007ff452746988\r\n  di: 000027d9239789e0  si: 00002d4672ddbc40  bp: 00007ffe9a4b11b0  bx: 000027d9239789e0\r\n  dx: 00007ff452751113  ax: 0000000000000000  cx: 0000000000000001  sp: 00007ffe9a4b1148\r\n  ip: 00007ff44f0e9424 efl: 0000000000010246 cgf: 002b000000000033 erf: 0000000000000004\r\n trp: 000000000000000e msk: 0000000000000000 cr2: 0000000000000008\r\n[end of stack trace]\r\nCalling _exit(1). Core file will not be generated.\r\n13:59:57 ERROR: Renderer process crashed\r\n13:59:57 ERROR: Renderer process crashed\r\n```"},"comment":{"url":"https://api.github.com/repos/qutebrowser/qutebrowser/issues/comments/440452302","html_url":"https://github.com/qutebrowser/qutebrowser/issues/4010#issuecomment-440452302","issue_url":"https://api.github.com/repos/qutebrowser/qutebrowser/issues/4010","id":440452302,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MDQ1MjMwMg==","user":{"login":"jgkamat","id":4349709,"node_id":"MDQ6VXNlcjQzNDk3MDk=","avatar_url":"https://avatars2.githubusercontent.com/u/4349709?v=4","gravatar_id":"","url":"https://api.github.com/users/jgkamat","html_url":"https://github.com/jgkamat","followers_url":"https://api.github.com/users/jgkamat/followers","following_url":"https://api.github.com/users/jgkamat/following{/other_user}","gists_url":"https://api.github.com/users/jgkamat/gists{/gist_id}","starred_url":"https://api.github.com/users/jgkamat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgkamat/subscriptions","organizations_url":"https://api.github.com/users/jgkamat/orgs","repos_url":"https://api.github.com/users/jgkamat/repos","events_url":"https://api.github.com/users/jgkamat/events{/privacy}","received_events_url":"https://api.github.com/users/jgkamat/received_events","type":"User","site_admin":false},"created_at":"2018-11-20T22:29:16Z","updated_at":"2018-11-20T22:29:16Z","author_association":"COLLABORATOR","body":"\nRijnder Wever writes:\n\n> Per a suggestion by @TrilbyWhite to not autohide the statusbar, my last couple of days have been completely crash free, while crashes where very frequent with the\n> statusbar visibility property set to autohide. The renderer processes crashes were triggered under fairly specific circumstances such as doing text searches and opening\n> new tabs. At least some of these crash triggers (if not all) involved showing/hiding and interacting with the statusbar. Could the source of the problem lie in code related\n> to the visibility of the statusbar (esp. because the error mentions the renderer process)? Given that a lot of different crashes apart from those on text search also\n> disappeared by disabling statusbar autohide, I suppose the title of this issue might be a little too specific.\n\nMaybe this is related to resizing the window. During text searches by default,\nthe scroll bar comes up which forces a resize of the webview, and a similar\nthing happens when the statusbar is toggled. It would explain why I have never\nseen this, as I disabled the popup scrollbar during searches.\n"}}
{"actor":{"display_login":"jgkamat"}}