Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ipc, --debug shows gets stuck at initializing downloads, cant find fix #7300

Open
amydotsh opened this issue Jul 9, 2022 · 12 comments
Open
Labels
status: can't reproduce Issues which can't be reproduced. status: needs triage Issues/PRs which need some deeper investigation.

Comments

@amydotsh
Copy link

amydotsh commented Jul 9, 2022

Version info:
https://paste.the-compiler.org/view/a1ad0391
Does the bug happen if you start with --temp-basedir?:
yes
Description
i have found several issues reporting similar things and saw the compiler say something on a reddit post about --debug ending with initializing downloads but i havent found a fix
i am running void linux musl with seatd
if the ipc file wasnt there, the ipc file shows up in /run/user/1000/qutebrowser/ but sometimes --debug shows it paused at initializing downloads.
sometimes the ipc file isnt removed on exit of qutebrowser unless using :quit, though it still can bug out and not launch afterwards
sometimes qutebrowser boots even with ipc present

23:00:11 DEBUG    init       earlyinit:init_log:276 Log initialized.
23:00:11 DEBUG    init       app:run:85 Main process PID: 6085
23:00:11 DEBUG    init       app:run:87 Initializing directories...
23:00:11 DEBUG    init       standarddir:init:354 Base directory: None
23:00:11 DEBUG    misc       standarddir:_writable_location:274 writable location for ConfigLocation: /home/amy/.config
23:00:11 DEBUG    misc       standarddir:_writable_location:274 writable location for AppDataLocation: /home/amy/.local/share
23:00:11 DEBUG    misc       standarddir:_writable_location:274 writable location for CacheLocation: /home/amy/.cache
23:00:11 DEBUG    misc       standarddir:_writable_location:274 writable location for DownloadLocation: /home/amy/Downloads
23:00:11 DEBUG    misc       standarddir:_writable_location:274 writable location for RuntimeLocation: /run/user/1000
23:00:11 DEBUG    init       app:run:91 Initializing config...
23:00:11 DEBUG    misc       elf:parse_webenginecore:325 QtWebEngine .so found at /usr/lib/libQt5WebEngineCore.so.5.15.2
23:00:11 DEBUG    misc       elf:parse_webenginecore:331 Got versions from ELF: Versions(webengine='5.15.2', chromium='87.0.4280.144')
23:00:11 DEBUG    misc       elf:parse_webenginecore:325 QtWebEngine .so found at /usr/lib/libQt5WebEngineCore.so.5.15.2
23:00:11 DEBUG    misc       elf:parse_webenginecore:331 Got versions from ELF: Versions(webengine='5.15.2', chromium='87.0.4280.144')
23:00:11 DEBUG    init       app:run:94 Initializing application...
23:00:11 DEBUG    misc       elf:parse_webenginecore:325 QtWebEngine .so found at /usr/lib/libQt5WebEngineCore.so.5.15.2
23:00:11 DEBUG    misc       elf:parse_webenginecore:331 Got versions from ELF: Versions(webengine='5.15.2', chromium='87.0.4280.144')
23:00:11 DEBUG    init       darkmode:settings:379 Darkmode variant: qt_515_3
23:00:11 DEBUG    init       app:__init__:555 Commandline args: ['--debug']
23:00:11 DEBUG    init       app:__init__:556 Parsed: Namespace(basedir=None, config_py=None, version=False, temp_settings=[], session=None, override_restore=False, target=None, backend=None, desktop_file_name='org.qutebrowser.qutebrowser', untrusted_args=False, json_args=None, temp_basedir_restarted=False, enable_webengine_inspector=False, loglevel=None, logfilter=None, loglines=2000, debug=True, json_logging=False, color=True, force_color=False, nowindow=False, temp_basedir=False, no_err_windows=False, qt_arg=None, qt_flag=None, debug_flags=[], command=[], url=[])
23:00:11 DEBUG    init       app:__init__:557 Qt arguments: ['--enable-features=WebRTCPipeWireCapturer,OverlayScrollbar,ReducedReferrerGranularity', '--disable-features=InstalledApp']
23:00:11 DEBUG    init       app:__init__:562 Initializing application...
23:00:11 DEBUG    ipc        ipc:send_to_running_instance:476 Connecting to /run/user/1000/qutebrowser/ipc-7771fbb20af6ef10827c593daa3aff7b
23:00:11 DEBUG    ipc        ipc:send_to_running_instance:506 No existing instance present (error 2)
23:00:11 DEBUG    init       ipc:send_or_listen:536 Starting IPC server...
23:00:11 DEBUG    ipc        ipc:__init__:210 Not calling setSocketOptions
23:00:11 DEBUG    ipc        ipc:listen:221 Listening as /run/user/1000/qutebrowser/ipc-7771fbb20af6ef10827c593daa3aff7b
23:00:11 DEBUG    init       app:init:145 Starting init...
23:00:11 DEBUG    extensions loader:_load_component:126 Importing qutebrowser.components.adblockcommands
23:00:11 DEBUG    extensions loader:_load_component:126 Importing qutebrowser.components.braveadblock
23:00:11 DEBUG    extensions loader:_load_component:134 Running init hook 'init'
23:00:11 DEBUG    extensions loader:_load_component:126 Importing qutebrowser.components.caretcommands
23:00:11 DEBUG    extensions loader:_load_component:126 Importing qutebrowser.components.hostblock
23:00:11 DEBUG    extensions loader:_load_component:134 Running init hook 'init'
23:00:11 DEBUG    network    hostblock:_should_be_used:83 Configured adblock method auto, adblock library usable: False
23:00:11 INFO     message    message:info:83 Run :adblock-update to get adblock lists.
23:00:11 DEBUG    extensions loader:_load_component:126 Importing qutebrowser.components.misccommands
23:00:11 DEBUG    extensions loader:_load_component:126 Importing qutebrowser.components.readlinecommands
23:00:11 DEBUG    extensions loader:_load_component:126 Importing qutebrowser.components.scrollcommands
23:00:11 DEBUG    extensions loader:_load_component:126 Importing qutebrowser.components.utils.blockutils
23:00:11 DEBUG    extensions loader:_load_component:126 Importing qutebrowser.components.zoomcommands
23:00:11 DEBUG    init       app:_init_modules:454 Initializing logging from config...
23:00:11 DEBUG    init       log:init_from_config:550 --debug flag overrides log configs
23:00:11 DEBUG    init       app:_init_modules:458 Initializing save manager...
23:00:11 DEBUG    init       app:_init_modules:464 Checking backend requirements...
23:00:11 DEBUG    init       app:_init_modules:467 Initializing prompts...
23:00:11 DEBUG    init       app:_init_modules:470 Initializing network...
23:00:12 DEBUG    init       app:_init_modules:473 Initializing proxy...
23:00:12 DEBUG    init       app:_init_modules:477 Initializing downloads...
23:00:12 DEBUG    init       app:_init_modules:483 Initializing web history...
23:00:12 DEBUG    sql        sql:run:334 pragma user_version
23:00:12 DEBUG    sql        sql:run:334 SELECT value FROM CompletionMetaInfo WHERE key = :key
23:00:12 DEBUG    sql        sql:run:338     {':key': 'force_rebuild'}
23:00:12 DEBUG    sql        sql:run:334 SELECT value FROM CompletionMetaInfo WHERE key = :key
23:00:12 DEBUG    sql        sql:run:338     {':key': 'excluded_patterns'}
23:00:12 DEBUG    init       debug:__exit__:306 Initializing sql/history took 0.00156 seconds.
23:00:12 DEBUG    init       app:_init_modules:492 Initializing command history...
23:00:12 DEBUG    init       lineparser:__init__:156 Reading /home/amy/.local/share/qutebrowser/cmd-history
23:00:12 DEBUG    init       app:_init_modules:495 Initializing websettings...
23:00:12 DEBUG    init       webenginesettings:init:496 Initializing qute://* handler...
23:00:12 DEBUG    init       webenginesettings:init:500 Initializing request interceptor...
23:00:12 DEBUG    init       webenginesettings:init:505 Initializing QtWebEngine downloads...
23:00:12 DEBUG    init       webenginesettings:init:511 Initializing notification presenter...
23:00:12 DEBUG    misc       elf:parse_webenginecore:325 QtWebEngine .so found at /usr/lib/libQt5WebEngineCore.so.5.15.2
23:00:12 DEBUG    misc       elf:parse_webenginecore:331 Got versions from ELF: Versions(webengine='5.15.2', chromium='87.0.4280.144')
23:00:12 DEBUG    misc       elf:parse_webenginecore:325 QtWebEngine .so found at /usr/lib/libQt5WebEngineCore.so.5.15.2
23:00:12 DEBUG    misc       elf:parse_webenginecore:331 Got versions from ELF: Versions(webengine='5.15.2', chromium='87.0.4280.144')
23:00:12 DEBUG    init       webenginesettings:init:514 Initializing global settings...
23:00:12 DEBUG    init       webenginesettings:init:518 Initializing profiles...
23:00:12 DEBUG    misc       elf:parse_webenginecore:325 QtWebEngine .so found at /usr/lib/libQt5WebEngineCore.so.5.15.2
23:00:12 DEBUG    misc       elf:parse_webenginecore:331 Got versions from ELF: Versions(webengine='5.15.2', chromium='87.0.4280.144')
23:00:12 DEBUG    config     webenginesettings:set_dictionary_language:328 Found dicts: []
23:00:12 DEBUG    config     webenginesettings:set_dictionary_language:328 Found dicts: []
23:00:12 DEBUG    init       webenginesettings:init:523 Misc initialization...
23:00:12 DEBUG    config     config:_set_value:351 Config option changed: content.headers.user_agent = Mozilla/5.0 ({os_info}) AppleWebKit/{webkit_version} (KHTML, like Gecko) {upstream_browser_key}/{upstream_browser_version} Safari/{webkit_version}
23:00:12 DEBUG    config     config:_set_value:351 Config option changed: content.headers.user_agent = Mozilla/5.0 ({os_info}; rv:90.0) Gecko/20100101 Firefox/90.0
23:00:12 DEBUG    config     config:_set_value:351 Config option changed: content.headers.user_agent = Mozilla/5.0 ({os_info}) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99 Safari/537.36
23:00:12 DEBUG    config     config:_set_value:351 Config option changed: content.headers.accept_language = 
23:00:12 DEBUG    config     config:_set_value:351 Config option changed: content.javascript.enabled = True
23:00:12 DEBUG    config     config:_set_value:351 Config option changed: content.javascript.enabled = True
23:00:12 DEBUG    config     config:_set_value:351 Config option changed: content.images = True
23:00:12 DEBUG    config     config:_set_value:351 Config option changed: content.images = True
23:00:12 DEBUG    config     config:_set_value:351 Config option changed: content.cookies.accept = all
23:00:12 DEBUG    config     config:_set_value:351 Config option changed: content.cookies.accept = all
23:00:12 DEBUG    config     config:_set_value:351 Config option changed: content.javascript.enabled = True
23:00:12 DEBUG    config     config:_set_value:351 Config option changed: content.javascript.enabled = True
23:00:12 DEBUG    init       app:_init_modules:499 Initializing sessions...
23:00:12 DEBUG    init       app:_init_modules:505 Initializing quickmarks...
23:00:12 DEBUG    init       lineparser:__init__:156 Reading /home/amy/.config/qutebrowser/quickmarks
23:00:12 DEBUG    init       app:_init_modules:509 Initializing bookmarks...
23:00:12 DEBUG    init       lineparser:__init__:156 Reading /home/amy/.config/qutebrowser/bookmarks/urls
23:00:12 DEBUG    init       app:_init_modules:513 Initializing cookies...
23:00:12 DEBUG    init       app:_init_modules:516 Initializing cache...
23:00:12 DEBUG    init       app:_init_modules:519 Initializing downloads...
23:00:12 DEBUG    init       networkmanager:__init__:159 Initializing NetworkManager
23:00:12 DEBUG    init       networkmanager:__init__:166 NetworkManager init done
23:00:12 DEBUG    init       app:_init_modules:522 Initializing Greasemonkey...
23:00:12 DEBUG    greasemonkey greasemonkey:load_scripts:307 Reading scripts from: /home/amy/.local/share/qutebrowser/greasemonkey
23:00:12 DEBUG    greasemonkey greasemonkey:load_scripts:307 Reading scripts from: /home/amy/.config/qutebrowser/greasemonkey
23:00:12 DEBUG    init       app:_init_modules:525 Misc initialization...
23:00:12 DEBUG    init       app:init:165 Initializing eventfilter...
23:00:12 DEBUG    init       app:init:168 Connecting signals...
23:00:12 DEBUG    init       app:_process_args:220 Initializing main window...
23:00:12 DEBUG    init       mainwindow:_init_downloadmanager:355 Initializing downloads...
23:00:12 DEBUG    statusbar  bar:_hide_cmd_widget:361 Hiding cmd widget
23:00:12 DEBUG    init       mainwindow:__init__:249 Initializing modes...
23:00:12 DEBUG    init       mainwindow:_load_geometry:465 Loading mainwindow from b'\x01\xd9\xd0\xcb\x00\x03\x00\x00\x00\x00\x002\x00\x00\x002\x00\x00\x04\xad\x00\x00\x04e\x00\x00\x002\x00\x00\x002\x00\x00\x03Q\x00\x00\x02\x89\x00\x00\x00\x00\x02\x00\x00\x00\x07\x80\x00\x00\x002\x00\x00\x002\x00\x00\x04\xad\x00\x00\x04e'
23:00:12 DEBUG    init       mainwindow:_init_geometry:292 Initial main window geometry: PyQt5.QtCore.QRect(50, 50, 800, 600)
23:00:12 DEBUG    init       app:_open_startpage:337 Opening start pages
23:00:12 DEBUG    url        urlutils:get_path_if_valid:368 Checking if 'https://start.duckduckgo.com' is a path
23:00:12 DEBUG    url        urlutils:fuzzy_url:226 URL is a fuzzy address
23:00:12 DEBUG    url        urlutils:fuzzy_url:228 Converting fuzzy term 'https://start.duckduckgo.com' to URL -> https://start.duckduckgo.com
23:00:12 DEBUG    webview    tabbedbrowser:tabopen:597 Creating new tab with URL PyQt5.QtCore.QUrl('https://start.duckduckgo.com'), background None, related True, idx None
23:00:12 DEBUG    webview    tabbedbrowser:_get_new_tab_idx:684 tabs.new_position next -> opening new tab at -1, next left: 0 / right: 0
23:00:12 DEBUG    modes      tabbedbrowser:_on_current_changed:852 Current tab changed, focusing <qutebrowser.browser.webengine.webenginetab.WebEngineTab tab_id=0 url=''>
23:00:12 DEBUG    modes      tabbedbrowser:_on_current_changed:859 Mode before tab change: normal (mode_on_change = normal)
23:00:12 DEBUG    modes      modeman:leave:424 Ignoring leave request for KeyMode.hint (reason tab changed) as we're in mode KeyMode.normal
23:00:12 DEBUG    modes      modeman:leave:424 Ignoring leave request for KeyMode.caret (reason tab changed) as we're in mode KeyMode.normal
23:00:12 DEBUG    modes      modeman:leave:424 Ignoring leave request for KeyMode.insert (reason tab changed) as we're in mode KeyMode.normal
23:00:12 DEBUG    modes      modeman:leave:424 Ignoring leave request for KeyMode.passthrough (reason tab changed) as we're in mode KeyMode.normal
23:00:12 DEBUG    modes      tabbedbrowser:_on_current_changed:870 Mode after tab change: normal (mode_on_change = normal)
23:00:12 DEBUG    webview    browsertab:_on_before_load_started:1042 Going to start loading: https://start.duckduckgo.com
23:00:12 DEBUG    webview    tabbedbrowser:_on_title_changed:760 Changing title for idx 0 to 'https://start.duckduckgo.com'
23:00:12 DEBUG    misc       eventfilter:eventFilter:53 <qutebrowser.browser.webengine.webview.WebEngineView object at 0x7f4bcbb22a70> got new child <PyQt5.QtWidgets.QWidget object at 0x7f4bcbb23520>, installing filter
23:00:12 DEBUG    init       app:_process_args:239 Init finished after 0.647666s
23:00:12 DEBUG    init       app:init:177 Init done!
23:00:12 DEBUG    misc       mainwindow:_update_overlay_geometry:350 new geometry for <qutebrowser.mainwindow.messageview.MessageView object at 0x7f4bcc72dd80>: PyQt5.QtCore.QRect(0, 563, 801, 21)
23:00:12 DEBUG    misc       mainwindow:_update_overlay_geometry:350 new geometry for <qutebrowser.mainwindow.messageview.MessageView object at 0x7f4bcc72dd80>: PyQt5.QtCore.QRect(0, 1039, 1149, 21)
23:00:12 DEBUG    misc       app:on_focus_object_changed:581 Focus object changed: <PyQt5.QtWidgets.QWidget object at 0x7f4bcbb23520>
23:00:12 DEBUG    webview    browsertab:_on_navigation_request:1066 navigation request: url https://start.duckduckgo.com/, type Type.typed, is_main_frame True
23:00:12 DEBUG    webview    webenginetab:_store_match_data:152 Active search match: 0/0
23:00:12 DEBUG    webview    browsertab:_set_load_status:1008 load status for <qutebrowser.browser.webengine.webenginetab.WebEngineTab tab_id=0 url=''>: LoadStatus.loading
23:00:12 DEBUG    signals    signalfilter:_filter_signals:87 emitting: cur_load_status_changed(<LoadStatus.loading: 6>) (tab 0)
23:00:12 DEBUG    signals    signalfilter:_filter_signals:87 emitting: cur_load_started() (tab 0)
23:00:12 DEBUG    signals    signalfilter:_filter_signals:87 emitting: cur_url_changed(PyQt5.QtCore.QUrl('https://start.duckduckgo.com/')) (tab 0)
23:00:12 DEBUG    webview    tabbedbrowser:_on_title_changed:760 Changing title for idx 0 to 'https://start.duckduckgo.com'
23:00:12 DEBUG    webview    tabbedbrowser:_on_title_changed:760 Changing title for idx 0 to 'DuckDuckGo — Privacy, simplified.'
23:00:12 DEBUG    webview    browsertab:_on_navigation_request:1066 navigation request: url https://start.duckduckgo.com/post3.html, type Type.other, is_main_frame False
23:00:12 DEBUG    webview    browsertab:_set_load_status:1008 load status for <qutebrowser.browser.webengine.webenginetab.WebEngineTab tab_id=0 url='https://start.duckduckgo.com/'>: LoadStatus.success_https
23:00:12 DEBUG    signals    signalfilter:_filter_signals:87 emitting: cur_load_status_changed(<LoadStatus.success_https: 3>) (tab 0)
23:00:12 DEBUG    sql        sql:run:334 INSERT INTO History (url, title, atime, redirect) values(:url, :title, :atime, :redirect)
23:00:12 DEBUG    sql        sql:run:338     {':atime': 1657346412, ':redirect': False, ':title': 'DuckDuckGo — Privacy, simplified.', ':url': 'https://start.duckduckgo.com/'}
23:00:12 DEBUG    sql        sql:run:334 REPLACE INTO CompletionHistory (url, title, last_atime) values(:url, :title, :last_atime)
23:00:12 DEBUG    sql        sql:run:338     {':last_atime': 1657346412, ':title': 'DuckDuckGo — Privacy, simplified.', ':url': 'https://start.duckduckgo.com/'}
23:00:12 DEBUG    sessions   sessions:save:337 Saving session _autosave to /home/amy/.local/share/qutebrowser/sessions/_autosave.yml...
23:00:12 DEBUG    signals    signalfilter:_filter_signals:87 emitting: cur_load_finished(True) (tab 0)
23:00:12 DEBUG    modes      modeman:leave:424 Ignoring leave request for KeyMode.insert (reason load started) as we're in mode KeyMode.normal
23:00:12 DEBUG    modes      tabbedbrowser:_leave_modes_on_load:740 Ignoring leave_on_load request due to setting.
23:00:13 DEBUG    modes      modeman:_handle_keypress:287 got keypress in mode KeyMode.normal - delegating to <qutebrowser.keyinput.modeparsers.NormalKeyParser>
23:00:13 DEBUG    keyboard   basekeyparser:_debug_log:216 NormalKeyParser for mode normal: Got key: 0x1000053 / modifiers: 0x0 / text: '<Super L>' / dry_run True
23:00:13 DEBUG    keyboard   basekeyparser:_debug_log:216 NormalKeyParser for mode normal: Trying match without modifiers
23:00:13 DEBUG    keyboard   basekeyparser:_debug_log:216 NormalKeyParser for mode normal: Trying match with key_mappings
23:00:13 DEBUG    modes      modeman:_handle_keypress:312 match: 0, forward_unbound_keys: auto, passthrough: False, is_non_alnum: True, dry_run: True --> filter: False (focused: <PyQt5.QtWidgets.QWidget object at 0x7f4bcbb23a30>)
23:00:13 DEBUG    modes      modeman:_handle_keypress:287 got keypress in mode KeyMode.normal - delegating to <qutebrowser.keyinput.modeparsers.NormalKeyParser>
23:00:13 DEBUG    keyboard   basekeyparser:_debug_log:216 NormalKeyParser for mode normal: Got key: 0x1000053 / modifiers: 0x0 / text: '<Super L>' / dry_run True
23:00:13 DEBUG    keyboard   basekeyparser:_debug_log:216 NormalKeyParser for mode normal: Trying match without modifiers
23:00:13 DEBUG    keyboard   basekeyparser:_debug_log:216 NormalKeyParser for mode normal: Trying match with key_mappings
23:00:13 DEBUG    modes      modeman:_handle_keypress:312 match: 0, forward_unbound_keys: auto, passthrough: False, is_non_alnum: True, dry_run: True --> filter: False (focused: <PyQt5.QtWidgets.QWidget object at 0x7f4bcbb23a30>)
23:00:13 DEBUG    modes      modeman:_handle_keypress:287 got keypress in mode KeyMode.normal - delegating to <qutebrowser.keyinput.modeparsers.NormalKeyParser>
23:00:13 DEBUG    keyboard   basekeyparser:_debug_log:216 NormalKeyParser for mode normal: Got key: 0x1000053 / modifiers: 0x0 / text: '<Super L>' / dry_run False
23:00:13 DEBUG    keyboard   basekeyparser:_debug_log:216 NormalKeyParser for mode normal: Trying match without modifiers
23:00:13 DEBUG    keyboard   basekeyparser:_debug_log:216 NormalKeyParser for mode normal: Trying match with key_mappings
23:00:13 DEBUG    keyboard   basekeyparser:_debug_log:216 NormalKeyParser for mode normal: Giving up with '<Super L>', no matches
23:00:13 DEBUG    keyboard   basekeyparser:_debug_log:216 NormalKeyParser for mode normal: Clearing keystring (was: <Super L>).
23:00:13 DEBUG    modes      modeman:_handle_keypress:312 match: 0, forward_unbound_keys: auto, passthrough: False, is_non_alnum: True, dry_run: False --> filter: False (focused: <PyQt5.QtWidgets.QWidget object at 0x7f4bcbb23a30>)
23:00:13 DEBUG    destroy    mainwindow:closeEvent:691 Closing window 0
23:00:13 DEBUG    misc       app:on_focus_object_changed:581 Focus object changed: <qutebrowser.mainwindow.tabwidget.TabBar count=0>
23:00:13 DEBUG    destroy    quitter:shutdown:220 Shutting down with status 0, session None...
23:00:13 DEBUG    prompt     prompt:shutdown:138 Shutting down with loops []
23:00:13 DEBUG    destroy    quitter:_shutdown_2:242 Stage 2 of shutting down...
23:00:13 DEBUG    save       savemanager:save:95 Save of yaml-config requested - dirty False, save_on_exit False, is_exit True, force False -> False
23:00:13 DEBUG    save       savemanager:save:95 Save of state-config requested - dirty False, save_on_exit True, is_exit True, force False -> True
23:00:13 DEBUG    save       savemanager:save:95 Save of command-history requested - dirty False, save_on_exit False, is_exit True, force False -> False
23:00:13 DEBUG    save       savemanager:save:95 Save of quickmark-manager requested - dirty False, save_on_exit False, is_exit True, force False -> False
23:00:13 DEBUG    save       savemanager:save:95 Save of bookmark-manager requested - dirty False, save_on_exit False, is_exit True, force False -> False
23:00:13 DEBUG    save       savemanager:save:95 Save of cookies requested - dirty False, save_on_exit False, is_exit True, force False -> False
23:00:13 DEBUG    ipc        ipc:shutdown:442 Shutting down IPC (socket 0x7f4bee344120)
23:00:13 DEBUG    destroy    quitter:_shutdown_2:254 Deferring QApplication::exit...
23:00:13 DEBUG    destroy    objreg:on_destroyed:126 schedule removal: 0
23:00:13 DEBUG    destroy    objreg:on_destroyed:126 schedule removal: tab
23:00:13 DEBUG    misc       eventfilter:eventFilter:63 <PyQt5.QtWidgets.QWidget object at 0x7f4bcbb23b50>: removed child <PyQt5.QtCore.QObject object at 0x7f4bcbb23d00>
23:00:13 DEBUG    misc       eventfilter:eventFilter:63 <PyQt5.QtWidgets.QWidget object at 0x7f4bcbb23b50>: removed child <PyQt5.QtWidgets.QWidget object at 0x7f4bcbb23d00>
23:00:13 DEBUG    destroy    quitter:_shutdown_3:261 Now calling QApplication::exit.
23:00:13 DEBUG    destroy    objreg:on_destroyed:126 schedule removal: 0
23:00:13 DEBUG    destroy    objreg:on_destroyed:126 schedule removal: main-window
23:00:13 DEBUG    destroy    objreg:on_destroyed:126 schedule removal: last-focused-main-window
23:00:13 DEBUG    destroy    objreg:on_destroyed:126 schedule removal: last-visible-main-window
23:00:13 DEBUG    destroy    objreg:on_destroyed:126 schedule removal: tabbed-browser
23:00:13 DEBUG    destroy    objreg:on_destroyed:126 schedule removal: status-command
23:00:13 DEBUG    destroy    objreg:on_destroyed:126 schedule removal: completion
23:00:13 DEBUG    destroy    objreg:on_destroyed:126 schedule removal: mode-manager
23:00:13 DEBUG    destroy    objreg:on_destroyed:126 schedule removal: hintmanager
23:00:13 DEBUG    destroy    objreg:on_destroyed:126 schedule removal: prompt-container
23:00:13 DEBUG    destroy    objreg:on_destroyed:126 schedule removal: download-model
23:00:13 DEBUG    destroy    objreg:on_destroyed:126 schedule removal: command-history
23:00:13 DEBUG    destroy    objreg:on_destroyed:126 schedule removal: crash-handler
23:00:13 DEBUG    destroy    objreg:on_destroyed:126 schedule removal: save-manager
23:00:13 DEBUG    destroy    objreg:on_destroyed:126 schedule removal: webengine-download-manager
23:00:13 DEBUG    destroy    objreg:on_destroyed:126 schedule removal: quickmark-manager
23:00:13 DEBUG    destroy    objreg:on_destroyed:126 schedule removal: bookmark-manager
23:00:13 DEBUG    destroy    objreg:on_destroyed:126 schedule removal: qtnetwork-download-manager
/home/amy%qutebrowser --debug                                                                                                                                                                                                                 
23:00:14 DEBUG    init       earlyinit:init_log:276 Log initialized.
23:00:14 DEBUG    init       app:run:85 Main process PID: 6166
23:00:14 DEBUG    init       app:run:87 Initializing directories...
23:00:14 DEBUG    init       standarddir:init:354 Base directory: None
23:00:14 DEBUG    misc       standarddir:_writable_location:274 writable location for ConfigLocation: /home/amy/.config
23:00:14 DEBUG    misc       standarddir:_writable_location:274 writable location for AppDataLocation: /home/amy/.local/share
23:00:14 DEBUG    misc       standarddir:_writable_location:274 writable location for CacheLocation: /home/amy/.cache
23:00:14 DEBUG    misc       standarddir:_writable_location:274 writable location for DownloadLocation: /home/amy/Downloads
23:00:14 DEBUG    misc       standarddir:_writable_location:274 writable location for RuntimeLocation: /run/user/1000
23:00:14 DEBUG    init       app:run:91 Initializing config...
23:00:14 DEBUG    misc       elf:parse_webenginecore:325 QtWebEngine .so found at /usr/lib/libQt5WebEngineCore.so.5.15.2
23:00:14 DEBUG    misc       elf:parse_webenginecore:331 Got versions from ELF: Versions(webengine='5.15.2', chromium='87.0.4280.144')
23:00:14 DEBUG    misc       elf:parse_webenginecore:325 QtWebEngine .so found at /usr/lib/libQt5WebEngineCore.so.5.15.2
23:00:14 DEBUG    misc       elf:parse_webenginecore:331 Got versions from ELF: Versions(webengine='5.15.2', chromium='87.0.4280.144')
23:00:14 DEBUG    init       app:run:94 Initializing application...
23:00:14 DEBUG    misc       elf:parse_webenginecore:325 QtWebEngine .so found at /usr/lib/libQt5WebEngineCore.so.5.15.2
23:00:14 DEBUG    misc       elf:parse_webenginecore:331 Got versions from ELF: Versions(webengine='5.15.2', chromium='87.0.4280.144')
23:00:14 DEBUG    init       darkmode:settings:379 Darkmode variant: qt_515_3
23:00:14 DEBUG    init       app:__init__:555 Commandline args: ['--debug']
23:00:14 DEBUG    init       app:__init__:556 Parsed: Namespace(basedir=None, config_py=None, version=False, temp_settings=[], session=None, override_restore=False, target=None, backend=None, desktop_file_name='org.qutebrowser.qutebrowser', untrusted_args=False, json_args=None, temp_basedir_restarted=False, enable_webengine_inspector=False, loglevel=None, logfilter=None, loglines=2000, debug=True, json_logging=False, color=True, force_color=False, nowindow=False, temp_basedir=False, no_err_windows=False, qt_arg=None, qt_flag=None, debug_flags=[], command=[], url=[])
23:00:14 DEBUG    init       app:__init__:557 Qt arguments: ['--enable-features=WebRTCPipeWireCapturer,OverlayScrollbar,ReducedReferrerGranularity', '--disable-features=InstalledApp']
23:00:14 DEBUG    init       app:__init__:562 Initializing application...
23:00:14 DEBUG    ipc        ipc:send_to_running_instance:476 Connecting to /run/user/1000/qutebrowser/ipc-7771fbb20af6ef10827c593daa3aff7b
23:00:14 DEBUG    ipc        ipc:send_to_running_instance:506 No existing instance present (error 2)
23:00:14 DEBUG    init       ipc:send_or_listen:536 Starting IPC server...
23:00:14 DEBUG    ipc        ipc:__init__:210 Not calling setSocketOptions
23:00:14 DEBUG    ipc        ipc:listen:221 Listening as /run/user/1000/qutebrowser/ipc-7771fbb20af6ef10827c593daa3aff7b
23:00:14 DEBUG    init       app:init:145 Starting init...
23:00:14 DEBUG    extensions loader:_load_component:126 Importing qutebrowser.components.adblockcommands
23:00:14 DEBUG    extensions loader:_load_component:126 Importing qutebrowser.components.braveadblock
23:00:14 DEBUG    extensions loader:_load_component:134 Running init hook 'init'
23:00:14 DEBUG    extensions loader:_load_component:126 Importing qutebrowser.components.caretcommands
23:00:14 DEBUG    extensions loader:_load_component:126 Importing qutebrowser.components.hostblock
23:00:14 DEBUG    extensions loader:_load_component:134 Running init hook 'init'
23:00:14 DEBUG    network    hostblock:_should_be_used:83 Configured adblock method auto, adblock library usable: False
23:00:14 INFO     message    message:info:83 Run :adblock-update to get adblock lists.
23:00:14 DEBUG    extensions loader:_load_component:126 Importing qutebrowser.components.misccommands
23:00:14 DEBUG    extensions loader:_load_component:126 Importing qutebrowser.components.readlinecommands
23:00:14 DEBUG    extensions loader:_load_component:126 Importing qutebrowser.components.scrollcommands
23:00:14 DEBUG    extensions loader:_load_component:126 Importing qutebrowser.components.utils.blockutils
23:00:14 DEBUG    extensions loader:_load_component:126 Importing qutebrowser.components.zoomcommands
23:00:14 DEBUG    init       app:_init_modules:454 Initializing logging from config...
23:00:14 DEBUG    init       log:init_from_config:550 --debug flag overrides log configs
23:00:14 DEBUG    init       app:_init_modules:458 Initializing save manager...
23:00:14 DEBUG    init       app:_init_modules:464 Checking backend requirements...
23:00:14 DEBUG    init       app:_init_modules:467 Initializing prompts...
23:00:14 DEBUG    init       app:_init_modules:470 Initializing network...
23:00:14 DEBUG    init       app:_init_modules:473 Initializing proxy...
23:00:14 DEBUG    init       app:_init_modules:477 Initializing downloads...
23:00:14 DEBUG    init       app:_init_modules:483 Initializing web history...
23:00:14 DEBUG    sql        sql:run:334 pragma user_version
23:00:14 DEBUG    sql        sql:run:334 SELECT value FROM CompletionMetaInfo WHERE key = :key
23:00:14 DEBUG    sql        sql:run:338     {':key': 'force_rebuild'}
23:00:14 DEBUG    sql        sql:run:334 SELECT value FROM CompletionMetaInfo WHERE key = :key
23:00:14 DEBUG    sql        sql:run:338     {':key': 'excluded_patterns'}
23:00:14 DEBUG    init       debug:__exit__:306 Initializing sql/history took 0.001522 seconds.
23:00:14 DEBUG    init       app:_init_modules:492 Initializing command history...
23:00:14 DEBUG    init       lineparser:__init__:156 Reading /home/amy/.local/share/qutebrowser/cmd-history
23:00:14 DEBUG    init       app:_init_modules:495 Initializing websettings...
23:00:14 DEBUG    init       webenginesettings:init:496 Initializing qute://* handler...
23:00:14 DEBUG    init       webenginesettings:init:500 Initializing request interceptor...
23:00:14 DEBUG    init       webenginesettings:init:505 Initializing QtWebEngine downloads...
23:00:14 DEBUG    init       webenginesettings:init:511 Initializing notification presenter...
23:00:14 DEBUG    misc       elf:parse_webenginecore:325 QtWebEngine .so found at /usr/lib/libQt5WebEngineCore.so.5.15.2
23:00:14 DEBUG    misc       elf:parse_webenginecore:331 Got versions from ELF: Versions(webengine='5.15.2', chromium='87.0.4280.144')
23:00:14 DEBUG    misc       elf:parse_webenginecore:325 QtWebEngine .so found at /usr/lib/libQt5WebEngineCore.so.5.15.2
23:00:14 DEBUG    misc       elf:parse_webenginecore:331 Got versions from ELF: Versions(webengine='5.15.2', chromium='87.0.4280.144')
23:00:14 DEBUG    init       webenginesettings:init:514 Initializing global settings...
23:00:14 DEBUG    init       webenginesettings:init:518 Initializing profiles...
23:00:14 DEBUG    misc       elf:parse_webenginecore:325 QtWebEngine .so found at /usr/lib/libQt5WebEngineCore.so.5.15.2
23:00:14 DEBUG    misc       elf:parse_webenginecore:331 Got versions from ELF: Versions(webengine='5.15.2', chromium='87.0.4280.144')
23:00:14 DEBUG    config     webenginesettings:set_dictionary_language:328 Found dicts: []
23:00:14 DEBUG    config     webenginesettings:set_dictionary_language:328 Found dicts: []
23:00:14 DEBUG    init       webenginesettings:init:523 Misc initialization...
23:00:14 DEBUG    config     config:_set_value:351 Config option changed: content.headers.user_agent = Mozilla/5.0 ({os_info}) AppleWebKit/{webkit_version} (KHTML, like Gecko) {upstream_browser_key}/{upstream_browser_version} Safari/{webkit_version}
23:00:14 DEBUG    config     config:_set_value:351 Config option changed: content.headers.user_agent = Mozilla/5.0 ({os_info}; rv:90.0) Gecko/20100101 Firefox/90.0
23:00:14 DEBUG    config     config:_set_value:351 Config option changed: content.headers.user_agent = Mozilla/5.0 ({os_info}) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99 Safari/537.36
23:00:14 DEBUG    config     config:_set_value:351 Config option changed: content.headers.accept_language = 
23:00:14 DEBUG    config     config:_set_value:351 Config option changed: content.javascript.enabled = True
23:00:14 DEBUG    config     config:_set_value:351 Config option changed: content.javascript.enabled = True
23:00:14 DEBUG    config     config:_set_value:351 Config option changed: content.images = True
23:00:14 DEBUG    config     config:_set_value:351 Config option changed: content.images = True
23:00:14 DEBUG    config     config:_set_value:351 Config option changed: content.cookies.accept = all
23:00:14 DEBUG    config     config:_set_value:351 Config option changed: content.cookies.accept = all
23:00:14 DEBUG    config     config:_set_value:351 Config option changed: content.javascript.enabled = True
23:00:14 DEBUG    config     config:_set_value:351 Config option changed: content.javascript.enabled = True
23:00:14 DEBUG    init       app:_init_modules:499 Initializing sessions...
23:00:14 DEBUG    init       app:_init_modules:505 Initializing quickmarks...
23:00:14 DEBUG    init       lineparser:__init__:156 Reading /home/amy/.config/qutebrowser/quickmarks
23:00:14 DEBUG    init       app:_init_modules:509 Initializing bookmarks...
23:00:14 DEBUG    init       lineparser:__init__:156 Reading /home/amy/.config/qutebrowser/bookmarks/urls
23:00:14 DEBUG    init       app:_init_modules:513 Initializing cookies...
23:00:14 DEBUG    init       app:_init_modules:516 Initializing cache...
23:00:14 DEBUG    init       app:_init_modules:519 Initializing downloads...
23:00:14 DEBUG    init       networkmanager:__init__:159 Initializing NetworkManager
23:00:14 DEBUG    init       networkmanager:__init__:166 NetworkManager init done
23:00:14 DEBUG    init       app:_init_modules:522 Initializing Greasemonkey...
23:00:14 DEBUG    greasemonkey greasemonkey:load_scripts:307 Reading scripts from: /home/amy/.local/share/qutebrowser/greasemonkey
23:00:14 DEBUG    greasemonkey greasemonkey:load_scripts:307 Reading scripts from: /home/amy/.config/qutebrowser/greasemonkey
23:00:14 DEBUG    init       app:_init_modules:525 Misc initialization...
23:00:14 DEBUG    init       app:init:165 Initializing eventfilter...
23:00:14 DEBUG    init       app:init:168 Connecting signals...
23:00:14 DEBUG    init       app:_process_args:220 Initializing main window...
23:00:14 DEBUG    init       mainwindow:_init_downloadmanager:355 Initializing downloads...
**How to reproduce**

