Signal SMS registration fails on an X

REPRODUCIBILITY (% or how often): 100%
BUILD ID = OS VERSION (Settings > About product): 3.4.0.24
HARDWARE (Jolla1, Tablet, XA2,…): Xperia X
UI LANGUAGE: English
REGRESSION: (compared to previous public release: Yes, No, ?): Don’t know

DESCRIPTION:

SMS registration fails on Signal 5.1.8.

PRECONDITIONS:

Xperia X with Aliendalvik installed. No Google Play services.

STEPS TO REPRODUCE:

  1. Install Signal 5.1.8
  2. Insert phone number to get a registration SMS sent

EXPECTED RESULT:

Signal does not crash :slight_smile:

ACTUAL RESULT:

Signal crashes. The SMS arrives a few seconds later, but registration won’t proceed. When I open Signal again, I get back to the screen when I have to enter my phone number (1).

ADDITIONAL INFORMATION:

See below for logs.

1 Like

If you have access to the terminal, it would be helpful if you included output of journalctl -f when teh crash occurs to assess whether this is a problem on the SFOS side.
FWIW, earlier versions of Signal didn’t fail at this point, but I forget which version exactly.

No additional lines appear in journalctl -f during the process. If there are any other logfiles in which I should check let me know.

As root, /opt/alien/system_jolla/bin/logcat - this will get Android’s logs.

1 Like

logcat returns a lot more:

