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 =)
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_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
Sysop: | r00t |
---|---|
Location: | Newport Beach, CA |
Users: | 12 |
Nodes: | 6 (0 / 6) |
Uptime: | 226:20:38 |
Calls: | 144 |
Files: | 238 |
Messages: | 33,772 |