I have one incredible segment crash call stack in C, could anyone help me out?
int function(struct A *a) 
{
    ... some other declare
    struct B *b = a->b;
    int count, len;
    ... some other declare
    struct C *c = b->c;  /* not crash here */
    ....some other decalre
    if (b->e) { /*crash log indicate b is NULL and crash here,first line instrucment code*/
    .....
    }
    ....
}
My question is why the crash did not happened at the struct C *c = b->c.
GCC is the compiler.
Tony