Closed GaboHBeaumont closed 1 year ago
my crash:
What did you do in the app? How long it was running?
What OS version are you running? Intel or ARM? Intel macOS 12.5.1 (Monterrey)
How did you run the app? Nightly bundle, ./dev run-desktop, something else? this happens for both dev and nightly version. not a real distinction
Did you have macOS crash report window? If so, what's the output? I pasted one before, I will gather more from now on
Did you see our own modal window saying "Daemon crashed"? Yes. sometimes it opens every time I try to open the app
Send log output if it's relevant. How do I know if it's relevant or not?
I also got another in dev mode:
Again.. same issues:
2022-10-11T15:52:17.179+0200 DEBUG mintter/repo ondisk/ondisk.go:183 AccountInitialized {"accountID": "bahezrj4iaqacicabciqhobv6vxiekrtf3xt2pfjt6yxdbtw6qwfs5zqvhjqks6wppenedua"}panic: runtime error: invalid memory address or nil pointer dereference[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x4d4d33f]goroutine 1 [running]:mintter/backend/daemon.loadApp.func1() /Users/gabo/Workspace/Mintter/plz-out/tmp/backend/mintterd._build/backend/daemon/daemon.go:102 +0x3fmintter/backend/daemon.loadApp({0x5682790, 0xc000f87ac0}, {0xd6d9, 0xd6da, {0x20ab33c98, 0x37}, {0x0}, {0xd6d8, 0x0, 0x0, ...}, ...}, ...) /Users/gabo/Workspace/Mintter/plz-out/tmp/backend/mintterd._build/backend/daemon/daemon.go:137 +0x80amintter/backend/daemon.Load({0x5682790, 0xc000f87ac0}, {0xd6d9, 0xd6da, {0x20ab33c98, 0x37}, {0x0}, {0xd6d8, 0x0, 0x0, ...}, ...}) /Users/gabo/Workspace/Mintter/plz-out/tmp/backend/mintterd._build/backend/daemon/daemon.go:86 +0xebmain.main.func1() /Users/gabo/Workspace/Mintter/plz-out/tmp/backend/mintterd._build/backend/cmd/mintterd/main.go:68 +0x668github.com/burdiyan/go/mainutil.Run(0xc0000021a0?) /Users/gabo/go/pkg/mod/github.com/burdiyan/go/mainutil@v0.0.0-20200124222818-6f87e0e684b6/mainutil.go:28 +0x22main.main() /Users/gabo/Workspace/Mintter/plz-out/tmp/backend/mintterd._build/backend/cmd/mintterd/main.go:26 +0x25
another crash after opening a draft:
2022-10-12T00:49:47.120+0200 DEBUG mintter/repo ondisk/ondisk.go:183 AccountInitialized {"accountID": "bahezrj4iaqacicabciqk6jdw2wkplmzq25f4wv6rh3qegm6hf7ctbp3o6p6qass4gwmbmjy"}panic: runtime error: invalid memory address or nil pointer dereference[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x4d4ff3f]goroutine 1 [running]:mintter/backend/daemon.loadApp.func1() /Users/horacioh/mintterteam/mintter/wt/master/plz-out/tmp/backend/mintterd._build/backend/daemon/daemon.go:102 +0x3fmintter/backend/daemon.loadApp({0x56844f0, 0xc000798280}, {0xd6d9, 0xd6da, {0x7ff7bfefbc18, 0x3b}, {0x0}, {0xd6d8, 0x0, 0x0, ...}, ...}, ...) /Users/horacioh/mintterteam/mintter/wt/master/plz-out/tmp/backend/mintterd._build/backend/daemon/daemon.go:137 +0x80amintter/backend/daemon.Load({0x56844f0, 0xc000798280}, {0xd6d9, 0xd6da, {0x7ff7bfefbc18, 0x3b}, {0x0}, {0xd6d8, 0x0, 0x0, ...}, ...}) /Users/horacioh/mintterteam/mintter/wt/master/plz-out/tmp/backend/mintterd._build/backend/daemon/daemon.go:86 +0xebmain.main.func1() /Users/horacioh/mintterteam/mintter/wt/master/plz-out/tmp/backend/mintterd._build/backend/cmd/mintterd/main.go:68 +0x668github.com/burdiyan/go/mainutil.Run(0xc0000021a0?) /Users/horacioh/go/pkg/mod/github.com/burdiyan/go/mainutil@v0.0.0-20200124222818-6f87e0e684b6/mainutil.go:28 +0x22main.main() /Users/horacioh/mintterteam/mintter/wt/master/plz-out/tmp/backend/mintterd._build/backend/cmd/mintterd/main.go:26 +0x25
What did you do in the app? How long it was running?
I click reply to a Document
What OS version are you running? Intel or ARM?
MacOS12.4 M1
How did you run the app? Nightly bundle, ./dev run-desktop, something else?
./dev build-desktop
Did you have macOS crash report window? If so, what's the output?
You need to restart the app now. Last messages: 2022-10-11T12:56:31.471+0200 DEBUG mintter/repo ondisk/ondisk.go:183 AccountInitialized {"accountID": "bahezrj4iaqacicabciqhobv6vxiekrtf3xt2pfjt6yxdbtw6qwfs5zqvhjqks6wppenedua"}panic: runtime error: invalid memory address or nil pointer dereference[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x4d4d33f]goroutine 1 [running]:mintter/backend/daemon.loadApp.func1() /Users/gabo/Workspace/Mintter/plz-out/tmp/backend/mintterd._build/backend/daemon/daemon.go:102 +0x3fmintter/backend/daemon.loadApp({0x5682790, 0xc000f02640}, {0xd6d9, 0xd6da, {0x20aa2ec98, 0x37}, {0x0}, {0xd6d8, 0x0, 0x0, ...}, ...}, ...) /Users/gabo/Workspace/Mintter/plz-out/tmp/backend/mintterd._build/backend/daemon/daemon.go:137 +0x80amintter/backend/daemon.Load({0x5682790, 0xc000f02640}, {0xd6d9, 0xd6da, {0x20aa2ec98, 0x37}, {0x0}, {0xd6d8, 0x0, 0x0, ...}, ...}) /Users/gabo/Workspace/Mintter/plz-out/tmp/backend/mintterd._build/backend/daemon/daemon.go:86 +0xebmain.main.func1() /Users/gabo/Workspace/Mintter/plz-out/tmp/backend/mintterd._build/backend/cmd/mintterd/main.go:68 +0x668github.com/burdiyan/go/mainutil.Run(0xc0000021a0?) /Users/gabo/go/pkg/mod/github.com/burdiyan/go/mainutil@v0.0.0-20200124222818-6f87e0e684b6/mainutil.go:28 +0x22main.main() /Users/gabo/Workspace/Mintter/plz-out/tmp/backend/mintterd._build/backend/cmd/mintterd/main.go:26 +0x25
Did you see our own modal window saying "Daemon crashed"?
Yes
Send log output from Console if it's relevant.
[2022-10-11][12:56:31][hyper::proto::h1::io][[37mDEBUG[0m] flushed 1204 bytes [2022-10-11][12:56:31][hyper::proto::h1::io][[37mDEBUG[0m] parsed 10 headers [2022-10-11][12:56:31][hyper::proto::h1::conn][[37mDEBUG[0m] incoming body is content-length (41 bytes) [2022-10-11][12:56:31][hyper::proto::h1::conn][[37mDEBUG[0m] incoming body completed [2022-10-11][12:56:31][hyper::client::pool][[37mDEBUG[0m] pooling idle connection for ("https", o4503930427473920.ingest.sentry.io) [2022-10-11][12:56:31][mintter::daemon][[37mINFO[0m] 2022-10-11T12:56:31.471+0200 DEBUG mintter/repo ondisk/ondisk.go:183 AccountInitialized {"accountID": "bahezrj4iaqacicabciqhobv6vxiekrtf3xt2pfjt6yxdbtw6qwfs5zqvhjqks6wppenedua"} [2022-10-11][12:56:31][mintter::daemon][[37mINFO[0m] panic: runtime error: invalid memory address or nil pointer dereference [2022-10-11][12:56:31][mintter::daemon][[37mINFO[0m] [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x4d4d33f] [2022-10-11][12:56:31][mintter::daemon][[37mINFO[0m] [2022-10-11][12:56:31][mintter::daemon][[37mINFO[0m] goroutine 1 [running]: [2022-10-11][12:56:31][mintter::daemon][[37mINFO[0m] mintter/backend/daemon.loadApp.func1() [2022-10-11][12:56:31][mintter::daemon][[37mINFO[0m] /Users/gabo/Workspace/Mintter/plz-out/tmp/backend/mintterd._build/backend/daemon/daemon.go:102 +0x3f [2022-10-11][12:56:31][mintter::daemon][[37mINFO[0m] mintter/backend/daemon.loadApp({0x5682790, 0xc000f02640}, {0xd6d9, 0xd6da, {0x20aa2ec98, 0x37}, {0x0}, {0xd6d8, 0x0, 0x0, ...}, ...}, ...) [2022-10-11][12:56:31][mintter::daemon][[37mINFO[0m] /Users/gabo/Workspace/Mintter/plz-out/tmp/backend/mintterd._build/backend/daemon/daemon.go:137 +0x80a [2022-10-11][12:56:31][mintter::daemon][[37mINFO[0m] mintter/backend/daemon.Load({0x5682790, 0xc000f02640}, {0xd6d9, 0xd6da, {0x20aa2ec98, 0x37}, {0x0}, {0xd6d8, 0x0, 0x0, ...}, ...}) [2022-10-11][12:56:31][mintter::daemon][[37mINFO[0m] /Users/gabo/Workspace/Mintter/plz-out/tmp/backend/mintterd._build/backend/daemon/daemon.go:86 +0xeb [2022-10-11][12:56:31][mintter::daemon][[37mINFO[0m] main.main.func1() [2022-10-11][12:56:31][mintter::daemon][[37mINFO[0m] /Users/gabo/Workspace/Mintter/plz-out/tmp/backend/mintterd._build/backend/cmd/mintterd/main.go:68 +0x668 [2022-10-11][12:56:31][mintter::daemon][[37mINFO[0m] github.com/burdiyan/go/mainutil.Run(0xc0000021a0?) [2022-10-11][12:56:31][mintter::daemon][[37mINFO[0m] /Users/gabo/go/pkg/mod/github.com/burdiyan/go/mainutil@v0.0.0-20200124222818-6f87e0e684b6/mainutil.go:28 +0x22 [2022-10-11][12:56:31][mintter::daemon][[37mINFO[0m] main.main() [2022-10-11][12:56:31][mintter::daemon][[37mINFO[0m] /Users/gabo/Workspace/Mintter/plz-out/tmp/backend/mintterd._build/backend/cmd/mintterd/main.go:26 +0x25 [2022-10-11][12:56:31][mintter::daemon][[31mERROR[0m] daemon crashed with exit code 2