[GH-ISSUE #186] asciinema rec segfaults on Gentoo tmux #752

Closed
opened 2026-03-15 10:10:16 +03:00 by kerem · 6 comments
Owner

Originally created by @pepoluan on GitHub (Dec 24, 2016).
Original GitHub issue: https://github.com/asciinema/asciinema/issues/186

I was trying asciinema rec on my Gentoo box.

So I've done the recommended installation step emerge -av asciinema and it installed without error.

However, as soon as I type asciinema rec, it segfaults.

# asciinema rec
~ Asciicast recording started.
~ Hit Ctrl-D or type "exit" to finish.
Segmentation fault
# exit
$ asciinema rec
~ Asciicast recording started.
~ Hit Ctrl-D or type "exit" to finish.
Segmentation fault
$

Some logs:

# /var/log/messages
Dec 24 13:36:46 fw-0101 kernel: [676593.935346] asciinema[448]: segfault at 0 ip           (null) sp 00007ffd863170d8 error 14 in python3.4m[55ce78a87000+2000]
Dec 24 13:38:47 fw-0101 kernel: [676715.001523] asciinema[1930]: segfault at 0 ip           (null) sp 00007ffcb70fc568 error 14 in python3.4m[562d32450000+2000]

My system information:

OS: Gentoo
Shell: zsh
Terminal: tmux (via byobu)

Feel free to ask more information.

Originally created by @pepoluan on GitHub (Dec 24, 2016). Original GitHub issue: https://github.com/asciinema/asciinema/issues/186 I was trying `asciinema rec` on my Gentoo box. So I've done the recommended installation step `emerge -av asciinema` and it installed without error. However, as soon as I type `asciinema rec`, it segfaults. ``` # asciinema rec ~ Asciicast recording started. ~ Hit Ctrl-D or type "exit" to finish. Segmentation fault # exit $ asciinema rec ~ Asciicast recording started. ~ Hit Ctrl-D or type "exit" to finish. Segmentation fault $ ``` Some logs: ``` # /var/log/messages Dec 24 13:36:46 fw-0101 kernel: [676593.935346] asciinema[448]: segfault at 0 ip (null) sp 00007ffd863170d8 error 14 in python3.4m[55ce78a87000+2000] Dec 24 13:38:47 fw-0101 kernel: [676715.001523] asciinema[1930]: segfault at 0 ip (null) sp 00007ffcb70fc568 error 14 in python3.4m[562d32450000+2000] ```` My system information: ```yaml OS: Gentoo Shell: zsh Terminal: tmux (via byobu) ``` Feel free to ask more information.
kerem closed this issue 2026-03-15 10:10:21 +03:00
Author
Owner

@ku1ik commented on GitHub (Dec 24, 2016):

What's the asciinema version installed? Does asciinema auth segfaults too?

<!-- gh-comment-id:269075533 --> @ku1ik commented on GitHub (Dec 24, 2016): What's the asciinema version installed? Does `asciinema auth` segfaults too?
Author
Owner

@pepoluan commented on GitHub (Dec 27, 2016):

Hi!

# asciinema --version
asciinema 1.3.0
# asciinema auth
Open the following URL in a browser to register your API token and assign any recorded asciicasts to your profile:
https://asciinema.org/connect/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
#
<!-- gh-comment-id:269319080 --> @pepoluan commented on GitHub (Dec 27, 2016): Hi! ``` # asciinema --version asciinema 1.3.0 # asciinema auth Open the following URL in a browser to register your API token and assign any recorded asciicasts to your profile: https://asciinema.org/connect/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx # ```
Author
Owner

@ku1ik commented on GitHub (Dec 28, 2016):

Does the same happen when you run asciinema outside of tmux?

<!-- gh-comment-id:269532114 --> @ku1ik commented on GitHub (Dec 28, 2016): Does the same happen when you run asciinema outside of tmux?
Author
Owner

@pepoluan commented on GitHub (Dec 30, 2016):

Yes, the same still happens. Below I put the output, and also the value of $TERM just in case:

$ asciinema rec
~ Asciicast recording started.
~ Hit Ctrl-D or type "exit" to finish.
Segmentation fault
$ echo $TERM
xterm-256color
<!-- gh-comment-id:269760608 --> @pepoluan commented on GitHub (Dec 30, 2016): Yes, the same still happens. Below I put the output, and also the value of `$TERM` just in case: ``` $ asciinema rec ~ Asciicast recording started. ~ Hit Ctrl-D or type "exit" to finish. Segmentation fault $ echo $TERM xterm-256color ```
Author
Owner

@pepoluan commented on GitHub (Jan 9, 2017):

I've updated my system, and now asciinema no longer segfaults.

Same asciinema version (1.3.0).

I think the segfault was due to one of its deps.

<!-- gh-comment-id:271344596 --> @pepoluan commented on GitHub (Jan 9, 2017): I've updated my system, and now asciinema no longer segfaults. Same asciinema version (1.3.0). I _think_ the segfault was due to one of its deps.
Author
Owner

@ku1ik commented on GitHub (Jan 9, 2017):

Ok, thanks for the update.

<!-- gh-comment-id:271427249 --> @ku1ik commented on GitHub (Jan 9, 2017): Ok, thanks for the update.
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/asciinema#752
No description provided.