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 <jimkli...@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@openindiana.org> > > http://openindiana.org/**mailman/listinfo/openindiana-**discuss<http://openindiana.org/mailman/listinfo/openindiana-discuss> > > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss@openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss _______________________________________________ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss