Skip to content
This repository has been archived by the owner on Nov 13, 2017. It is now read-only.

Force close just after start #32

Open
hoodunit opened this issue Mar 6, 2014 · 8 comments
Open

Force close just after start #32

hoodunit opened this issue Mar 6, 2014 · 8 comments
Labels

Comments

@hoodunit
Copy link

hoodunit commented Mar 6, 2014

I'm getting an almost immediate force close on the app. Download app from store, run, it opens the main screen, crash. Here's my logcat dump: https://gist.github.com/nicholaskariniemi/9394175. I also tried it from source and it crashes in the same way.

(As an aside, are there any other non-trivial open source Android apps written in Clojure that you know of? I'm trying to get some basic benchmarks with actual Clojure-Android apps. If I can roll back to some commit here that works that could help, too.)

Edit - device info:

  • Nexus 5
  • Android 4.4.2 KOT94H
@oakes
Copy link
Owner

oakes commented Mar 6, 2014

The crash log doesn't look like a familiar error, but do you happen to have ART enabled? That's the only thing I can think of.

@hoodunit
Copy link
Author

hoodunit commented Mar 6, 2014

Nope.

@oakes
Copy link
Owner

oakes commented Mar 6, 2014

Has the app ever worked on your device before? Also, is there anything else special about your configuration (using a ROM, for example)? This is a pretty low-level libc error that I haven't seen before.

@hoodunit
Copy link
Author

hoodunit commented Mar 6, 2014

I am using the stock Nexus 5 4.4.2 ROM from an over the air update. I have not rooted the phone or installed any other ROMs. I haven't tested the app earlier with this device.

@oakes
Copy link
Owner

oakes commented Mar 6, 2014

Could you try running git checkout 0.0.25 in the repo and see if that version works? I updated a few libraries in 0.0.26, so it may help to see if they are causing problems.

@hoodunit
Copy link
Author

hoodunit commented Mar 6, 2014

git checkout 0.0.25
lein droid doall

Fails with what looks like the same error.

@oakes
Copy link
Owner

oakes commented Mar 7, 2014

You can try running git checkout with any version number if you'd like to try older releases, or just download and install the binaries in the releases section. If this error persists no matter the version, then there must be a fundamental problem going on.

You can tell by the crash log that Nightweb is successfully booting up and starting the background service, so I suppose that could help us narrow it down. Have you tried running the Clojure REPL app? It's using an older version of Clojure, but if it crashes then we can at least deduce that your issue is not specific to Nightweb.

@jaccarmac
Copy link

I confirm this issue in identical conditions.

@oakes oakes added the bug label Dec 22, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants