Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Regular Contributor
juszczec2
Posts: 59
Registered: ‎05-10-2012
My Device: 8800
Accepted Solution

killing unresponsive app?

HI folks

 

I was trying to debug my app and its locked up my device (Curve os v5.0.0.983)

 

It got locked up when app start up displayed the permission change dialog.  that happens in the constructor and i had also put in some code to pop up a dialog to let me know when the constructor had executed another bit of code.

 

i thought that might be risky, asking the app to display something on the screen before the app was completely set up but I didn't anticipate this errant process surviving:

 

1.  power down

2.  power down, battery pull, power up

3,  battery pull with no power down

4.  delete of all data on device  via Desktop Manager

 

So, it seems I've got the Ultimate Zombie Process.

 

Has anyone else been thru something like this?  What did you do to kill your Ultimate Zombie Process?

 

 

Please use plain text.
Regular Contributor
juszczec2
Posts: 59
Registered: ‎05-10-2012
My Device: 8800

Re: killing unresponsive app?

Well that was strange.

 

Just for fun I hooked up my device to the Eclipse debugger and ran my app.  

 

It successfully reinstalled which, I think, killed the unresponsive one.

 

 

Please use plain text.
Developer
peter_strange
Posts: 19,609
Registered: ‎07-14-2008
My Device: Not Specified

IRe: killing unresponsive app?

I take it your app was 'auto-start'?

 

You might try deleting the application via BB Options next time?

Please use plain text.
Regular Contributor
juszczec2
Posts: 59
Registered: ‎05-10-2012
My Device: 8800

Re: IRe: killing unresponsive app?

I've checked the manifest and yes, the app is auto-start.

 

Ordinarily, I can delete it in Options.  This time though, I wound up with the entire device being unresponsive except for the Menu key.

 

If I pressed and held it, then I'd get the little screen showing all the running apps.

 

But that was the only key that worked on the whole device. And I had to press and hold it.  Just pressing it did nothing. 

Please use plain text.
Developer
peter_strange
Posts: 19,609
Registered: ‎07-14-2008
My Device: Not Specified

Re: IRe: killing unresponsive app?

This might be useful...

 

http://btsc.webapps.blackberry.com/btsc/viewdocument.do;jsessionid=3A4CEEBBEAEC997FD2F2F5246711134E?...

 

So you can start the phone and not your app?

Please use plain text.
Regular Contributor
juszczec2
Posts: 59
Registered: ‎05-10-2012
My Device: 8800

Re: IRe: killing unresponsive app?

After I started the phone, the app was running.  

 

I tried about 4-6 different ways of shutting down the phone down.  Each time the phone restarted, I found the app was still running.

 

I'll hang on to the link, that may have been useful.

Please use plain text.
Developer
simon_hain
Posts: 16,216
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport

Re: IRe: killing unresponsive app?

you can delete any app using javaloader.
syntax would be:
javaloader -u erase -f modulename.cod
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Please use plain text.
Developer
peter_strange
Posts: 19,609
Registered: ‎07-14-2008
My Device: Not Specified

Re: IRe: killing unresponsive app?

"After I started the phone, the app was running."

 

If you app was running even when you started in safe mode, then I think there is a bug.  Can you confirm you started in safe moede?

Please use plain text.
Regular Contributor
juszczec2
Posts: 59
Registered: ‎05-10-2012
My Device: 8800

Re: IRe: killing unresponsive app?

I probably was not running in safe mode.

 

I do not know how to boot my BB into safe mode.

 

 

Please use plain text.
Developer
peter_strange
Posts: 19,609
Registered: ‎07-14-2008
My Device: Not Specified

Re: IRe: killing unresponsive app?

Did you look at the link I provided....

Please use plain text.