clojure-europe

For people in Europe... or elsewhere... UGT https://indieweb.org/Universal_Greeting_Time
dharrigan 2021-06-09T06:21:30.370800Z

Good Morning!

2021-06-09T06:24:40.371Z

Morning

pez 2021-06-09T06:29:27.373100Z

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!

thomas 2021-06-09T07:50:56.374800Z

I have a bug like that as well at the moment... want to share?

pez 2021-06-09T08:08:38.375800Z

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!

thomas 2021-06-09T09:07:25.376700Z

being on an old version of RN doesn't help here I suspect.

thomas 2021-06-09T09:07:55.376900Z

not sure about adb though.

thomas 2021-06-09T09:08:37.377100Z

does it happen on the simulator as well?

pez 2021-06-09T09:10:08.377300Z

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…

thomas 2021-06-09T09:10:48.377500Z

hmm that sucks.

thomas 2021-06-09T09:11:18.377700Z

any ideas why the slow downs on newer version of RN?

pez 2021-06-09T09:11:30.377900Z

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.

pez 2021-06-09T09:12:44.378100Z

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.

pez 2021-06-09T09:15:35.378300Z

It happens in release builds as well, btw.

pez 2021-06-09T09:16:08.378500Z

Anyway, mainly sharing for the sympathy. 😃 What about your bug?

thomas 2021-06-09T09:19:38.378900Z

I have an expo app and there is on crash on iOS only. and it is the OS killing the App.

thomas 2021-06-09T09:20:02.379100Z

but only with a build through TestFlight.

thomas 2021-06-09T09:20:24.379300Z

all other builds work fine (debug and optimized local builds)

pez 2021-06-09T09:20:33.379500Z

So not with a relasebuild uploaded to the phone locally?

thomas 2021-06-09T09:20:49.379700Z

haven't tried that...

pez 2021-06-09T09:21:14.379900Z

Maybe that’s the same as “optimized local builds”?

thomas 2021-06-09T09:21:19.380100Z

can you just download an IPA to the phone and install.

thomas 2021-06-09T09:21:36.380300Z

in expo you can say optimise the build(minify etc.)

thomas 2021-06-09T09:22:18.380500Z

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.

pez 2021-06-09T09:26:27.380700Z

Does iOS monitor some metrics of the app maybe and killing it because of some threshold met, maybe? Is it easily reproducable?

pez 2021-06-09T09:27:29.380900Z

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?

thomas 2021-06-09T09:28:41.381400Z

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.

thomas 2021-06-09T09:29:11.381600Z

I don't get a bugsnag report in this case... as the app gets killed by the OS I think.

pez 2021-06-09T09:30:10.381800Z

Ah, yeah, maybe it is not given the chance to say goodbye properly.

pez 2021-06-09T09:31:11.382Z

If there is something that could tell you that it has happened when the app starts you can send the snag then?

thomas 2021-06-09T09:34:10.382200Z

I think it is at the end of a network operation... I could add some bugsnag log statements to that..

thomas 2021-06-09T09:34:34.382400Z

and I just found a page that explains where the logs are on iOS

pez 2021-06-09T09:34:54.382600Z

Please share!

thomas 2021-06-09T09:36:37.383100Z

hope that help

thomas 2021-06-09T09:36:39.383300Z

s

pez 2021-06-09T09:37:40.383500Z

Ah, yes, I recall that from the days I hacked iOS apps using Objective C… 😃

thomas 2021-06-09T09:39:20.383700Z

👍

thomas 2021-06-11T08:24:22.460900Z

Hi @pez I got a bit further yesterday... It is a EXC_CRASH (SIGBART) crash. but no idea how to debug that at the moment....

pez 2021-06-11T08:31:25.461100Z

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?

thomas 2021-06-11T08:37:01.461300Z

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.

pez 2021-06-11T08:38:30.461600Z

So that gets trickier because it’s an Expo app?

thomas 2021-06-11T08:38:54.461800Z

I think so... it is build on the Expo build farm.

thomas 2021-06-11T08:39:12.462Z

and the xcode version I have is really old.

thomas 2021-06-11T08:49:37.462500Z

ok, it looks like I need to eject from Expo and use a so called bare workflow.

djm 2021-06-09T06:34:25.373300Z

👋

javahippie 2021-06-09T06:34:57.373500Z

Morning!

RAMart 2021-06-09T06:37:07.373700Z

Hi y'all!

borkdude 2021-06-09T06:58:54.373900Z

mogguh

jasonbell 2021-06-09T07:05:07.374100Z

Morning

mccraigmccraig 2021-06-09T07:40:52.374300Z

måning

yogidevbear 2021-06-09T07:45:59.374500Z

Morning

thomas 2021-06-09T07:50:30.374700Z

morning

slipset 2021-06-09T07:57:23.375400Z

Morning. First shot done 🐄

💉 13
javahippie 2021-06-09T08:12:57.376500Z

Congrats! Getting mine tomorrow

mdallastella 2021-06-09T09:19:07.378700Z

Had mine yesterday! 🥳

gklijs 2021-06-09T09:28:21.381100Z

Getting mine this evening.

joelkuiper 2021-06-09T09:42:27.384Z

Morning!

jkxyz 2021-06-09T10:12:39.384600Z

Morning

ordnungswidrig 2021-06-09T10:15:16.384800Z

Moin!

raymcdermott 2021-06-09T15:20:08.386Z

morning

raymcdermott 2021-06-09T15:20:27.386400Z

very tempted to get into that bug thread ... must resist

pez 2021-06-09T15:34:42.386700Z

It’s yummy!

😬 1
gklijs 2021-06-09T16:13:05.388Z

Just got the vaccine, having to wait 15 minutes for it to kick in.

👏 7
1