"segmentation violation" issue on executing generate command
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Anfängerfreundlichkeit
- 55/100
Rechercherichtung
Reproduziere den Absturz, indem du commitlog generate nach einer frischen Installation ausführst. Untersuche anschließend pkg/generator.go bei Generator.readCommitsInTags in Zeile 91 und dessen Aufruf aus ReadCommmits. Verfolge die Eingaben aus commands/commitlog.go und bestätige, dass der Befehl im gemeldeten Setup ohne eine nil-pointer panic abgeschlossen wird.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Hey ! I got an issue by running commitlog generate after a fresh install
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x0 pc=0x102fecdbc]
goroutine 1 [running]:
github.com/barelyhuman/commitlog/pkg.(*Generator).readCommitsInTags(0x140001b2140)
/root/go/pkg/mod/github.com/barelyhuman/[email protected]/pkg/generator.go:91 +0x1bc
github.com/barelyhuman/commitlog/pkg.(*Generator).ReadCommmits(0x140001b2140)
/root/go/pkg/mod/github.com/barelyhuman/[email protected]/pkg/generator.go:175 +0x4c
github.com/barelyhuman/commitlog/commands.Commitlog(0x14000136230?)
/root/go/pkg/mod/github.com/barelyhuman/[email protected]/commands/commitlog.go:57 +0x538
main.main.func2(0x14000000a20?)
/root/go/pkg/mod/github.com/barelyhuman/[email protected]/main.go:32 +0x1c
github.com/urfave/cli/v2.(*Command).Run(0x14000000a20, 0x1400010d840)
/root/go/pkg/mod/github.com/urfave/cli/[email protected]/command.go:169 +0x4f8
github.com/urfave/cli/v2.(*App).RunContext(0x14000140680, {0x1031ffb90?, 0x103551e20}, {0x1400001e040, 0x2, 0x2})
/root/go/pkg/mod/github.com/urfave/cli/[email protected]/app.go:341 +0x85c
github.com/urfave/cli/v2.(*App).Run(...)
/root/go/pkg/mod/github.com/urfave/cli/[email protected]/app.go:247
main.main()
/root/go/pkg/mod/github.com/barelyhuman/[email protected]/main.go:143 +0xc60
- Vorherrschende Sprache
- Go
- Sterne
- 82
- Forks
- 3
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus barelyhuman/commitlog
-
STDIN support for categorizationEvtl. wieder frei @barelyhuman hat das vor 1055 Tagen übernommen, und es ist kein Pull Request offen. Offenenhancement
barelyhuman/commitlog#15 · 1 zugewiesene Person ·
-
Category Labels (RFC)Offen
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 25/100
barelyhuman/commitlog#13 ·
-
Overwrite ModeOffenenhancement
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 45/100
barelyhuman/commitlog#12 ·
-
Test CasesOffengood first issue tests
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 35/100
barelyhuman/commitlog#3 ·
Alle Issues in barelyhuman/commitlog
Ähnliche Issues
-
bug go
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
genkit-ai/genkit#6761 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 2 Tagen
-
bug(backend): `make test-update` in backend/src/v2 fails because the --update flag was removedOffenready
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 92/100
kubeflow/pipelines#14784 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 2 Tagen
-
bug frontend good first issue
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 86/100
Maintainer antworten meist innerhalb von 1 Tag
-
trust: update-propagation-directive requires developer mode while add and remove do notEvtl. vergeben @bhuvan-somisetty hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
Maintainer antworten meist innerhalb von 2 Tagen
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 82/100
oalders/clodhopper#133 ·