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

Conversion process ends prematurely if convert2rhel is run inside tmux #298

Open
someperson opened this issue Jun 2, 2021 · 3 comments
Open

Comments

@someperson
Copy link

As I learned the hard way, if you run convert2rhel inside tmux, at one point, tmux will segfault, leaving the system in a partially-converted state:

Jun 01 19:00:29 lookingglass kernel: tmux: server[275157]: segfault at 7e51 ip 00005634bb5c29fa sp 00007ffe11f7a6f8 error 4 in tmux (deleted)[5634bb597000+86000]
Jun 01 19:00:29 lookingglass kernel: Code: 08 88 4d 00 eb a6 48 8d 3d 33 19 04 00 31 c0 e8 fc c1 00 00 66 90 66 2e 0f 1f 84 00 00 00 00 00 89 f6 48 8d 04 b6 48 03 47 08 <0f> b6 08 f6 c1 08 75 4e 89 ce 83>
Jun 01 19:00:29 lookingglass systemd[1]: Created slice system-systemd-coredump.slice.
Jun 01 19:00:29 lookingglass systemd[1]: Started Process Core Dump (PID 398626/UID 0).
Jun 01 19:00:31 lookingglass systemd-coredump[398627]: Process 275157 (tmux: server) of user 1000 dumped core.
                                                       
                                                       Stack trace of thread 275157:
                                                       #0  0x00005634bb5c29fa grid_get_cell1 (/usr/bin/tmux (deleted))
                                                       #1  0x00005634bb5c3e16 grid_reflow_join (/usr/bin/tmux (deleted))
                                                       #2  0x00005634bb5c4bb9 grid_reflow (/usr/bin/tmux (deleted))
                                                       #3  0x00005634bb5fbf29 window_pane_resize (/usr/bin/tmux (deleted))
                                                       #4  0x00005634bb5cd7f1 layout_fix_panes (/usr/bin/tmux (deleted))
                                                       #5  0x00005634bb5d580a recalculate_sizes (/usr/bin/tmux (deleted))
                                                       #6  0x00005634bb5dc1b3 server_client_dispatch (/usr/bin/tmux (deleted))
                                                       #7  0x00005634bb5d4e71 proc_event_cb (/usr/bin/tmux (deleted))
                                                       #8  0x00007fb37031ad85 n/a (/usr/lib64/libevent-2.1.so.6.0.2 (deleted))

convert2rhel.log is attached.

@zhukovgreen
Copy link
Contributor

@someperson I am sorry for the delay in our response. Could it be linked with the UEFI bootloader? (it is not supported now)

@bocekm
Copy link
Member

bocekm commented Jun 9, 2021

Hi @someperson, I've just tried converting a CentOS 8.3 system using a tmux and it passed.

  1. Get CentOS Linux 8.3
  2. Install convert2rhel
  3. yum install tmux -y
  4. tmux
  5. run convert2rhel in the tmux

Can you provide a more detailed reproducer? How did you set up the tmux?

@bocekm
Copy link
Member

bocekm commented Jul 13, 2021

@someperson, do you plan to provide another set of reproducing steps?
If I don't hear back from you, I'll close the issue in a week from now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants