Tomasz Sterna escribió:
> Dnia 2008-04-10, czw o godzinie 22:24 +0100, jonhattan pisze:
>> Any idea on where to start looking to solve this problem?
>
> Try getting a backtrace with GDB.
>
> $ gdb /usr/local/bin/c2s
> (gdb) run -c /usr/local/etc/c2s.xml -D
>
> and after it crashes:
> (gdb) bt
>
>
many thanks. It allowed me to solve the problem: I forgot to configure
local.id in c2s.xml.
The segfault is at c2s/main.c, line 223:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb7b576d0 (LWP 24767)]
_c2s_hosts_expand (c2s=0x806f008) at main.c:223
223 for(i = 0; i < elem->nvalues; i++) {
...but the real problem is one line before, when reading local.id.
Perhaps a check should be made at this point.
regards,
jonhattan
--
To unsubscribe send a mail to [EMAIL PROTECTED]