YTLDL V 1,0,1 Crash when search using illegal character like "?" or space

in #utopian-io5 years ago

PROJECT INFORMATION

EXPECTED BEHAVIOR

Supposedly, when I add letters or symbols other than the id number or video link there are illegal characters, the application won't crash

ACTUAL BEHAVIOR

when I write illegal characters and try to search this application it will crash

STEP TO REPRODUCE

  • download and isntall the app
  • type some word or character "1" or space and search
  • see error

DEVICE : ANDROID 6.0
APP VERSION: YTLDL-v1.0.1

BUG RECORDING

Reason: Input dispatching timed out (Waiting to send non-key event because the touched window has not finished processing certain input events that were delivered to it over 500.0ms ago.  Wait queue length: 30.  Wait queue head age: 8652.5ms.), happend at time = 31362690@#@17224
Load: 11.4 / 10.99 / 10.36
Android time :[2019-05-27 00:42:06.44] [31373,164]
CPU usage from 10191ms to 0ms ago:
  8.5% 900/system_server: 6.3% user + 2.1% kernel / faults: 1429 minor 13 major
    1.7% 939/ActivityManager: 0.9% user + 0.7% kernel
    1.3% 914/GCDaemon: 1.2% user + 0% kernel
    0.6% 1473/InputDispatcher: 0.3% user + 0.2% kernel
    0.4% 2243/Binder_9: 0.4% user + 0% kernel
    0.3% 926/SensorService: 0.3% user + 0% kernel
    0.3% 2004/Binder_6: 0.2% user + 0% kernel
    0.3% 2300/Binder_D: 0.3% user + 0% kernel
    0.2% 916/Binder_1: 0.2% user + 0% kernel
    0.2% 950/android.ui: 0.2% user + 0% kernel
    0.2% 967/AnrMonitorThrea: 0% user + 0.2% kernel
    0.2% 2117/Binder_7: 0.2% user + 0% kernel
    0.2% 2298/Binder_C: 0% user + 0.1% kernel
    0.1% 913/HeapTrimmerDaem: 0% user + 0.1% kernel
    0.1% 1474/InputReader: 0.1% user + 0% kernel
    0.1% 2002/Binder_5: 0% user + 0.1% kernel
    0.1% 2280/Binder_B: 0.1% user + 0% kernel
    0% 900/system_server: 0% user + 0% kernel
    0% 917/Binder_2: 0% user + 0% kernel
    0% 959/Binder_3: 0% user + 0% kernel
    0% 1485/NetworkPolicy: 0% user + 0% kernel
    0% 1492/WifiService: 0% user + 0% kernel
    0% 1496/OppoExService: 0% user + 0% kernel
    0% 1561/Binder_4: 0% user + 0% kernel
    0% 2242/Binder_8: 0% user + 0% kernel
    0% 2303/Binder_E: 0% user + 0% kernel
    0% 2304/Binder_F: 0% user + 0% kernel
    0% 2328/Binder_10: 0% user + 0% kernel
  7.2% 1704/com.android.systemui: 6.3% user + 0.8% kernel / faults: 3101 minor
    5.6% 1704/ndroid.systemui: 5.2% user + 0.4% kernel
    0.5% 1721/GCDaemon: 0.5% user + 0% kernel
    0.4% 2157/RenderThread: 0.2% user + 0.1% kernel
    0% 28098/Binder_C: 0% user + 0% kernel
  5.6% 17289/debuggerd_real: 1.1% user + 4.4% kernel / faults: 2059 minor
  1.4% 2245/com.android.phone: 0.9% user + 0.4% kernel / faults: 161 minor
    0.2% 2245/m.android.phone: 0% user + 0.2% kernel
    0.1% 2260/Binder_1: 0.1% user + 0% kernel
    0.1% 2579/Binder_3: 0.1% user + 0% kernel
    0.1% 3194/Binder_5: 0.1% user + 0% kernel
    0.1% 5316/Binder_6: 0.1% user + 0% kernel
    0.1% 5317/Binder_7: 0.1% user + 0% kernel
    0% 2259/GCDaemon: 0% user + 0% kernel
    0% 2261/Binder_2: 0% user + 0% kernel
    0% 2701/Binder_4: 0% user + 0% kernel
  0.8% 14936/com.oppo.launcher: 0.8% user + 0% kernel / faults: 1255 minor
    0.8% 14949/HeapTrimmerDaem: 0.8% user + 0% kernel
  0.6% 70/bat_thread_kthr: 0% user + 0.6% kernel
  0.6% 166/servicemanager: 0% user + 0.5% kernel
  0.6% 169/surfaceflinger: 0.3% user + 0.2% kernel
    0.1% 169/surfaceflinger: 0% user + 0% kernel
    0.1% 377/DispSync: 0.1% user + 0% kernel
    0% 376/Binder_1: 0% user + 0% kernel
    0% 404/EventThread: 0% user + 0% kernel
    0% 525/Binder_3: 0% user + 0% kernel
    0% 10673/Binder_5: 0% user + 0% kernel
  0.4% 14780/kworker/0:1: 0% user + 0.4% kernel
  0.3% 87/mtk-tpd: 0% user + 0.3% kernel
  0.3% 15140/com.oppo.weather: 0.1% user + 0.1% kernel / faults: 652 minor
    0.3% 15156/HeapTrimmerDaem: 0.1% user + 0.1% kernel
  0.1% 76/mmcqd/0: 0% user + 0.1% kernel
  0.1% 81/disp_config_upd: 0% user + 0.1% kernel
  0.1% 694/com.android.keyguard: 0% user + 0% kernel / faults: 740 minor 3 major
    0% 694/ndroid.keyguard: 0% user + 0% kernel
    0% 708/GCDaemon: 0% user + 0% kernel
  0.1% 9399/android.process.TrafficMonitor: 0.1% user + 0% kernel / faults: 66 minor
    0% 9489/Traffic_DataUsa: 0% user + 0% kernel
  0.1% 20399/kworker/2:0: 0% user + 0.1% kernel
  0% 1//init: 0% user + 0% kernel / faults: 27 minor
  0% 8/rcu_preempt: 0% user + 0% kernel
  0% 44/kswapd0: 0% user + 0% kernel
  0% 83/disp_worker_kth: 0% user + 0% kernel
  0% 2506/com.oppo.exserviceui: 0% user + 0% kernel```
Sort:  

Hi @muhammadarif, thanks for making this report

Glad to see the PO has acknowledged the issue. Hopefully, a fix is in the works. The crash log you provided is incomprehensible. I can barely interpret the trace. But without the trace, we can tell it is a validation error. An error message should be shown to the user instead of directly parsing in invalid parameters.

Good find. I look forward to your next report

Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.

To view those questions and the relevant answers related to your post, click here.


Need help? Chat with us on Discord.

[utopian-moderator]

Thank you for your review, @fego! Keep up the good work!

Hi @muhammadarif!

Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your post is eligible for our upvote, thanks to our collaboration with @utopian-io!
Feel free to join our @steem-ua Discord server

Hey, @muhammadarif!

Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!

Get higher incentives and support Utopian.io!
Simply set @utopian.pay as a 5% (or higher) payout beneficiary on your contribution post (via SteemPlus or Steeditor).

Want to chat? Join us on Discord https://discord.gg/h52nFrV.

Vote for Utopian Witness!

Coin Marketplace

STEEM 0.25
TRX 0.14
JST 0.033
BTC 51615.74
ETH 3018.63
USDT 1.00
SBD 4.15