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
Segmentation fault when undocking laptop #684
Comments
Thanks for the detailed report! This is a Qt bug, but in Qt 5.5 there were various fixes related to that (e.g. this). Can you install the |
I did:
However, trying to start qutebrowser now results in the following $ /usr/bin/qutebrowser
ERROR: No option 'smooth-scrolling' in section: 'ui'
Traceback (most recent call last):
File "/usr/lib/python3.4/site-packages/qutebrowser/config/config.py", line 671, in set
sect.setv(layer, optname, value, interpolated)
File "/usr/lib/python3.4/site-packages/qutebrowser/config/sections.py", line 124, in setv
self.values[key].setv(layer, value, interpolated)
KeyError: 'smooth-scrolling'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.4/site-packages/qutebrowser/config/config.py", line 125, in _init_main_config
args.relaxed_config, parent=parent)
File "/usr/lib/python3.4/site-packages/qutebrowser/config/config.py", line 309, in __init__
self._from_cp(parser, relaxed)
File "/usr/lib/python3.4/site-packages/qutebrowser/config/config.py", line 432, in _from_cp
self._from_cp_section(sectname, cp, relaxed)
File "/usr/lib/python3.4/site-packages/qutebrowser/config/config.py", line 453, in _from_cp_section
self.set('conf', sectname, k, v, validate=False)
File "/usr/lib/python3.4/site-packages/qutebrowser/config/config.py", line 673, in set
raise configexc.NoOptionError(optname, sectname)
qutebrowser.config.configexc.NoOptionError: No option 'smooth-scrolling' in section: 'ui' Running directly out-of-repo (on the master branch) gives: $ python3 qutebrowser.py
CRITICAL: Cannot mix incompatible Qt library (version 0x50401) with this library (version 0x50500)
File "qutebrowser.py", line 29, in <module>
sys.exit(qutebrowser.qutebrowser.main())
File "/home/alofgren/repos/qutebrowser/qutebrowser/qutebrowser.py", line 149, in main
return app.run(args)
File "/home/alofgren/repos/qutebrowser/qutebrowser/app.py", line 117, in run
ret = qt_mainloop()
File "/home/alofgren/repos/qutebrowser/qutebrowser/app.py", line 127, in qt_mainloop
return qApp.exec_()
File "/home/alofgren/repos/qutebrowser/qutebrowser/app.py", line 205, in _process_args
_open_startpage()
File "/home/alofgren/repos/qutebrowser/qutebrowser/app.py", line 307, in _open_startpage
tabbed_browser.tabopen(url)
File "/home/alofgren/repos/qutebrowser/qutebrowser/mainwindow/tabbedbrowser.py", line 350, in tabopen
tab = webview.WebView(self._win_id, self)
File "/home/alofgren/repos/qutebrowser/qutebrowser/browser/webview.py", line 127, in __init__
page = self._init_page()
File "/home/alofgren/repos/qutebrowser/qutebrowser/browser/webview.py", line 148, in _init_page
page = webpage.BrowserPage(self.win_id, self.tab_id, self)
File "/home/alofgren/repos/qutebrowser/qutebrowser/browser/webpage.py", line 64, in __init__
super().__init__(parent)
File "/home/alofgren/repos/qutebrowser/qutebrowser/utils/log.py", line 306, in qt_message_handler
stack = ''.join(traceback.format_stack())
Fatal Python error: Aborted
Current thread 0x00007f1adbfae700 (most recent call first):
File "/home/alofgren/repos/qutebrowser/qutebrowser/browser/webpage.py", line 64 in __init__
File "/home/alofgren/repos/qutebrowser/qutebrowser/browser/webview.py", line 148 in _init_page
File "/home/alofgren/repos/qutebrowser/qutebrowser/browser/webview.py", line 127 in __init__
File "/home/alofgren/repos/qutebrowser/qutebrowser/mainwindow/tabbedbrowser.py", line 350 in tabopen
File "/home/alofgren/repos/qutebrowser/qutebrowser/app.py", line 307 in _open_startpage
File "/home/alofgren/repos/qutebrowser/qutebrowser/app.py", line 205 in _process_args
File "/home/alofgren/repos/qutebrowser/qutebrowser/app.py", line 127 in qt_mainloop
File "/home/alofgren/repos/qutebrowser/qutebrowser/app.py", line 117 in run
File "/home/alofgren/repos/qutebrowser/qutebrowser/qutebrowser.py", line 149 in main
File "qutebrowser.py", line 29 in <module>
[1] 858 abort (core dumped) python3 qutebrowser.py I'm probably missing something trivial here, but I'd appreciate any hints :) |
The first issue is because you're running a release, but your config file has new stuff (from master) in it. For the second output, you'll have to install the other beta packages too by hand. It seems like I didn't correctly set the dependencies (it started as a quick experiment for myself). I currently can't check what packages you need to install exactly, but you can get a list of packages like this:
Then try to install them all - I think two will be missing (I didn't build them because there are no C extensions) - remove them, and you should be good to go. |
Huh. I guess running the repo version inserted new configuration into ~/.config/qutebrowser. I removed the unsupported entries and now I got the same errors for both. I did:
and qutebrowser now runs as usual. I tried reproducing the issue by undocking/redocking, and alas, nothing coredumps! Thanks a bunch (and thanks for a browser that seems to be what I've been looking for for a few years, now). |
Glad to hear! If you want to keep the beta packages, just keep in mind to manually revert to the normal ones once Qt 5.5 is released (hopefully soon) - I'll post a message to the mailinglist when it's released. You're welcome! 😄 |
Docking/undocking my Thinkpad T430s leads to qutebrowser segfaulting and dumping core. I haven't yet found a way to narrow down the steps to reproduce, but I've extracted a stacktrace in accordance with the instructions at http://github.com/The-Compiler/blob/master/doc/stacktrace.asciidoc. I used the pre-built symbols.
I'm running Arch Linux.
The text was updated successfully, but these errors were encountered: