Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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

Crash on Arch linux #1538

Open
netlexer opened this issue Aug 7, 2018 · 9 comments
Open

Crash on Arch linux #1538

netlexer opened this issue Aug 7, 2018 · 9 comments

Comments

@netlexer
Copy link

netlexer commented Aug 7, 2018

I just installed the otter-browser-git package on an up-to-date Arch linux system, and the following text is output when invoking the otter-browser command in a terminal:

% otter-browser
Empty filename passed to function
free(): invalid pointer
Received signal 6
#0 0x7f396f69ee9e <unknown>
#1 0x7f396f69efb0 <unknown>
#2 0x7f396f69f5e7 <unknown>
#3 0x7f3968f70be0 <unknown>
#4 0x7f3968f70b5f __GI_raise
#5 0x7f3968f5b452 __GI_abort
#6 0x7f3968fb3658 __libc_message
#7 0x7f3968fb9f6a malloc_printerr
#8 0x7f3968fbb75c _int_free
#9 0x7f38d1d574d2 <unknown>
#10 0x7f38d1d64033 <unknown>
#11 0x7f38d1d64fa5 <unknown>
#12 0x7f39685064ef __pthread_once_slow
#13 0x7f38d1d64ff1 <unknown>
#14 0x7f38d1d65033 <unknown>
#15 0x7f38d1d368f4 <unknown>
#16 0x7f38d1d2e034 <unknown>
#17 0x7f38d1d2e066 <unknown>
#18 0x7f3975de76da call_init.part.0
#19 0x7f3975de77da _dl_init
#20 0x7f3975deb6c3 dl_open_worker
#21 0x7f3969070cd7 __GI__dl_catch_exception
#22 0x7f3975deaf8f _dl_open
#23 0x7f396799314a <unknown>
#24 0x7f3969070cd7 __GI__dl_catch_exception
#25 0x7f3969070d73 __GI__dl_catch_error
#26 0x7f39679938af <unknown>
#27 0x7f39679931ea dlopen
#28 0x7f39695145ee <unknown>
#29 0x7f396950df66 <unknown>
#30 0x7f396b097a7e <unknown>
#31 0x7f396b07fef8 <unknown>
#32 0x7f396b07d033 <unknown>
#33 0x7f396b07da99 <unknown>
#34 0x7f396b03951d QWebSettings::pluginSearchPaths()
#35 0x55a357df13bc Otter::QtWebKitWebBackend::createWidget()
#36 0x55a357dabb1e Otter::WebContentsWidget::setWidget()
#37 0x55a357dabf33 Otter::WebContentsWidget::WebContentsWidget()
#38 0x55a357c97788 Otter::Window::setUrl()
#39 0x55a357c97a33 Otter::Window::markAsActive()
#40 0x55a357bf4dc0 Otter::MainWindow::setActiveWindowByIndex()
#41 0x55a357c49d74 Otter::TabBarWidget::handleCurrentChanged()
#42 0x7f3969541c50 QMetaObject::activate()
#43 0x7f3974894f6f QTabBar::currentChanged()
#44 0x55a357c47797 Otter::TabBarWidget::addTab()
#45 0x55a357bfcaca Otter::MainWindow::addWindow()
#46 0x55a357bfaf4e Otter::MainWindow::triggerAction()
#47 0x55a357bf88d0 Otter::MainWindow::triggerAction()
#48 0x55a357bfe828 Otter::MainWindow::restoreSession()
#49 0x55a357bfe8da <unknown>
#50 0x7f396954dcc7 <unknown>
#51 0x7f396954238b QObject::event()
#52 0x7f39746eca74 QApplicationPrivate::notify_helper()
#53 0x7f39746f4341 QApplication::notify()
#54 0x7f3969517cb9 QCoreApplication::notifyInternal2()
#55 0x7f396956a40a QTimerInfoList::activateTimers()
#56 0x7f396956ac92 <unknown>
#57 0x7f39676bb368 g_main_context_dispatch
#58 0x7f39676bb5b1 <unknown>
#59 0x7f39676bb63e g_main_context_iteration
#60 0x7f396956b039 QEventDispatcherGlib::processEvents()
#61 0x7f394fdc0722 <unknown>
  r8: 0000000000000000  r9: 00007fff0dc397c0 r10: 0000000000000008 r11: 0000000000000246
 r12: 00007fff0dc39a30 r13: 0000000000001000 r14: 0000000000000010 r15: 00007f394c001000
  di: 0000000000000002  si: 00007fff0dc397c0  bp: 00007fff0dc39b10  bx: 0000000000000006
  dx: 0000000000000000  ax: 0000000000000000  cx: 00007f3968f70b5f  sp: 00007fff0dc397c0
  ip: 00007f3968f70b5f efl: 0000000000000246 cgf: 002b000000000033 erf: 0000000000000000
 trp: 0000000000000000 msk: 0000000000000000 cr2: 0000000000000000