unsure, i opened and closed and reopened qutebrowser with --debug and checked ipc file over and over

@The-Compiler
Copy link
Member

I don't follow from your description - how are the IPC file and what seems like a hang (?) at "initializing downloads" related?

@amydotsh
Copy link
Author

amydotsh commented Jul 9, 2022

i tried to look at other similar issues to find a pattern and i am probably completely wrong, i dont know how they are related or if theres a relation at all or if i missed what the issue is entirely. i can provide any more info if needed.

@toofar
Copy link
Member

toofar commented Jul 10, 2022

I feel like the mentions of ipc and the --debug flag are throwing me off so I'm not sure I'm reading this right. Are you saying that in some situations if you close qutebrowser and then open it again real quick the new instance hangs?

If so, how did you close it in this case? It looks like via your window manager?
Do you know if putting more time between closing the first one and opening the second one makes the second one start up more reliably?
Can you link the similar issues you saw please?

@amydotsh
Copy link
Author

amydotsh commented Jul 10, 2022

the timing doesnt seem to matter from what i tested. i usually close it with my window manager.

https://www.reddit.com/r/qutebrowser/comments/t2jj23/qute_doesnt_appears_and_no_errors/ seems to be the most similar problem, which the op is also on void linux musl

found this issue which was fixed(i think, its not closed though) and not the same but seems similar #6325

@The-Compiler
Copy link
Member

The-Compiler commented Jul 10, 2022

From that Reddit post:

If you launch again with --temp-basedir --debug, I assume it will also hang at the "initializing downloads" line, right? What happens if you take the "Main process PID" from the log (second line or so) and run kill -USR1 PID with that PID? Hopefully qutebrowser should print a stacktrace indicating where it's hanging.

Could you please give that a try? If you can't reproduce with --temp-basedir, please still give it a try. I think you can cat /proc/PID/fd/1 to see the output, if I remember correctly.

@amydotsh
Copy link
Author

catting /proc/PID/fd/1 after using kill -USR1 PID doesnt do anything, cat just sits there and i have to ctrl+c
heres output after doing kill -USR1 PID though.

Current thread 0x00007f9bca56ed88 (most recent call first):
  File "/usr/lib/python3.10/site-packages/qutebrowser/browser/downloadview.py", line 75 in __init__
  File "/usr/lib/python3.10/site-packages/qutebrowser/mainwindow/mainwindow.py", line 226 in __init__
  File "/usr/lib/python3.10/site-packages/qutebrowser/app.py", line 229 in _process_args
  File "/usr/lib/python3.10/site-packages/qutebrowser/app.py", line 171 in init
  File "/usr/lib/python3.10/site-packages/qutebrowser/app.py", line 123 in run
  File "/usr/lib/python3.10/site-packages/qutebrowser/qutebrowser.py", line 245 in main
  File "/usr/bin/qutebrowser", line 33 in <module>

