morpheus.meta

Issues/PRs archive for Nordgedanken/Morpheus
git clone git://archive.git.mtrnord.blog/Nordgedanken/morpheus.meta.git
Log | Files | Refs

12.md (18725B)


      1 # #12 Investigate weird crash on login
      2 
      3 - **State:** closed
      4 - **Author:** @MTRNord
      5 - **Created:** 2017-10-10T15:53:50Z
      6 - **Closed:** 2017-11-22T18:35:04Z
      7 - **Labels:** bug, invalid
      8 - **Assignees:** @MTRNord
      9 
     10 ---
     11 
     12 Horrible Log I got:
     13 
     14 ```
     15 marce@DESKTOP-EGVRLFQ MINGW64 ~/go/src/github.com/Nordgedanken/Morpheus/deploy/w                                                                                                                                                                                               indows (master)
     16 $ ./Morpheus.exe
     17 2017-10-10 17:52:23 - Starting Morpheus
     18 2017-10-10 17:52:23 - Starting Auto Login Sequenze in background
     19 2017-10-10 17:52:23 - msg=Failed to GET JSON to /_matrix/client/r0/rooms/!DgvjtO                                                                                                                                                                                               ljKujDBrxyHk:matrix.org/state/m.room.aliases code=404 wrapped=M_NOT_FOUND: Event                                                                                                                                                                                                not found.
     20 2017-10-10 17:52:23 - msg=Failed to GET JSON to /_matrix/client/r0/rooms/!EDuQpg                                                                                                                                                                                               unAOTYiUKIcU:matrix.org/state/m.room.aliases code=404 wrapped=M_NOT_FOUND: Event                                                                                                                                                                                                not found.
     21 2017-10-10 17:52:23 - msg=Failed to GET JSON to /_matrix/client/r0/rooms/!PisumN                                                                                                                                                                                               CACkTdCduGyB:matrix.org/state/m.room.aliases code=404 wrapped=M_NOT_FOUND: Event                                                                                                                                                                                                not found.
     22 2017-10-10 17:52:23 - msg=Failed to GET JSON to /_matrix/client/r0/rooms/!OYyXUb                                                                                                                                                                                               cTKVsDBUniNn:matrix.eclabs.de/state/m.room.aliases code=404 wrapped=M_NOT_FOUND:                                                                                                                                                                                                Event not found.
     23 2017-10-10 17:52:23 - msg=Failed to GET JSON to /_matrix/client/r0/rooms/!BPvgRc                                                                                                                                                                                               BVHzyFSlYkrg:matrix.org/state/m.room.aliases code=404 wrapped=M_NOT_FOUND: Event                                                                                                                                                                                                not found.
     24 2017-10-10 17:52:23 - msg=Failed to GET JSON to /_matrix/client/r0/rooms/!zTIXGm                                                                                                                                                                                               DjyRcAqbrWab:matrix.ffslfl.net/state/m.room.aliases code=404 wrapped=M_NOT_FOUND                                                                                                                                                                                               : Event not found.
     25 2017-10-10 17:52:23 - msg=Failed to GET JSON to /_matrix/client/r0/rooms/!cURbaf                                                                                                                                                                                               jkfsMDVwdRDQ:matrix.org/state/m.room.aliases code=404 wrapped=M_NOT_FOUND: Event                                                                                                                                                                                                not found.
     26 2017-10-10 17:52:23 - msg=Failed to GET JSON to /_matrix/client/r0/rooms/!XqBunH                                                                                                                                                                                               wQIXUiqCaoxq:matrix.org/state/m.room.aliases code=404 wrapped=M_NOT_FOUND: Event                                                                                                                                                                                                not found.
     27 2017-10-10 17:52:23 - msg=Failed to GET JSON to /_matrix/client/r0/rooms/!PQgcrP                                                                                                                                                                                               ZqvvbaAGKezi:matrix.org/state/m.room.aliases code=404 wrapped=M_NOT_FOUND: Event                                                                                                                                                                                                not found.
     28 2017-10-10 17:52:23 - msg=Failed to GET JSON to /_matrix/client/r0/rooms/!fmweAI                                                                                                                                                                                               KpbYgSAtNnmw:matrix.ffslfl.net/state/m.room.aliases code=404 wrapped=M_NOT_FOUND                                                                                                                                                                                               : Event not found.
     29 2017-10-10 17:52:23 - Syncing now
     30 2017-10-10 17:52:23 - sync
     31 2017-10-10 17:52:23 - Starting Logout Sequenze in background
     32 Exception 0xc0000005 0x0 0xfffffffffffffff0 0x6fd08927
     33 PC=0x6fd08927
     34 signal arrived during external code execution
     35 
     36 github.com/therecipe/qt/widgets._Cfunc_QWidget_KeyPressEventDefault(0x3875330, 0                                                                                                                                                                                               xd1c450)
     37         github.com/therecipe/qt/widgets/_obj/_cgo_gotypes.go:11080 +0x48
     38 github.com/therecipe/qt/widgets.(*QWidget).KeyPressEventDefault.func1(0x3875330,                                                                                                                                                                                                0xd1c450)
     39         C:/Users/marce/go/src/github.com/therecipe/qt/widgets/widgets-minimal.go                                                                                                                                                                                               :12023 +0xaa
     40 github.com/therecipe/qt/widgets.(*QWidget).KeyPressEventDefault(0xc042297a20, 0x                                                                                                                                                                                               a71c00, 0xc042152388)
     41         C:/Users/marce/go/src/github.com/therecipe/qt/widgets/widgets-minimal.go                                                                                                                                                                                               :12023 +0x77
     42 main.NewMainUI.func6(0xc042152388)
     43         C:/Users/marce/go/src/github.com/Nordgedanken/Morpheus/uis.go:290 +0x277
     44 github.com/therecipe/qt/widgets.callbackQWidget_KeyPressEvent(0x37d1a70, 0xd1c45                                                                                                                                                                                               0)
     45         C:/Users/marce/go/src/github.com/therecipe/qt/widgets/widgets-minimal.go                                                                                                                                                                                               :11988 +0x183
     46 github.com/therecipe/qt/widgets._cgoexpwrap_5a494a80844b_callbackQWidget_KeyPres                                                                                                                                                                                               sEvent(0x37d1a70, 0xd1c450)
     47         github.com/therecipe/qt/widgets/_obj/_cgo_gotypes.go:14427 +0x3c
     48 github.com/therecipe/qt/widgets._Cfunc_QApplication_QApplication_Exec(0x0)
     49         github.com/therecipe/qt/widgets/_obj/_cgo_gotypes.go:1138 +0x50
     50 github.com/therecipe/qt/widgets.QApplication_Exec(0xc0420ddaf0)
     51         C:/Users/marce/go/src/github.com/therecipe/qt/widgets/widgets-minimal.go                                                                                                                                                                                               :1169 +0x29
     52 main.main()
     53         C:/Users/marce/go/src/github.com/Nordgedanken/Morpheus/main.go:95 +0x67e
     54 
     55 goroutine 17 [syscall, locked to thread]:
     56 runtime.goexit()
     57         C:/Go/src/runtime/asm_amd64.s:2197 +0x1
     58 
     59 goroutine 5 [chan receive]:
     60 github.com/tidwall/buntdb.(*DB).backgroundManager(0xc042014a00)
     61         C:/Users/marce/go/src/github.com/tidwall/buntdb/buntdb.go:542 +0xeb
     62 created by github.com/tidwall/buntdb.Open
     63         C:/Users/marce/go/src/github.com/tidwall/buntdb/buntdb.go:165 +0x20d
     64 
     65 goroutine 53 [IO wait]:
     66 net.runtime_pollWait(0x7140f00, 0x72, 0xa6c1d0)
     67         C:/Go/src/runtime/netpoll.go:164 +0x60
     68 net.(*pollDesc).wait(0xc0421a81a0, 0x72, 0xa6c1d0, 0x0)
     69         C:/Go/src/net/fd_poll_runtime.go:75 +0x3f
     70 net.(*ioSrv).ExecIO(0xc0421a6000, 0xc0421a8060, 0x7d4dae, 0x7, 0x7e86e0, 0x0, 0x                                                                                                                                                                                               64, 0x1)
     71         C:/Go/src/net/fd_windows.go:196 +0xfe
     72 net.(*netFD).Read(0xc0421a8000, 0xc04212ec00, 0x400, 0x400, 0x0, 0x0, 0x0)
     73         C:/Go/src/net/fd_windows.go:452 +0x13d
     74 net.(*conn).Read(0xc0421a6010, 0xc04212ec00, 0x400, 0x400, 0x0, 0x0, 0x0)
     75         C:/Go/src/net/net.go:181 +0x77
     76 crypto/tls.(*block).readFromUntil(0xc04219a1b0, 0x7140fc0, 0xc0421a6010, 0x5, 0x                                                                                                                                                                                               c0421a6010, 0x28)
     77         C:/Go/src/crypto/tls/conn.go:488 +0x9f
     78 crypto/tls.(*Conn).readRecord(0xc0421ac000, 0x7e8d17, 0xc0421ac120, 0x452b80)
     79         C:/Go/src/crypto/tls/conn.go:590 +0xcb
     80 crypto/tls.(*Conn).Read(0xc0421ac000, 0xc0421bf000, 0x1000, 0x1000, 0x0, 0x0, 0x                                                                                                                                                                                               0)
     81         C:/Go/src/crypto/tls/conn.go:1134 +0x124
     82 net/http.(*persistConn).Read(0xc042194000, 0xc0421bf000, 0x1000, 0x1000, 0x5, 0x                                                                                                                                                                                               450ad0, 0xc04218a180)
     83         C:/Go/src/net/http/transport.go:1316 +0x152
     84 bufio.(*Reader).fill(0xc0421a0ba0)
     85         C:/Go/src/bufio/bufio.go:97 +0x11e
     86 bufio.(*Reader).Peek(0xc0421a0ba0, 0x1, 0xc042139be5, 0xc042297a01, 0x4, 0xc0420                                                                                                                                                                                               1a300, 0x0)
     87         C:/Go/src/bufio/bufio.go:129 +0x6e
     88 net/http.(*persistConn).readLoop(0xc042194000)
     89         C:/Go/src/net/http/transport.go:1474 +0x19d
     90 created by net/http.(*Transport).dialConn
     91         C:/Go/src/net/http/transport.go:1117 +0xa3c
     92 
     93 goroutine 54 [select]:
     94 net/http.(*persistConn).writeLoop(0xc042194000)
     95         C:/Go/src/net/http/transport.go:1704 +0x441
     96 created by net/http.(*Transport).dialConn
     97         C:/Go/src/net/http/transport.go:1118 +0xa61
     98 
     99 goroutine 8 [select]:
    100 net/http.(*persistConn).roundTrip(0xc042194000, 0xc042198240, 0x0, 0x0, 0x0)
    101         C:/Go/src/net/http/transport.go:1898 +0x97b
    102 net/http.(*Transport).RoundTrip(0xa9af00, 0xc042282100, 0xa9af00, 0x0, 0x0)
    103         C:/Go/src/net/http/transport.go:391 +0x753
    104 net/http.send(0xc042282100, 0xa6e280, 0xa9af00, 0x0, 0x0, 0x0, 0x0, 0x8, 0xc0421                                                                                                                                                                                               52110, 0x410f4f)
    105         C:/Go/src/net/http/client.go:249 +0x169
    106 net/http.(*Client).send(0xad5be0, 0xc042282100, 0x0, 0x0, 0x0, 0xc042152110, 0x0                                                                                                                                                                                               , 0x1, 0x409f15)
    107         C:/Go/src/net/http/client.go:173 +0x10f
    108 net/http.(*Client).Do(0xad5be0, 0xc042282100, 0xc, 0x7d9ac3, 0x10)
    109         C:/Go/src/net/http/client.go:595 +0x25b
    110 github.com/matrix-org/gomatrix.(*Client).MakeRequest(0xc04213e080, 0x7d27c4, 0x3                                                                                                                                                                                               , 0xc0421829a0, 0x15a, 0x0, 0x0, 0x726760, 0xc0421520f0, 0x0, ...)
    111         C:/Users/marce/go/src/github.com/matrix-org/gomatrix/client.go:204 +0x21                                                                                                                                                                                               d
    112 github.com/matrix-org/gomatrix.(*Client).SyncRequest(0xc04213e080, 0x7530, 0x0,                                                                                                                                                                                                0x0, 0xc042297ae8, 0x3, 0x0, 0x0, 0x0, 0xc042012620, ...)
    113         C:/Users/marce/go/src/github.com/matrix-org/gomatrix/client.go:270 +0x21                                                                                                                                                                                               b
    114 github.com/matrix-org/gomatrix.(*Client).Sync(0xc04213e080, 0xc04211dfb8, 0x1)
    115         C:/Users/marce/go/src/github.com/matrix-org/gomatrix/client.go:132 +0x13                                                                                                                                                                                               d
    116 main.NewMainUI.func5(0xc04213e080)
    117         C:/Users/marce/go/src/github.com/Nordgedanken/Morpheus/uis.go:269 +0xc8
    118 created by main.NewMainUI
    119         C:/Users/marce/go/src/github.com/Nordgedanken/Morpheus/uis.go:276 +0xc46
    120 
    121 goroutine 10 [IO wait]:
    122 net.runtime_pollWait(0x7140e40, 0x72, 0xa6c1d0)
    123         C:/Go/src/runtime/netpoll.go:164 +0x60
    124 net.(*pollDesc).wait(0xc0422e01a0, 0x72, 0xa6c1d0, 0x0)
    125         C:/Go/src/net/fd_poll_runtime.go:75 +0x3f
    126 net.(*ioSrv).ExecIO(0xc0421a6000, 0xc0422e0060, 0x7d4dae, 0x7, 0x7e86e0, 0x0, 0x                                                                                                                                                                                               64, 0x1)
    127         C:/Go/src/net/fd_windows.go:196 +0xfe
    128 net.(*netFD).Read(0xc0422e0000, 0xc04212f400, 0x400, 0x400, 0x0, 0x0, 0x0)
    129         C:/Go/src/net/fd_windows.go:452 +0x13d
    130 net.(*conn).Read(0xc042004030, 0xc04212f400, 0x400, 0x400, 0x0, 0x0, 0x0)
    131         C:/Go/src/net/net.go:181 +0x77
    132 crypto/tls.(*block).readFromUntil(0xc0421405a0, 0x7140fc0, 0xc042004030, 0x5, 0x                                                                                                                                                                                               c042004030, 0x28)
    133         C:/Go/src/crypto/tls/conn.go:488 +0x9f
    134 crypto/tls.(*Conn).readRecord(0xc0421ac700, 0x7e8d17, 0xc0421ac820, 0x452b80)
    135         C:/Go/src/crypto/tls/conn.go:590 +0xcb
    136 crypto/tls.(*Conn).Read(0xc0421ac700, 0xc0422eb000, 0x1000, 0x1000, 0x0, 0x0, 0x                                                                                                                                                                                               0)
    137         C:/Go/src/crypto/tls/conn.go:1134 +0x124
    138 net/http.(*persistConn).Read(0xc0421e4000, 0xc0422eb000, 0x1000, 0x1000, 0x5, 0x                                                                                                                                                                                               450ad0, 0xc0420d4c00)
    139         C:/Go/src/net/http/transport.go:1316 +0x152
    140 bufio.(*Reader).fill(0xc0420d4a80)
    141         C:/Go/src/bufio/bufio.go:97 +0x11e
    142 bufio.(*Reader).Peek(0xc0420d4a80, 0x1, 0xc042463be5, 0xc0422da101, 0x4, 0xc0420                                                                                                                                                                                               d4ae0, 0x0)
    143         C:/Go/src/bufio/bufio.go:129 +0x6e
    144 net/http.(*persistConn).readLoop(0xc0421e4000)
    145         C:/Go/src/net/http/transport.go:1474 +0x19d
    146 created by net/http.(*Transport).dialConn
    147         C:/Go/src/net/http/transport.go:1117 +0xa3c
    148 
    149 goroutine 11 [select]:
    150 net/http.(*persistConn).writeLoop(0xc0421e4000)
    151         C:/Go/src/net/http/transport.go:1704 +0x441
    152 created by net/http.(*Transport).dialConn
    153         C:/Go/src/net/http/transport.go:1118 +0xa61
    154 rax     0x0
    155 rbx     0x3875330
    156 rcx     0x3875330
    157 rdi     0xab8ac0
    158 rsi     0x0
    159 rbp     0xab9390
    160 rsp     0xd1b940
    161 r8      0xab8ac0
    162 r9      0x0
    163 r10     0xc042152388
    164 r11     0xc042152388
    165 r12     0x1
    166 r13     0x72
    167 r14     0x388
    168 r15     0x400
    169 rip     0x6fd08927
    170 rflags  0x10202
    171 cs      0x33
    172 fs      0x53
    173 gs      0x2b
    174 ```
    175 
    176 
    177 ## Comments
    178 
    179 ### @MTRNord — 2017-10-10T15:56:11Z
    180 
    181 Somehow the DB failed on Logout. Now the client is in a deadlock state
    182