convert2rhel icon indicating copy to clipboard operation
convert2rhel copied to clipboard

Conversion process ends prematurely if convert2rhel is run inside tmux

Open someperson opened this issue 3 years ago • 3 comments

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.

someperson avatar Jun 02 '21 23:06 someperson