also, i found a strange workaround. if i have a config error, or probably anything that creates a popup on startup, qutebrowser always launches.

@The-Compiler
Copy link
Member

The-Compiler commented Jul 10, 2022

So according to that stacktrace, it hangs here:

I have no idea why that would be...

Could you please try do get a C++ stacktrace too? To do so, install gdb, and then do the following:

  • export DEBUGINFOD_URLS="https://debuginfod.s.voidlinux.org/"
  • gdb -ex r --args /usr/bin/python3.10 -m qutebrowser --debug (note it might take longer than usual to start)
  • Once it hangs, press Ctrl-C to get a (gdb) prompt
  • Use bt to get a stacktrace

@amydotsh
Copy link
Author

when i type gdb /usr/bin/python3.10 -ex r --args -m qutebrowser it says

-m: No such file or directory.
Starting program:  qutebrowser
No executable file specified.
Use the "file" or "exec-file" command.

also i cannot ctrl-c qutebrowser if it hangs. i just close my terminal to quit qutebrowser. previously i would type qutebrowser&exit which would result in nothing opening even though the processes are running, and killing the processes doesnt work and opening qutebrowser again says it attempts to open in already running process or something like that. exiting to tty and logging out and back in didnt kill the process so i just reboot.

i should also mention i've used qutebrowser for a very long time and this only started happening 2 days ago.

