Re: [Paraview] [Paraview-developers] Segmentation fault

2014-08-26 Thread Girish Ramesh
Oh thanks Cory. A very silly error! Sorry I missed that and thanks for pointing it out. Regards, Girish On 26 August 2014 16:09, Cory Quammen wrote: > My guess is that you have a member variable in RealUALGrid called > "User" that is a char *, but you aren't initializing it to NULL in the > co

Re: [Paraview] [Paraview-developers] Segmentation fault

2014-08-26 Thread Cory Quammen
My guess is that you have a member variable in RealUALGrid called "User" that is a char *, but you aren't initializing it to NULL in the constructor. When RealUALGrid::SetUser() is called, it checks whether the parameter string passed in is the same as the "User" member variable. Since "User" is in

Re: [Paraview] [Paraview-developers] Segmentation fault

2014-08-26 Thread Girish Ramesh
This is the backtrace i get when I run through gdb. Output: Program received signal SIGSEGV, Segmentation fault. 0x2aaabf3c21c4 in __strcmp_sse42 () from /lib64/libc.so.6 (gdb) bt full #0 0x2aaabf3c21c4 in __strcmp_sse42 () from /lib64/libc.so.6 No symbol table info available. #1 0x

Re: [Paraview] [Paraview-developers] Segmentation fault

2014-08-26 Thread Cory Quammen
Girish, Can you run ParaView with your plugin through a debugger to find out where it is segfaulting? That will point out where the segfault occurs which is often a clue to why it is occurring. Thanks, Cory On Tue, Aug 26, 2014 at 9:41 AM, Girish Ramesh wrote: > Hi, > > I am writing my own plug