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

Unexpected "Logout" & After Registration Freeze #374

Open
1 task done
pwn-all opened this issue Oct 2, 2024 · 1 comment
Open
1 task done

Unexpected "Logout" & After Registration Freeze #374

pwn-all opened this issue Oct 2, 2024 · 1 comment
Labels
needs-information Issue needs more information in order to work on it

Comments

@pwn-all
Copy link

pwn-all commented Oct 2, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Bug description

Molly's strange behavior when using Tor proxies. Also hangs after Sign In. We have described each of them in detail below.

Steps to reproduce

After Registration Freeze

  1. Download & Install Molly
  2. Try to Sign In
  3. After PIN code Molly is freezing
type: ANR
osVersion: google/komodo/komodo:14/AD1A.240905.004/2024091900:user/release-keys
package: im.molly.app:146201
process: im.molly.app
installer: com.android.packageinstaller

activity: im.molly.app/org.thoughtcrime.securesms.registration.ui.RegistrationActivity
cause: ANR Input dispatching timed out (f64e5f7 im.molly.app/org.thoughtcrime.securesms.registration.ui.RegistrationActivity (server) is not responding. Waited 5002ms for FocusEvent(hasFocus=false)).
info: ANR in im.molly.app (im.molly.app/org.thoughtcrime.securesms.registration.ui.RegistrationActivity)
PID: 9846
Reason: Input dispatching timed out (f64e5f7 im.molly.app/org.thoughtcrime.securesms.registration.ui.RegistrationActivity (server) is not responding. Waited 5002ms for FocusEvent(hasFocus=false)).
Parent: im.molly.app/org.thoughtcrime.securesms.registration.ui.RegistrationActivity
ErrorId: a24fc769-4e61-4ebc-bf1f-9abd4ae79e5f
Frozen: false
Timestamp: 2024-10-02 03:33:44.810+0400
Load: 2.88 / 2.59 / 2.06
----- Output from /proc/pressure/memory -----
some avg10=0.00 avg60=0.00 avg300=0.00 total=1
full avg10=0.00 avg60=0.00 avg300=0.00 total=1
----- End output from /proc/pressure/memory -----
----- Output from /proc/pressure/cpu -----
some avg10=3.73 avg60=5.40 avg300=6.00 total=348252323
full avg10=0.00 avg60=0.00 avg300=0.00 total=0
----- End output from /proc/pressure/cpu -----
----- Output from /proc/pressure/io -----
some avg10=0.00 avg60=0.00 avg300=0.00 total=29402053
full avg10=0.00 avg60=0.00 avg300=0.00 total=26414389
----- End output from /proc/pressure/io -----

CPU usage from 157661ms to -1ms ago (2024-10-02 03:31:07.186 to 2024-10-02 03:33:44.848):
  70% 9846/im.molly.app: 50% user + 20% kernel / faults: 70832 minor 12 major
  24% 473/surfaceflinger: 15% user + 9.5% kernel / faults: 1076 minor
  14% 481/android.hardware.composer.hwc3-service.pixel: 8.1% user + 6.2% kernel / faults: 12 minor
  8.1% 1173/system_server: 5.5% user + 2.6% kernel / faults: 31878 minor 1 major
  5.3% 261/decon0_kthread: 0% user + 5.3% kernel
  3.3% 2324/com.android.systemui: 2.3% user + 1% kernel / faults: 9683 minor 1 major
  2.7% 642/mali-gpuq-kthread: 0% user + 2.7% kernel
  2.4% 576/android.hardware.power-service.pixel-libperfmgr: 1.1% user + 1.2% kernel / faults: 14 minor
  2.3% 421/sugov:4: 0% user + 2.3% kernel
  2.2% 2086/com.android.networkstack.process: 1.8% user + 0.3% kernel / faults: 13035 minor
23% TOTAL: 12% user + 8% kernel + 0% iowait + 2.3% irq + 0.7% softirq
CPU usage from 23ms to 327ms later (2024-10-02 03:33:44.870 to 2024-10-02 03:33:45.174):
  90% 9846/im.molly.app: 47% user + 43% kernel / faults: 7330 minor 9 major
    86% 9865/Signal Catcher: 47% user + 38% kernel
    4.3% 9950/RenderThread: 4.3% user + 0% kernel
  23% 1173/system_server: 3.8% user + 19% kernel / faults: 494 minor 3 major
    23% 12189/AnrAuxiliaryTas: 3.8% user + 19% kernel
  3.5% 422/sugov:7: 0% user + 3.5% kernel
  3.5% 481/android.hardware.composer.hwc3-service.pixel: 0% user + 3.5% kernel
  3.6% 629/kworker/0:3H-kblockd: 0% user + 3.6% kernel
  3.7% 780/kworker/2:2H-kblockd: 0% user + 3.7% kernel
18% TOTAL: 7% user + 9.1% kernel + 0.8% iowait + 0.8% irq + 0.8% softirq

MTE - enabled

"Unexpected" Logout

  1. Setup SOCKS5 Proxy where traffic is routing via Tor
  2. You will see loop of logout messages after 5-20 min
    You have been logged out of Signal on this device
  3. Disable Proxy
  4. Everything is fine now

Censorship circumvention - enabled
After disabling this option, this error may appear again. Forcibly stopping the application will help. After that there will be an error that the user name is no longer owned and it is necessary to update it. This error will also occur once, but it resets the active link.

This problem is only with Tor proxy.

Molly version

v7.17.5-1-FOSS

Android version

Android 14

Device

Google Pixel 9 Pro XL

Link to debug log

No response

@pwn-all pwn-all changed the title "Unexpected" Logout & After Registration Freeze Unexpected "Logout" & After Registration Freeze Oct 2, 2024
@valldrac
Copy link
Member

valldrac commented Oct 2, 2024

We'd need to take a look at the debug log. It's in Settings > Help. Please share the link or send it to [email protected]

@valldrac valldrac added the needs-information Issue needs more information in order to work on it label Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-information Issue needs more information in order to work on it
Development

No branches or pull requests

2 participants