@The-Compiler
Copy link
Member

I edited my comment above, my original commandline was wrong, sorry! Please try again with that.

@amydotsh
Copy link
Author

for some reason the debuginfod thing wont connect and it made everything really slow so i redid it without debuginfod

/home/amy%gdb -ex r --args /usr/bin/python3.10 -m qutebrowser --debug                                                         
GNU gdb (GDB) 12.1
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-musl".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/python3.10...

This GDB supports auto-downloading debuginfo from the following URLs:
https://debuginfod.s.voidlinux.org/
Enable debuginfod for this session? (y or [n]) 
Debuginfod has been disabled.
To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit.
(No debugging symbols found in /usr/bin/python3.10)
Starting program: /usr/bin/python3.10 -m qutebrowser --debug
17:19:50 DEBUG    init       earlyinit:init_log:276 Log initialized.
17:19:50 DEBUG    init       app:run:85 Main process PID: 2310
17:19:50 DEBUG    init       app:run:87 Initializing directories...
17:19:50 DEBUG    init       standarddir:init:354 Base directory: None
17:19:50 DEBUG    misc       standarddir:_writable_location:274 writable location for ConfigLocation: /home/amy/.config
17:19:50 DEBUG    misc       standarddir:_writable_location:274 writable location for AppDataLocation: /home/amy/.local/share
17:19:50 DEBUG    misc       standarddir:_writable_location:274 writable location for CacheLocation: /home/amy/.cache
17:19:50 DEBUG    misc       standarddir:_writable_location:274 writable location for DownloadLocation: /home/amy/Downloads
17:19:50 DEBUG    misc       standarddir:_writable_location:274 writable location for RuntimeLocation: /run/user/1000
17:19:50 DEBUG    init       app:run:91 Initializing config...
17:19:50 DEBUG    misc       elf:parse_webenginecore:325 QtWebEngine .so found at /usr/lib/libQt5WebEngineCore.so.5.15.2
17:19:50 DEBUG    misc       elf:parse_webenginecore:331 Got versions from ELF: Versions(webengine='5.15.2', chromium='87.0.4280.144')
17:19:50 DEBUG    misc       elf:parse_webenginecore:325 QtWebEngine .so found at /usr/lib/libQt5WebEngineCore.so.5.15.2
17:19:50 DEBUG    misc       elf:parse_webenginecore:331 Got versions from ELF: Versions(webengine='5.15.2', chromium='87.0.4280.144')
17:19:50 DEBUG    init       app:run:94 Initializing application...
17:19:50 DEBUG    misc       elf:parse_webenginecore:325 QtWebEngine .so found at /usr/lib/libQt5WebEngineCore.so.5.15.2
17:19:50 DEBUG    misc       elf:parse_webenginecore:331 Got versions from ELF: Versions(webengine='5.15.2', chromium='87.0.4280.144')
17:19:50 DEBUG    init       darkmode:settings:379 Darkmode variant: qt_515_3
17:19:50 DEBUG    init       app:__init__:555 Commandline args: ['--debug']
17:19:50 DEBUG    init       app:__init__:556 Parsed: Namespace(basedir=None, config_py=None, version=False, temp_settings=[], session=None, override_restore=False, target=None, backend=None, desktop_file_name='org.qutebrowser.qutebrowser', untrusted_args=False, json_args=None, temp_basedir_restarted=False, enable_webengine_inspector=False, loglevel=None, logfilter=None, loglines=2000, debug=True, json_logging=False, color=True, force_color=False, nowindow=False, temp_basedir=False, no_err_windows=False, qt_arg=None, qt_flag=None, debug_flags=[], command=[], url=[])
17:19:50 DEBUG    init       app:__init__:557 Qt arguments: ['--enable-features=WebRTCPipeWireCapturer,OverlayScrollbar,ReducedReferrerGranularity', '--disable-features=InstalledApp']
[New LWP 2313]
[New LWP 2314]
[New LWP 2315]
[New LWP 2316]
[New LWP 2317]
[New LWP 2318]
[New LWP 2319]
[New LWP 2320]
[New LWP 2321]
[New LWP 2322]
[New LWP 2323]
17:19:51 DEBUG    init       app:__init__:562 Initializing application...
17:19:51 DEBUG    ipc        ipc:send_to_running_instance:476 Connecting to /run/user/1000/qutebrowser/ipc-7771fbb20af6ef10827c593daa3aff7b
17:19:51 DEBUG    ipc        ipc:send_to_running_instance:506 No existing instance present (error 0)
17:19:51 DEBUG    init       ipc:send_or_listen:536 Starting IPC server...
17:19:51 DEBUG    ipc        ipc:__init__:210 Not calling setSocketOptions
17:19:51 DEBUG    ipc        ipc:listen:221 Listening as /run/user/1000/qutebrowser/ipc-7771fbb20af6ef10827c593daa3aff7b
17:19:51 DEBUG    init       app:init:145 Starting init...
[New LWP 2324]
[New LWP 2325]
[New LWP 2326]
[New LWP 2327]
[New LWP 2328]
[New LWP 2329]
[New LWP 2330]
[New LWP 2331]
17:19:51 DEBUG    extensions loader:_load_component:126 Importing qutebrowser.components.adblockcommands
17:19:51 DEBUG    extensions loader:_load_component:126 Importing qutebrowser.components.braveadblock
17:19:51 DEBUG    extensions loader:_load_component:134 Running init hook 'init'
17:19:51 DEBUG    extensions loader:_load_component:126 Importing qutebrowser.components.caretcommands
17:19:51 DEBUG    extensions loader:_load_component:126 Importing qutebrowser.components.hostblock
17:19:51 DEBUG    extensions loader:_load_component:134 Running init hook 'init'
17:19:51 DEBUG    network    hostblock:_should_be_used:83 Configured adblock method auto, adblock library usable: False
17:19:51 INFO     message    message:info:83 Run :adblock-update to get adblock lists.
17:19:51 DEBUG    extensions loader:_load_component:126 Importing qutebrowser.components.misccommands
17:19:51 DEBUG    extensions loader:_load_component:126 Importing qutebrowser.components.readlinecommands
17:19:51 DEBUG    extensions loader:_load_component:126 Importing qutebrowser.components.scrollcommands
17:19:51 DEBUG    extensions loader:_load_component:126 Importing qutebrowser.components.utils.blockutils
17:19:51 DEBUG    extensions loader:_load_component:126 Importing qutebrowser.components.zoomcommands
17:19:51 DEBUG    init       app:_init_modules:454 Initializing logging from config...
17:19:51 DEBUG    init       log:init_from_config:550 --debug flag overrides log configs
17:19:51 DEBUG    init       app:_init_modules:458 Initializing save manager...
17:19:51 DEBUG    init       app:_init_modules:464 Checking backend requirements...
17:19:51 DEBUG    init       app:_init_modules:467 Initializing prompts...
17:19:51 DEBUG    init       app:_init_modules:470 Initializing network...
17:19:51 DEBUG    init       app:_init_modules:473 Initializing proxy...
17:19:51 DEBUG    init       app:_init_modules:477 Initializing downloads...
17:19:51 DEBUG    init       app:_init_modules:483 Initializing web history...
17:19:51 DEBUG    sql        sql:run:334 pragma user_version
17:19:51 DEBUG    sql        sql:run:334 SELECT value FROM CompletionMetaInfo WHERE key = :key
17:19:51 DEBUG    sql        sql:run:338     {':key': 'force_rebuild'}
17:19:51 DEBUG    sql        sql:run:334 SELECT value FROM CompletionMetaInfo WHERE key = :key
17:19:51 DEBUG    sql        sql:run:338     {':key': 'excluded_patterns'}
17:19:51 DEBUG    init       debug:__exit__:306 Initializing sql/history took 0.007191 seconds.
17:19:51 DEBUG    init       app:_init_modules:492 Initializing command history...
17:19:51 DEBUG    init       lineparser:__init__:156 Reading /home/amy/.local/share/qutebrowser/cmd-history
17:19:51 DEBUG    init       app:_init_modules:495 Initializing websettings...
17:19:51 DEBUG    init       webenginesettings:init:496 Initializing qute://* handler...
17:19:51 DEBUG    init       webenginesettings:init:500 Initializing request interceptor...
17:19:51 DEBUG    init       webenginesettings:init:505 Initializing QtWebEngine downloads...
17:19:51 DEBUG    init       webenginesettings:init:511 Initializing notification presenter...
17:19:51 DEBUG    misc       elf:parse_webenginecore:325 QtWebEngine .so found at /usr/lib/libQt5WebEngineCore.so.5.15.2
17:19:51 DEBUG    misc       elf:parse_webenginecore:331 Got versions from ELF: Versions(webengine='5.15.2', chromium='87.0.4280.144')
17:19:51 DEBUG    misc       elf:parse_webenginecore:325 QtWebEngine .so found at /usr/lib/libQt5WebEngineCore.so.5.15.2
17:19:51 DEBUG    misc       elf:parse_webenginecore:331 Got versions from ELF: Versions(webengine='5.15.2', chromium='87.0.4280.144')
17:19:51 DEBUG    init       webenginesettings:init:514 Initializing global settings...
17:19:51 DEBUG    init       webenginesettings:init:518 Initializing profiles...
[New LWP 2332]
[New LWP 2333]
[LWP 2333 exited]
[LWP 2332 exited]
[New LWP 2334]
[Detaching after fork from child process 2335]
[Detaching after fork from child process 2336]
[Detaching after fork from child process 2337]
[New LWP 2340]
[New LWP 2341]
[New LWP 2342]
[New LWP 2343]

