signal-cli-rest-api
signal-cli-rest-api copied to clipboard
SEGV on Odroid-c2
The problem
I noticed the last 2 releases (0.84/0.85) throw a SEGV on Odroid-C2. 0.83 is works fine.
Seems to be triggered by receive :
[GIN] 2024/06/26 - 22:01:00 | 400 | 1m0s | 127.0.0.1 | GET "/v1/receive/+447867970260?ignore_attachments=false&ignore_stories=false&timeout=10"
time="2024-06-26T22:01:00Z" level=error msg="AUTO_RECEIVE_SCHEDULE: Couldn't call receive for number +447867970260: {process killed as timeout reached}"
Logs include -
2024-06-27 12:19:20.055 ERROR (SyncWorker_22) [homeassistant.components.signal_messenger.notify]
[ [ SegfaultHandler caught a segfault in thread 0x0000ffff5c003280 ] ]
siginfo: si_signo: 11, si_code: 1, si_addr: 0x0000000000000000
General purpose register values:
R0 0x0000000000000108 is an unknown value
R1 0x0000000000000008 is an unknown value
R2 0x0000ffff5c000d38 is an unknown value
R3 0x0000ffff7a0bf058 is an unknown value
R4 0x0000ffff7a0becb8 is an unknown value
R5 0x0000ffff5c003248 is an unknown value
R6 0x0000000000000000
R7 0x0000ffff5c002a90 is an unknown value
R8 0x0000000000000001 is an unknown value
R9 0x0000000000000000
R10 0x00000000000001bb is an unknown value
R11 0x0000000000000000
R12 0x0000000000000000
R13 0x0000000000000003 is an unknown value
R14 0x0000000000000000
R15 0x0000000000000000
R16 0x0000000000000002 is an unknown value
R17 0x0000000000000000
R18 0x0000000000000000
R19 0x0000ffff7a0bed00 is an unknown value
R20 0x0000000000000002 is an unknown value
R21 0x0000ffff7a0bebb0 is an unknown value
R22 0x0000ffff5c000d30 is an unknown value
R23 0x0000ffff5c002a80 is an unknown value
R24 0x0000ffffa5abf390 is an unknown value
R25 0x0000ffff5c0029f4 is an unknown value
R26 0x0000ffff5c0029f4 is an unknown value
R27 0x0000ffffa5abf39c is an unknown value
R28 0x0000ffff5c002920 is an unknown value
R29 0x0000ffff5c002910 is an unknown value
R30 0x0000ffffa5ad0f84 is an unknown value
SP 0x0000ffff7a0beae0 is an unknown value
PC 0x0000ffffa5ad1014 is an unknown value
Printing instructions (ip=0x0000ffffa5ad1014):
0x0000ffffa5ad0f14: 0x21 0x00 0x41 0xad 0xf3 0x03 0x00 0xaa 0xf5 0x43 0x03 0x91 0x23 0x08 0x43 0xad
0x0000ffffa5ad0f24: 0xe1 0x03 0x01 0xad 0x20 0x04 0x42 0xad 0xe3 0x0b 0x03 0xad 0x23 0x08 0x45 0xad
0x0000ffffa5ad0f34: 0xe0 0x07 0x02 0xad 0x20 0x04 0x44 0xad 0xe3 0x0b 0x05 0xad 0xe0 0x07 0x04 0xad
0x0000ffffa5ad0f44: 0x28 0x60 0x40 0xf9 0x20 0x08 0x40 0xad 0xe8 0x63 0x00 0xf9 0x16 0x00 0x40 0xf9
0x0000ffffa5ad0f54: 0xe0 0x0b 0x00 0xad 0xd7 0x0a 0x40 0xf9 0x02 0x00 0x00 0x14 0xdf 0x3f 0x03 0xd5
0x0000ffffa5ad0f64: 0xd4 0x06 0x40 0xf9 0x9f 0x06 0x00 0xb1 0xa0 0xff 0xff 0x54 0xb4 0x0a 0xf8 0xb7
0x0000ffffa5ad0f74: 0x81 0x06 0x00 0x91 0xc2 0x22 0x00 0x91 0xe0 0x03 0x14 0xaa 0xdc 0xbe 0x0a 0x94
0x0000ffffa5ad0f84: 0x1f 0x00 0x14 0xeb 0xf4 0x03 0x00 0xaa 0xe1 0xfe 0xff 0x54 0xe0 0x87 0x44 0xad
0x0000ffffa5ad0f94: 0xe9 0x42 0x00 0x91 0xf6 0x73 0x00 0xf9 0xff 0xff 0x1b 0xa9 0x00 0x21 0x80 0x52
0x0000ffffa5ad0fa4: 0xff 0xe7 0x00 0xf9 0x01 0x01 0x80 0x52 0xa0 0x82 0x8a 0x3c 0xe2 0x2f 0xc0 0x3d
0x0000ffffa5ad0fb4: 0xa1 0x82 0x8b 0x3c 0xe0 0x87 0x42 0xad 0xa2 0x82 0x8c 0x3c 0xa0 0x82 0x86 0x3c
0x0000ffffa5ad0fc4: 0xe2 0x8f 0x43 0xad 0xa1 0x82 0x87 0x3c 0xa2 0x82 0x88 0x3c 0xe0 0x87 0x40 0xad
0x0000ffffa5ad0fd4: 0xa3 0x82 0x89 0x3c 0xa0 0x82 0x82 0x3c 0xe2 0x93 0x41 0xad 0xa1 0x82 0x83 0x3c
0x0000ffffa5ad0fe4: 0xa2 0x82 0x84 0x3c 0xe8 0x63 0x40 0xf9 0xa4 0x82 0x85 0x3c 0xe3 0x03 0xc0 0x3d
0x0000ffffa5ad0ff4: 0xe8 0xa7 0x1a 0xa9 0x28 0x00 0x80 0x52 0x09 0x29 0x00 0xb0 0xa3 0x82 0x81 0x3c
0x0000ffffa5ad1004: 0x00 0x0d 0x08 0x4e 0x29 0x45 0x47 0xf9 0xe8 0xa3 0x03 0x79 0xe0 0x37 0x80 0x3d
> 0x0000ffffa5ad1014: 0x3f 0x01 0x40 0x39 0x20 0xdf 0xf5 0x97 0x80 0x05 0x00 0xb4 0xe1 0x43 0x03 0x91
0x0000ffffa5ad1024: 0x02 0x21 0x80 0x52 0xf4 0x03 0x00 0xaa 0xd9 0xe8 0xf4 0x97 0x95 0x42 0x00 0x91
0x0000ffffa5ad1034: 0x61 0x22 0x00 0x91 0xe0 0x03 0x15 0xaa 0x7f 0x42 0x00 0x39 0x18 0xbf 0x0a 0x94
0x0000ffffa5ad1044: 0xe0 0x01 0x00 0xb4 0x68 0x02 0x40 0xf9 0x08 0x09 0x40 0xf9 0x08 0x41 0x00 0x91
0x0000ffffa5ad1054: 0x09 0x40 0x03 0x91 0x29 0xfd 0xdf 0xc8 0x1f 0x01 0x09 0xeb 0xa0 0xff 0xff 0x54
0x0000ffffa5ad1064: 0x08 0x70 0x40 0xf9 0x89 0x82 0x03 0x91 0x08 0x05 0x00 0x91 0x88 0x7a 0x00 0xf9
0x0000ffffa5ad1074: 0x20 0xfd 0x9f 0xc8 0x15 0x6c 0x00 0xf9 0x05 0x00 0x00 0x14 0x28 0x00 0x80 0x52
0x0000ffffa5ad1084: 0x89 0x82 0x03 0x91 0x88 0x7a 0x00 0xf9 0x3f 0xfd 0x9f 0xc8 0x68 0x02 0x40 0xf9
0x0000ffffa5ad1094: 0xe0 0x03 0x15 0xaa 0x9f 0x7e 0x00 0xf9 0x01 0xc1 0x00 0x91 0x00 0xbf 0x0a 0x94
0x0000ffffa5ad10a4: 0x08 0xa0 0x03 0x91 0x15 0xfd 0x9f 0xc8 0xff 0x83 0x07 0x91 0xf4 0x4f 0x43 0xa9
0x0000ffffa5ad10b4: 0xf6 0x57 0x42 0xa9 0xfe 0x5f 0x41 0xa9 0xfd 0x07 0x44 0xf8 0xc0 0x03 0x5f 0xd6
0x0000ffffa5ad10c4: 0x71 0x3c 0xf5 0x97 0x04 0x00 0x00 0x14 0x00 0x01 0x80 0x52 0x01 0x21 0x80 0x52
0x0000ffffa5ad10d4: 0x3a 0x6d 0xf5 0x97 0x20 0x00 0x20 0xd4 0xf3 0x03 0x00 0xaa 0xe0 0x43 0x03 0x91
0x0000ffffa5ad10e4: 0x42 0x06 0x00 0x94 0x05 0x00 0x00 0x14 0x05 0x6e 0xf5 0x97 0xf3 0x03 0x00 0xaa
0x0000ffffa5ad10f4: 0xe0 0x03 0x00 0x91 0xff 0x05 0x00 0x94 0xe0 0x03 0x13 0xaa 0xe8 0xe8 0xf4 0x97
0x0000ffffa5ad1104: 0xff 0x6d 0xf5 0x97 0xfd 0x7b 0xba 0xa9 0xfc 0x6f 0x01 0xa9 0xfa 0x67 0x02 0xa9
Top of stack (sp=0x0000ffff7a0beae0):
0x0000ffff7a0beac0: 0x0000ffff7a0bebb0 0x0000ffff5c000d30 0x0000ffff5c002910 0x0000ffffa5ad0f84
> 0x0000ffff7a0beae0: 0x0000000000000000 0x000000000bebc200 0xffc22d7a280001bb 0x0000000000000000
0x0000ffff7a0beb00: 0x0000000300000000 0x0000000000000000 0x0000000000000001 0x0000ffffa5af7138
0x0000ffff7a0beb20: 0x0000ffff6c00b6c0 0x0000ffff7a0cf8e0 0x0000ffff7a0bf120 0x000000000000000f
0x0000ffff7a0beb40: 0x0000ffff5c0029f0 0x000000000000000f 0x0000ffff6c00bc60 0x0000ffff6c00b6c0
0x0000ffff7a0beb60: 0x0000ffff5c002780 0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000ffff7a0beb80: 0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000ffff7a0beba0: 0x0000000000000000 0x0000000000000000 0x0000000000000001 0x0000000000000001
0x0000ffff7a0bebc0: 0x0000ffff5c000d30 0x0000000000000000 0x000000000bebc200 0xffc22d7a280001bb
0x0000ffff7a0bebe0: 0x0000000000000000 0x0000000300000000 0x0000000000000000 0x0000000000000001
0x0000ffff7a0bec00: 0x0000ffffa5af7138 0x0000ffff6c00b6c0 0x0000ffff7a0cf8e0 0x0000ffff7a0bf120
0x0000ffff7a0bec20: 0x000000000000000f 0x0000ffff5c0029f0 0x000000000000000f 0x0000ffff6c00bc60
0x0000ffff7a0bec40: 0x0000ffff6c00b6c0 0x0000ffff5c002780 0x0000000000000000 0x0000000000000000
0x0000ffff7a0bec60: 0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000ffff7a0bec80: 0x0000000000000000 0x0000000000000000 0x0000ffff5c002a90 0x0000000000000000
0x0000ffff7a0beca0: 0x0000000000000000 0x0000000000000000 0x0000000000000001 0x0000ffff5c0029f0
0x0000ffff7a0becc0: 0x0000ffff5c002910 0x0000ffff6c00bc60 0x0000ffffa5ac7328 0x0000ffff7a0bf059
The failing thread 0x0000ffff5c003280 does not have a full set of VM thread locals as it is an unattached thread.
Java frame anchors for the failing thread 0x0000ffff5c003280:
No anchors
Stacktrace for the failing thread 0x0000ffff5c003280 (A=AOT compiled, J=JIT compiled, D=deoptimized, i=inlined):
SP 0x0000ffff7a0beae0 IP 0x0000ffffa5ad1014 IP is not within Java code. Aborting stack trace printing.
Starting the stack walk in a possible caller:
A SP 0x0000ffff7a0bf1b0 IP 0x00000000005c0029 size=192 com.fasterxml.jackson.databind.deser.BasicDeserializerFactory.createCollectionDeserializer(BasicDeserializerFactory.java)
SP 0x0000ffff7a0bf270 IP 0x0000ffff5c002680 IP is not within Java code. Aborting stack trace printing.
Threads:
0x0000ffff3c000b80 STATUS_IN_NATIVE (ALLOW_SAFEPOINT) "HikariPool-1 connection adder" - 0x0000ffff46f00b30, daemon, stack(0x0000ffff46701000,0x0000ffff46f00000)
0x0000ffff38000b80 STATUS_IN_NATIVE (ALLOW_SAFEPOINT) "msl-cleanup" - 0x0000ffff79e33090, daemon, stack(0x0000ffff46ff1000,0x0000ffff477f0000)
0x0000ffff40000b80 STATUS_IN_NATIVE (ALLOW_SAFEPOINT) "RxComputationThreadPool-4" - 0x0000ffff78200bf0, daemon, stack(0x0000ffff47801000,0x0000ffff48000000)
0x0000ffff4c000b80 STATUS_IN_NATIVE (ALLOW_SAFEPOINT) "RxComputationThreadPool-3" - 0x0000ffff79300bf0, daemon, stack(0x0000ffff782f1000,0x0000ffff78af0000)
0x0000ffff48000b80 STATUS_IN_NATIVE (ALLOW_SAFEPOINT) "RxComputationThreadPool-2" - 0x0000ffff79e2f010, daemon, stack(0x0000ffff78b01000,0x0000ffff79300000)
0x0000ffff54000b80 STATUS_IN_NATIVE (ALLOW_SAFEPOINT) "RxComputationThreadPool-1" - 0x0000ffff79e2c0c8, daemon, stack(0x0000ffff793f1000,0x0000ffff79bf0000)
0x0000ffff6c000b80 STATUS_IN_NATIVE (ALLOW_SAFEPOINT) "pool-5-thread-1" - 0x0000ffff9666c508, stack(0x0000ffff7a7e1000,0x0000ffff7afe0000)
0x0000ffff68000b80 STATUS_IN_NATIVE (ALLOW_SAFEPOINT) "OkHttp TaskRunner" - 0x0000ffff94200a50, daemon, stack(0x0000ffff7aff1000,0x0000ffff7b7f0000)
0x0000ffff70000b80 STATUS_IN_NATIVE (ALLOW_SAFEPOINT) "OkHttp TaskRunner" - 0x0000ffff95400fe0, daemon, stack(0x0000ffff7b801000,0x0000ffff7c000000)
0x0000ffff74000b80 STATUS_IN_NATIVE (ALLOW_SAFEPOINT) "OkHttp TaskRunner" - 0x0000ffff95d00a88, daemon, stack(0x0000ffff94301000,0x0000ffff94b00000)
0x0000ffff80000b80 STATUS_IN_NATIVE (ALLOW_SAFEPOINT) "Okio Watchdog" - 0x0000ffff966222a8, daemon, stack(0x0000ffff94c01000,0x0000ffff95400000)
0x0000ffff7c000b80 STATUS_IN_NATIVE (ALLOW_SAFEPOINT) "OkHttp TaskRunner" - 0x0000ffff9661a758, daemon, stack(0x0000ffff95501000,0x0000ffff95d00000)
0x0000ffff88000b80 STATUS_IN_NATIVE (ALLOW_SAFEPOINT) "OkHttp chat.signal.org" - 0x0000ffff96617910, daemon, stack(0x0000ffff95e01000,0x0000ffff96600000)
0x0000ffff84000b80 STATUS_IN_NATIVE (ALLOW_SAFEPOINT) "RxCachedWorkerPoolEvictor-1" - 0x0000ffffa4426f00, daemon, stack(0x0000ffff96ff1000,0x0000ffff977f0000)
0x0000ffff8c000b80 STATUS_IN_NATIVE (ALLOW_SAFEPOINT) "RxSchedulerPurge-1" - 0x0000ffffa5079940, daemon, stack(0x0000ffff97801000,0x0000ffff98000000)
0x0000ffff90000b80 STATUS_IN_NATIVE (ALLOW_SAFEPOINT) "HikariPool-1 housekeeper" - 0x0000ffffa5063e10, daemon, stack(0x0000ffffa46e1000,0x0000ffffa4ee0000)
0x0000ffff9c000b80 STATUS_IN_NATIVE (ALLOW_SAFEPOINT) "process reaper" - 0x0000ffffa6306df0, daemon, stack(0x0000ffffa81d3000,0x0000ffffa8200000)
0x0000ffff98000b80 STATUS_IN_NATIVE (ALLOW_SAFEPOINT) "Signal Dispatcher" - 0x0000ffffa81220d0, daemon, stack(0x0000ffffa7001000,0x0000ffffa7800000)
0x0000ffffa0000b80 STATUS_IN_NATIVE (ALLOW_SAFEPOINT) "Reference Handler" - 0x0000ffffa973c848, daemon, stack(0x0000ffffa7901000,0x0000ffffa8100000)
0x0000000041e0e8c0 STATUS_IN_NATIVE (ALLOW_SAFEPOINT) "main" - 0x0000ffffa973c780, stack(0x0000ffffc37cf000,0x0000ffffc3fcf000)
Are you using the latest released version?
- [X] Yes
Have you read the troubleshooting page?
- [X] Yes
What type of installation are you running?
Home Assistant Signal Addon
In which mode are you using the docker container?
Native Mode
What's the architecture of your host system?
arm64
Additional information
See also https://github.com/haberda/signal-addon/issues/141