Signal-Android icon indicating copy to clipboard operation
Signal-Android copied to clipboard

Application Crash at Contact Search

Open robberer opened this issue 10 years ago • 16 comments

I have:

  • [x] searched open and closed issues for duplicates
  • [x] read https://github.com/WhisperSystems/Signal-Android/wiki/Submitting-useful-bug-reports

Bug description

When starting a new conversation the App crashes while type a letter in the search box.

Steps to reproduce

  • set signal as default sms app so it uses the phone contacts as well (important)
  • start signal
  • start new conversation
  • type a letter in the search box
  • app is crashing

Screenshots

Device info

Model: Meizu MX4

Android version: 4.4.2

Signal version: 3.12.0

Link to debug log

adb logcat of the hopefully relevant section.

https://gist.github.com/robberer/12d9e645f90c0b459985

robberer avatar Mar 02 '16 09:03 robberer

I reproduced it on Meizu m2 note, Flyme OS 4.5.4.2I, Android:5.1 Signal 3.14.2

It moves me to a password screen, when i type a letter in contacts search for new message.

KarolTrzeszczkowski avatar Mar 24 '16 08:03 KarolTrzeszczkowski

And now It crashes also when i try to switch it back from being default SMS app.

KarolTrzeszczkowski avatar Mar 24 '16 08:03 KarolTrzeszczkowski

@KarolTrzeszczkowski please provide a debug log, and file a new issue for bugs other than the original crash during search.

From @robberer's log:

java.lang.NullPointerException
        at android.database.AbstractCursor.getColumnIndex(AbstractCursor.java:287)
        at android.database.AbstractCursor.getColumnIndexOrThrow(AbstractCursor.java:301)
        at org.thoughtcrime.securesms.contacts.ContactSelectionListAdapter.onBindItemViewHolder(ContactSelectionListAdapter.java:117)
        at org.thoughtcrime.securesms.contacts.ContactSelectionListAdapter.onBindItemViewHolder(ContactSelectionListAdapter.java:52)
        at org.thoughtcrime.securesms.database.CursorRecyclerViewAdapter.onBindViewHolder(CursorRecyclerViewAdapter.java:148)
...

Vendor-specific Android bug? I feel like there was a very similar one here before, but I could not find it.

cascheberg avatar Mar 24 '16 10:03 cascheberg

My debug log with this bug and one from #5373

https://gist.github.com/dff65ac6cc0972b854c2

I actually did it twice - I reinstalled Signal.

KarolTrzeszczkowski avatar Mar 24 '16 10:03 KarolTrzeszczkowski

java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equalsIgnoreCase(java.lang.String)' on a null object reference
    at android.database.AbstractCursor.getColumnIndex(AbstractCursor.java:287)
    at android.database.AbstractCursor.getColumnIndexOrThrow(AbstractCursor.java:301)
    at org.thoughtcrime.securesms.contacts.ContactSelectionListAdapter.onBindItemViewHolder(ContactSelectionListAdapter.java:117)
    at org.thoughtcrime.securesms.contacts.ContactSelectionListAdapter.onBindItemViewHolder(ContactSelectionListAdapter.java:52)
    at org.thoughtcrime.securesms.database.CursorRecyclerViewAdapter.onBindViewHolder(CursorRecyclerViewAdapter.java:148)
...

cascheberg avatar Mar 24 '16 10:03 cascheberg

I want to inform you that I can't provide further information to this bug as I'm not using the Meizu nor Signal anymore because I don't want to use Google Services, especially com.google.android.gms.

robberer avatar Jul 07 '16 07:07 robberer

I'm having the same issue, with my device:

Meizu M2 Note Flyme OS 5.1.8.0G Android 5.1 Latest Signal version

https://gist.github.com/595ba059194e7108a96ed5731360086c

hellenicsun avatar Aug 26 '16 10:08 hellenicsun

Same issue here:

Meizu MX5.1 Flyme IS 5.1.2.0U Not a custom ROM Downloaded from app store Signal 3.17.0

tgrrr avatar Aug 30 '16 06:08 tgrrr

Consistently crashes after typing a single letter in any contact search.

OnePlus 3 OxygenOS 3.2.4 Android 6.0.1 Signal 3.18.3 (and with 3.17.0)

dkieffer avatar Sep 09 '16 21:09 dkieffer

Update:

I've tested on 3 Meizu MX5 (with different google play logins, keyboards, etc. And it's limited to Signal on these devices.

Is there an update on fixing this issue?

tgrrr avatar Dec 18 '16 04:12 tgrrr

Issue still exists for Flyme 6

SMS works, searching address book crashes Signal after a few seconds

https://gist.github.com/e68570d784adc7c7a0b7cc8486b68eb1

Let me know if more debugging data is necessary.

Cheers,

Phil

tgrrr avatar Mar 22 '17 14:03 tgrrr

@tgrrr there is no crash in the log, try capturing immediately after the crash occurs please.

McLoo avatar Mar 22 '17 21:03 McLoo

Same issue with my Meizu M5,

Model: MeizuM5 FlymeOS: 5.2.10 Android version: 6.0 Signal version: 4.7.4

https://gist.github.com/anonymous/8da0e975a7b7e44d04040aaa7a7e2e76

williamdes avatar Jul 10 '17 19:07 williamdes

I didn't notice when, but I believe this issue has been fixed.

dkieffer avatar Oct 10 '17 19:10 dkieffer

Fixed with FlymeOS 6.7.8.8G BETA

williamdes avatar Nov 03 '17 21:11 williamdes

GitHub Issue Cleanup: See #7598 for more information.

automated-signal avatar Apr 02 '18 23:04 automated-signal