[GH-ISSUE #427] [BUG] Description of the bug #2213

Closed
opened 2026-03-15 19:43:05 +03:00 by kerem · 1 comment
Owner

Originally created by @aukgit on GitHub (Mar 29, 2022).
Original GitHub issue: https://github.com/hibiken/asynq/issues/427

Originally assigned to: @hibiken on GitHub.

Describe the bug
Overflow build issue for x86 platform

# github.com/hibiken/asynq/internal/rdb
/go/pkg/mod/github.com/hibiken/asynq@v0.20.0/internal/rdb/rdb.go:386:7: constant 9223372036854775807 overflows int
/go/pkg/mod/github.com/hibiken/asynq@v0.20.0/internal/rdb/rdb.go:497:7: constant 9223372036854775807 overflows int
/go/pkg/mod/github.com/hibiken/asynq@v0.20.0/internal/rdb/rdb.go:739:7: constant 9223372036854775807 overflows int
/go/pkg/mod/github.com/hibiken/asynq@v0.20.0/internal/rdb/rdb.go:826:7: constant 9223372036854775807 overflows int

To Reproduce
Steps to reproduce the behavior (Code snippets if applicable):

  1. Setup background : build on using docker

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
image

Environment (please complete the following information):

  • Ubuntu, Docker, Golang 17.8

Additional context
Probable solution for x86 arch use Int64 rather than Uint64 comparison

Originally created by @aukgit on GitHub (Mar 29, 2022). Original GitHub issue: https://github.com/hibiken/asynq/issues/427 Originally assigned to: @hibiken on GitHub. **Describe the bug** Overflow build issue for x86 platform ``` # github.com/hibiken/asynq/internal/rdb /go/pkg/mod/github.com/hibiken/asynq@v0.20.0/internal/rdb/rdb.go:386:7: constant 9223372036854775807 overflows int /go/pkg/mod/github.com/hibiken/asynq@v0.20.0/internal/rdb/rdb.go:497:7: constant 9223372036854775807 overflows int /go/pkg/mod/github.com/hibiken/asynq@v0.20.0/internal/rdb/rdb.go:739:7: constant 9223372036854775807 overflows int /go/pkg/mod/github.com/hibiken/asynq@v0.20.0/internal/rdb/rdb.go:826:7: constant 9223372036854775807 overflows int ``` **To Reproduce** Steps to reproduce the behavior (Code snippets if applicable): 1. Setup background : build on using docker **Expected behavior** A clear and concise description of what you expected to happen. **Screenshots** ![image](https://user-images.githubusercontent.com/4561204/160698724-954d2fd6-2e78-4d11-9218-76bb8b4e68e2.png) **Environment (please complete the following information):** - Ubuntu, Docker, Golang 17.8 **Additional context** Probable solution for x86 arch use Int64 rather than Uint64 comparison
kerem 2026-03-15 19:43:05 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@hibiken commented on GitHub (Mar 29, 2022):

This bug was fixed via #426 today. The fix should be included in the next release :)

<!-- gh-comment-id:1082473432 --> @hibiken commented on GitHub (Mar 29, 2022): This bug was fixed via #426 today. The fix should be included in the next release :)
Sign in to join this conversation.
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
starred/asynq#2213
No description provided.