Piggy Budget v2.5; The app crashes and become unstable after creating income type.

in #utopian-io5 years ago

Project Information

Repository: https://github.com/pmiddend/piggybudget
Project Name: Piggy Budget

Expected behavior

Users should be able to be able to create income type either daily or monthly income type successfully without the app crashing.

Actual behavior

The application closes and crashed after creating the the budget type. The app then becomes unstable thereby rendering it totally unusable.

How to reproduce

  1. Download and install the latest release of the app.

  2. Launch the app.

  3. Grant all permissions.

  4. Click on the floating action button (the 3 horizontal dots) in the top right corner

  5. Click on settings

  6. Insert some figures as Income value.

  7. Return to the home page.

  8. Exit the app

  9. Relaunch the app.

It will be observed that the app crashes and closes. Hence, the bug.

Browser: Piggy budget version 2.5
Operating system: android version 6.0

Recording Of The Bug

GitHub Account

https://github.com/jubreal

Link to Github Issue here

LOG

04-10 14:35:08.992 I/BufferQueueConsumer(271): [de.php_tech.piggybudget/de.php_tech.piggybudget.MainActivity](this:0x7faf766c00,id:446,api:1,p:9871,c:271) setDefaultBufferSize: width=1920 height=1080
04-10 14:35:09.061 I/BufferQueueProducer(271): [de.php_tech.piggybudget/de.php_tech.piggybudget.MainActivity](this:0x7faf766c00,id:446,api:1,p:-1,c:271) disconnect(P): api 1
04-10 14:35:09.062 I/BufferQueueConsumer(271): [de.php_tech.piggybudget/de.php_tech.piggybudget.MainActivity](this:0x7faf766c00,id:446,api:1,p:-1,c:271) getReleasedBuffers: returning mask 0xffffffffffffffff
04-10 14:35:09.070 I/BufferQueueProducer(271): [de.php_tech.piggybudget/de.php_tech.piggybudget.MainActivity](this:0x7faf766c00,id:446,api:1,p:-1,c:271) disconnect(P): api 1
04-10 14:35:09.071 I/BufferQueueProducer(271): [de.php_tech.piggybudget/de.php_tech.piggybudget.MainActivity](this:0x7faf766c00,id:446,api:1,p:9871,c:271) connect(P): api=1 producer=(9871:de.php_tech.piggybudget) producerControlledByApp=true
04-10 14:35:09.104 I/BufferQueueProducer(271): [de.php_tech.piggybudget/de.php_tech.piggybudget.MainActivity](this:0x7faf766c00,id:446,api:1,p:9871,c:271) new GraphicBuffer needed
04-10 14:35:09.112 I/BufferQueueProducer(271): [de.php_tech.piggybudget/de.php_tech.piggybudget.MainActivity](this:0x7faf766c00,id:446,api:1,p:9871,c:271) queueBuffer: fps=38.79 dur=1108.46 max=411.88 min=6.28
04-10 14:35:09.149 I/BufferQueueProducer(271): [de.php_tech.piggybudget/de.php_tech.piggybudget.MainActivity](this:0x7faf766c00,id:446,api:1,p:9871,c:271) new GraphicBuffer needed
04-10 14:35:09.241 I/BufferQueueProducer(271): [de.php_tech.piggybudget/de.php_tech.piggybudget.MainActivity](this:0x7faf766c00,id:446,api:1,p:9871,c:271) new GraphicBuffer needed
04-10 14:35:09.442 V/WindowManager(949): findFocusedWindow: Found new focus @ 11 = Window{96967e3 u0 de.php_tech.piggybudget/de.php_tech.piggybudget.MainActivity}
04-10 14:35:09.453 V/WindowManager(949): findFocusedWindow: Found new focus @ 11 = Window{96967e3 u0 de.php_tech.piggybudget/de.php_tech.piggybudget.MainActivity}
04-10 14:35:09.515 V/WindowManager(949): findFocusedWindow: Found new focus @ 11 = Window{96967e3 u0 de.php_tech.piggybudget/de.php_tech.piggybudget.MainActivity}
04-10 14:35:09.545 V/WindowManager(949): findFocusedWindow: Found new focus @ 11 = Window{96967e3 u0 de.php_tech.piggybudget/de.php_tech.piggybudget.MainActivity}
04-10 14:35:10.069 D/WindowManager(949): packageName:de.php_tech.piggybudget
04-10 14:35:10.069 D/test    (949): >>>>>>>>>>>>>>>>> comName:de.php_tech.piggybudget.MainActivity
04-10 14:35:10.289 I/am_pause_activity(949): [0,148140149,de.php_tech.piggybudget/.MainActivity]
04-10 14:35:10.214 D/WindowManager(949): packageName:de.php_tech.piggybudget
04-10 14:35:10.215 D/test    (949): >>>>>>>>>>>>>>>>> comName:de.php_tech.piggybudget.MainActivity
04-10 14:35:10.761 I/am_on_paused_called(9871): [0,de.php_tech.piggybudget.MainActivity]
04-10 14:35:10.235 V/WindowManager(949): findFocusedWindow: Found new focus @ 9 = Window{96967e3 u0 de.php_tech.piggybudget/de.php_tech.piggybudget.MainActivity}
04-10 14:35:10.239 V/WindowManager(949): Set focused app to: AppWindowToken{5177adc token=Token{d7f134f ActivityRecord{c6ac9ae u0 com.infinix.xlauncher/com.android.launcher3.Launcher t112612}}} old focus=AppWindowToken{2ae987b token=Token{c35b80a ActivityRecord{8d47075 u0 de.php_tech.piggybudget/.MainActivity t112623}}} moveFocusNow=true
04-10 14:35:10.243 V/WindowManager(949): Changing focus from Window{96967e3 u0 de.php_tech.piggybudget/de.php_tech.piggybudget.MainActivity
Sort:  

Hi @jubreal, thanks for making this contribution.

I was able to reproduce the crash. I see the PO has acknowledged the crash.

  1. The expected and actual behavior is very well written.
  2. The steps you provided were easy to follow. The recording very well complemented the written steps.

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 @jubreal!

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

how did you record the log cat ? can you cite any tutorial or any other resource for that.

thanks much bro

you are welcome.

@jubreal disturbing again please don't mind.I have successfully captured log from device but its a long log.i don't know how to find exact log of the app which app i am testing.i did that by adb command tools.
can you suggest me better option to find exact system that where i can get the exact logcat not all log.
don't know did i cleared you about my question.
actually i captured log successfully but how to find that which part is reason for the app crash you citing in contribution.

Hey, @jubreal!

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.31
TRX 0.12
JST 0.033
BTC 64605.91
ETH 3159.61
USDT 1.00
SBD 4.11