mirror of
https://github.com/rivo/tview.git
synced 2026-04-26 13:25:51 +03:00
[PR #998] [MERGED] Update dropdown.go to compile to lib.so #1103
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tview#1103
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/rivo/tview/pull/998
Author: @SeRj-ThuramS
Created: 6/17/2024
Status: ✅ Merged
Merged: 6/22/2024
Merged by: @rivo
Base:
master← Head:patch-1📝 Commits (1)
1a723d1Update dropdown.go to compile to lib.so📊 Changes
1 file changed (+2 additions, -4 deletions)
View changed files
📝
dropdown.go(+2 -4)📄 Description
Fixing a bug for compiling into a library
2024.06.17 10:13:00 go(build)(error): # /tmp/go-build4195759871/b113/librtl-tview.so
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x51de66]
goroutine 1 [running]:
cmd/link/internal/loader.(*Loader).SymSize(0x1?, 0x0?)
cmd/link/internal/loader/loader.go:815 +0x46
cmd/link/internal/ld.(*pclntab).generatePctab.func1(0x0)
cmd/link/internal/ld/pcln.go:467 +0x56
cmd/link/internal/ld.(*pclntab).generatePctab(0xc000c46f40, 0xc000124200, {0xc001724000, 0x4f3, 0x1?})
cmd/link/internal/ld/pcln.go:490 +0x39f
cmd/link/internal/ld.(*Link).pclntab(0xc000124200, {0xc001720000?, 0xc0000126e0?, 0xf?})
cmd/link/internal/ld/pcln.go:804 +0x1ad
cmd/link/internal/ld.Main(_, {0x20, 0x20, 0x1, 0x7, 0x10, 0x0, {0xc000012549, 0x1, 0x1}, ...})
cmd/link/internal/ld/main.go:412 +0x175c
main.main()
cmd/link/main.go:72 +0xdfb
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.