[4.0.1.48] Severe instability

REPRODUCIBILITY: Intermittent, have not found a clear recipe to reproduce yet
BUILD ID = OS VERSION: 4.0.1.48
HARDWARE (XA2, Xperia 10…): Xperia X dual sim (F5122)
UI LANGUAGE:
REGRESSION: Yes

DESCRIPTION:

I have recently been experiencing intermittent crashes of lipstick/wayland, running programs will freeze then the screen will go blank and lipstick start again with no programs running.
In addition it seems that if a phonecall was ongoing during the event the phone application cover will show on the main screen (or phone UI) but it will be impossible to interact with it until the application is closed and reopened.

From a journalctl dump I made it would seem that Wayland itself crashed.

Other observation - it seems that the crashes may be related to different programs attempting to claim the sound device since I have also had a state where I was unable to playback sounds from Whatsapp until I restarted Alien Dalvik.
As far as applictions that claim the sound device go I usually run Phone, gPodder, Whatsapp, games (SFOS/Android), media consumption (Media/Browser).

PRECONDITIONS:

STEPS TO REPRODUCE:

Have found none so far.

EXPECTED RESULT:

ACTUAL RESULT:

ADDITIONAL INFORMATION:

Journalctl excerpt from a recent crash (can I attach files here?), the actual crash seems to happen at 13:07:34:

