On 6/28/07, malinga <mpp at ridgecrestfinancial.com> wrote: > Im having segmentation failure on the client side program when executing > this code. You are on Linux? You can use gdb to get a backtrace and see what item is null. Most probably it's s_session that is null. Try adding this line before the if statement: assert (s_session); -Pieter Hintjens