1 | | i have a script that wraps mcedit, which i have configured as the edit action for a certain file extension via mc.ext. somewhen recently, this stopped working - mcedit immediately exits without any output. i suppose this is related to the attempts to make it behave inside subshells. |
| 1 | i have a script that wraps mcedit, which i have configured as the edit action for a certain file extension via mc.ext. somewhen recently, this stopped working - mcedit immediately crashes upon startup. i suppose this is related to the attempts to make it behave inside subshells. |
| 2 | |
| 3 | {{{ |
| 4 | #0 0x00005615432773de in widget_set_size (w=0x0, y=y@entry=39, x=<optimized out>, lines=lines@entry=1, cols=cols@entry=14) |
| 5 | at widget-common.c:450 |
| 6 | r = {y = 39, x = 0, lines = 1, cols = 14} |
| 7 | #1 0x000056154325a8c8 in setup_cmdline () at layout.c:999 |
| 8 | mw = 0x561544e876d0 |
| 9 | prompt_width = 14 |
| 10 | y = 39 |
| 11 | tmp_prompt = <optimized out> |
| 12 | #2 0x000056154329c24b in set_prompt_string () at common.c:719 |
| 13 | No locals. |
| 14 | #3 0x000056154329d4da in read_subshell_prompt () at common.c:1564 |
| 15 | rc = 0 |
| 16 | bytes = 77 |
| 17 | timeleft = {tv_sec = 0, tv_usec = 0} |
| 18 | should_reset_prompt = 0 |
| 19 | got_new_prompt = 1 |
| 20 | tmp = {fds_bits = {0 <repeats 16 times>}} |
| 21 | #4 0x000056154325b375 in do_load_prompt () at layout.c:1473 |
| 22 | No locals. |
| 23 | #5 0x000056154325b3f0 in load_prompt (fd=<optimized out>, unused=<optimized out>) at layout.c:1502 |
| 24 | No locals. |
| 25 | #6 0x0000561543258738 in check_selects (select_set=0x7ffe2a9636a0) at key.c:618 |
| 26 | s = <optimized out> |
| 27 | p = <optimized out> |
| 28 | #7 0x00005615432599cc in tty_get_event (event=event@entry=0x7ffe2a963764, redo_event=0, block=block@entry=1) at key.c:2055 |
| 29 | nfd = 14 |
| 30 | select_set = {fds_bits = {0 <repeats 16 times>}} |
| 31 | c = <optimized out> |
| 32 | flag = <optimized out> |
| 33 | ev = {buttons = 0 '\000', modifiers = 0 '\000', vc = 0, dx = 0, dy = 0, x = 0, y = 0, type = (unknown: 0), clicks = 0, |
| 34 | margin = (unknown: 0), wdx = 0, wdy = 0} |
| 35 | time_out = {tv_sec = 0, tv_usec = 94649321096543} |
| 36 | time_addr = <optimized out> |
| 37 | dirty = 1 |
| 38 | #8 0x000056154324be65 in frontend_dlg_run (h=0x561544e8ab00) at dialog.c:316 |
| 39 | d_key = <optimized out> |
| 40 | wh = 0x561544e8ab00 |
| 41 | event = {buttons = 0 '\000', modifiers = 0 '\000', vc = 0, dx = -31107, dy = 17193, x = -1, y = 0, type = (unknown: 0), |
| 42 | clicks = 0, margin = (unknown: 1156098816), wdx = 22037, wdy = 0} |
| 43 | #9 dlg_run (h=h@entry=0x561544e8ab00) at dialog.c:573 |
| 44 | No locals. |
| 45 | #10 0x000056154329890d in edit_files (files=<optimized out>) at editwidget.c:1272 |
| 46 | made_directory = 1 |
| 47 | edit_dlg = 0x561544e8ab00 |
| 48 | g = 0x561544e8ab00 |
| 49 | menubar = <optimized out> |
| 50 | w = <optimized out> |
| 51 | wd = 0x561544e8ab00 |
| 52 | file = 0x0 |
| 53 | ok = 1 |
| 54 | #11 0x00005615432608cf in mc_maybe_editor_or_viewer () at midnight.c:984 |
| 55 | ret = <optimized out> |
| 56 | #12 do_nc () at midnight.c:1827 |
| 57 | ret = <optimized out> |
| 58 | #13 0x00005615432431a1 in main (argc=<optimized out>, argv=<optimized out>) at main.c:467 |
| 59 | mcerror = 0x0 |
| 60 | config_migrated = 0 |
| 61 | config_migrate_msg = 0x0 |
| 62 | exit_code = 1 |
| 63 | }}} |