[end of stack trace]
Calling _exit(1). Core file will not be generated.

The version otter browser reports itself as is "Otter 1.0.81" and the Qt libs are at 5.11.1.

@aurhat
Copy link
Contributor

aurhat commented Sep 7, 2018

And now? New RC 12 is released.
PS. https://wiki.archlinux.org/index.php/Otter_Browser - probably better to use otter-browser-weekly

@jtgd
Copy link

jtgd commented Sep 10, 2018

Same here with Arch otter-browser, otter-browser-weekly, otter-browser-git. Looking forward to trying your browser.

@aurhat
Copy link
Contributor

aurhat commented Sep 10, 2018

I don't know, maybe it's packagers fault.
Does AppImage package with RC 12 work: https://sourceforge.net/projects/otter-browser/files/otter-browser-rc12/ ?

@jtgd
Copy link

jtgd commented Sep 11, 2018

Installed otter-browser-0.9.99.3.zip from the link above and built. Same crash.

@aurhat
Copy link
Contributor

aurhat commented Sep 11, 2018

@jtgd
Copy link

jtgd commented Sep 11, 2018

Oh, sorry, I thought that was for Mac or something. I get a different output, but still a crash:

$ ./otter-browser-0.9.99.3-rc12-x86_64.AppImage
qt.network.ssl: QSslSocket: cannot resolve CRYPTO_num_locks
qt.network.ssl: QSslSocket: cannot resolve CRYPTO_set_id_callback
qt.network.ssl: QSslSocket: cannot resolve CRYPTO_set_locking_callback
qt.network.ssl: QSslSocket: cannot resolve ERR_free_strings
qt.network.ssl: QSslSocket: cannot resolve EVP_CIPHER_CTX_cleanup
qt.network.ssl: QSslSocket: cannot resolve EVP_CIPHER_CTX_init
qt.network.ssl: QSslSocket: cannot resolve sk_new_null
qt.network.ssl: QSslSocket: cannot resolve sk_push
qt.network.ssl: QSslSocket: cannot resolve sk_free
qt.network.ssl: QSslSocket: cannot resolve sk_num
qt.network.ssl: QSslSocket: cannot resolve sk_pop_free
qt.network.ssl: QSslSocket: cannot resolve sk_value
qt.network.ssl: QSslSocket: cannot resolve SSL_library_init
qt.network.ssl: QSslSocket: cannot resolve SSL_load_error_strings
qt.network.ssl: QSslSocket: cannot resolve SSL_get_ex_new_index
qt.network.ssl: QSslSocket: cannot resolve SSLv2_client_method
qt.network.ssl: QSslSocket: cannot resolve SSLv3_client_method
qt.network.ssl: QSslSocket: cannot resolve SSLv23_client_method
qt.network.ssl: QSslSocket: cannot resolve SSLv2_server_method
qt.network.ssl: QSslSocket: cannot resolve SSLv3_server_method
qt.network.ssl: QSslSocket: cannot resolve SSLv23_server_method
qt.network.ssl: QSslSocket: cannot resolve X509_STORE_CTX_get_chain
qt.network.ssl: QSslSocket: cannot resolve OPENSSL_add_all_algorithms_noconf
qt.network.ssl: QSslSocket: cannot resolve OPENSSL_add_all_algorithms_conf
qt.network.ssl: QSslSocket: cannot resolve SSLeay
qt.network.ssl: Incompatible version of OpenSSL
Empty filename passed to function
free(): invalid pointer
Aborted (core dumped)

@aurhat
Copy link
Contributor

aurhat commented Sep 13, 2018

probonopd/linuxdeployqt#209 - eh, in case of AppImage there is problem with Qt and OpenSSL on the newest Linux distributions... :/

@jtgd
Copy link

jtgd commented Sep 14, 2018

Is it an Otter issue, a Qt issue, or an SSL issue? Is someone working on it? Should I hold out hope that someday I will be able to try this browser?

@aurhat
Copy link
Contributor

aurhat commented Sep 14, 2018

  1. In AppImage package it's Qt issue: https://wiki.qt.io/Qt_5.11.2_Known_Issues
  2. To fix the problem from the first post could you try the solution from https://aur.archlinux.org/packages/otter-browser/ : "it's QtWebKit crash caused by Java plugin, currently there are two ways to solve it: - remove Java NPAPI plugin (just the plugin, no need to remove Java completely), - disable plugins in the browser (by adding this to ~/.config/otter/otter.conf: https://pastebin.com/raw/WiFz4CbV )?

~/.config/otter/otter.conf:

[Permissions]
EnablePlugins=disabled

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants