• ftp alias fail (segfault)

    From Fernando Toledo@VERT to GitLab issue in main/sbbs on Sat Sep 18 03:17:22 2021
    open https://gitlab.synchro.net/main/sbbs/-/issues/288

    ftp alias does not work

    if iuse midnight commander i see the not found error at sbbs log
    ```
    9/18 00:14:56 ftp 0078 <Ragnarok> file (/ds_file_browser.js) not found for RETR command
    ```

    if i use far2l (Far Manager Linux Port), then i get a segfault:


    ![image](https://gitlab.synchro.net/main/sbbs/uploads/6bceeefee24b652fa4f0cc0225334f0f/image.png)
    ```
    9/18 00:12:16 ftp 0077 <Ragnarok> DATA Transfer successful: 1154 bytes sent in 0 seconds (2308 cps)
    [Threads: 16 Sockets: 65 Clients: 2 Served: 3 Errors: 0] (?=Help): [Thread 0x7fffb1ffe700 (LWP 32044) exited]
    [Threads: 16 Sockets: 66 Clients: 2 Served: 3 Errors: 0] (?=Help): [New Thread 0x7fffb1ffe700 (LWP 32046)]
    [Threads: 17 Sockets: 66 Clients: 3 Served: 4 Errors: 0] (?=Help): [New Thread 0x7fffb0dff700 (LWP 32047)]
    [Threads: 16 Sockets: 65 Clients: 2 Served: 4 Errors: 0] (?=Help): [Thread 0x7fffb0dff700 (LWP 32047) exited]
    [Thread 0x7fffb1ffe700 (LWP 32046) exited]
    9/18 00:12:22 ftp 0077 <Ragnarok> detailed listing: root in passive mode [Threads: 16 Sockets: 66 Clients: 2 Served: 4 Errors: 0] (?=Help): [New Thread 0x7fffb1ffe700 (LWP 32048)]
    9/18 00:12:22 ftp 0077 <Ragnarok> DATA Transfer successful: 1703 bytes sent in 0 seconds (3406 cps)
    [Threads: 16 Sockets: 65 Clients: 2 Served: 4 Errors: 0] (?=Help): [Thread 0x7fffb1ffe700 (LWP 32048) exited]

    Thread 28 "sbbs/ftpControl" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fffb17fd700 (LWP 32038)]
    0x00007ffff65b3085 in parsepath (pp=0x7fffb17fca78, user=0x7fffb17f3eb0,
    client=0x7fffb17f3cd0, curlib=0x7fffb17f43a4, curdir=0x7fffb17f43a0)
    at ftpsrvr.c:1603
    1603 lib = scfg.dir[dir]->lib;
    (gdb) bt
    #0 0x00007ffff65b3085 in parsepath (pp=0x7fffb17fca78, user=0x7fffb17f3eb0,
    client=0x7fffb17f3cd0, curlib=0x7fffb17f43a4, curdir=0x7fffb17f43a0)
    at ftpsrvr.c:1603
    #1 0x00007ffff65bbd31 in ctrl_thread (arg=0x7fffd80017c0) at ftpsrvr.c:3530
    #2 0x00007ffff5d084a4 in start_thread (arg=0x7fffb17fd700)
    at pthread_create.c:456
    #3 0x00007ffff4fa9d0f in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97
    (gdb)
    ```

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to GitLab note in main/sbbs on Mon Sep 20 23:45:17 2021
    https://gitlab.synchro.net/main/sbbs/-/issues/288#note_2079

    Are these problems still happening with the latest code?

    I know you already said the segfault was fixed, but the other problem(s), still happening? This is why it's best to not to combine issues into a single issue report.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Fernando Toledo@VERT to GitLab note in main/sbbs on Tue Sep 21 01:32:45 2021
    https://gitlab.synchro.net/main/sbbs/-/issues/288#note_2080

    @rswindell last commit fixes the issue! thanks!!!!

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Fernando Toledo@VERT to GitLab issue in main/sbbs on Tue Sep 21 01:32:46 2021
    close https://gitlab.synchro.net/main/sbbs/-/issues/288

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