• Syncdraw crash

    From Ragnarok@1:103/705 to All on Sat Nov 10 18:31:55 2018
    I get this crash when use ALT + L to load file
    I build it on debian stretch from currect cvs code.
    i know that syncdraw is not very active, but i like it it's simple a native for linux =)

    Starting program: /home/toledones/remote/src/syncdraw/gcc.linux.x64.exe.debug/syncdraw
    [Thread debugging using libthread_db enabled]
    Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
    [New Thread 0x7ffff0be5700 (LWP 31102)]
    [New Thread 0x7fffebfff700 (LWP 31103)]
    [New Thread 0x7fffeb7fe700 (LWP 31104)]
    [New Thread 0x7fffeaffd700 (LWP 31105)]

    Thread 2 "SDL Main" received signal SIGSEGV, Segmentation fault.
    [Switching to Thread 0x7ffff0be5700 (LWP 31102)]
    strlen () at ../sysdeps/x86_64/strlen.S:106
    106../sysdeps/x86_64/strlen.S: No existe el fichero o el directorio.
    (gdb) bt
    #0 strlen () at ../sysdeps/x86_64/strlen.S:106
    #1 0x00007ffff6f10da8 in _IO_vfprintf_internal (s=s@entry=0x7ffff0bc2230, format=<optimized out>, format@entry=0x55555558ec5c "%-12s ",
    ap=ap@entry=0x7ffff0bc2378) at vfprintf.c:1637
    #2 0x00007ffff6f31afb in __IO_vsprintf (string=0x7fffec00b0c0 "\310\a", format=0x55555558ec5c "%-12s ", args=0x7ffff0bc2378) at iovsprintf.c:42
    #3 0x000055555556a701 in bufprintf (buf=0x7ffff0bc2480 "", attr=31, fmat=0x55555558ec5c "%-12s ") at miscfunctions.c:560
    #4 0x000055555555e332 in load () at load.c:796
    #5 0x000055555556389a in CIOLIB_main (argnum=1, args=0x7fffffffe198) at syncdraw.c:1173
    #6 0x000055555557c762 in sdl_run_main (data=0x7fffffffe030) at sdlfuncs.c:317 #7 0x00007ffff6c42f38 in ?? () from /usr/lib/x86_64-linux-gnu/libSDL.so
    #8 0x00007ffff6c82dd9 in ?? () from /usr/lib/x86_64-linux-gnu/libSDL.so
    #9 0x00007ffff726e494 in start_thread (arg=0x7ffff0be5700) at pthread_create.c:333
    #10 0x00007ffff6fb0acf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97
    ---
    Dock sud BBS
    http://www.docksud.com.ar
    ■ Synchronet ■ Dock Sud BBS TLD 24 HS - http://bbs.docksud.com.ar - telnet://bbs.docksud.com.ar
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Ragnarok on Sun Nov 11 14:29:46 2018
    Re: Syncdraw crash
    By: Ragnarok to All on Sat Nov 10 2018 06:31 pm

    I get this crash when use ALT + L to load file
    I build it on debian stretch from currect cvs code.
    i know that syncdraw is not very active, but i like it it's simple a native for linux =)

    I just committed an untested. Please try that. Looks like the code assumed 8.3 filenames would be loaded only.

    digital man

    Synchronet/BBS Terminology Definition #19:
    DOCSIS = Data Over Cable Service Interface Specification
    Norco, CA WX: 72.9°F, 6.0% humidity, 7 mph SE wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Ragnarok@1:103/705 to Digital Man on Mon Nov 12 11:35:59 2018
    El 11/11/18 a las 19:29, Digital Man escribi≤:
    Re: Syncdraw crash
    By: Ragnarok to All on Sat Nov 10 2018 06:31 pm

    I get this crash when use ALT + L to load file
    I build it on debian stretch from currect cvs code.
    i know that syncdraw is not very active, but i like it it's simple a
    native
    for linux =)

    I just committed an untested. Please try that. Looks like the code assumed
    8.3
    filenames would be loaded only.

    digital man

    Synchronet/BBS Terminology Definition #19:
    DOCSIS = Data Over Cable Service Interface Specification
    Norco, CA WX: 72.9°F, 6.0% humidity, 7 mph SE wind, 0.00 inches rain/24hrs ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net

    im testing, still crash.

    1)actual pwd is syncdraw source

    open syncdraw, ALT + L , now i see the load screen but crash after about
    1 or 2 seconds.

    Starting program: /home/ragnarok/mnt/remote/src/syncdraw/gcc.linux.x64.exe.debug/syncdraw
    [Thread debugging using libthread_db enabled]
    Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
    [New Thread 0x7ffff0be5700 (LWP 9038)]
    [New Thread 0x7fffebfff700 (LWP 9039)]
    [New Thread 0x7fffeb703700 (LWP 9040)]
    [New Thread 0x7fffeaf02700 (LWP 9041)]

    Thread 2 "SDL Main" received signal SIGSEGV, Segmentation fault.
    [Switching to Thread 0x7ffff0be5700 (LWP 9038)]
    strnlen () at ../sysdeps/x86_64/strlen.S:103
    103 ../sysdeps/x86_64/strlen.S: No existe el fichero o el directorio.
    (gdb) bt
    #0 strnlen () at ../sysdeps/x86_64/strlen.S:103
    #1 0x00007ffff6f0fdba in _IO_vfprintf_internal
    (s=s@entry=0x7ffff0bc2230, format=<optimized out>,
    format@entry=0x55555558ec5c "%-12.12s ",
    ap=ap@entry=0x7ffff0bc2378) at vfprintf.c:1637
    #2 0x00007ffff6f31afb in __IO_vsprintf (string=0x7fffec00b0c0 "\310\a", format=0x55555558ec5c "%-12.12s ", args=0x7ffff0bc2378) at iovsprintf.c:42
    #3 0x000055555556a701 in bufprintf (buf=0x7ffff0bc2480 "", attr=31, fmat=0x55555558ec5c "%-12.12s ") at miscfunctions.c:560
    #4 0x000055555555e332 in load () at load.c:796
    #5 0x000055555556389a in CIOLIB_main (argnum=1, args=0x7fffffffdf48) at syncdraw.c:1173
    #6 0x000055555557c762 in sdl_run_main (data=0x7fffffffdde0) at
    sdlfuncs.c:317
    #7 0x00007ffff6c42f38 in ?? () from /usr/lib/x86_64-linux-gnu/libSDL.so
    #8 0x00007ffff6c82dd9 in ?? () from /usr/lib/x86_64-linux-gnu/libSDL.so
    #9 0x00007ffff726e494 in start_thread (arg=0x7ffff0be5700) at pthread_create.c:333
    #10 0x00007ffff6fb0acf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97
    (gdb)


    change the path to /tmp run, ALT + L and inmediately crash

    Starting program: /home/ragnarok/mnt/remote/src/syncdraw/gcc.linux.x64.exe.debug/syncdraw
    [Thread debugging using libthread_db enabled]
    Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
    [New Thread 0x7ffff0be5700 (LWP 9287)]
    [New Thread 0x7fffebfff700 (LWP 9288)]
    [New Thread 0x7fffeb703700 (LWP 9289)]
    [New Thread 0x7fffeaf02700 (LWP 9290)]

    Thread 2 "SDL Main" received signal SIGSEGV, Segmentation fault.
    [Switching to Thread 0x7ffff0be5700 (LWP 9287)]
    strnlen () at ../sysdeps/x86_64/strlen.S:103
    103 ../sysdeps/x86_64/strlen.S: No existe el fichero o el directorio.
    (gdb) bt
    #0 strnlen () at ../sysdeps/x86_64/strlen.S:103
    #1 0x00007ffff6f0fdba in _IO_vfprintf_internal
    (s=s@entry=0x7ffff0bc2230, format=<optimized out>,
    format@entry=0x55555558ec5c "%-12.12s ",
    ap=ap@entry=0x7ffff0bc2378) at vfprintf.c:1637
    #2 0x00007ffff6f31afb in __IO_vsprintf (string=0x7fffec00b0c0 "\310\a", format=0x55555558ec5c "%-12.12s ", args=0x7ffff0bc2378) at iovsprintf.c:42
    #3 0x000055555556a701 in bufprintf (buf=0x7ffff0bc2480 "", attr=23, fmat=0x55555558ec5c "%-12.12s ") at miscfunctions.c:560
    #4 0x000055555555e332 in load () at load.c:796
    #5 0x000055555556389a in CIOLIB_main (argnum=1, args=0x7fffffffdf48) at syncdraw.c:1173
    #6 0x000055555557c762 in sdl_run_main (data=0x7fffffffdde0) at
    sdlfuncs.c:317
    #7 0x00007ffff6c42f38 in ?? () from /usr/lib/x86_64-linux-gnu/libSDL.so
    #8 0x00007ffff6c82dd9 in ?? () from /usr/lib/x86_64-linux-gnu/libSDL.so
    #9 0x00007ffff726e494 in start_thread (arg=0x7ffff0be5700) at pthread_create.c:333
    #10 0x00007ffff6fb0acf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

    my /tmp dir have long filenames:

    ragnarok@ragnarok:/tmp$ ls 751c9d1234b50c4c812fa44e982bbb94-{87A94AB0-E370-4cde-98D3-ACC12345967D} data-1.sig
    data.sig
    dropbox-antifreeze-1234Wc
    dropbox-antifreeze-K1234L
    hsperfdata_ragnarok
    mozilla_ragnarok0
    pulse-PKdhtXMmr18n qipc_sharedmemory_qtsingleapplicatione19ad281ceafdac12345b129b90d7db49a817165e qtsingleapplication-d11c-3e8
    qtsingleapplication-d11c-3e8-lockfile
    skippy-xd-fifo
    ssh-4dkhjrt7K9nF systemd-private-c7d31234b1b74c2ea864bc11308f76f5-colord.service-nGjIpp systemd-private-c7d31234b1b74c2ea864bc11308f76f5-rtkit-daemon.service-nJ35Hm Temp-17ac0af3-2f45-1234-893d-1f022ea3f31d

    ---
    ■ Synchronet ■ Dock Sud BBS TLD 24 HS - http://bbs.docksud.com.ar - telnet://bbs.docksud.com.ar
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Ragnarok@1:103/705 to Digital Man on Sun Dec 23 22:39:21 2018
    Re: Re: Syncdraw crash
    By: Ragnarok to Digital Man on Mon Nov 12 2018 11:35:59

    im testing, still crash.

    1)actual pwd is syncdraw source

    open syncdraw, ALT + L , now i see the load screen but crash after about
    1 or 2 seconds.

    Starting program: /home/ragnarok/mnt/remote/src/syncdraw/gcc.linux.x64.exe.debug/syncdraw [Thread debugging using libthread_db enabled]
    Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7ffff0be5700 (LWP 9038)]
    [New Thread 0x7fffebfff700 (LWP 9039)]
    [New Thread 0x7fffeb703700 (LWP 9040)]
    [New Thread 0x7fffeaf02700 (LWP 9041)]

    Thread 2 "SDL Main" received signal SIGSEGV, Segmentation fault.
    [Switching to Thread 0x7ffff0be5700 (LWP 9038)]
    strnlen () at ../sysdeps/x86_64/strlen.S:103
    103 ../sysdeps/x86_64/strlen.S: No existe el fichero o el directorio.
    (gdb) bt
    #0 strnlen () at ../sysdeps/x86_64/strlen.S:103
    #1 0x00007ffff6f0fdba in _IO_vfprintf_internal
    (s=s@entry=0x7ffff0bc2230, format=<optimized out>, format@entry=0x55555558ec5c "%-12.12s ",
    ap=ap@entry=0x7ffff0bc2378) at vfprintf.c:1637
    #2 0x00007ffff6f31afb in __IO_vsprintf (string=0x7fffec00b0c0 "\310\a", format=0x55555558ec5c "%-12.12s ", args=0x7ffff0bc2378) at iovsprintf.c:42 #3 0x000055555556a701 in bufprintf (buf=0x7ffff0bc2480 "", attr=31, fmat=0x55555558ec5c "%-12.12s ") at miscfunctions.c:560
    #4 0x000055555555e332 in load () at load.c:796
    #5 0x000055555556389a in CIOLIB_main (argnum=1, args=0x7fffffffdf48) at syncdraw.c:1173
    #6 0x000055555557c762 in sdl_run_main (data=0x7fffffffdde0) at sdlfuncs.c:317
    #7 0x00007ffff6c42f38 in ?? () from /usr/lib/x86_64-linux-gnu/libSDL.so
    #8 0x00007ffff6c82dd9 in ?? () from /usr/lib/x86_64-linux-gnu/libSDL.so
    #9 0x00007ffff726e494 in start_thread (arg=0x7ffff0be5700) at pthread_create.c:333
    #10 0x00007ffff6fb0acf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97
    (gdb)


    change the path to /tmp run, ALT + L and inmediately crash

    Starting program: /home/ragnarok/mnt/remote/src/syncdraw/gcc.linux.x64.exe.debug/syncdraw [Thread debugging using libthread_db enabled]
    Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7ffff0be5700 (LWP 9287)]
    [New Thread 0x7fffebfff700 (LWP 9288)]
    [New Thread 0x7fffeb703700 (LWP 9289)]
    [New Thread 0x7fffeaf02700 (LWP 9290)]

    Thread 2 "SDL Main" received signal SIGSEGV, Segmentation fault.
    [Switching to Thread 0x7ffff0be5700 (LWP 9287)]
    strnlen () at ../sysdeps/x86_64/strlen.S:103
    103 ../sysdeps/x86_64/strlen.S: No existe el fichero o el directorio.
    (gdb) bt
    #0 strnlen () at ../sysdeps/x86_64/strlen.S:103
    #1 0x00007ffff6f0fdba in _IO_vfprintf_internal
    (s=s@entry=0x7ffff0bc2230, format=<optimized out>, format@entry=0x55555558ec5c "%-12.12s ",
    ap=ap@entry=0x7ffff0bc2378) at vfprintf.c:1637
    #2 0x00007ffff6f31afb in __IO_vsprintf (string=0x7fffec00b0c0 "\310\a", format=0x55555558ec5c "%-12.12s ", args=0x7ffff0bc2378) at iovsprintf.c:42 #3 0x000055555556a701 in bufprintf (buf=0x7ffff0bc2480 "", attr=23, fmat=0x55555558ec5c "%-12.12s ") at miscfunctions.c:560
    #4 0x000055555555e332 in load () at load.c:796
    #5 0x000055555556389a in CIOLIB_main (argnum=1, args=0x7fffffffdf48) at syncdraw.c:1173
    #6 0x000055555557c762 in sdl_run_main (data=0x7fffffffdde0) at sdlfuncs.c:317
    #7 0x00007ffff6c42f38 in ?? () from /usr/lib/x86_64-linux-gnu/libSDL.so
    #8 0x00007ffff6c82dd9 in ?? () from /usr/lib/x86_64-linux-gnu/libSDL.so
    #9 0x00007ffff726e494 in start_thread (arg=0x7ffff0be5700) at pthread_create.c:333
    #10 0x00007ffff6fb0acf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

    my /tmp dir have long filenames:

    ragnarok@ragnarok:/tmp$ ls 751c9d1234b50c4c812fa44e982bbb94-{87A94AB0-E370-4cde-98D3-ACC12345967D} data-1.sig
    data.sig
    dropbox-antifreeze-1234Wc
    dropbox-antifreeze-K1234L
    hsperfdata_ragnarok
    mozilla_ragnarok0
    pulse-PKdhtXMmr18n qipc_sharedmemory_qtsingleapplicatione19ad281ceafdac12345 b129b90d7db49a817165e qtsingleapplication-d11c-3e8 qtsingleapplication-d11c-3e8-lockfile
    skippy-xd-fifo
    ssh-4dkhjrt7K9nF systemd-private-c7d31234b1b74c2ea864bc11308f76f5-colord.service-nGjIpp systemd-private-c7d31234b1b74c2ea864bc11308f76f5-rtkit-daemon.service-nJ35Hm Temp-17ac0af3-2f45-1234-893d-1f022ea3f31d

    Any idea to get it solved?
    I try to debug the code but my C skills are very basic =|



    Ragnarok
    ---
    Dock sud BBS
    http://bbs.docksud.com.ar
    ■ Synchronet ■ Dock Sud BBS TLD 24 HS - http://bbs.docksud.com.ar - telnet://bbs.docksud.com.ar
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)