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

Cannot run Allstar from commit 1a4ada8 #445

Open
ArisBee opened this issue Aug 11, 2023 · 1 comment
Open

Cannot run Allstar from commit 1a4ada8 #445

ArisBee opened this issue Aug 11, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@ArisBee
Copy link

ArisBee commented Aug 11, 2023

Hello,

From commit 1a4ada8 onward Allstar fails and returns the below SigSegv error:

 allstar-69fc4dbff-czhj4 allstar panic: runtime error: invalid memory address or nil pointer dereference                                                                                                                                                     │
│ allstar-69fc4dbff-czhj4 allstar [signal SIGSEGV: segmentation violation code=0x1 addr=0x30 pc=0x12ebdbb]                                                                                                                                                    │
│ allstar-69fc4dbff-czhj4 allstar                                                                                                                                                                                                                             │
│ allstar-69fc4dbff-czhj4 allstar goroutine 66 [running]:                                                                                                                                                                                                     │
│ allstar-69fc4dbff-czhj4 allstar github.com/ossf/allstar/pkg/policies/scorecard.convertLogs({0xc000124ba0?, 0x1, 0x2?})                                                                                                                                      │
│ allstar-69fc4dbff-czhj4 allstar     /home/user/allstar/pkg/policies/scorecard/scorecard.go:229 +0xbb                                                                                                                                                      │
│ allstar-69fc4dbff-czhj4 allstar github.com/ossf/allstar/pkg/policies/scorecard.Scorecard.Check(0xe0?, {0x1a79930?, 0xc0006c8e60}, 0x1625b40?, {0xc0005cf661, 0xd}, {0xc0005cf628, 0x8})                                                                     │
│ allstar-69fc4dbff-czhj4 allstar     /home/user/allstar/pkg/policies/scorecard/scorecard.go:181 +0x578                                                                                                                                                     │
│ allstar-69fc4dbff-czhj4 allstar github.com/ossf/allstar/pkg/enforce.runPoliciesReal({0x1a79930, 0xc0006c8e60}, 0xc000722600?, {0xc0005cf661, 0xd}, {0xc0005cf628, 0x8}, 0x1, {0x0, 0x0})                                                                    │
│ allstar-69fc4dbff-czhj4 allstar     /home/user/allstar/pkg/enforce/enforce.go:353 +0x376                                                                                                                                                                  │
│ allstar-69fc4dbff-czhj4 allstar github.com/ossf/allstar/pkg/enforce.runPoliciesOnInstRepos({0x1a79930, 0xc0006c8e60}, {0xc00052ad40, 0x7, 0x3?}, 0xc0000e0180?, {0x0, 0x0})                                                                                 │
│ allstar-69fc4dbff-czhj4 allstar     /home/user/allstar/pkg/enforce/enforce.go:189 +0x179                                                                                                                                                                  │
│ allstar-69fc4dbff-czhj4 allstar github.com/ossf/allstar/pkg/enforce.EnforceAll.func1()                                                                                                                                                                      │
│ allstar-69fc4dbff-czhj4 allstar     /home/user/allstar/pkg/enforce/enforce.go:149 +0x1b7                                                                                                                                                                  │
│ allstar-69fc4dbff-czhj4 allstar golang.org/x/sync/errgroup.(*Group).Go.func1()                                                                                                                                                                              │
│ allstar-69fc4dbff-czhj4 allstar     /home/user/go/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:75 +0x64                                                                                                                                          │
│ allstar-69fc4dbff-czhj4 allstar created by golang.org/x/sync/errgroup.(*Group).Go                                                                                                                                                                           │
│ allstar-69fc4dbff-czhj4 allstar     /home/user/go/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:72 +0xa5                                                                                                                                          │
│ Stream closed EOF for allstar/allstar-69fc4dbff-czhj4 (allstar-logs-to-pubsub)                                      

Could you please fix it? I don't have this issue until commit 1ac94c2

@ArisBee ArisBee changed the title Cannot run Allstar from commit 1a4ada85f1e7806b009cc092b9204b0875ab5dea Cannot run Allstar from commit 1a4ada8 Aug 11, 2023
@jeffmendoza
Copy link
Member

Thanks for the report! I'll take a look.

@raghavkaul raghavkaul added the bug Something isn't working label Mar 11, 2024
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