01-13 11:40:17.768  1435  1577 D audio_hw_primary: start_output_stream: enter: stream(0x878c70)usecase(0: deep-buffer-playback) devices(0x2)
01-13 11:40:17.768  1435  1577 E audio_hw_primary: voice_extn_compress_voip_is_active: COMPRESS_VOIP_ENABLED is not defined
01-13 11:40:17.768  1435  1577 E msm8916_platform: voice_extn_compress_voip_is_active: COMPRESS_VOIP_ENABLED is not defined
01-13 11:40:17.768  1435  1577 D audio_hw_primary: select_devices: out_snd_device(4: wsa-speaker) in_snd_device(0: )
01-13 11:40:17.769  1435  1577 D hardware_info: hw_info_append_hw_type : device_name = wsa-speaker
01-13 11:40:17.769  1435  1577 D audio_hw_primary: enable_snd_device: snd_device(4: wsa-speaker)
01-13 11:40:17.776  1435  1577 W audio_hw_utils: audio_extn_utils_update_stream_app_type_cfg: App type could not be selected. Falling back to default
01-13 11:40:17.776  1435  1577 I audio_hw_primary: select_devices Selected apptype: 69936
01-13 11:40:17.776  1435  1577 D ACDB-LOADER: ACDB -> send_audio_cal, acdb_id = 15, path =  0
01-13 11:40:17.776  1435  1577 D ACDB-LOADER: ACDB -> send_asm_topology
01-13 11:40:17.776  1435  1577 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_STREAM_TOPOLOGY_ID
01-13 11:40:17.776  1435  1577 D ACDB-LOADER: ACDB -> send_adm_topology
01-13 11:40:17.776  1435  1577 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TOPOLOGY_ID
01-13 11:40:17.776  1435  1577 D ACDB-LOADER: ACDB -> send_audtable
01-13 11:40:17.776  1435  1577 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TABLE_SIZE
01-13 11:40:17.776  1435  1577 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TABLE
01-13 11:40:17.776  1435  1577 D ACDB-LOADER: ACDB -> AUDIO_SET_AUDPROC_CAL
01-13 11:40:17.776  1435  1577 D ACDB-LOADER: ACDB -> send_audvoltable
01-13 11:40:17.776  1435  1577 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_GAIN_DEP_STEP_TABLE
01-13 11:40:17.776  1435  1577 D ACDB-LOADER: ACDB -> AUDIO_SET_AUDPROC_VOL_CAL
01-13 11:40:17.776  1435  1577 D ACDB-LOADER: ACDB -> send_audstrmtable
01-13 11:40:17.776  1435  1577 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_STREAM_TABLE_V2
01-13 11:40:17.776  1435  1577 D ACDB-LOADER: ACDB -> audstrm_cal->cal_type.cal_data.cal_size = 32
01-13 11:40:17.776  1435  1577 D ACDB-LOADER: ACDB -> send_afe_topology
01-13 11:40:17.776  1435  1577 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AFE_TOPOLOGY_ID
01-13 11:40:17.776  1435  1577 D ACDB-LOADER: ACDB -> GET_AFE_TOPOLOGY_ID for adcd_id 15, Topology Id 112fa
01-13 11:40:17.776  1435  1577 D ACDB-LOADER: ACDB -> send_afe_cal
01-13 11:40:17.776  1435  1577 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AFE_COMMON_TABLE
01-13 11:40:17.776  1435  1577 D ACDB-LOADER: ACDB -> AUDIO_SET_AFE_CAL
01-13 11:40:17.776  1435  1577 D ACDB-LOADER: ACDB -> send_hw_delay : acdb_id = 15 path = 0
01-13 11:40:17.776  1435  1577 D ACDB-LOADER: ACDB -> ACDB_AVSYNC_INFO: ACDB_CMD_GET_DEVICE_PROPERTY
01-13 11:40:17.777  1435  1577 I audio_hw_utils: audio_extn_utils_send_app_type_cfg app_type 69936, acdb_dev_id 15, sample_rate 48000
01-13 11:40:17.777  1435  1577 D audio_hw_primary: enable_audio_route: apply mixer and update path: deep-buffer-playback
01-13 11:40:17.778  1435  1577 D audio_hw_primary: select_devices: done
01-13 11:40:17.872  1435  1577 D audio_hw_primary: start_output_stream: exit
01-13 11:40:18.770 10203 10203 E cutils-trace: Error opening trace file: No such file or directory (2)
01-13 11:40:18.892 15308 15308 D libEGL  : loaded /vendor/lib/egl/libEGL_adreno.so
01-13 11:40:18.991 15308 15308 D libEGL  : loaded /vendor/lib/egl/libGLESv1_CM_adreno.so
01-13 11:40:19.009 15308 15308 D libEGL  : loaded /vendor/lib/egl/libGLESv2_adreno.so
01-13 11:40:19.055 15308 15308 I Adreno  : QUALCOMM build                   : 26dcca9, Ibef77cadeb
01-13 11:40:19.055 15308 15308 I Adreno  : Build Date                       : 06/10/16
01-13 11:40:19.055 15308 15308 I Adreno  : OpenGL ES Shader Compiler Version: XE031.06.00.02
01-13 11:40:19.055 15308 15308 I Adreno  : Local Branch                     : mybranch20222659
01-13 11:40:19.055 15308 15308 I Adreno  : Remote Branch                    : quic/LA.BR.1.3.3_rb2.20
01-13 11:40:19.055 15308 15308 I Adreno  : Remote Branch                    : NONE
01-13 11:40:19.055 15308 15308 I Adreno  : Reconstruct Branch               : NOTHING
01-13 11:40:22.335  1435  1577 D audio_hw_primary: out_standby: enter: stream (0x878c70) usecase(0: deep-buffer-playback)
01-13 11:40:22.631  1435  1577 D audio_hw_primary: disable_audio_route: reset and update mixer path: deep-buffer-playback
01-13 11:40:22.634  1435  1577 D hardware_info: hw_info_append_hw_type : device_name = wsa-speaker
01-13 11:40:22.634  1435  1577 D audio_hw_primary: disable_snd_device: snd_device(4: wsa-speaker)

They mostly look like messages related to audio output though, apart those at 01-13 11:40:18.770 and successive. Not sure what cutils-trace is and if I should have it on my phone. find confirms I don’t have a file with that name.

Thank you for this :slight_smile: I will have to defer to people who know better than me, as I can’t see how or what is failing in your case. I assume that you made Signal crash and then took the logcat output.

Yes, those are the messages that showed up at the time of the crash and immediately after; I should have specified that. :slight_smile:

My guess would be: You’re experiencing an effect of the general run on Signal.
They’ve stated in their Twitter feed the number of new registrations was so massive since WhatsApp announced their change of terms that at times the systems couldn’t send all the registration codes.

1 Like

Thanks! I’ll surely try again. I’m not sure if this is the right diagnosis, though, because the SMS arrives just fine, without any apparent delay.

Hi,
I had the same behavior on my Xperia X. I solved it by pulling the SIM card and putting it into an old spare phone. I then received the SMS on the other phone and entered the code on the Xperia without problems.