Enrico,

Thanks for your help. Indeed this problem was caused by an uninitialized bool.

- Aditya

On 07/29/2011 02:50 AM, Enrico Carrara wrote:
My 2c: Is the bool member correctly initialized? Something similar happened to me some times ago when saving an unitialized bool value and then reloading.
HTH,
Enrico

On Fri, Jul 29, 2011 at 6:54 AM, Aditya Gadre <agadre@vt.edu> wrote:
Hi,
I am using Boost::Serialization to save and load a custom class using binary archive. I have split save and load functions as I need to do some initialization during loading process. However, I am getting a segmentation fault while loading and I am not very sure of the reason. The segmentation fault occurs while loading a boolean. I would appreciate any help in this regard. I have attached a full back trace and also the header file for the custom class.
Thanks,
- Aditya


_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users



_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users