The telegram always automatically dropped.

Bug #1564202 reported by freya zhang
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Invalid
High
Yuan-Chen Cheng
Telegram app
Invalid
Undecided
Jin

Bug Description

current build number: 290
device name: arale
channel: ubuntu-touch/rc-proposed/meizu.en
last update: 2016-03-30 12:57:03
version version: 290
version ubuntu: 20160330
version device: 20160310-193f49c
version custom: 20160324-945-18-69

Precondition:
Wifi is connected.

Steps:
1. Open Telegram
2. Move off the welcome page
3. Select your country
4. Type in you mobile number
5. Popup appears confirm your number
6. App returns to your mobile number input page with a spinning icon
7. Finally the app closes, note there is no crash and my log looks similar to the one that Evan attached.

Actual result:
The telegram always automatically dropped and the UI jumps to the entering identifying code interface again and again.

Expected result:
The telegram should not automatically dropped and it should work normally.

Revision history for this message
TarotChen (tarotchen) wrote :

Issue is easy to be reproduced under an unstable network

Revision history for this message
Evan Wang (wsy324) wrote :

The issue still exist on latest rc-proposed image r335

$ system-image-cli -i
current build number: 335
device name: krillin
channel: ubuntu-touch/rc-proposed/bq-aquaris.en
last update: 2016-05-15 22:21:32
version version: 335
version ubuntu: 20160514
version device: 20160329-a9bacdb
version custom: 20160505-975-38-9

description: updated
Changed in telegram-app:
status: New → Confirmed
Revision history for this message
Evan Wang (wsy324) wrote :
Dave Morley (davmor2)
summary: - The telegrame always automatically dropped.
+ The telegram always automatically dropped.
Dave Morley (davmor2)
description: updated
Revision history for this message
Dave Morley (davmor2) wrote :

I managed to login on arale but not on krillin I am therefore assuming that this is a race condition of some sort as the original report was against arale and Tarot was under the impression it was down to the network being flaky.

I have ping jin and mzanetti on telegram and pointed them at this issue.

Revision history for this message
Alan Pope 🍺🐧🐱 πŸ¦„ (popey) wrote :

I see similar behaviour on latest bq M10 rc-proposed channel.

When I launch Telegram it goes to a blank screen:-

http://popey.com/~alan/screenshots/device-2016-05-17-144714.png

On my other device I get a notification in Telegram:-

"Telegram, [17.05.16 14:45]
Your login code: XXXXX

This code can be used to log in to your Telegram account. We never ask it for anything else. Do not give it to anyone!

If you didn't request this code by trying to log in on another device, simply ignore this message."

And the app is still blank.

Revision history for this message
Dave Morley (davmor2) wrote :

Reflashed krillin and can still reproduce it there. will continue testing around this tomorrow it is getting late here now.

Revision history for this message
Evan Wang (wsy324) wrote :

According to Jin's suggestion, if delete the folder /home/phablet/.cache/QML/Apps/com.ubuntu.telegram_telegram*, then it can login successfully, and not back to sign in page after doing some actions for a while.

Revision history for this message
Evan Wang (wsy324) wrote :

relaunched telegram after deleted the .cache/QML/App/com.ubuntu.telegram*

Revision history for this message
Jin (jindallo) wrote :

Checked with Evan,
delete QML cache recovers Telegram into normal.

And I also analyzed the logs, below pattern is minor to Telegram we can ignore:
    libust[19847/19876]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:958)
    libust[19847/19875]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:958)
if QML cache deleted does not work for you, please use this attached test click package to give it a try,
anything please let us know, and we will keep updating here.

tags: added: lt-blocker regression-proposed
Changed in canonical-devices-system-image:
status: New → Confirmed
importance: Undecided → High
milestone: none → 11
Revision history for this message
Dave Morley (davmor2) wrote :

@jin so the click version you attached to the bug gets to the page in the steps and then resets to the welcome screen.

Revision history for this message
Jin (jindallo) wrote :

@Dave,

For now.. correct,
because from the log, it shows below:
    [20160517 22:01:58.582 EDT qml: authLoggedIn "false"
which means Telegram library does not get the phone number authenticated,
I follow our UX flow to make the app. as first start (delete .config/.cache),
to be honest, I don't really like this test click, but does it work to you??

And, did you try to delete the QML cache at first in testing?
Thanks.

Revision history for this message
Jin (jindallo) wrote :

After checked with Dave,
the attached click 2.2.4.1 does not work.

Please do not use that one to do the validation.

Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

sorry assume the bug is still valid even though the attached click is not

no longer affects: canonical-devices-system-image
Changed in canonical-devices-system-image:
assignee: nobody → Yuan-Chen Cheng (ycheng-twn)
importance: Undecided → High
milestone: none → 11
status: New → Confirmed
Changed in canonical-devices-system-image:
milestone: 11 → 12
Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

is this still valid?

Changed in telegram-app:
assignee: nobody → Jean (jin)
assignee: Jean (jin) → Jin (jin.cth)
Changed in canonical-devices-system-image:
milestone: 12 → backlog
status: Confirmed → Incomplete
Revision history for this message
Jin (jindallo) wrote :

The multi-accounts feature is fixed/enhanced within milestone 31 as version 2.2.24.0,
and it is released already.

And the issue now is not reproducible, for me,
I will set it as Incomplete.

Jin (jindallo)
Changed in telegram-app:
status: Confirmed → Incomplete
Revision history for this message
Yuan-Chen Cheng (ycheng-twn) wrote :

mark invalid. Feel free to reopen if you still saw this happens.

Changed in canonical-devices-system-image:
status: Incomplete → Invalid
Changed in telegram-app:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.