to reproduce:
run syncdraw, put some text and goto menu to save file
ragnarok@jola:~/mnt/text.docksud/menu/docksh$ gdb syncdraw
GNU gdb (GDB) 7.6.2 (Debian 7.6.2-1.1)
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<
http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see: <
http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/local/bin/syncdraw...done.
(gdb) r
Starting program: /usr/local/bin/syncdraw
warning: no loadable sections found in added symbol-file system-supplied
DSO at 0x7ffff7ffa000
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff00c0700 (LWP 16216)]
[New Thread 0x7fffef8bf700 (LWP 16217)]
[New Thread 0x7fffeeec9700 (LWP 16218)]
[New Thread 0x7fffee6c8700 (LWP 16219)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff00c0700 (LWP 16216)]
0x00007ffff6f091b2 in _IO_vfprintf_internal (s=s@entry=0x7ffff00bfa80, format=<optimized out>, format@entry=0x435d28 "%.*s",
ap=ap@entry=0x7ffff00bfbd8) at vfprintf.c:1650
1650 vfprintf.c: No existe el fichero o el directorio.
(gdb) bt
#0 0x00007ffff6f091b2 in _IO_vfprintf_internal
(s=s@entry=0x7ffff00bfa80, format=<optimized out>, format@entry=0x435d28 "%.*s",
ap=ap@entry=0x7ffff00bfbd8) at vfprintf.c:1650
#1 0x00007ffff6f2d15b in __IO_vsprintf (string=0x7ffff00bfba0 "", format=0x435d28 "%.*s", args=0x7ffff00bfbd8) at iovsprintf.c:42
#2 0x0000000000414c24 in bufprintf (
buf=0x7ffff00bfce0 "\372\b\372\b\372\b\372\b\372\b\372\b\372\b\372\b\372\b\372\b\372\b\372\b\372\b\372\b\372\b\372\b\372\b\372\b\372\b\372\b\372\b\372\b\372\b\372\b\372\b\372\b\372\b\372\b\372\b\372\b\372\b\372\b\372\b\372\b\372\b\372\b\372\b\372\b\372\b\372\b\372\b\372\b\372\b\372\b\372\b\372\b\372\b\372\b\372\b\372\b\372\b\372\b\372\b\372\b\372\b\372\b\372\b\372\b\372\b\372\b\031",
attr=7, fmat=0x435d28 "%.*s") at miscfunctions.c:554
#3 0x00000000004147bc in inputfield (Str=0x43562f "", length=60, x1=16,
y=24) at miscfunctions.c:465
#4 0x00000000004114a6 in EnterName (b=0x4356d4 ".msg") at save.c:228
#5 0x0000000000412646 in save () at save.c:446
#6 0x0000000000410321 in menuemode () at menue.c:259
#7 0x000000000040dc15 in CIOLIB_main (argnum=1, args=0x7fffffffe0f8) at syncdraw.c:1211
#8 0x000000000042442e in sdl_run_main (data=0x7fffffffdf90) at
sdlfuncs.c:313
#9 0x00007ffff6c39d48 in SDL_RunThread (data=0x76ae60) at ./src/thread/SDL_thread.c:204
#10 0x00007ffff6c7b9b9 in RunThread (data=<optimized out>) at ./src/thread/pthread/SDL_systhread.c:47
#11 0x00007ffff7273062 in start_thread (arg=0x7ffff00c0700) at pthread_create.c:312
#12 0x00007ffff6fa6c1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
(gdb)
---
þ Synchronet þ Dock Sud BBS TLD 24 HS -
http://www.docksud.com.ar -
telnet://bbs.docksud.com.ar