Matthew Hodgson

Results 552 comments of Matthew Hodgson

I have a sneaky suspicion that this might have been https://github.com/vector-im/element-web/issues/21541. I'm going to tentatively close it in the hope that https://github.com/matrix-org/matrix-js-sdk/pull/2392 fixed it; please reopen if otherwise. The process...

Yup, i've had this every single time i've unslept my laptop over the last week.

See also https://github.com/vector-im/element-web/issues/21336 and https://github.com/vector-im/element-web/issues/18168 and https://github.com/electron/electron/issues/2357. I am getting this literally every day i open my M1 mac. @novocaine [says here](https://github.com/vector-im/element-web/issues/18168#issuecomment-973712269) that: > A white screen means Electron's renderer...

So I just got this again, except this time the inspector was open. This didn't help much, given the inspector disconnected from the app when the renderer crashed, however I...

Options for debugging this further: * Get a coredump and hope that lldb can walk its v8 stack, or failing that manually look in the data of the native stack...

So it crashed again last night (at 03:22:35), but it didn't dump a core (despite following @justkwin's instructions at https://developer.apple.com/forums/thread/694233). However, did get another datapoint simply from having run Electron...

So i can get naive core dumps okay following Apple's instructions: ``` matthew@shadowfax ~ % cat crash.c #include int main() { char * c = 0; printf("%c", *c); return(0); }...

So it looks like the reason the core dumps failed for the renderer process is that i failed to set the entitlements correctly: ``` matthew@shadowfax MacOS % codesign -s -...

Having poked further at `codesign` it turns out it barfed because the `tmp.entitlements` file was in the cwd - the "code object is not signed at all" was referring to...