Thread 27 "Chrome_IOThread" received signal SIG34, Real-time event 34.
[Switching to LWP 2343]
__cp_end () at src/thread/x86_64/syscall_cp.s:29
29	src/thread/x86_64/syscall_cp.s: No such file or directory.
(gdb) bt
#0  __cp_end () at src/thread/x86_64/syscall_cp.s:29
#1  0x00007ffff7fb5d11 in __syscall_cp_c (nr=281, u=50, v=93825002112640, w=<optimized out>, x=<optimized out>, 
    y=<optimized out>, z=8) at src/thread/pthread_cancel.c:33
#2  0x00007ffff7f718d6 in epoll_pwait (fd=50, ev=0x555555ec0680, cnt=32, to=-1, sigs=0x0) at src/linux/epoll.c:27
#3  0x00007fffe978a7dc in ?? () from /lib/libevent-2.1.so.7
#4  0x00007fffe9780a75 in event_base_loop () from /lib/libevent-2.1.so.7
#5  0x00007fffec3c32d7 in ?? () from /lib/libQt5WebEngineCore.so.5
#6  0x0000555555ec0b00 in ?? ()
#7  0x0001ffffffffffff in ?? ()
#8  0x00007fffd4ddadf0 in ?? ()
#9  0x00007fffd4ddade8 in ?? ()
#10 0x00007fffd4ddae60 in ?? ()
#11 0x0000555555f78758 in ?? ()
#12 0x0000000000000000 in ?? ()
(gdb)

@The-Compiler
Copy link
Member

Hm, right. I got it from this announcement, but indeed https://debuginfod.s.voidlinux.org/ is down with a 404... weird!

Your log above does not show what I'd expect, though - there, Initializing downloads... seems to have worked, no?

@The-Compiler The-Compiler added status: can't reproduce Issues which can't be reproduced. status: needs triage Issues/PRs which need some deeper investigation. labels Jul 11, 2022
@amydotsh
Copy link
Author

amydotsh commented Jul 11, 2022

actually i dont think thats the same initializing downloads, if you look at the original post's --debug it does 23:00:12 DEBUG init app:_init_modules:477 Initializing downloads... and webenginesettings:init:505 Initializing QtWebEngine downloads... which are the two in the gdb one that say initializing downloads. the gdb one gets stuck on 17:19:51 DEBUG init webenginesettings:init:518 Initializing profiles... which the original --debug one successfully gets past 23:00:14 DEBUG init webenginesettings:init:518 Initializing profiles... and gets stuck on 23:00:14 DEBUG init mainwindow:_init_downloadmanager:355 Initializing downloads...

i did the gdb command 5 times and always got the same output.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: can't reproduce Issues which can't be reproduced. status: needs triage Issues/PRs which need some deeper investigation.
Projects
None yet
Development

No branches or pull requests

3 participants