mirror of
https://github.com/rivo/tview.git
synced 2026-04-27 13:55:51 +03:00
[GH-ISSUE #660] importing cgo causes SIGSEGV #486
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tview#486
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?
Originally created by @amonks on GitHub (Oct 3, 2021).
Original GitHub issue: https://github.com/rivo/tview/issues/660
Using cgo in a program that calls Application.Run() causes a crash.
Here's a simple repro:
I did a bisect and found that the crash started occurring with this commit:
b2dec96e1a. That commit upgrades tcell, so this may actually be more of a tcell issue. Not sure.I'm on this go version:
Here's my error output:
@rivo commented on GitHub (Oct 4, 2021):
Can you please try this with a minimal
tcellapplication and file an issue there if it happens there, too?The stack trace also points to
tcell. I don't think I have atviewrelated answer to this.@amonks commented on GitHub (Oct 6, 2021):
Done! Yes. Definitely a tcell issue. Thanks :)
Reported here:
https://github.com/gdamore/tcell/issues/492