|
On Jun 6, 2006, at 2:29 AM, Istvan Varga wrote:
> By the way, do you have correct string database source files ? I have
> the following (size, md5sum, name):
>
> 63815 977ede898da2c38e8d0dc0183e5aa304 strings/all_strings
> 63899 7c72da76fbf8d1f2078ce9c31e6e814f strings/english-
> strings
> 68916 198a2203dea4415664dd9081a69e1838 strings/french-strings
yes
>
>> To debug the makedb issue, try running it directly from the command
>> line:
>>
>> ./makedb strings/all_strings American
same crash
>>
>> If a crash occurs (at least I suspect the "Error -11" is signal 11,
>> i.e. segmentation fault), run it in gdb, making sure that the program
>> was built for debugging (-g -O0), and send the backtrace:
>>
>> gdb --args ./makedb strings/all_strings American
>> run
>> backtrace
matt$ sudo gdb --args ./makedb strings/all_strings American
GNU gdb 6.1-20040303 (Apple version gdb-434) (Wed Nov 2 17:28:16 GMT
2005)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and
you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "powerpc-apple-darwin"...Reading symbols
for shared libraries .. done
(gdb) run
Starting program: /Users/matt/Documents/Csound/csound5/csound5/makedb
strings/all_strings American
Reading symbols for shared libraries . done
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0xc0000000
read_line (f=0xa000db44, buf=0xbffff3c8 ' ' ,
"ilength should be greater than kgsize * max up\n", ' ' , "pitch shift. Also, igsize_os and igskip_os should\n
remainder of line flushed\n String truncated\n Zero substituted
\n end"...) at strings/makedb.c:43
43 buf[i] = (unsigned char) c;
(gdb) backtrace
#0 read_line (f=0xa000db44, buf=0xbffff3c8 ' ' ,
"ilength should be greater than kgsize * max up\n", ' ' , "pitch shift. Also, igsize_os and igskip_os should\n
remainder of line flushed\n String truncated\n Zero substituted
\n end"...) at strings/makedb.c:43
#1 0x00002a24 in main (argc=0, argv=0xbffffac4) at strings/makedb.c:150
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |