[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linrad] Linrad 03.05b Test Bug

Hi Leif,

I found a problem with processing files.  The limit for filenames it too

> cat ./adwav

> sudo ./xlinrad

results in a "filename too long" message and xlinrad exits.

The call sequence is
>sudo gdb ./xlinrad 
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
(gdb) l get_parfile_name
718	clear_screen();
719	}
722	void get_parfile_name(char *s)
723	{
724	int i, ptr, eq;
725	ptr=0;
726	while(s[ptr]!=0 && s[ptr]!=' ')
727	  {
(gdb) b get_parfile_name
Breakpoint 1 at 0x80a5d2c: file modesub.c, line 723.
(gdb) r
Starting program: /home/tomdean/Radio/Linrad/test/xlinrad 
[Thread debugging using libthread_db enabled]
[New Thread 0xb7d898d0 (LWP 8890)]
[New Thread 0xb7a9fb90 (LWP 8893)]
[New Thread 0xb729eb90 (LWP 8894)]
[New Thread 0xb6a9db90 (LWP 8895)]
[New Thread 0xb629cb90 (LWP 8896)]
[Switching to Thread 0xb629cb90 (LWP 8896)]

Breakpoint 1, get_parfile_name (
    s=0xb629bfa0 "../../Wave/CaptureTahuya3_090407_221235.wav
\n../../Wave/CaptureTahuya3_090407_224446.wav\n") at modesub.c:723
723	{
(gdb) bt
#0  get_parfile_name (
    s=0xb629bfa0 "../../Wave/CaptureTahuya3_090407_221235.wav
\n../../Wave/CaptureTahuya3_090407_224446.wav\n") at modesub.c:723
#1  0x080a6d3e in init_wavread (sel_file=2) at modesub.c:788
#2  0x080a8462 in init_diskread (sel_file=-1238777952) at modesub.c:926
#3  0x080c76a6 in main_menu () at menu.c:1376
#4  0x08096727 in thread_main_menu () at lxsys.c:446
#5  0xb7f434ff in start_thread ()
from /lib/tls/i686/cmov/libpthread.so.0
#6  0xb7e9749e in clone () from /lib/tls/i686/cmov/libc.so.6


You received this message because you are subscribed to the Google Groups "Linrad" group.
To post to this group, send email to linrad@xxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to linrad+unsubscribe@xxxxxxxxxxxxxxxx
For more options, visit this group at http://groups.google.com/group/linrad?hl=en