This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-06-09
Channels
- # announcements (16)
- # babashka (28)
- # beginners (27)
- # calva (39)
- # chlorine-clover (6)
- # cider (8)
- # clara (28)
- # cljs-dev (19)
- # cljsrn (22)
- # clojure (78)
- # clojure-australia (3)
- # clojure-europe (64)
- # clojure-nl (3)
- # clojure-norway (14)
- # clojure-spec (2)
- # clojure-uk (11)
- # clojurescript (11)
- # core-async (24)
- # datomic (3)
- # deps-new (5)
- # emacs (9)
- # fulcro (4)
- # gis (2)
- # graalvm (9)
- # honeysql (2)
- # hoplon (5)
- # instaparse (1)
- # introduce-yourself (5)
- # jobs (5)
- # luminus (4)
- # observability (7)
- # off-topic (6)
- # pathom (18)
- # pedestal (5)
- # polylith (4)
- # re-frame (2)
- # reagent (1)
- # reitit (1)
- # remote-jobs (7)
- # shadow-cljs (47)
- # specter (1)
- # sql (27)
- # testing (6)
- # tools-deps (4)
- # vim (3)
- # xtdb (8)
Morning. Today is day 3 on my “hunt for a bug without the tiniest shard of clue about what is causing it”. I am expecting it to be as productive as day 1 and 2. It’s hard to be scientific without theory!
I’m dying to share! There is some info here https://clojurians.slack.com/archives/C0E1SN0NM/p1623144035106200 But at a higher level I’d summarize it as for reasons unknown to me some of the recent changes we’ve made to our mobile, React Native, app causes it to sometimes stop responding to taps on Android phones. I don’t know how to reproduce it. Sometimes it happens in development, but then the same thing that causes this also causes the REPL connection to die, making me blind. I can see in the system logs of the phone that it registers the taps, but nothing happens in the RN logs and neither my app logging. So, probably some infinite loop somewhere locking the JS thread. That loop is not in the changed code. It could be in some of our code, even if I doubt that. More likely it’s somewhere in the react native thins. We’re on a pretty old version. I am now seeing if I can make it happen on a branch where we have upgraded to latest stable react native. My hopes now are that it will happen on this branch as well, falsifying this hypotesis, because if it doesn’t happen I will not know if that’s just a coincidence. 😃 No idea how much sense this made. Your turn to share!
Being on an old version of RN does not help. Thing is that the app is super slow on Android in the branch where we have upgraded to RN 64, so there is probably a large amount of work still to do there before we can upgrade…
It doesn’t happen on iOS. Haven’t tried on the Android emulator, if that’s what you mean. I use a phone instead and Vysor to make Android development bearable.
No idea yet. I’ve mostly been using that branch with iOS so this slowness is still new to me. Thinking it might be a neighbouring cause to the thing happening for Android only with the old RN.
I have an expo app and there is on crash on iOS only. and it is the OS killing the App.
I added bugsnag to my app... but it is not the app it self throwing an exception. it is the OS killing it. and I don't know why.
Does iOS monitor some metrics of the app maybe and killing it because of some threshold met, maybe? Is it easily reproducable?
Do you get a dump of your app-state together with the Bugsnag report? Something you can load into the dev version of the app and examine from there?
not sure about iOS logging things... I don't know enough about iOS for that... I have been googling a bit about this this morning.
I don't get a bugsnag report in this case... as the app gets killed by the OS I think.
If there is something that could tell you that it has happened when the app starts you can send the snag then?
I think it is at the end of a network operation... I could add some bugsnag log statements to that..
Hi @U0ETXRFEW I got a bit further yesterday... It is a EXC_CRASH (SIGBART) crash. but no idea how to debug that at the moment....
Progress! I googled it quickly. Seems like it happens because of a bad call to the system from the app. Is that what you have found out about it as well?
yes... and I am trying to figure out how to symbolize the crash report... but as it is an Expo app that isn't straight forward it seems.
Morning!
måning
Morning
Congrats! Getting mine tomorrow
Had mine yesterday! 🥳
Morning!