Apr 04 13:06:40 Sailfish kernel: pn547_dev_ioctl power off, irq=0
Apr 04 13:06:40 Sailfish kernel: mdss_dsi_panel_off: ctrl=ffffffc0ad4d9018 ndx=0
Apr 04 13:06:40 Sailfish kernel: @@@@ panel power off @@@@
Apr 04 13:06:40 Sailfish mce[646]: modules/proximity.c: mp_datapipe_set_proximity_sensor_actual(): state: CLOSED -> OPEN
Apr 04 13:06:40 Sailfish mce[646]: tklock.c: tklock_uiexception_rethink(): display state req: ON
Apr 04 13:06:40 Sailfish mce[646]: modules/display.c: mdy_display_state_leave(): current display state = POWER_UP
Apr 04 13:06:40 Sailfish kernel: @@@@ panel power on @@@@
Apr 04 13:06:40 Sailfish kernel: mdss_dsi_panel_on: ctrl=ffffffc0ad4d9018 ndx=0
Apr 04 13:06:40 Sailfish lipstick[26729]: [D] unknown:0 - unsleepDisplay
Apr 04 13:06:41 Sailfish kernel: clearpad clearpad: (clearpad_initialize:2236) initialize device
Apr 04 13:06:41 Sailfish kernel: clearpad clearpad: (clearpad_initialize:2251) device status 0x81
Apr 04 13:06:41 Sailfish kernel: clearpad clearpad: (clearpad_initialize:2259) bootloader revision 7.002
Apr 04 13:06:41 Sailfish kernel: clearpad clearpad: (clearpad_initialize:2281) FW status 0x40
Apr 04 13:06:41 Sailfish kernel: clearpad clearpad: (clearpad_update_chip_id:5713) chip_id=0x40
Apr 04 13:06:41 Sailfish kernel: clearpad clearpad: (clearpad_touch_config_dt_for_chip_id:5538) read settings for S332U
Apr 04 13:06:41 Sailfish kernel: clearpad clearpad: (clearpad_prepare_f12_2d:2209) x_max=1079, y_max=1919, n_fingers=10, n_bytes_per_object=8
Apr 04 13:06:41 Sailfish kernel: clearpad clearpad: (clearpad_initialize:2349) result: S332U, family 0x91, fw rev 0x07.0e, extra 0x06, (no fw update)
Apr 04 13:06:41 Sailfish kernel: clearpad clearpad: (clearpad_process_F01_RMI:4032) device reset
Apr 04 13:06:41 Sailfish kernel: clearpad clearpad: (clearpad_set_resume_mode:3254) ignore interrupt 0x00
Apr 04 13:06:41 Sailfish kernel: clearpad clearpad: (clearpad_set_irq:966) irq was enabled
Apr 04 13:06:41 Sailfish kernel: clearpad clearpad: (clearpad_set_resume_mode:3259) set resume mode (rc=0)
Apr 04 13:06:41 Sailfish kernel: clearpad clearpad: (clearpad_process_irq:4152) no work, interrupt=[0x00]
Apr 04 13:06:41 Sailfish lipstick[26729]: [W] unknown:308 - file:///usr/lib/qt5/qml/Sailfish/Weather/WeatherBanner.qml:308:21: QML BusyIndicator: Binding loop detected for property "running"
Apr 04 13:06:41 Sailfish mce[646]: modules/display.c: mdy_display_state_enter(): current display state = ON
Apr 04 13:06:41 Sailfish kernel: pn547_dev_ioctl power on, irq=1
Apr 04 13:06:47 Sailfish ur-org.gpodder.sailfish[29641]: [W] unknown:42 - file:///usr/share/harbour-org.gpodder.sailfish/qml/CoverContainer.qml:42:5: QML Column: Cannot specify top, bottom, 
verticalCenter, fill or centerIn anchors for items inside Column. Column will not function.
Apr 04 13:06:48 Sailfish invoker[27015]: WARNING: An inactive plugin is misbehaving - tried to show a window!
Apr 04 13:06:48 Sailfish invoker[27015]: WARNING: requestActivate() called for  QQuickView(0x1c66c8)  which has Qt::WindowDoesNotAcceptFocus set.
Apr 04 13:06:49 Sailfish lipstick[26729]: [W] :61 - Failed to obtain weather data. HTTP error code: 0
Apr 04 13:06:49 Sailfish lipstick[26729]: [D] onStatusChanged:45 - WeatherModel - could not obtain weather data Jerusalem 100281184
Apr 04 13:06:49 Sailfish lipstick[26729]: [W] onTriggered:78 - Failed to obtain weather data. The request timed out after 8 seconds
Apr 04 13:06:49 Sailfish lipstick[26729]: [W] :61 - Failed to obtain weather data. HTTP error code: 0
Apr 04 13:06:49 Sailfish lipstick[26729]: [D] onStatusChanged:100 - WeatherForecastModel - could not obtain forecast weather data X Y
Apr 04 13:06:49 Sailfish lipstick[26729]: [W] unknown:308 - file:///usr/lib/qt5/qml/Sailfish/Weather/WeatherBanner.qml:308:21: QML BusyIndicator: Binding loop detected for property "running"
Apr 04 13:06:49 Sailfish lipstick[26729]: [W] onTriggered:78 - Failed to obtain weather data. The request timed out after 8 seconds
Apr 04 13:06:56 Sailfish voicecall-ui[27084]: [W] unknown:0 - void VoiceCallHandler::onPendingCallFinished(QDBusPendingCallWatcher*) Received error reply for member:  (Unexpected reply signature: got "", expected "b")
Apr 04 13:06:56 Sailfish voicecall-ui[27084]: [W] unknown:46 - file:///usr/share/voicecall-ui-jolla/calling/InCallKeypad.qml:46:13: QML Keypad: Binding loop detected for property "dtmfPlaying"
Apr 04 13:07:05 Sailfish mce[646]: modules/battery-udev.c: mcebat_update(): battery_level : 77 -> 76
Apr 04 13:07:10 Sailfish voicecall-ui[27084]: [W] unknown:0 - void VoiceCallHandler::onPendingCallFinished(QDBusPendingCallWatcher*) Received error reply for member:  (Unexpected reply signature: got "", expected "b")
Apr 04 13:07:11 Sailfish voicecall-ui[27084]: [W] unknown:46 - file:///usr/share/voicecall-ui-jolla/calling/InCallKeypad.qml:46:13: QML Keypad: Binding loop detected for property "dtmfPlaying"
Apr 04 13:07:34 Sailfish kernel: Qt HTTP thread[26971]: unhandled level 3 translation fault (11) at 0x00000000, esr 0x92000007
Apr 04 13:07:34 Sailfish kernel: pgd = ffffffc03c5ea000
Apr 04 13:07:34 Sailfish kernel: Bluetooth: 0000000000000000
Apr 04 13:07:34 Sailfish kernel: [00000000] *pgd=00000000b28f8003
Apr 04 13:07:34 Sailfish kernel: , *pmd=00000000b1627003, *pte=0000000000000000
Apr 04 13:07:34 Sailfish kernel: 
Apr 04 13:07:34 Sailfish kernel: CPU: 0 PID: 26971 Comm: Qt HTTP thread Tainted: G        W    3.10.84 #1
Apr 04 13:07:34 Sailfish kernel: task: ffffffc06f2e1880 ti: ffffffc03f1cc000 task.ti: ffffffc03f1cc000
Apr 04 13:07:34 Sailfish kernel: pc : [<00000000f64a4a32>] lr : [<00000000f64a3f15>] pstate: 000f0030
Apr 04 13:07:34 Sailfish kernel: sp : 00000000e90fc828
Apr 04 13:07:34 Sailfish kernel: x12: 00000000f64a43ad 
Apr 04 13:07:34 Sailfish kernel: x11: 0000000000000000 x10: 000000000000000c 
Apr 04 13:07:34 Sailfish kernel: x9 : 0000000000000001 x8 : 0000000000000000 
Apr 04 13:07:34 Sailfish kernel: x7 : 0000000000000000 x6 : 0000000000000000 
Apr 04 13:07:34 Sailfish kernel: x5 : 0000000000000006 x4 : 00000000edb11f68 
Apr 04 13:07:34 Sailfish kernel: x3 : 00000000edb32f68 x2 : 0000000000000000 
Apr 04 13:07:34 Sailfish kernel: x1 : 0000000000000000 x0 : 0000000000000000 
Apr 04 13:07:34 Sailfish kernel: 
Apr 04 13:07:34 Sailfish sensorfwd[1001]: [SocketHandler]: Socket error:  QLocalSocket::PeerClosedError
Apr 04 13:07:34 Sailfish invoker[27015]: WARNING: The Wayland connection broke. Did the Wayland compositor die?
Apr 04 13:07:34 Sailfish sensorfwd[1001]: [SocketHandler]: Noticed lost session:  27
Apr 04 13:07:34 Sailfish [27031]: [W] unknown:0 - The Wayland connection broke. Did the Wayland compositor die?
Apr 04 13:07:34 Sailfish invoker[27029]: Wayland display got fatal error 32: Broken pipe
Apr 04 13:07:34 Sailfish invoker[27029]: Additionally, errno was set to 32: Broken pipe
Apr 04 13:07:34 Sailfish invoker[27029]: The display is now unusable, aborting.
Apr 04 13:07:34 Sailfish kernel: clearpad clearpad: (clearpad_set_irq:969) irq was disabled
Apr 04 13:07:34 Sailfish lipstick-security-ui[27020]: [W] unknown:0 - The Wayland connection broke. Did the Wayland compositor die?
Apr 04 13:07:34 Sailfish simkit[27142]: [W] unknown:0 - The Wayland connection broke. Did the Wayland compositor die?
1 Like

I’ve seen these “translation faults” when observing tracker crashing, too. I can’t say I found a reason or a deterministic way to reproduce. This used to happen on the Xx, too.
I wonder if you’re somehow running out of memory, but I can’t see evidence of the OOM killer.

Generally OOM kills show in the logs as OOM killer though…

Also this can happen even if only 1 or 2 programs were started, I’m pretty sure I’ve seen it happen with just the Phone UI open.

I can tell you that I triggered this with zero programs started, the tracker daemon was enough. I couldn’t find information about what that trap means, either, as ARM documentation is “a bit” fragmented.

I have seen various OOMs caused by the Backup service.
Or rather, a very large calendar database causing the calendar export that happens during backup to eat up lots of RAM causing OOMs.
Fix here was to clean out the calendar by removing the corresponding account (Google) and adding it again.

So such OOM phenomena can appear with “no apps open”.

True though that OOMs appear in journal (and dmesg), so this issue appears not to be an OOM one.