eldoSlomo / nethack-android

Automatically exported from code.google.com/p/nethack-android
0 stars 0 forks source link

Quick crash on Samsung Moment #24

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Start program
2. Enter name
3. "Cannot lock perm for unknown reason."
4. Crash

What version of the product are you using? On what operating system?
1.1.3 on Cupcake cj05

Please provide any additional information below.
Not running many programs, no UI mods. Running in horizontal view with QWERTY 
extended.

Original issue reported on code.google.com by lodu...@gmail.com on 22 Nov 2009 at 6:50

GoogleCodeExporter commented 9 years ago
Whoops! I'm really sorry for the quadruple post but when I clicked "Post" it 
gave me
what seemed to be an error message, and I assumed it wasn't posted.

Original comment by lodu...@gmail.com on 22 Nov 2009 at 8:30

GoogleCodeExporter commented 9 years ago
Issue 27 has been merged into this issue.

Original comment by farnst...@gmail.com on 22 Nov 2009 at 6:12

GoogleCodeExporter commented 9 years ago
Issue 26 has been merged into this issue.

Original comment by farnst...@gmail.com on 22 Nov 2009 at 6:13

GoogleCodeExporter commented 9 years ago
Issue 25 has been merged into this issue.

Original comment by farnst...@gmail.com on 22 Nov 2009 at 6:13

GoogleCodeExporter commented 9 years ago
Can you give any more details? Does this happen 100% to you from a fresh 
install?
Does it happen 100% for you after it started happening? Or, was it just 
something
that happened once? If it worked for you initially and now this keeps 
happening, try
uninstalling and reinstalling again, in case some temporary file got left behind
somehow that it's having trouble cleaning up now. I don't recall having seen 
this
problem myself and I don't think anybody else reported it. Anyway, will look at 
the
code and see exactly what it's trying to do before printing that error message, 
and
try to think of what could have gone wrong. Thanks for reporting.

Original comment by farnst...@gmail.com on 22 Nov 2009 at 6:17

GoogleCodeExporter commented 9 years ago
It's never worked, and it happens every boot. I tried uninstalling and 
reinstalling,
and the problem persists.

Original comment by lodu...@gmail.com on 23 Nov 2009 at 12:47

GoogleCodeExporter commented 9 years ago
Same problem for me. Also a samsung moment.  The message I see is: "Cannot lock 
perm for unknown 
reason (1)." 

Original comment by alindb...@gmail.com on 24 Nov 2009 at 4:16

GoogleCodeExporter commented 9 years ago
I have this issue as well. New moment user as of 12/13 fresh install of 
program. Same crash every time.

Original comment by ichijouj...@gmail.com on 16 Dec 2009 at 6:06

GoogleCodeExporter commented 9 years ago
I also have this issue, fresh install on samsung moment as described above.

Original comment by the1...@gmail.com on 29 Dec 2009 at 12:34

GoogleCodeExporter commented 9 years ago
Same issue on fresh install on Samsung Moment: "Cannot lock perm for unknown 
reason (1)."

Game is unplayable... so sad... I love nethack.

Original comment by Arun.Yu...@gmail.com on 17 Mar 2010 at 10:28

GoogleCodeExporter commented 9 years ago
Same thing for me as well.

Original comment by maora...@gmail.com on 5 Apr 2010 at 4:39

GoogleCodeExporter commented 9 years ago
Same thing for me. I love Nethack and am really sad I can't play it on my 
Moment! Is there anything I 
can do to help fix this bug?

Original comment by ezze...@gmail.com on 8 Apr 2010 at 12:25

GoogleCodeExporter commented 9 years ago
Same thing for me. I love Nethack and am really sad I can't play it on my 
Moment! Is there anything I 
can do to help fix this bug?

Original comment by ezze...@gmail.com on 8 Apr 2010 at 12:26

GoogleCodeExporter commented 9 years ago
Same thing for me. I love Nethack and am really sad I can't play it on my 
Moment! Is there anything I 
can do to help fix this bug?

Original comment by ezze...@gmail.com on 8 Apr 2010 at 12:28

GoogleCodeExporter commented 9 years ago
Oops, sorry for the triple post. The Android 
browser kept giving me an error message and I 
thought it wasn't posting. Anyway, please fix 
this issue! Thanks.

Original comment by ezze...@gmail.com on 8 Apr 2010 at 12:32

GoogleCodeExporter commented 9 years ago
"Cannot lock perm for unknown 
reason (1)."

I have same problem on samsumg moment i have installed it twice, same result it 
crashes after i try to select a name for character. when it says press space 
then 
the game crashes.

Original comment by mi5jason...@gmail.com on 1 May 2010 at 5:43

GoogleCodeExporter commented 9 years ago
Have this issue on Samsung Moment, Android 2.1, Kernel 2.6.29, Build ECLAIR.DE03

Fresh install, same exact problem as OP's description.

Original comment by arpin...@gmail.com on 30 May 2010 at 2:37

GoogleCodeExporter commented 9 years ago
If you had this problem before, can you please help out by downloading this new 
version:
http://nethack-android.googlecode.com/files/NetHack-1.2.2-alpha.apk
I'm hoping that it will fix crashes on startup, by not relying on external 
commands (chmod, mkdir) and by more properly obtaining the path to the 
application's files. Please report back here with the results. Even if you 
didn't have this crash before, I would be interested in knowing that the new 
version works, so I don't introduce any new problem.

Original comment by farnst...@gmail.com on 22 Jun 2010 at 6:41

GoogleCodeExporter commented 9 years ago
I had a force close problem on HTC Hero running eclair and this alpha solved 
that too.

On 1.2.1 it would say:
"Sorry! The application NetHack (process com.nethackff) has stopped 
unexpectedly. Please try again."
Each time i'd try to open it.

Thx for the fix ^^

Original comment by the...@gmail.com on 23 Jun 2010 at 7:02

GoogleCodeExporter commented 9 years ago
Hi. Awesome idea to port Nethack to Android.

I have testet both 1.2.1 and 1.2.2 on my Samsung Galaxy Spica, on Android 2.1: 
Each time I get the "Cannot lock perm for unknown reason (1)." (after entering 
the name of the character). 

Both after a fresh install and subsequent runs.

Original comment by orjan.sa...@gmail.com on 23 Jun 2010 at 12:18

GoogleCodeExporter commented 9 years ago
I still get the same error as the person above right after I name my character. 
Running Android 2.1 on the Samsung Moment.

Original comment by ezze...@gmail.com on 23 Jun 2010 at 6:13

GoogleCodeExporter commented 9 years ago
Yeah, I think this is still an issue. I think the problems reported on Samsungs 
are something else than what made the app force close under Cyanogenmod etc.

Original comment by farnst...@gmail.com on 24 Jun 2010 at 6:50

GoogleCodeExporter commented 9 years ago
"Cannot lock perm for unknown 
reason (1)."

Same problem still everytime I have never been able to use the app. I have a 
samsung moment

Original comment by mi5jason...@gmail.com on 24 Jun 2010 at 8:06

GoogleCodeExporter commented 9 years ago
I have looked into this a bit more, and it looks like the code tries to create 
a hard link on the file system for use as a lock of some sort, and for some 
reason, this fails on Samsung phones. I have a potential fix, which uses a 
slightly different locking mechanism based on regular files, similar to what's 
used on some other operating systems. This fix can be downloaded here: 
http://nethack-android.googlecode.com/files/NetHack-1.2.2-samsungfix.apk. 
People with Samsung phones, please give this a try if you get a chance, and let 
me know if it works or not. If it doesn't work, please let me know if there is 
some other error message or any other useful information. I don't have access 
to a Samsung phone to test it on myself.

Original comment by farnst...@gmail.com on 25 Jun 2010 at 6:11

GoogleCodeExporter commented 9 years ago
Let me be the first to say: It works! Thank you! This is on a Samsung Moment 
with 2.1.

Original comment by ezze...@gmail.com on 25 Jun 2010 at 6:20

GoogleCodeExporter commented 9 years ago
Same here that patch fixed my problem. Thanks!!

Original comment by mi5jason...@gmail.com on 25 Jun 2010 at 6:58

GoogleCodeExporter commented 9 years ago
Issue 48 has been merged into this issue.

Original comment by farnst...@gmail.com on 26 Jun 2010 at 6:49

GoogleCodeExporter commented 9 years ago
Marking this as fixed, as several people have reported back that it's now 
working on Samsungs, and nobody has reported the opposite.

Original comment by farnst...@gmail.com on 26 Jun 2010 at 6:49