[OpenIndiana-discuss] Availability of c-icap with clamav support?
Andrej Javoršek
drejc at ntf.uni-lj.si
Thu Nov 8 07:02:45 UTC 2012
Hello,
only the c-icap-client from SFE does not work (server works).
But I'm building with GCC and my config is:
root at scan:~# c_icap-0.2.2/c-icap-config --config
c-icap configuration
c-icap version: 0.2.2
c-icap installation prefix: /opt/c-icap
c-icap configuration directory: /opt/c-icap/etc/
c-icap modules/plugins directory: /opt/c-icap/lib/c_icap/
c-icap shared data directory: /opt/c-icap/share/c_icap/
c-icap cflags for modules: -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -g -O2
-Wall -D_FILE_OFFSET_BITS=64 -DCI_BUILD_MODULE
c-icap libs for modules:
Regards Andrej
On Wed, Nov 7, 2012 at 8:59 PM, Milan Jurik <milan.jurik at xylab.cz> wrote:
> Hi,
>
> OK, so your own build of c-icap works and build from SFE repo does not,
> with the same configs?
>
> Best regards,
>
> Milan
>
> On út, 2012-11-06 at 08:29 +0100, Andrej Javoršek wrote:
> > Hello,
> > unless there is some simple procedure I will avoid debugging that.
> > I'm not a programer and have never before done that kind of debugging.
> >
> > But if it helps: version (0.2.2) that I downloaded and compiled from SF
> > works.
> >
> > Best Regards
> > Andrej
> >
> > On Mon, Nov 5, 2012 at 3:29 PM, Jim Klimov <jimklimov at cos.ru> wrote:
> >
> > > On 2012-11-05 13:02, Andrej Javoršek wrote:
> > >
> > >> Current client complains with:
> > >>
> > >> Error connecting to socket (host: ?????P??) .....
> > >> Failed to connect to icap server.....
> > >>
> > >> That "P" inside brackets has changed from "@" and before from "?" in
> > >> consecutive runs. And setting parameter -i (localhost | actual IP)
> does
> > >> not
> > >> help.
> > >>
> > >
> > > Off the top of my head, this seems like uncareful work with strings
> > > as command-line parameters and/or their copies. In particular, this
> > > seems like the pointers to the strings (host and port) were released
> > > and later these pointer values were reused while the in-memory data
> > > was overwritten. Or the pointers were not initialized to NULL and
> > > were used before receiving any proper value to point into.
> > >
> > > Do you have any chance to step the code through a debugger to test?
> > > Or use poor-man's probes and printf the interesting variables at
> > > different points in the execution?..
> > >
> > > HTH,
> > > //Jim
> > >
> > >
> > > ______________________________**_________________
> > > OpenIndiana-discuss mailing list
> > > OpenIndiana-discuss@**openindiana.org<
> OpenIndiana-discuss at openindiana.org>
> > > http://openindiana.org/**mailman/listinfo/openindiana-**discuss<
> http://openindiana.org/mailman/listinfo/openindiana-discuss>
> > >
> > _______________________________________________
> > OpenIndiana-discuss mailing list
> > OpenIndiana-discuss at openindiana.org
> > http://openindiana.org/mailman/listinfo/openindiana-discuss
>
>
>
> _______________________________________________
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss
>
More information about the OpenIndiana-discuss
mailing list