• UEDIT - segfaults

    From alterego@VERT/ALTERANT to Digital Man on Wednesday, March 25, 2020 21:13:47
    Hey DM,

    I went to use uedit today and it segfaults - I couldnt seem to get dbg to get any meaningful backtrace (beyond my skills really). Strange thing though, when I used valgrind, it ran.

    The last few lines of an strace is below - in case it is helpful:

    2184 poll([{fd=0, events=POLLIN}], 1, 0) = 0 (Timeout)
    2184 write(1, "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"..., 190) = 190
    2184 write(1, "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"..., 190) = 190
    2184 write(1, "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"..., 190) = 190
    2184 write(1, "\33(B\33(B\33[m\33[39;49m\33[37m\33[40m", 27) = 27
    2184 rt_sigaction(SIGTSTP, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7fae33bcd730}, NULL, 8) = 0
    2184 rt_sigaction(SIGTSTP, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fae33bcd730}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7fae33bcd730}, 8) = 0
    2184 poll([{fd=0, events=POLLIN}], 1, 0) = 0 (Timeout)
    2184 poll([{fd=0, events=POLLIN}], 1, 0) = 0 (Timeout)
    2184 write(1, "\r\33[39d", 6) = 6
    2184 rt_sigaction(SIGTSTP, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7fae33bcd730}, NULL, 8) = 0
    2184 rt_sigaction(SIGTSTP, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fae33bcd730}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7fae33bcd730}, 8) = 0
    2184 poll([{fd=0, events=POLLIN}], 1, 0) = 0 (Timeout)
    2184 poll([{fd=0, events=POLLIN}], 1, 0) = 0 (Timeout)
    2184 write(1, "\33(B\33[0;1m\33[34m\33[46m\33[J", 22) = 22
    2184 write(1, "\33(B\33[m\33[39;49m\33[37m\33[40m", 24) = 24
    2184 rt_sigaction(SIGTSTP, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7fae33bcd730}, NULL, 8) = 0
    2184 --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=NULL} --- 2185 <... futex resumed>) = ?
    2185 +++ killed by SIGSEGV (core dumped) +++
    2184 +++ killed by SIGSEGV (core dumped) +++
    ...deon


    ... A modest man is usually admired - if people ever hear of him.

    ---
    þ Synchronet þ Alterant | an SBBS in Docker on Pi!
  • From Digital Man@VERT to alterego on Wednesday, March 25, 2020 18:50:13
    Re: UEDIT - segfaults
    By: alterego to Digital Man on Wed Mar 25 2020 09:13 pm

    Hey DM,

    I went to use uedit today and it segfaults - I couldnt seem to get dbg to get any meaningful backtrace (beyond my skills really). Strange thing though, when I used valgrind, it ran.

    The last few lines of an strace is below - in case it is helpful:

    2184 poll([{fd=0, events=POLLIN}], 1, 0) = 0 (Timeout)
    2184 write(1, "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"..., 190) = 190
    2184 write(1, "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"..., 190) = 190
    2184 write(1, "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"..., 190) = 190
    2184 write(1, "\33(B\33(B\33[m\33[39;49m\33[37m\33[40m", 27) = 27
    2184 rt_sigaction(SIGTSTP, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7fae33bcd730}, NULL, 8) = 0
    2184 rt_sigaction(SIGTSTP, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fae33bcd730}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7fae33bcd730}, 8) = 0
    2184 poll([{fd=0, events=POLLIN}], 1, 0) = 0 (Timeout)
    2184 poll([{fd=0, events=POLLIN}], 1, 0) = 0 (Timeout)
    2184 write(1, "\r\33[39d", 6) = 6
    2184 rt_sigaction(SIGTSTP, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7fae33bcd730}, NULL, 8) = 0
    2184 rt_sigaction(SIGTSTP, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fae33bcd730}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7fae33bcd730}, 8) = 0
    2184 poll([{fd=0, events=POLLIN}], 1, 0) = 0 (Timeout)
    2184 poll([{fd=0, events=POLLIN}], 1, 0) = 0 (Timeout)
    2184 write(1, "\33(B\33[0;1m\33[34m\33[46m\33[J", 22) = 22
    2184 write(1, "\33(B\33[m\33[39;49m\33[37m\33[40m", 24) = 24
    2184 rt_sigaction(SIGTSTP, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7fae33bcd730}, NULL, 8) = 0
    2184 --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=NULL} --- 2185 <... futex resumed>) = ?
    2185 +++ killed by SIGSEGV (core dumped) +++
    2184 +++ killed by SIGSEGV (core dumped) +++

    First thing, try a clean re-build: http://wiki.synchro.net/install:nix#clean_rebuild

    Then if it still happens, run it under gdb to capture the backtrace: http://wiki.synchro.net/howto:gdb

    digital man

    This Is Spinal Tap quote #42:
    What day the Lord created Spinal Tap and couldn't he have rested on that day? Norco, CA WX: 54.4øF, 71.0% humidity, 2 mph NNW wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net