Here's a more full featured version:

(gdb) run -s test
Starting program: /home/zhaoz/downloads/karma/libkarma-0.1.0/tools/riocp -s 
test
Karma found: /dev/karma mounted on /mnt/karma
* Using UTF-8 codeset.
Using UTF-8 codeset.
lk_karma_authenticate: 0
lk_karma_request_io_lock: ok
Downloading Rio database...  please wait... Done!
Searching FIDs with "test                          ":
Program received signal SIGSEGV, Segmentation fault.
0xb7ec9938 in strcmp () from /lib/libc.so.6
(gdb) bt
#0  0xb7ec9938 in strcmp () from /lib/libc.so.6
#1  0x08049af1 in searchStr (exact=0, searchString=0x0, 
unkName=0x804cae2 "-UnKnown-") at riocp.c:207
#2  0x0804b39c in main (argc=3, argv=0xbf983554) at riocp.c:684
(gdb)

I'm not a C programmer, so please do tell me if I'm not giving you the right 
information.
                         
On Thursday 19 July 2007 06:32:17 Bob Copeland wrote:
> > Program received signal SIGSEGV, Segmentation fault.
> > 0xb7e61938 in strcmp () from /lib/libc.so.6
> > (gdb)
>
> A backtrace here would be useful, as well.
>
> > How would i replicate my prior issue? Would I have to delete the db first
> > and attempt redownloading?
>
> Sounds like it.  I sent a patch to the list shortly after the 0.1 release
> with a fix for segfaults with an empty DB, perhaps it fixes your earlier
> issue:
>
> http://marc.info/?l=linux-karma-devel&m=118020133324018



-- 
~Ziling Zhao

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
linux-karma-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-karma-devel

Reply via email to