VernissageApp / VernissageServer

Application which is main API component for Vernissage photos sharing platform.
https://vernissage.photos
Apache License 2.0
11 stars 0 forks source link

api server is crashing when attempting to login as admin #147

Open etrever opened 1 week ago

etrever commented 1 week ago

Curl works to get a token, but the web ui causes the api container to hang for about five minutes before it produces this crash

[ INFO ] GET /api/v1/auth-clients [request-id: F3E187F6-FFFC-4A29-8F2D-9D53569BD199]
[ INFO ] POST /api/v1/account/login [request-id: 88F60675-1F5B-4725-A0D7-8872FE2293AA]
*** Signal 4: Backtracing from 0x557fe9f87f5b... done ***
*** Program crashed: Illegal instruction at 0x0000557fe9f87f5b ***
Thread 5 crashed:
0  0x0000557fe9f87f5b NSCalendar._cfObject.getter + 731 in VernissageServer
Registers:
rax 0x0000000000000001  1
rdx 0x00007fa4500396e0  00 cc 4b ed 7f 55 00 00 03 00 00 00 00 00 00 00  ·ÌKí·U··········
rcx 0x0000000000000001  1
rbx 0xfffffffffffff4c0  18446744073709548736
rsi 0x00007fa45006e330  98 32 4c ed 7f 55 00 00 03 00 00 00 01 00 00 00  ·2Lí·U··········
rdi 0x00007fa454aa86e8  40 e2 06 50 a4 7f 00 00 f0 e3 06 50 a4 7f 00 00  @â·P¤···ðã·P¤···
rbp 0x4d2f6164616e6143  5561771148585099587
rsp 0x00007fa450dfd5d0  98 32 4c ed 7f 55 00 00 80 84 02 50 a4 7f 00 00  ·2Lí·U·····P¤···
 r8 0x00007fa454aa86e0  30 e3 06 50 a4 7f 00 00 40 e2 06 50 a4 7f 00 00  0ã·P¤···@â·P¤···
 r9 0x00007fa450dfebc8  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ················
r10 0x00007fa45696b440  08 00 00 00 00 00 00 00 10 00 00 00 00 00 00 00  ················
r11 0x0000000007dd6d00  131951872
r12 0x00007fa45006e330  98 32 4c ed 7f 55 00 00 03 00 00 00 01 00 00 00  ·2Lí·U··········
r13 0x00007fa45002a2a0  30 d9 49 ed 7f 55 00 00 03 00 00 00 0a 00 00 00  0ÙIí·U··········
r14 0x00007fa451c8d4e0  20 36 4c ed 7f 55 00 00 03 00 00 00 02 00 00 00   6Lí·U··········
r15 0x0000000000000000  0
rip 0x0000557fe9f87f5b  0f 0b 0f 0b 90 55 41 57 41 56 41 55 41 54 53 48  ·····UAWAVAUATSH
rflags 0x0000000000010246  ZF PF
cs 0x0033  fs 0x0000  gs 0x0000
mczachurski commented 1 week ago

Could you provide additional information? Which operating system (and version) are you using? What version of the Swift compiler? Did you build the application from source code, or is it from a Docker container?