seed-hypermedia / mintter

Mintter: an app for knowledge communities. Powered by the Hypermedia protocol.
https://mintter.com
Apache License 2.0
162 stars 11 forks source link

[Crash Report]: #909

Closed GaboHBeaumont closed 1 year ago

GaboHBeaumont commented 2 years ago

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

Screenshot 2022-10-11 at 12 58 46

Send log output from Console if it's relevant.

[2022-10-11][12:56:31][hyper::proto::h1::io][DEBUG] flushed 1204 bytes [2022-10-11][12:56:31][hyper::proto::h1::io][DEBUG] parsed 10 headers [2022-10-11][12:56:31][hyper::proto::h1::conn][DEBUG] incoming body is content-length (41 bytes) [2022-10-11][12:56:31][hyper::proto::h1::conn][DEBUG] incoming body completed [2022-10-11][12:56:31][hyper::client::pool][DEBUG] pooling idle connection for ("https", o4503930427473920.ingest.sentry.io) [2022-10-11][12:56:31][mintter::daemon][INFO] 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][INFO] panic: runtime error: invalid memory address or nil pointer dereference [2022-10-11][12:56:31][mintter::daemon][INFO] [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x4d4d33f] [2022-10-11][12:56:31][mintter::daemon][INFO] [2022-10-11][12:56:31][mintter::daemon][INFO] goroutine 1 [running]: [2022-10-11][12:56:31][mintter::daemon][INFO] mintter/backend/daemon.loadApp.func1() [2022-10-11][12:56:31][mintter::daemon][INFO] /Users/gabo/Workspace/Mintter/plz-out/tmp/backend/mintterd._build/backend/daemon/daemon.go:102 +0x3f [2022-10-11][12:56:31][mintter::daemon][INFO] mintter/backend/daemon.loadApp({0x5682790, 0xc000f02640}, {0xd6d9, 0xd6da, {0x20aa2ec98, 0x37}, {0x0}, {0xd6d8, 0x0, 0x0, ...}, ...}, ...) [2022-10-11][12:56:31][mintter::daemon][INFO] /Users/gabo/Workspace/Mintter/plz-out/tmp/backend/mintterd._build/backend/daemon/daemon.go:137 +0x80a [2022-10-11][12:56:31][mintter::daemon][INFO] mintter/backend/daemon.Load({0x5682790, 0xc000f02640}, {0xd6d9, 0xd6da, {0x20aa2ec98, 0x37}, {0x0}, {0xd6d8, 0x0, 0x0, ...}, ...}) [2022-10-11][12:56:31][mintter::daemon][INFO] /Users/gabo/Workspace/Mintter/plz-out/tmp/backend/mintterd._build/backend/daemon/daemon.go:86 +0xeb [2022-10-11][12:56:31][mintter::daemon][INFO] main.main.func1() [2022-10-11][12:56:31][mintter::daemon][INFO] /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][INFO] github.com/burdiyan/go/mainutil.Run(0xc0000021a0?) [2022-10-11][12:56:31][mintter::daemon][INFO] /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][INFO] main.main() [2022-10-11][12:56:31][mintter::daemon][INFO] /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][ERROR] daemon crashed with exit code 2

horacioh commented 2 years ago

my crash:

  1. What did you do in the app? How long it was running?

    • after creating a new draft
    • after opening a transclusion
    • after publishing a draft
    • after navigating through multiple publications
    • after deleting a publication ... in review: there's no specific action that crashes the app, it happens randomly
  2. What OS version are you running? Intel or ARM? Intel macOS 12.5.1 (Monterrey)

  3. 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

  4. Did you have macOS crash report window? If so, what's the output? I pasted one before, I will gather more from now on

  5. Did you see our own modal window saying "Daemon crashed"? Yes. sometimes it opens every time I try to open the app

  6. Send log output if it's relevant. How do I know if it's relevant or not?

horacioh commented 2 years ago

I also got another in dev mode:

GaboHBeaumont commented 2 years ago

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

horacioh commented 2 years ago

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