[SailfishOS] Crash during registration
Setup
- Device: Pinephone (Braveheart edition)
- SailfishOS version: 4.0.1.48
- Whisperfish version: 0.6.0-0.beta.3
- Clean install
Summary
Trying to register via SMS resulted in a crash of Whisperfish.
Trace log
[2021-07-05T18:17:41Z INFO harbour_whisperfish] Start main app (with autostart = false)
[2021-07-05T18:17:41Z TRACE harbour_whisperfish::qmlapp::tokio_qt] Already awaken
[2021-07-05T18:17:41Z TRACE harbour_whisperfish::qmlapp::tokio_qt] Already awaken
[2021-07-05T18:17:41Z TRACE harbour_whisperfish::qmlapp::tokio_qt] Already awaken
[2021-07-05T18:17:42Z TRACE harbour_whisperfish::qmlapp::tokio_qt] Already awaken
[2021-07-05T18:17:42Z TRACE harbour_whisperfish::qmlapp::tokio_qt] Already awaken
[2021-07-05T18:17:42Z DEBUG harbour_whisperfish::qmlapp::tokio_qt] registerSocketNotifier: fd=11 for Read on thread ThreadId(1)
[2021-07-05T18:17:42Z TRACE harbour_whisperfish::qmlapp::tokio_qt] Already awaken
[D] unknown:0 - Using Wayland-EGL
[2021-07-05T18:17:42Z INFO harbour_whisperfish::gui] QmlApp::application loaded - version v0.6.0-beta.3
[W] __cpp_closure_15099713892083399547_impl:281 - Failed to load translator for ("en-US") Searched "/usr/share/harbour-whisperfish/translations" for "harbour-whisperfish"
[2021-07-05T18:17:42Z INFO harbour_whisperfish::qmlapp::native] Default translator loaded.
[2021-07-05T18:17:42Z TRACE harbour_whisperfish::qmlapp::tokio_qt] Already awaken
[2021-07-05T18:17:42Z TRACE harbour_whisperfish::qmlapp::tokio_qt] Already awaken
[2021-07-05T18:17:42Z TRACE harbour_whisperfish::qmlapp::tokio_qt] Already awaken
[2021-07-05T18:17:42Z TRACE harbour_whisperfish::qmlapp::tokio_qt] Already awaken
[2021-07-05T18:17:42Z TRACE harbour_whisperfish::qmlapp::tokio_qt] Already awaken
[2021-07-05T18:17:42Z TRACE harbour_whisperfish::qmlapp::tokio_qt] Already awaken
[2021-07-05T18:17:42Z TRACE harbour_whisperfish::qmlapp::tokio_qt] Already awaken
[2021-07-05T18:17:43Z TRACE harbour_whisperfish::qmlapp::tokio_qt] Already awaken
[W] unknown:0 - "Failed to attach key memory region for qtcontacts-sqlite-np: QSharedMemory::attach (shmget): doesn't exist"
[W] unknown:0 - "Failed to open contacts transient store"
[W] unknown:0 - "Unable to open synchronous engine database connection"
[W] unknown:0 - QSqlQuery::prepare: database not open
[W] unknown:0 - "Failed to prepare distinct display label group selection query: \n SELECT DISTINCT DisplayLabelGroup FROM DisplayLabels ORDER BY DisplayLabelGroupSortOrder ASC"
[2021-07-05T18:17:43Z TRACE harbour_whisperfish::qmlapp::tokio_qt] Already awaken
[2021-07-05T18:17:43Z TRACE harbour_whisperfish::qmlapp::tokio_qt] Already awaken
[2021-07-05T18:17:43Z TRACE harbour_whisperfish::qmlapp::tokio_qt] Already awaken
[2021-07-05T18:17:43Z TRACE harbour_whisperfish::qmlapp::tokio_qt] Already awaken
[2021-07-05T18:17:43Z TRACE harbour_whisperfish::qmlapp::tokio_qt] Already awaken
[2021-07-05T18:17:43Z TRACE harbour_whisperfish::qmlapp::tokio_qt] Already awaken
[2021-07-05T18:17:43Z TRACE harbour_whisperfish::qmlapp::tokio_qt] Already awaken
[D] unknown:0 - Starting favorites query at 222 ms
[D] unknown:0 - EGL_HYBRIS_native_buffer is not available...
[2021-07-05T18:17:43Z INFO harbour_whisperfish::worker::setup] SetupWorker::run
[2021-07-05T18:17:43Z INFO harbour_whisperfish::worker::setup] identity_key not found
[2021-07-05T18:17:43Z INFO harbour_whisperfish::config::settings] Setting default settings.
[C] unknown:0 - Unable to open vibrator device
[W] unknown:0 - bool QFeedbackFFMemless::uploadEffect(ff_effect*) Unable to upload effect
[W] unknown:0 - bool QFeedbackFFMemless::uploadEffect(ff_effect*) Unable to upload effect
[W] unknown:0 - bool QFeedbackFFMemless::uploadEffect(ff_effect*) Unable to upload effect
[W] unknown:0 - bool QFeedbackFFMemless::initialiseEffects() Error: unable to provide theme effects or custom effects - closing vibra device
[D] unknown:0 - Favorites queried in 1050 ms
[D] unknown:0 - Starting metadata query at 1676 ms
[D] unknown:0 - All queried in 1875 ms
[2021-07-05T18:18:08Z INFO harbour_whisperfish::config::settings] Setting string country_code
[2021-07-05T18:18:09Z INFO harbour_whisperfish::worker::setup] Using phone number: **************
[2021-07-05T18:18:09Z DEBUG libsignal_service_actix::push_service] HTTP request GET https://textsecure-service.whispersystems.org/v1/accounts/sms/code/**************
[2021-07-05T18:18:13Z DEBUG libsignal_service_actix::push_service] AwcPushService::get response:
ClientResponse HTTP/1.1 402 Payment Required
headers:
"connection": "keep-alive"
"date": "Mon, 05 Jul 2021 18:18:13 GMT"
"content-type": "text/html;charset=iso-8859-1"
"x-signal-timestamp": "1625509093710"
"content-length": "413"
"cache-control": "must-revalidate,no-cache,no-store"
[2021-07-05T18:18:13Z TRACE libsignal_service_actix::push_service] Unhandled response with body: Ok(b"<html>\n<head>\n<meta http-equiv=\"Content-Type\" content=\"text/html;charset=utf-8\"/>\n<title>Error 402 Payment Required</title>\n</head>\n<body><h2>HTTP ERROR 402 Payment Required</h2>\n<table>\n<tr><th>URI:</th><td>/v1/accounts/sms/code/**************</td></tr>\n<tr><th>STATUS:</th><td>402</td></tr>\n<tr><th>MESSAGE:</th><td>Payment Required</td></tr>\n<tr><th>SERVLET:</th><td>jersey</td></tr>\n</table>\n\n</body>\n</html>\n")
[2021-07-05T18:18:14Z DEBUG harbour_whisperfish::qmlapp::tokio_qt] registerSocketNotifier: fd=36 for Read on thread ThreadId(1)
Edited by Ruben De Smet