Падает при постинге с 4pda #4

Closed
opened 2025-05-02 14:27:15 +00:00 by B4D_US3R · 4 comments
Owner
 panic: runtime error: invalid memory address or nil pointer dereference
kiki-1  | [signal SIGSEGV: segmentation violation code=0x1 addr=0x118 pc=0x90ea80]
kiki-1  |
kiki-1  | goroutine 1 [running]:
kiki-1  | kiki/tooter.NewsText({0xc000028420?, 0xc00002b3a0?})
kiki-1  |       /app/kiki/tooter/tooter.go:85 +0x200
kiki-1  | main.main.func2({0xc000152508?, 0xbbf008?}, 0xc000149740?)
kiki-1  |       /app/kiki/service/kiki.go:81 +0x7d8
kiki-1  | github.com/urfave/cli/v3.(*Command).Run(0xc000152508, {0xbbf008, 0xc000149740}, {0xc00002ac80, 0x1, 0x1})
kiki-1  |       /go/pkg/mod/github.com/urfave/cli/v3@v3.2.0/command_run.go:326 +0x2393
kiki-1  | github.com/urfave/cli/v3.(*Command).Run(0xc000152008, {0xbbf008, 0xc0001494d0}, {0xc000022080, 0x2, 0x2})
kiki-1  |       /go/pkg/mod/github.com/urfave/cli/v3@v3.2.0/command_run.go:265 +0x1cce
kiki-1  | main.main()
kiki-1  |       /app/kiki/service/kiki.go:109 +0x189
kiki-1 exited with code 2
``` panic: runtime error: invalid memory address or nil pointer dereference kiki-1 | [signal SIGSEGV: segmentation violation code=0x1 addr=0x118 pc=0x90ea80] kiki-1 | kiki-1 | goroutine 1 [running]: kiki-1 | kiki/tooter.NewsText({0xc000028420?, 0xc00002b3a0?}) kiki-1 | /app/kiki/tooter/tooter.go:85 +0x200 kiki-1 | main.main.func2({0xc000152508?, 0xbbf008?}, 0xc000149740?) kiki-1 | /app/kiki/service/kiki.go:81 +0x7d8 kiki-1 | github.com/urfave/cli/v3.(*Command).Run(0xc000152508, {0xbbf008, 0xc000149740}, {0xc00002ac80, 0x1, 0x1}) kiki-1 | /go/pkg/mod/github.com/urfave/cli/v3@v3.2.0/command_run.go:326 +0x2393 kiki-1 | github.com/urfave/cli/v3.(*Command).Run(0xc000152008, {0xbbf008, 0xc0001494d0}, {0xc000022080, 0x2, 0x2}) kiki-1 | /go/pkg/mod/github.com/urfave/cli/v3@v3.2.0/command_run.go:265 +0x1cce kiki-1 | main.main() kiki-1 | /app/kiki/service/kiki.go:109 +0x189 kiki-1 exited with code 2 ```
Author
Owner

Дело в отсутствии картинок? Надо посмотреть и исправить

Дело в отсутствии картинок? Надо посмотреть и исправить
Author
Owner

Проблема очень странная, проверил сейчас, всё ок. Картинки не при чем. Может поставить NSFW и тогда всё сломается?

Проблема очень странная, проверил сейчас, всё ок. Картинки не при чем. Может поставить NSFW и тогда всё сломается?
Author
Owner
2025/05/04 05:39:36 Get "https://4pda.to/feed": net/http: TLS handshake timeout
``` 2025/05/04 05:39:36 Get "https://4pda.to/feed": net/http: TLS handshake timeout ```
Author
Owner

Исправлено в a79933b724

Исправлено в https://git.catgirls.asia/B4D_US3R/kiki/commit/a79933b724d328719d95a2be8cf82b4ccaadcd79
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: B4D_US3R/kiki#4
No description provided.