Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: panic on sub_d with race mode #2070

Closed
wdvxdr1123 opened this issue Apr 8, 2023 · 1 comment
Closed

BUG: panic on sub_d with race mode #2070

wdvxdr1123 opened this issue Apr 8, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@wdvxdr1123
Copy link
Collaborator

unexpected fault address 0x1800071895b
fatal error: fault
[signal SIGSEGV: segmentation violation code=0x1 addr=0x1800071895b pc=0xabd190]

goroutine 1 [running]:
runtime.throw({0xe51a09?, 0x451771?})
        runtime/panic.go:1047 +0x5d fp=0xc0001946f0 sp=0xc0001946c0 pc=0x46d23d
runtime.sigpanic()
        runtime/signal_unix.go:851 +0x28a fp=0xc000194750 sp=0xc0001946f0 pc=0x484bca
github.com/Mrs4s/go-cqhttp/internal/encryption/t544.sub_d(0x13a38c0, {0xc000584270, 0x10, 0x10})
        github.com/Mrs4s/go-cqhttp/internal/encryption/t544/encryption_amd64.s:251 +0x30 fp=0xc000194770 sp=0xc000194750 pc=0xabd190
github.com/Mrs4s/go-cqhttp/internal/encryption/t544.(*encryptionData).tencentEncryptB(0x13a11c0, {0xc000584270, 0x10, 0x10}, {0xc00043c0b0, 0x47070c8dedef5e3c?, 0x2c})
        github.com/Mrs4s/go-cqhttp/internal/encryption/t544/encryption_generic.go:51 +0x185 fp=0xc0001947c0 sp=0xc000194770 pc=0xabaae5
github.com/Mrs4s/go-cqhttp/internal/encryption/t544.(*encryptionData).tencentEncryptionB(0x13a11c0, {0xc0004661e0, 0x10, 0xc0003ae16c?}, {0xc0003ae168, 0x15, 0x15})
        github.com/Mrs4s/go-cqhttp/internal/encryption/t544/encryption_generic.go:69 +0x245 fp=0xc000194978 sp=0xc0001947c0 pc=0xabaf65

cc @fumiama

@wdvxdr1123 wdvxdr1123 added the bug Something isn't working label Apr 8, 2023
@fumiama
Copy link
Collaborator

fumiama commented Apr 8, 2023

that's weird

fumiama added a commit to fumiama/go-cqhttp that referenced this issue Apr 8, 2023
wdvxdr1123 pushed a commit that referenced this issue Apr 8, 2023
wdvxdr1123 pushed a commit that referenced this issue Apr 8, 2023
@Mrs4s Mrs4s closed this as completed Apr 12, 2023
wdvxdr1123 pushed a commit that referenced this issue Jun 4, 2023
* fix: 尝试修复 #2070 (#2071)

* Close file after uploading it to private chat

fix #2119
上传文件到私聊后,释放文件。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants